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. More...
 
MWAWHeadergetHeader (MWAWInputStreamPtr &ip, MWAWRSRCParserPtr rsrcParser, bool strict)
 return the header corresponding to an input. More...
 
bool checkBasicMacHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader &header, bool strict)
 Wrapper to check a basic header of a mac file. More...
 

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().

MWAWHeader * MWAWDocumentInternal::getHeader ( MWAWInputStreamPtr ip,
MWAWRSRCParserPtr  rsrcParser,
bool  strict 
)

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().

shared_ptr< MWAWParser > MWAWDocumentInternal::getParserFromHeader ( MWAWInputStreamPtr input,
MWAWRSRCParserPtr  rsrcParser,
MWAWHeader header 
)

Factory wrapper to construct a parser corresponding to an header.

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


Generated on Tue Mar 10 2015 17:32:11 for libmwaw by doxygen 1.8.5