STOFFDocumentInternal Namespace Reference

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

Functions

std::shared_ptr< STOFFGraphicParsergetGraphicParserFromHeader (STOFFInputStreamPtr &input, STOFFHeader *header, char const *passwd)
 Factory wrapper to construct a parser corresponding to an graphic header. More...
 
std::shared_ptr< STOFFGraphicParsergetPresentationParserFromHeader (STOFFInputStreamPtr &input, STOFFHeader *header, char const *passwd)
 Factory wrapper to construct a parser corresponding to an presentation header. More...
 
std::shared_ptr< STOFFTextParsergetTextParserFromHeader (STOFFInputStreamPtr &input, STOFFHeader *header, char const *passwd)
 Factory wrapper to construct a parser corresponding to an text header. More...
 
std::shared_ptr< STOFFSpreadsheetParsergetSpreadsheetParserFromHeader (STOFFInputStreamPtr &input, STOFFHeader *header, char const *passwd)
 Factory wrapper to construct a parser corresponding to an spreadsheet header. More...
 
STOFFHeadergetHeader (STOFFInputStreamPtr &ip, bool strict)
 return the header corresponding to an input. More...
 
bool checkHeader (STOFFInputStreamPtr &input, STOFFHeader &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 STOFFDocument

Function Documentation

◆ checkHeader()

bool STOFFDocumentInternal::checkHeader ( STOFFInputStreamPtr input,
STOFFHeader header,
bool  strict 
)

Wrapper to check a basic header of a mac file.

Referenced by getHeader().

◆ getGraphicParserFromHeader()

std::shared_ptr< STOFFGraphicParser > STOFFDocumentInternal::getGraphicParserFromHeader ( STOFFInputStreamPtr input,
STOFFHeader header,
char const *  passwd 
)

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

Referenced by checkHeader(), and STOFFDocument::parse().

◆ getHeader()

STOFFHeader * STOFFDocumentInternal::getHeader ( STOFFInputStreamPtr ip,
bool  strict 
)

return the header corresponding to an input.

Or 0L if no input are found

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

◆ getPresentationParserFromHeader()

std::shared_ptr< STOFFGraphicParser > STOFFDocumentInternal::getPresentationParserFromHeader ( STOFFInputStreamPtr input,
STOFFHeader header,
char const *  passwd 
)

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

Referenced by STOFFDocument::parse().

◆ getSpreadsheetParserFromHeader()

std::shared_ptr< STOFFSpreadsheetParser > STOFFDocumentInternal::getSpreadsheetParserFromHeader ( STOFFInputStreamPtr input,
STOFFHeader header,
char const *  passwd 
)

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

Referenced by checkHeader(), and STOFFDocument::parse().

◆ getTextParserFromHeader()

std::shared_ptr< STOFFTextParser > STOFFDocumentInternal::getTextParserFromHeader ( STOFFInputStreamPtr input,
STOFFHeader header,
char const *  passwd 
)

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

Referenced by checkHeader(), and STOFFDocument::parse().


Generated on Sat May 29 2021 22:54:05 for libstaroffice by doxygen 1.8.14