MWAWDocumentInternal Namespace Reference

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

Functions

shared_ptr< MWAWGraphicParsergetGraphicParserFromHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
shared_ptr
< MWAWPresentationParser
getPresentationParserFromHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
shared_ptr< MWAWSpreadsheetParsergetSpreadsheetParserFromHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 Factory wrapper to construct a parser corresponding to an spreadsheet header.
shared_ptr< MWAWTextParsergetTextParserFromHeader (MWAWInputStreamPtr &input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 Factory wrapper to construct a parser corresponding to an text 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


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 spreadsheet header.

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

Factory wrapper to construct a parser corresponding to an text header.

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