MWAWEntry Class Reference

basic class to store an entry in a file This contained : More...

#include <MWAWEntry.hxx>

Inheritance diagram for MWAWEntry:
FWEntry MRWEntry MSWEntry MSWTextInternal::TextEntry WNEntry

Public Member Functions

 MWAWEntry ()
 constructor More...
 
virtual ~MWAWEntry ()
 
void setBegin (long off)
 sets the begin offset More...
 
void setLength (long l)
 sets the zone size More...
 
void setEnd (long off)
 sets the end offset More...
 
long begin () const
 returns the begin offset More...
 
long end () const
 returns the end offset More...
 
long length () const
 returns the length of the zone More...
 
bool valid () const
 returns true if the zone length is positive More...
 
bool operator== (const MWAWEntry &a) const
 basic operator== More...
 
bool operator!= (const MWAWEntry &a) const
 basic operator!= More...
 
bool isParsed () const
 a flag to know if the entry was parsed or not More...
 
void setParsed (bool ok=true) const
 sets the flag m_parsed to true or false More...
 
void setType (std::string const newType)
 sets the type of the entry: BTEP,FDPP, BTEC, FDPC, PLC , TEXT, ... More...
 
std::string const & type () const
 returns the type of the entry More...
 
bool hasType (std::string const typ) const
 returns true if the type entry == type More...
 
void setName (std::string const &nam)
 sets the name of the entry More...
 
std::string const & name () const
 name of the entry More...
 
bool hasName (std::string const &nam) const
 checks if the entry name is equal to name More...
 
int id () const
 returns the id More...
 
void setId (int newId)
 sets the id More...
 
std::string const & extra () const
 retrieves the extra string More...
 
void setExtra (std::string const &s)
 sets the extra string More...
 

Protected Attributes

long m_begin
 the begin of the entry. More...
 
long m_length
 the size of the entry More...
 
std::string m_type
 the entry type More...
 
std::string m_name
 the name More...
 
int m_id
 an identificator More...
 
bool m_parsed
 a bool to store if the entry is or not parsed More...
 
std::string m_extra
 an extra string More...
 

Friends

std::ostream & operator<< (std::ostream &o, MWAWEntry const &ent)
 

Detailed Description

basic class to store an entry in a file This contained :

  • its begin and end positions
  • its type, its name and an identificator
  • a flag used to know if the file is or not parsed

Constructor & Destructor Documentation

MWAWEntry::MWAWEntry ( )
inline

constructor

virtual MWAWEntry::~MWAWEntry ( )
inlinevirtual

Member Function Documentation

long MWAWEntry::begin ( ) const
inline

returns the begin offset

