35# define MS_WRD1_PARSER
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:299
Internal: the subdocument of a MsWrdParser.
Definition: MsWrd1Parser.cxx:248
the main class to read a Microsoft Word 1 file
Definition: MsWrd1Parser.hxx:58
bool readFootnoteCorrespondance(MWAWVec2i limit)
try to read the footnote correspondance ( zone2 )
Definition: MsWrd1Parser.cxx:874
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWrd1Parser.cxx:395
std::shared_ptr< MsWrd1ParserInternal::State > m_state
the state
Definition: MsWrd1Parser.hxx:132
void init()
inits all internal variables
Definition: MsWrd1Parser.cxx:308
bool prepareTextZones()
prepare the data: separate header/footer zones to the main stream...
Definition: MsWrd1Parser.cxx:532
void sendMain()
try to send the main zone
Definition: MsWrd1Parser.cxx:377
bool readPLC(MWAWVec2i limits, int wh)
read the two first zones (char and paragraph)
Definition: MsWrd1Parser.cxx:1119
void removeLastCharIfEOL(MWAWEntry &entry)
shorten an entry if the last character is EOL
Definition: MsWrd1Parser.cxx:335
bool readZones(MWAWVec2i limit)
try to read the list of zones: separator between text and footnote? (zone 4)
Definition: MsWrd1Parser.cxx:935
bool readFont(long fPos, MsWrd1ParserInternal::Font &font)
try to read a char property
Definition: MsWrd1Parser.cxx:634
bool readDocInfo(MWAWVec2i limit)
try to read the document info (zone 3)
Definition: MsWrd1Parser.cxx:982
bool sendText(MWAWEntry const &entry, bool main=false)
send the text structure to the listener
Definition: MsWrd1Parser.cxx:1222
bool createZones()
finds the different zones
Definition: MsWrd1Parser.cxx:471
bool readPageBreak(MWAWVec2i limit)
try to read the page break (zone 5)
Definition: MsWrd1Parser.cxx:829
bool readParagraph(long fPos, MsWrd1ParserInternal::Paragraph ¶)
try to read a paragraph property
Definition: MsWrd1Parser.cxx:698
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MsWrd1Parser.cxx:1363
~MsWrd1Parser() final
destructor
Definition: MsWrd1Parser.cxx:304
void newPage(int number)
adds a new page
Definition: MsWrd1Parser.cxx:322
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: MsWrd1Parser.cxx:348
void setProperty(MsWrd1ParserInternal::Paragraph const ¶)
send the ruler properties
Definition: MsWrd1Parser.cxx:1352
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
Internal: the structures of a MsWrd1Parser.
Definition: MsWrd1Parser.cxx:56
Definition: MWAWDocument.hxx:57