40 #include <libwpd/libwpd.h>
47 namespace LWParserInternal
73 void parse(WPXDocumentInterface *documentInterface);
the main class to read the graphic part of a LightWay Text file
Definition: LWGraph.hxx:63
Vec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: LWParser.cxx:166
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: LWParser.cxx:148
LWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: LWParser.cxx:124
shared_ptr< LWParserInternal::State > m_state
the state
Definition: LWParser.hxx:130
bool readDocument(MWAWEntry const &entry)
read a Document, Header/Footer block (1000)
Definition: LWParser.cxx:619
bool getColumnInfo(int &numCols, int &colSep) const
returns the number of column and the column separator (in point)
Definition: LWParser.cxx:175
void newPage(int number)
adds a new page
Definition: LWParser.cxx:216
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
void init()
inits all internal variables
Definition: LWParser.cxx:134
the main class to read the text part of LightWay Text file
Definition: LWText.hxx:57
shared_ptr< LWGraph > m_graphParser
the graph parser
Definition: LWParser.hxx:136
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: LWParser.cxx:232
bool readLWSR2(MWAWEntry const &entry)
read a LWSR block (1002)
Definition: LWParser.cxx:689
bool readPrintInfo(MWAWEntry const &entry)
read a PrintInfo block
Definition: LWParser.cxx:444
bool readTOCPage(MWAWEntry const &entry)
read a TOC page block
Definition: LWParser.cxx:507
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
Internal: the subdocument of a LWParser.
Definition: LWParser.cxx:77
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: LWParser.cxx:790
virtual ~LWParser()
destructor
Definition: LWParser.cxx:130
the main class to read a LightWay Text file
Definition: LWParser.hxx:58
void sendGraphic(int graphId)
ask the graph parser to send a graph
Definition: LWParser.cxx:202
bool sendHeaderFooter(bool header)
try to send the header/footer
Definition: LWParser.cxx:187
bool m_pageSpanSet
a flag to know if page span has been set
Definition: LWParser.hxx:133
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
bool readMPSR5(MWAWEntry const &entry)
read a MPSR block (1005)
Definition: LWParser.cxx:715
bool readTOC(MWAWEntry const &entry)
read a TOC data block
Definition: LWParser.cxx:550
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: LWParser.cxx:153
bool textInDataFork() const
returns true if the main text is in data fork
Definition: LWParser.cxx:158
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: LWParser.cxx:266
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
shared_ptr< LWText > m_textParser
the text parser
Definition: LWParser.hxx:139
bool createZones()
finds the different objects zones
Definition: LWParser.cxx:309
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readDocInfo(MWAWEntry const &entry)
read a DocInfo block
Definition: LWParser.cxx:372