the main class to read the structure shared between different BeagleWorks files More...
#include <BeagleWksStructManager.hxx>
Classes | |
| struct | Frame |
| Internal: a structure use to store a frame in a BeagleWorks files. More... | |
Public Member Functions | |
| BeagleWksStructManager (MWAWParserStatePtr parserState) | |
| constructor | |
| ~BeagleWksStructManager () | |
| destructor | |
| bool | getFrame (int fId, Frame &frame) const |
| returns a frame corresponding to an id | |
| std::map< int, Frame > const & | getIdFrameMap () const |
| returns the id to frame map | |
| int | getFontId (int fFontId) const |
| returns a font id corresponding to a file id (or -3) | |
| void | getHeaderFooterEntries (MWAWEntry &header, MWAWEntry &footer) const |
| returns the header, footer entries (find by readDocumentInfo) | |
| bool | readFontNames (MWAWEntry const &entry) |
| read the font names | |
| bool | readFrame (MWAWEntry const &entry) |
| read the frame | |
| bool | readDocumentInfo () |
| read the document information ( pagespan + header/footer) | |
| bool | readDocumentPreferences () |
| read the document preferences | |
| bool | readPicture (int pId, librevenge::RVNGBinaryData &pict) |
| read a picture (edtp resource ) | |
| bool | readwPos (MWAWEntry const &entry) |
| read the windows positions ( wPos 1001 resource block ) | |
| bool | readFontStyle (MWAWEntry const &entry) |
| read the font style ressource | |
| bool | readCellInFormula (MWAWVec2i actPos, MWAWCellContent::FormulaInstruction &instr) |
| bool | readFormula (long endPos, MWAWVec2i const &pos, std::vector< MWAWCellContent::FormulaInstruction > &formula, std::string &error) |
Protected Member Functions | |
| MWAWInputStreamPtr | getInput () |
| return the input input | |
| libmwaw::DebugFile & | ascii () |
| a DebugFile used to write what we recognize when we parse the document | |
| MWAWInputStreamPtr | rsrcInput () |
| return the input input | |
| libmwaw::DebugFile & | rsrcAscii () |
| a DebugFile used to write what we recognize when we parse the document in rsrc | |
Protected Attributes | |
| MWAWParserStatePtr | m_parserState |
| the parser state | |
| shared_ptr < BeagleWksStructManagerInternal::State > | m_state |
| the state | |
Private Member Functions | |
| BeagleWksStructManager (BeagleWksStructManager const &orig) | |
| BeagleWksStructManager & | operator= (BeagleWksStructManager const &orig) |
the main class to read the structure shared between different BeagleWorks files
| BeagleWksStructManager::BeagleWksStructManager | ( | MWAWParserStatePtr | parserState | ) |
constructor
destructor
| BeagleWksStructManager::BeagleWksStructManager | ( | BeagleWksStructManager const & | orig | ) | [private] |
| libmwaw::DebugFile & BeagleWksStructManager::ascii | ( | ) | [protected] |
a DebugFile used to write what we recognize when we parse the document
Referenced by readDocumentInfo(), readDocumentPreferences(), readFontNames(), and readFrame().
| int BeagleWksStructManager::getFontId | ( | int | fFontId | ) | const |
returns a font id corresponding to a file id (or -3)
| bool BeagleWksStructManager::getFrame | ( | int | fId, |
| Frame & | frame | ||
| ) | const |
returns a frame corresponding to an id
| void BeagleWksStructManager::getHeaderFooterEntries | ( | MWAWEntry & | header, |
| MWAWEntry & | footer | ||
| ) | const |
returns the header, footer entries (find by readDocumentInfo)
| std::map< int, BeagleWksStructManager::Frame > const & BeagleWksStructManager::getIdFrameMap | ( | ) | const |
returns the id to frame map
| MWAWInputStreamPtr BeagleWksStructManager::getInput | ( | ) | [protected] |
return the input input
Referenced by readCellInFormula(), readDocumentInfo(), readDocumentPreferences(), readFontNames(), readFormula(), and readFrame().
| BeagleWksStructManager& BeagleWksStructManager::operator= | ( | BeagleWksStructManager const & | orig | ) | [private] |
| bool BeagleWksStructManager::readCellInFormula | ( | MWAWVec2i | actPos, |
| MWAWCellContent::FormulaInstruction & | instr | ||
| ) |
Referenced by readFormula().
read the document information ( pagespan + header/footer)
read the document preferences
| bool BeagleWksStructManager::readFontNames | ( | MWAWEntry const & | entry | ) |
read the font names
| bool BeagleWksStructManager::readFontStyle | ( | MWAWEntry const & | entry | ) |
read the font style ressource
| bool BeagleWksStructManager::readFormula | ( | long | endPos, |
| MWAWVec2i const & | pos, | ||
| std::vector< MWAWCellContent::FormulaInstruction > & | formula, | ||
| std::string & | error | ||
| ) |
| bool BeagleWksStructManager::readFrame | ( | MWAWEntry const & | entry | ) |
read the frame
| bool BeagleWksStructManager::readPicture | ( | int | pId, |
| librevenge::RVNGBinaryData & | pict | ||
| ) |
read a picture (edtp resource )
| bool BeagleWksStructManager::readwPos | ( | MWAWEntry const & | entry | ) |
read the windows positions ( wPos 1001 resource block )
| libmwaw::DebugFile & BeagleWksStructManager::rsrcAscii | ( | ) | [protected] |
a DebugFile used to write what we recognize when we parse the document in rsrc
Referenced by readFontStyle(), readPicture(), and readwPos().
| MWAWInputStreamPtr BeagleWksStructManager::rsrcInput | ( | ) | [protected] |
return the input input
Referenced by readFontStyle(), readPicture(), and readwPos().
the parser state
Referenced by ascii(), getInput(), readDocumentInfo(), readFontNames(), readFormula(), readPicture(), rsrcAscii(), and rsrcInput().
shared_ptr<BeagleWksStructManagerInternal::State> BeagleWksStructManager::m_state [protected] |
the state
Referenced by getFontId(), getFrame(), getHeaderFooterEntries(), getIdFrameMap(), readDocumentInfo(), readFontNames(), and readFrame().