52 namespace WNParserInternal
83 void parse(WPXDocumentInterface *documentInterface);
bool readColorMap(WNEntry const &entry)
try to read the colormap zone
Definition: WNParser.cxx:709
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: WNParser.cxx:1015
shared_ptr< WNEntryManager > m_entryManager
the list of entry
Definition: WNParser.hxx:161
bool readPrintInfo(WNEntry const &entry)
try to read the print info zone
Definition: WNParser.cxx:816
bool checkIfPositionValid(long pos)
check if a position is inside the file
Definition: WNParser.cxx:976
virtual ~WNParser()
destructor
Definition: WNParser.cxx:141
the class to store a color
Definition: libmwaw_internal.hxx:166
shared_ptr< WNParserInternal::State > m_state
the state
Definition: WNParser.hxx:158
bool createZones()
finds the different objects zones
Definition: WNParser.cxx:317
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
bool readGenericUnkn(WNEntry const &entry)
try to read the last generic zones
Definition: WNParser.cxx:892
bool parseGraphicZone(WNEntry const &entry)
try to read the graphic zone (unknown + list of entries ) and to create the graphic data zone ...
Definition: WNParser.cxx:545
Internal: the subdocument of a WNParser.
Definition: WNParser.cxx:84
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: WNParser.cxx:269
WNEntry readEntry()
read a file entry
Definition: WNParser.cxx:990
bool readDocEntriesV2()
try to read the document entries zone v2
Definition: WNParser.cxx:468
void init()
inits all internal variables
Definition: WNParser.cxx:145
Definition: WNEntry.hxx:47
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
void sendFootnote(WNEntry const &entry)
try to send a footnote entry
Definition: WNParser.cxx:193
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: WNParser.cxx:225
WNParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: WNParser.cxx:135
void newPage(int number)
adds a new page
Definition: WNParser.cxx:171
bool sendPicture(WNEntry const &entry, Box2i const &bdbox)
try to send a picture to the listener
Definition: WNParser.cxx:623
the main class to read a WriteNow file
Definition: WNParser.hxx:68
void getColumnInfo(int &numColumns, int &width) const
returns the columns information
Definition: WNParser.cxx:162
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
the main class to read the text part of writenow file
Definition: WNText.hxx:81
void send(WNEntry const &entry)
try to send an entry
Definition: WNParser.cxx:201
bool sendGraphic(int gId, Box2i const &bdbox)
try to send the graphic zone
Definition: WNParser.cxx:206
bool readDocEntries()
try to read the document entries zone v3-v4
Definition: WNParser.cxx:379
the manager of the entries
Definition: WNEntry.hxx:93
bool getColor(int colId, MWAWColor &col) const
returns the color which corresponds to colId
Definition: WNParser.cxx:184
shared_ptr< WNText > m_textParser
the text parser
Definition: WNParser.hxx:164