37 #ifndef MIND_WRT_PARSER 38 # define MIND_WRT_PARSER 102 void sendText(std::
string const &text, std::vector<
MWAWFont> const &fonts, std::vector<
int> const &textPos);
void init()
inits all internal variables
Definition: MindWrtParser.cxx:601
void setProperty(MWAWParagraph const ¶)
sends a paragraph property to the listener
Definition: MindWrtParser.cxx:2086
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: MindWrtParser.cxx:643
bool sendZone(int i)
try to send a zone
Definition: MindWrtParser.cxx:855
bool readHeadingCustom(MWAWEntry &entry)
read the heading custom zone
Definition: MindWrtParser.cxx:1674
bool readHeadingStates(MWAWEntry &entry)
read the heading state
Definition: MindWrtParser.cxx:1626
Definition: MWAWDocument.hxx:56
bool readHeadingProperties(MWAWEntry &entry)
read the heading property zone
Definition: MindWrtParser.cxx:1801
void newPage(int number)
adds a new page
Definition: MindWrtParser.cxx:615
bool readRuler(MindWrtParserInternal::LineInfo &line)
try to read a ruler
Definition: MindWrtParser.cxx:984
void sendText(std::string const &text, std::vector< MWAWFont > const &fonts, std::vector< int > const &textPos)
try to send the text
Definition: MindWrtParser.cxx:2056
Internal: the structures of a MindWrtParser.
Definition: MindWrtParser.cxx:59
MindWrtParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MindWrtParser.cxx:590
bool readLastZone(MWAWEntry &entry)
read the last zone ( pos + 7fffffff )
Definition: MindWrtParser.cxx:1584
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MindWrtParser.cxx:1398
void sendHeaderFooter(bool header)
try to send the header/footer zone
Definition: MindWrtParser.cxx:1079
void sendHeaderFooterFields(bool header)
try to send the header/footer fields as text (in a textbox)
Definition: MindWrtParser.cxx:1101
bool readZone8(MWAWEntry &entry)
read the 8th zone ( unknown zone)
Definition: MindWrtParser.cxx:1878
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
~MindWrtParser() final
destructor
Definition: MindWrtParser.cxx:597
Class to store font.
Definition: MWAWFont.hxx:43
bool readHeadingFields(MWAWEntry &entry)
read the heading field zone ( zone 12 )
Definition: MindWrtParser.cxx:1932
bool readFonts(MWAWEntry const &entry, std::vector< MWAWFont > &fonts, std::vector< int > &textPos)
try to read the fonts
Definition: MindWrtParser.cxx:1336
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
bool readLinesInfo(MWAWEntry &entry)
read the lines information zone
Definition: MindWrtParser.cxx:1505
MWAWEntry readEntry()
read a file entry
Definition: MindWrtParser.cxx:628
bool readGraphic(MindWrtParserInternal::LineInfo const &line)
try to read a graphic
Definition: MindWrtParser.cxx:942
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
the main class to read a MindWrite file
Definition: MindWrtParser.hxx:60
bool createZones()
finds the different objects zones
Definition: MindWrtParser.cxx:740
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MindWrtParser.cxx:696
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readText(MindWrtParserInternal::LineInfo const &line)
try to read a non compressed text zone
Definition: MindWrtParser.cxx:1169
std::shared_ptr< MindWrtParserInternal::State > m_state
the state
Definition: MindWrtParser.hxx:148
bool readPrintInfo(MWAWEntry &entry)
read the print info zone
Definition: MindWrtParser.cxx:1990
bool readCompressedText(MindWrtParserInternal::LineInfo const &line)
try to read a compressed text zone
Definition: MindWrtParser.cxx:1237
Internal: the subdocument of a MindWrtParser.
Definition: MindWrtParser.cxx:525