34 #ifndef LIGHT_WAY_TXT_PARSER 35 # define LIGHT_WAY_TXT_PARSER 40 #include <librevenge/librevenge.h> 70 bool checkHeader(
MWAWHeader *header,
bool strict=
false);
73 void parse(librevenge::RVNGTextInterface *documentInterface);
80 void createDocument(librevenge::RVNGTextInterface *documentInterface);
85 bool getColumnInfo(
int &numCols,
int &colSep)
const;
87 void newPage(
int number);
89 bool textInDataFork()
const;
94 void sendGraphic(
int graphId);
106 bool readPrintInfo(
MWAWEntry const &entry);
108 bool readDocInfo(
MWAWEntry const &entry);
110 bool readDocument(
MWAWEntry const &entry);
116 bool readTOCPage(
MWAWEntry const &entry);
130 shared_ptr<LightWayTxtParserInternal::State>
m_state;
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
the main class to read a LightWay Text file
Definition: LightWayTxtParser.hxx:58
bool m_pageSpanSet
a flag to know if page span has been set
Definition: LightWayTxtParser.hxx:133
bool createZones()
finds the different text zones
Definition: LightWayTxtText.cxx:322
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:527
the main class to read the graphic part of a LightWay Text file
Definition: LightWayTxtGraph.hxx:63
the main class to read the text part of LightWay Text file
Definition: LightWayTxtText.hxx:57
Internal: the structures of a LightWayTxtParser.
Definition: LightWayTxtParser.cxx:56
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:295
friend class LightWayTxtParser
Definition: LightWayTxtText.hxx:59
shared_ptr< LightWayTxtGraph > m_graphParser
the graph parser
Definition: LightWayTxtParser.hxx:136
bool sendHeaderFooter(bool header)
try to send the header/footer
Definition: LightWayTxtText.cxx:932
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:517
Internal: the subdocument of a LightWayTxtParser.
Definition: LightWayTxtParser.cxx:78
shared_ptr< LightWayTxtParserInternal::State > m_state
the state
Definition: LightWayTxtParser.hxx:130
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
shared_ptr< LightWayTxtText > m_textParser
the text parser
Definition: LightWayTxtParser.hxx:139