Referenced by WNEntryManager::add(), HMWJParser::checkEntry(), WNParser::checkHeader(), ZWParser::checkHeader(), MRWText::computeNumPages(), DMText::computeNumPages(), ZWText::computePositions(), DMParser::createZones(), EDParser::createZones(), MDWParser::createZones(), WNParser::createZones(), WNText::createZones(), MSWParser::createZones(), MSWText::createZones(), HMWJParser::createZones(), EDParser::decodeZone(), HMWJParser::decodeZone(), MSK4Text::findFDPStructures(), NSText::findFilePos(), MWProParser::findNumHardBreaks(), MRWText::findTableStructure(), ZWField::getBool(), ZWField::getDebugString(), MSWParserInternal::Object::getEntry(), ZWParser::getFieldList(), ZWField::getString(), CWText::numPages(), MSWTextInternal::TextEntry::CompareFilePos::operator()(), MWParserInternal::operator<<(), MWAWRSRCParser::parse(), MWAWRSRCParser::parseClut(), WNText::parseContent(), WNParser::parseGraphicZone(), MSK4Zone::parseHeaderIndexEntry(), MWAWRSRCParser::parseMap(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTR(), MWAWRSRCParser::parseSTRList(), MWProParser::parseTextZone(), MWAWRSRCParser::parseVers(), WNText::parseZone(), MSWText::prepareData(), MSKGraphInternal::TextBoxv4::print(), NSStruct::RecursifData::read(), NSParser::readABBR(), ZWParser::readBarState(), CWGraph::readBitmapZone(), NSParser::readCNTR(), CWGraph::readColorList(), WNParser::readColorMap(), MDWParser::readCompressedText(), ZWParser::readCPos(), NSParser::readCPRC(), ZWParser::readCPRT(), MRWParser::readCPRT(), CWParser::readCPRT(), CWDatabase::readDatabaseZone(), WNParser::readDocEntries(), LWParser::readDocInfo(), MRWParser::readDocInfo(), MSWParser::readDocSum(), LWParser::readDocument(), MSWParser::readDocumentInfo(), MSK4Zone::readDOP(), CWText::readDSETZone(), CWParser::readDSUM(), CWParser::readEndTable(), MSK4Text::readFDP(), MSWText::readFields(), NSParser::readFnSc(), LWText::readFont2(), HMWJText::readFontNames(), MRWText::readFontNames(), DMText::readFontNames(), WNText::readFontNames(), MSK4Text::readFontNames(), MSWText::readFontNames(), LWText::readFonts(), MRWText::readFonts(), HMWJText::readFonts(), CWText::readFonts(), NSText::readFonts(), NSText::readFontsList(), EDParser::readFontsName(), DMText::readFooter(), MSK4Text::readFootNote(), NSText::readFootnotes(), MSWText::readFootnotesData(), MSWText::readFootnotesPos(), MSK4Zone::readFRAM(), HMWJGraph::readFrames(), NSParser::readFTA2(), HMWJText::readFtnPos(), WNParser::readGenericUnkn(), HMWJGraph::readGraphData(), MDWParser::readGraphic(), MWParser::readGraphic(), HMWJGraph::readGroupData(), CWGraph::readGroupDef(), CWGraph::readGroupZone(), NSText::readHeaderFooter(), MDWParser::readHeadingCustom(), MDWParser::readHeadingProperties(), MDWParser::readHeadingStates(), ZWText::readHFZone(), ZWParser::readHTMLPref(), EDParser::readIndex(), EDParser::readInfo(), NSParser::readINFO(), MWParser::readInformations(), MDWParser::readLastZone(), MWParser::readLinesHeight(), MDWParser::readLinesInfo(), MSWText::readLongZone(), LWParser::readLWSR2(), LWParser::readMPSR5(), NSParser::readNumberingReset(), MSWParser::readObject(), MSWParser::readObjectFlags(), MSWParser::readObjectList(), MWParser::readPageBreak(), MSWText::readPageBreak(), NSParser::readPageLimit(), MWParser::readParagraph(), MSK3Text::readParagraph(), MSWText::readParagraphInfo(), HMWJText::readParagraphs(), CWText::readParagraphs(), NSText::readParagraphs(), NSGraph::readPGRA(), NSText::readPICD(), DMParser::readPictInfo(), HMWJGraph::readPicture(), MSWParser::readPicture(), MSKGraph::readPictureV4(), NSGraph::readPLAC(), MSWTextStyles::readPLC(), MSK4Text::readPLC(), MSWTextStyles::readPLCList(), MRWText::readPLCZone(), NSGraph::readPLDT(), NSText::readPosToFont(), MRWGraph::readPostscript(), CWPresentation::readPresentationZone(), MSWParser::readPrinter(), LWParser::readPrintInfo(), MDWParser::readPrintInfo(), NSParser::readPrintInfo(), MSWParser::readPrintInfo(), ZWParser::readPrintInfo(), WNParser::readPrintInfo(), HMWJParser::readPrintInfo(), MRWParser::readPrintInfo(), MSK4Zone::readPRNT(), MSKGraph::readRB(), NSParser::readReference(), MSK4Zone::readRLRB(), LWText::readRuby(), MDWParser::readRuler(), LWText::readRulers(), MRWText::readRulers(), MSWTextStyles::readSection(), ZWText::readSectionFonts(), ZWParser::readSectionRange(), HMWJText::readSections(), MSK4Zone::readSELN(), MRWParser::readSeparator(), NSParser::readSGP1(), ZWParser::readSLen(), CWParser::readSNAP(), CWSpreadsheet::readSpreadsheetZone(), NSParser::readStringsList(), MSWParser::readStringsZone(), DMParser::readSTwD(), MRWText::readStyleNames(), CWStyleManager::readStyles(), TTParser::readStyles(), HMWJText::readStyles(), ZWText::readStyles(), DMText::readStyles(), MSWTextStyles::readStyles(), WNText::readStyles(), MSWTextStyles::readStylesFont(), MSWTextStyles::readStylesNames(), MSWTextStyles::readStylesParagraph(), LWText::readStyleU(), HMWJGraph::readTable(), CWTable::readTableZone(), MSK4Text::readText(), MDWParser::readText(), MWParser::readText(), MRWText::readTextStruct(), MSWTextStyles::readTextStructList(), HMWJText::readTextZone(), CWText::readTextZoneSize(), HMWJText::readTextZonesList(), CWParser::readTNAM(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), MRWGraph::readToken(), MRWGraph::readTokenBlock0(), CWText::readTokens(), LWText::readUnknownStyle(), ZWParser::readUnknownZone(), NSParser::readVariable(), ZWParser::readWindowPos(), DMText::readWindows(), MWParser::readWindowsInfo(), TTParser::readWRCT(), DMParser::readXtr2(), MRWText::readZone(), MRWParser::readZone(), HMWJParser::readZone(), MDWParser::readZone12(), MRWParser::readZone13(), MSWParser::readZone17(), MDWParser::readZone8(), HMWJParser::readZoneA(), HMWJParser::readZoneB(), MRWParser::readZoneb(), MRWParser::readZonec(), MRWParser::readZoneDim(), MRWParser::readZoneHeader(), HMWJParser::readZonesList(), HMWJParser::readZoneWithHeader(), MRWText::send(), WNText::send(), CWGraph::sendBitmap(), NSText::sendFootnote(), MSK4Parser::sendFrameText(), NSText::sendHeaderFooter(), ZWText::sendHeaderFooter(), LWText::sendHeaderFooter(), LWGraph::sendJPEG(), EDParser::sendPicture(), MRWGraph::sendPicture(), WNParser::sendPicture(), MSWParser::sendPicture(), CWGraph::sendPicture(), HMWJGraph::sendPictureFrame(), MRWGraph::sendPSZone(), HMWJText::sendText(), MSW1Parser::sendText(), ZWText::sendText(), NSText::sendText(), DMText::sendText(), MSWText::sendText(), CWText::sendText(), MSK3Text::sendText(), MDWParser::sendZone(), MSK4Text::toknDataParser(), MSK3Text::updateNotes(), and MWAWRSRCParser::~MWAWRSRCParser().

long MWAWEntry::end ( ) const
inline

returns the end offset

Referenced by WNParser::checkHeader(), ZWText::computePositions(), MSK3Text::createZones(), DMParser::createZones(), EDParser::createZones(), MDWParser::createZones(), WNParser::createZones(), HMWJParser::createZones(), EDParser::decodeZone(), HMWJParser::decodeZone(), MRWParser::decodeZone(), MRWText::findTableStructure(), MSKGraphInternal::DataPict::getBinaryData(), ZWField::getDebugString(), MSWParserInternal::Object::getEntry(), MSKGraph::getEntryPicture(), ZWParser::getFieldList(), ZWField::getString(), MWParserInternal::operator<<(), MWAWRSRCParser::parse(), WNText::parseContent(), WNParser::parseGraphicZone(), MSK4Zone::parseHeaderIndexEntry(), MWAWRSRCParser::parseMap(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTRList(), MWAWRSRCParser::parseVers(), WNText::parseZone(), MSKGraphInternal::TextBoxv4::print(), NSStruct::RecursifData::read(), CWGraph::readBasicGraphic(), CWGraph::readBitmapZone(), MSKGraph::readChart(), CWGraph::readColorList(), WNParser::readColorMap(), MDWParser::readCompressedText(), ZWParser::readCPRT(), MRWParser::readCPRT(), CWParser::readCPRT(), CWDatabase::readDatabaseZone(), WNParser::readDocEntries(), CWParser::readDocHeader(), MRWParser::readDocInfo(), MSWParser::readDocSum(), LWText::readDocumentHF(), MSWParser::readDocumentInfo(), MSK4Zone::readDOP(), CWParser::readDSET(), CWText::readDSETZone(), CWParser::readDSUM(), CWParser::readEndTable(), MDWParser::readEntry(), WNParser::readEntry(), MSK4Text::readFDP(), MSWText::readFields(), HMWJText::readFontNames(), MRWText::readFontNames(), DMText::readFontNames(), WNText::readFontNames(), MSK4Text::readFontNames(), MSWText::readFontNames(), MRWText::readFonts(), HMWJText::readFonts(), MDWParser::readFonts(), NSText::readFontsList(), DMText::readFooter(), MSK4Text::readFootNote(), MSWText::readFootnotesData(), MSWText::readFootnotesPos(), MSK4Zone::readFRAM(), HMWJGraph::readFrames(), HMWJText::readFtnPos(), WNParser::readGenericUnkn(), HMWJGraph::readGraphData(), MWParser::readGraphic(), MSK3Parser::readGroup(), MSKGraph::readGroup(), HMWJGraph::readGroupData(), CWGraph::readGroupDef(), CWGraph::readGroupZone(), EDParser::readIndex(), EDParser::readInfo(), MWParser::readInformations(), MWParser::readLinesHeight(), MSWText::readLongZone(), MSWParser::readObject(), MSWParser::readObjectFlags(), MSWParser::readObjectList(), MWParser::readPageBreak(), MSWText::readPageBreak(), MWParser::readParagraph(), MSWText::readParagraphInfo(), HMWJText::readParagraphs(), NSText::readParagraphs(), DMParser::readPictInfo(), HMWJGraph::readPicture(), MSWParser::readPicture(), MSKGraph::readPictureV4(), MSWTextStyles::readPLC(), MSK4Text::readPLC(), MSWTextStyles::readPLCList(), MRWText::readPLCZone(), MRWGraph::readPostscript(), CWPresentation::readPresentationZone(), MSWParser::readPrinter(), MSWParser::readPrintInfo(), WNParser::readPrintInfo(), HMWJParser::readPrintInfo(), MRWParser::readPrintInfo(), MSKGraph::readRB(), NSParser::readReference(), MSK4Zone::readRLRB(), MRWText::readRulers(), MSWTextStyles::readSection(), ZWParser::readSectionRange(), HMWJText::readSections(), MSK4Zone::readSELN(), MRWParser::readSeparator(), CWParser::readSNAP(), CWSpreadsheet::readSpreadsheetZone(), NSParser::readStringsList(), DMParser::readSTwD(), MRWText::readStyleNames(), CWStyleManager::readStyles(), HMWJText::readStyles(), MSWTextStyles::readStyles(), WNText::readStyles(), MSWTextStyles::readStylesFont(), MSWTextStyles::readStylesHierarchy(), MSWTextStyles::readStylesNames(), MSWTextStyles::readStylesParagraph(), HMWJGraph::readTable(), CWTable::readTableZone(), MSK4Text::readText(), MDWParser::readText(), MWParser::readText(), MRWText::readTextStruct(), MSWText::readTextStruct(), MSWTextStyles::readTextStructList(), HMWJText::readTextZone(), CWText::readTextZoneSize(), HMWJText::readTextZonesList(), CWParser::readTNAM(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), MRWGraph::readToken(), MRWGraph::readTokenBlock0(), CWText::readTokens(), DMText::readWindows(), MWParser::readWindowsInfo(), DMParser::readXtr2(), MRWText::readZone(), MSK3Parser::readZone(), MRWParser::readZone(), HMWJParser::readZone(), MRWParser::readZone13(), MSWParser::readZone17(), HMWJParser::readZoneA(), HMWJParser::readZoneB(), MRWParser::readZoneb(), MRWParser::readZonec(), MRWParser::readZoneDim(), MSK3Text::readZoneHeader(), MRWParser::readZoneHeader(), HMWJParser::readZoneWithHeader(), MSW1Parser::removeLastCharIfEOL(), MSKGraph::send(), MRWText::send(), MSK4Parser::sendFrameText(), ZWText::sendHeaderFooter(), LWGraph::sendJPEG(), EDParser::sendPicture(), MRWGraph::sendPicture(), WNParser::sendPicture(), CWGraph::sendPicture(), MRWGraph::sendPSZone(), MSW1Parser::sendText(), ZWText::sendText(), NSText::sendText(), DMText::sendText(), MSWText::sendText(), MSK3Text::updateNotes(), and MWAWRSRCParser::~MWAWRSRCParser().

std::string const& MWAWEntry::extra ( ) const
inline

retrieves the extra string

bool MWAWEntry::hasName ( std::string const &  nam) const
inline
int MWAWEntry::id ( ) const
inline

returns the id

Referenced by LWGraph::createZones(), TTParser::createZones(), ZWText::createZones(), DMParser::createZones(), NSGraph::createZones(), DMText::createZones(), WNParser::createZones(), LWParser::createZones(), MSWText::createZones(), EDParser::findContents(), NSGraph::flushExtra(), TTParser::flushExtra(), EDParser::flushExtra(), MWAWRSRCParser::getEntry(), MSK4ZoneInternal::operator<<(), operator<<(), FWEntry::operator==(), MWAWRSRCParser::parse(), MSK4ParserInternal::SubDocument::parse(), MWAWRSRCParser::parseClut(), WNText::parseContent(), MWAWRSRCParser::parseMap(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTR(), MWAWRSRCParser::parseSTRList(), MWAWRSRCParser::parseVers(), WNText::parseZone(), NSParser::readABBR(), ZWParser::readBarState(), NSParser::readCPRC(), LWParser::readDocInfo(), LWParser::readDocument(), NSParser::readFnSc(), LWText::readFont2(), DMText::readFontNames(), LWText::readFonts(), NSText::readFonts(), NSText::readFontsList(), EDParser::readFontsName(), DMText::readFooter(), NSText::readFootnotes(), NSParser::readFTA2(), NSText::readHeaderFooter(), ZWText::readHFZone(), ZWParser::readHTMLPref(), EDParser::readIndex(), EDParser::readInfo(), NSParser::readINFO(), MWParser::readInformations(), MWParser::readLinesHeight(), MDWParser::readLinesInfo(), LWParser::readLWSR2(), LWParser::readMPSR5(), MSWParser::readObjectFlags(), MSWParser::readObjectList(), MSWParser::readObjects(), NSParser::readPageLimit(), NSText::readParagraphs(), NSGraph::readPGRA(), DMParser::readPictInfo(), MSWParser::readPicture(), NSGraph::readPLAC(), MSWTextStyles::readPLC(), MSWTextStyles::readPLCList(), LWParser::readPrintInfo(), NSParser::readPrintInfo(), ZWParser::readPrintInfo(), MSKGraph::readRB(), LWText::readRuby(), LWText::readRulers(), ZWText::readSectionFonts(), NSParser::readStringsList(), DMParser::readSTwD(), TTParser::readStyles(), DMText::readStyles(), LWText::readStyleU(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), LWText::readUnknownStyle(), ZWParser::readWindowPos(), DMText::readWindows(), TTParser::readWRCT(), DMParser::readXtr2(), HMWJParser::readZone(), MRWText::send(), LWGraph::sendJPEG(), NSText::sendText(), DMText::sendText(), and MWAWRSRCParser::~MWAWRSRCParser().

long MWAWEntry::length ( ) const
inline

returns the length of the zone

Referenced by MRWText::computeNumPages(), DMText::computeNumPages(), DMText::createZones(), EDParser::decodeZone(), HMWJParser::decodeZone(), NSText::findFilePos(), MWProParser::findNumHardBreaks(), ZWField::getBool(), CWText::numPages(), operator<<(), MWAWRSRCParser::parse(), MWAWRSRCParser::parseClut(), WNText::parseContent(), WNParser::parseGraphicZone(), MSK4Zone::parseHeaderIndexEntry(), MWAWRSRCParser::parseMap(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTR(), MWAWRSRCParser::parseSTRList(), MWAWRSRCParser::parseVers(), WNText::parseZone(), NSStruct::RecursifData::read(), NSParser::readABBR(), CWGraph::readBitmapZone(), NSParser::readCNTR(), CWGraph::readColorList(), WNParser::readColorMap(), NSParser::readCPRC(), ZWParser::readCPRT(), MRWParser::readCPRT(), CWParser::readCPRT(), CWDatabase::readDatabaseZone(), WNParser::readDocEntries(), LWParser::readDocInfo(), MRWParser::readDocInfo(), MSWParser::readDocSum(), LWParser::readDocument(), LWText::readDocumentHF(), MSWParser::readDocumentInfo(), MSK4Zone::readDOP(), MDWParser::readEntry(), MSK4Text::readFDP(), MSWText::readFields(), NSParser::readFnSc(), LWText::readFont2(), HMWJText::readFontNames(), MRWText::readFontNames(), DMText::readFontNames(), WNText::readFontNames(), MSK4Text::readFontNames(), MSWText::readFontNames(), LWText::readFonts(), MRWText::readFonts(), HMWJText::readFonts(), CWText::readFonts(), NSText::readFonts(), NSText::readFontsList(), EDParser::readFontsName(), DMText::readFooter(), NSText::readFootnotes(), MSWText::readFootnotesData(), MSWText::readFootnotesPos(), HMWJGraph::readFrames(), NSParser::readFTA2(), HMWJText::readFtnPos(), WNParser::readGenericUnkn(), HMWJGraph::readGraphData(), MDWParser::readGraphic(), MWParser::readGraphic(), HMWJGraph::readGroupData(), CWGraph::readGroupDef(), CWGraph::readGroupZone(), NSText::readHeaderFooter(), MDWParser::readHeadingCustom(), MDWParser::readHeadingProperties(), MDWParser::readHeadingStates(), EDParser::readIndex(), EDParser::readInfo(), NSParser::readINFO(), MDWParser::readLastZone(), MDWParser::readLinesInfo(), MSWText::readLongZone(), LWParser::readLWSR2(), LWParser::readMPSR5(), NSParser::readNumberingReset(), MSWParser::readObjectFlags(), MSWParser::readObjectList(), MWParser::readPageBreak(), MSWText::readPageBreak(), NSParser::readPageLimit(), MWParser::readParagraph(), MSK3Text::readParagraph(), MSWText::readParagraphInfo(), HMWJText::readParagraphs(), CWText::readParagraphs(), NSText::readParagraphs(), NSGraph::readPGRA(), NSText::readPICD(), DMParser::readPictInfo(), HMWJGraph::readPicture(), MSWParser::readPicture(), NSGraph::readPLAC(), MSWTextStyles::readPLC(), MSK4Text::readPLC(), MSWTextStyles::readPLCList(), MRWText::readPLCZone(), NSGraph::readPLDT(), NSText::readPosToFont(), MRWGraph::readPostscript(), CWPresentation::readPresentationZone(), MSWParser::readPrinter(), LWParser::readPrintInfo(), MDWParser::readPrintInfo(), NSParser::readPrintInfo(), MSWParser::readPrintInfo(), WNParser::readPrintInfo(), MRWParser::readPrintInfo(), MSKGraph::readRB(), NSParser::readReference(), MSK4Zone::readRLRB(), LWText::readRuby(), MDWParser::readRuler(), LWText::readRulers(), MRWText::readRulers(), MSWTextStyles::readSection(), ZWText::readSectionFonts(), ZWParser::readSectionRange(), HMWJText::readSections(), MRWParser::readSeparator(), NSParser::readSGP1(), CWParser::readSNAP(), CWSpreadsheet::readSpreadsheetZone(), NSParser::readStringsList(), MSWParser::readStringsZone(), DMParser::readSTwD(), MRWText::readStyleNames(), CWStyleManager::readStyles(), TTParser::readStyles(), HMWJText::readStyles(), DMText::readStyles(), MSWTextStyles::readStyles(), WNText::readStyles(), LWText::readStyleU(), HMWJGraph::readTable(), CWTable::readTableZone(), MWParser::readText(), MRWText::readTextStruct(), MSWText::readTextStruct(), MSWTextStyles::readTextStructList(), HMWJText::readTextZone(), CWText::readTextZoneSize(), HMWJText::readTextZonesList(), CWParser::readTNAM(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), MRWGraph::readToken(), MRWGraph::readTokenBlock0(), CWText::readTokens(), LWText::readUnknownStyle(), NSParser::readVariable(), DMText::readWindows(), TTParser::readWRCT(), DMParser::readXtr2(), MRWText::readZone(), HMWJParser::readZone(), MDWParser::readZone12(), MRWParser::readZone13(), MSWParser::readZone17(), MDWParser::readZone8(), HMWJParser::readZoneA(), HMWJParser::readZoneB(), MRWParser::readZoneb(), MRWParser::readZonec(), MRWParser::readZoneDim(), MRWParser::readZoneHeader(), HMWJParser::readZoneWithHeader(), MSW1Parser::removeLastCharIfEOL(), NSText::sendFootnote(), MSK4Parser::sendFrameText(), NSText::sendHeaderFooter(), LWText::sendHeaderFooter(), LWGraph::sendJPEG(), LWGraph::sendPICT(), EDParser::sendPicture(), MRWGraph::sendPicture(), WNParser::sendPicture(), MSWParser::sendPicture(), CWGraph::sendPicture(), HMWJGraph::sendPictureFrame(), MRWGraph::sendPSZone(), MRWText::sendTable(), MSWText::sendTable(), NSText::sendText(), DMText::sendText(), CWText::sendText(), MDWParser::sendZone(), MDWParserInternal::ZoneInfo::updateListId(), and MSK3Text::updateNotes().

bool MWAWEntry::operator!= ( const MWAWEntry a) const
inline

basic operator!=

bool MWAWEntry::operator== ( const MWAWEntry a) const
inline

basic operator==

Referenced by operator!=().

void MWAWEntry::setBegin ( long  off)
inline

sets the begin offset

Referenced by MSK3Parser::checkHeader(), WNParser::checkHeader(), HMWJParser::checkHeader(), MSWParser::checkPicturePos(), MSW1Parser::createDocument(), MSWText::createZones(), HMWJParser::createZones(), MWParser::createZonesV3(), MRWParser::decodeZone(), MRWText::findTableStructure(), MSWParserInternal::Object::getEntry(), MSKGraph::getEntryPicture(), ZWParser::getFieldList(), ZWText::isTextCode(), MWAWRSRCParser::parse(), MSK4Zone::parseHeaderIndexEntry(), MWAWRSRCParser::parseMap(), MWProParser::parseTextZone(), WNText::parseZone(), NSStruct::RecursifData::read(), CWGraph::readBitmapData(), CWGraph::readBitmapZone(), WNParser::readDocEntriesV2(), CWParser::readDocHeader(), CWParser::readDSET(), CWText::readDSETZone(), CWParser::readEndTable(), MDWParser::readEntry(), WNParser::readEntry(), MSWParser::readEntry(), MRWParser::readEntryHeader(), MSK4Text::readFootNote(), MSWText::readFootnotesPos(), MSK3Parser::readGroup(), CWGraph::readGroupZone(), MWParser::readInformations(), MDWParser::readLinesInfo(), CWGraph::readNamedPict(), CWGraph::readOLE(), CWGraph::readPICT(), HMWJGraph::readPicture(), MSWParser::readPicture(), MSWTextStyles::readPLC(), MSWTextStyles::readPLCList(), CWGraph::readPS(), NSParser::readReference(), MSWTextStyles::readStyles(), MWParser::readText(), MWProParser::readTextEntries(), MSWText::readTextStruct(), HMWJText::readTextZone(), MWParser::readWindowsInfo(), CWParser::readZone(), MSK3Text::readZoneHeader(), HMWJParser::readZonesList(), MRWText::send(), NSText::sendFootnote(), MSK4Parser::sendFrameText(), NSText::sendHeaderFooter(), MSW1Parser::sendMain(), MSWText::sendMainText(), MSWText::sendTable(), MSW1Parser::sendText(), and FWEntry::update().

void MWAWEntry::setExtra ( std::string const &  s)
inline

sets the extra string

void MWAWEntry::setName ( std::string const &  nam)
inline
void MWAWEntry::setParsed ( bool  ok = true) const
inline

sets the flag m_parsed to true or false

Referenced by DMParser::createZones(), EDParser::createZones(), EDParser::decodeZone(), MSWText::flushExtra(), MSK4ParserInternal::SubDocument::parse(), MWAWRSRCParser::parseClut(), WNText::parseContent(), WNParser::parseGraphicZone(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTR(), MWAWRSRCParser::parseSTRList(), MWAWRSRCParser::parseVers(), WNText::parseZone(), NSStruct::RecursifData::read(), NSParser::readABBR(), ZWParser::readBarState(), NSParser::readCNTR(), WNParser::readColorMap(), ZWParser::readCPos(), NSParser::readCPRC(), WNParser::readDocEntries(), LWParser::readDocInfo(), MSWParser::readDocSum(), LWParser::readDocument(), MSWParser::readDocumentInfo(), MSK4Zone::readDOP(), MSK4Text::readFDP(), MSWText::readFields(), NSParser::readFnSc(), LWText::readFont2(), HMWJText::readFontNames(), DMText::readFontNames(), WNText::readFontNames(), MSK4Text::readFontNames(), MSWText::readFontNames(), LWText::readFonts(), HMWJText::readFonts(), NSText::readFonts(), NSText::readFontsList(), EDParser::readFontsName(), DMText::readFooter(), NSText::readFootnotes(), MSWText::readFootnotesData(), MSWText::readFootnotesPos(), MSK4Zone::readFRAM(), HMWJGraph::readFrames(), NSParser::readFTA2(), HMWJText::readFtnPos(), WNParser::readGenericUnkn(), HMWJGraph::readGraphData(), HMWJGraph::readGroupData(), NSText::readHeaderFooter(), MDWParser::readHeadingCustom(), MDWParser::readHeadingProperties(), MDWParser::readHeadingStates(), ZWText::readHFZone(), ZWParser::readHTMLPref(), EDParser::readIndex(), EDParser::readInfo(), NSParser::readINFO(), MDWParser::readLastZone(), MDWParser::readLinesInfo(), MSWText::readLongZone(), LWParser::readLWSR2(), LWParser::readMPSR5(), NSParser::readNumberingReset(), MSWParser::readObject(), MSWParser::readObjectFlags(), MSWParser::readObjectList(), MSWText::readPageBreak(), NSParser::readPageLimit(), MSWText::readParagraphInfo(), HMWJText::readParagraphs(), NSText::readParagraphs(), NSGraph::readPGRA(), NSText::readPICD(), DMParser::readPictInfo(), HMWJGraph::readPicture(), MSWParser::readPicture(), MSKGraph::readPictureV4(), NSGraph::readPLAC(), MSWTextStyles::readPLC(), MSK4Text::readPLC(), MSWTextStyles::readPLCList(), NSText::readPosToFont(), MSWParser::readPrinter(), LWParser::readPrintInfo(), NSParser::readPrintInfo(), MSWParser::readPrintInfo(), ZWParser::readPrintInfo(), WNParser::readPrintInfo(), HMWJParser::readPrintInfo(), MSKGraph::readRB(), MSK4Zone::readRLRB(), LWText::readRuby(), LWText::readRulers(), MSWTextStyles::readSection(), ZWText::readSectionFonts(), ZWParser::readSectionRange(), HMWJText::readSections(), MSK4Zone::readSELN(), ZWParser::readSLen(), NSParser::readStringsList(), DMParser::readSTwD(), TTParser::readStyles(), HMWJText::readStyles(), ZWText::readStyles(), DMText::readStyles(), MSWTextStyles::readStyles(), LWText::readStyleU(), HMWJGraph::readTable(), MSWText::readTextStruct(), HMWJText::readTextZone(), HMWJText::readTextZonesList(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), LWText::readUnknownStyle(), ZWParser::readUnknownZone(), ZWParser::readWindowPos(), DMText::readWindows(), TTParser::readWRCT(), DMParser::readXtr2(), HMWJParser::readZone(), MDWParser::readZone12(), MSWParser::readZone17(), MDWParser::readZone8(), HMWJParser::readZoneA(), HMWJParser::readZoneB(), HMWJParser::readZoneWithHeader(), MSWText::sendFootnote(), LWGraph::sendJPEG(), LWGraph::sendPICT(), NSGraph::sendPicture(), EDParser::sendPicture(), and WNParser::sendPicture().

bool MWAWEntry::valid ( ) const
inline

returns true if the zone length is positive

Referenced by WNEntryManager::add(), TTParser::checkHeader(), DMParser::checkHeader(), LWParser::checkHeader(), NSParser::checkHeader(), MRWText::computeNumPages(), DMText::computeNumPages(), ZWText::computePositions(), MSW1Parser::createDocument(), WNParser::createDocument(), MSWParser::createDocument(), MDWParser::createZones(), ZWParser::createZones(), HMWJParser::createZones(), EDParser::decodeZone(), HMWJParser::decodeZone(), NSText::findFilePos(), ZWField::getDebugString(), ZWTextInternal::HFZone::getDebugString(), ZWField::getString(), WNEntry::isZone(), ZWTextInternal::HFZone::ok(), MWAWRSRCParser::parse(), MWParser::parse(), MDWParser::parse(), MSW1ParserInternal::SubDocument::parse(), MWAWRSRCParser::parseClut(), WNText::parseContent(), WNParser::parseGraphicZone(), MWAWRSRCParser::parsePICT(), MWAWRSRCParser::parseSTR(), MWAWRSRCParser::parseSTRList(), MWAWRSRCParser::parseVers(), WNText::parseZone(), MSKGraphInternal::TextBoxv4::print(), NSParser::readABBR(), ZWParser::readBarState(), CWGraph::readBitmapZone(), NSParser::readCNTR(), CWGraph::readColorList(), WNParser::readColorMap(), MDWParser::readCompressedText(), MSK4Zone::readContentZones(), ZWParser::readCPos(), NSParser::readCPRC(), CWParser::readCPRT(), CWDatabase::readDatabaseZone(), WNParser::readDocEntries(), LWParser::readDocInfo(), LWParser::readDocument(), CWText::readDSETZone(), CWParser::readDSUM(), NSParser::readFnSc(), LWText::readFont2(), HMWJText::readFontNames(), MRWText::readFontNames(), DMText::readFontNames(), WNText::readFontNames(), LWText::readFonts(), HMWJText::readFonts(), NSText::readFonts(), NSText::readFontsList(), EDParser::readFontsName(), DMText::readFooter(), NSText::readFootnotes(), HMWJGraph::readFrames(), NSParser::readFTA2(), HMWJText::readFtnPos(), WNParser::readGenericUnkn(), HMWJGraph::readGraphData(), MDWParser::readGraphic(), MWParser::readGraphic(), HMWJGraph::readGroupData(), CWGraph::readGroupZone(), NSText::readHeaderFooter(), MDWParser::readHeadingCustom(), MDWParser::readHeadingProperties(), MDWParser::readHeadingStates(), ZWText::readHFZone(), ZWParser::readHTMLPref(), EDParser::readIndex(), EDParser::readInfo(), NSParser::readINFO(), MWParser::readInformations(), MDWParser::readLastZone(), MWParser::readLinesHeight(), MDWParser::readLinesInfo(), LWParser::readLWSR2(), LWParser::readMPSR5(), NSParser::readNumberingReset(), MWParser::readPageBreak(), NSParser::readPageLimit(), MWParser::readParagraph(), HMWJText::readParagraphs(), NSText::readParagraphs(), NSGraph::readPGRA(), NSText::readPICD(), DMParser::readPictInfo(), HMWJGraph::readPicture(), NSGraph::readPLAC(), NSText::readPosToFont(), MRWGraph::readPostscript(), CWPresentation::readPresentationZone(), LWParser::readPrintInfo(), MDWParser::readPrintInfo(), NSParser::readPrintInfo(), ZWParser::readPrintInfo(), WNParser::readPrintInfo(), LWText::readRuby(), LWText::readRulers(), ZWText::readSectionFonts(), HMWJText::readSections(), ZWParser::readSLen(), CWParser::readSNAP(), CWSpreadsheet::readSpreadsheetZone(), NSParser::readStringsList(), DMParser::readSTwD(), MRWText::readStyleNames(), CWStyleManager::readStyles(), TTParser::readStyles(), HMWJText::readStyles(), ZWText::readStyles(), DMText::readStyles(), WNText::readStyles(), LWText::readStyleU(), HMWJGraph::readTable(), CWTable::readTableZone(), MDWParser::readText(), MWParser::readText(), HMWJText::readTextZone(), HMWJText::readTextZonesList(), CWParser::readTNAM(), DMText::readTOC(), LWParser::readTOC(), LWParser::readTOCPage(), MRWGraph::readTokenBlock0(), LWText::readUnknownStyle(), ZWParser::readWindowPos(), DMText::readWindows(), TTParser::readWRCT(), DMParser::readXtr2(), MDWParser::readZone12(), MRWParser::readZone13(), MDWParser::readZone8(), HMWJParser::readZoneA(), HMWJParser::readZoneB(), HMWJParser::readZoneWithHeader(), MSW1Parser::removeLastCharIfEOL(), CWGraph::sendBitmap(), HMWJGraph::sendFrame(), LWText::sendHeaderFooter(), LWGraph::sendJPEG(), MRWGraph::sendPicture(), WNParser::sendPicture(), MSWParser::sendPicture(), CWGraph::sendPicture(), HMWJGraph::sendPictureFrame(), MRWGraph::sendPSZone(), HMWJText::sendText(), MSW1Parser::sendText(), ZWText::sendText(), NSText::sendText(), DMText::sendText(), and MSWText::sendText().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
MWAWEntry const &  ent 
)
friend

Member Data Documentation

long MWAWEntry::m_begin
protected

the begin of the entry.

Referenced by begin(), end(), operator==(), setBegin(), setEnd(), and valid().

std::string MWAWEntry::m_extra
protected

an extra string

Referenced by extra(), operator<<(), and setExtra().

int MWAWEntry::m_id
protected
long MWAWEntry::m_length
protected

the size of the entry

Referenced by end(), length(), operator==(), setEnd(), setLength(), and valid().

std::string MWAWEntry::m_name
protected

the name

Referenced by hasName(), name(), operator==(), and setName().

bool MWAWEntry::m_parsed
mutableprotected

a bool to store if the entry is or not parsed

Referenced by isParsed(), and setParsed().

std::string MWAWEntry::m_type
protected

the entry type

Referenced by hasType(), operator==(), setType(), and type().


The documentation for this class was generated from the following file:

Generated on Sat May 4 2013 20:11:11 for libmwaw by doxygen 1.8.3.1