MWAWDocumentInternal Namespace Reference

small namespace use to define private class/method used by MWAWDocument More...

Classes

class  GraphicExporter
 Small class used to interface a graphic reconstruction. More...

Functions

shared_ptr< MWAWParsergetParserFromHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 Factory wrapper to construct a parser corresponding to an header.
MWAWHeadergetHeader (MWAWInputStreamPtr &ip, MWAWRSRCParserPtr rsrcParser, bool strict)
 return the header corresponding to an input.
bool checkBasicMacHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader &header, bool strict)
 Wrapper to check a basic header of a mac file.

Detailed Description

small namespace use to define private class/method used by MWAWDocument

structure used to hide some functions needed by MWAWDocument (basically to check if the file is really supported).


Function Documentation

bool MWAWDocumentInternal::checkBasicMacHeader ( MWAWInputStreamPtr input,
MWAWRSRCParserPtr  rsrcParser,
MWAWHeader header,
bool  strict 
)

Wrapper to check a basic header of a mac file.

Referenced by getHeader().

return the header corresponding to an input.

Or 0L if no input are found

avoid very short file

avoid very short file

Referenced by MWAWDocument::isFileFormatSupported(), and MWAWDocument::parse().

Factory wrapper to construct a parser corresponding to an header.

Referenced by checkBasicMacHeader(), and MWAWDocument::parse().