48 namespace MDWParserInternal
74 void parse(WPXDocumentInterface *documentInterface);
102 void sendText(std::string
const &text, std::vector<MWAWFont>
const &fonts, std::vector<int>
const &textPos);
108 bool readFonts(
MWAWEntry const &entry, std::vector<MWAWFont> &fonts, std::vector<int> &textPos);
MDWParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: MDWParser.cxx:551
void sendText(std::string const &text, std::vector< MWAWFont > const &fonts, std::vector< int > const &textPos)
try to send the text
Definition: MDWParser.cxx:2025
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: MDWParser.cxx:1363
void init()
inits all internal variables
Definition: MDWParser.cxx:561
bool readZone8(MWAWEntry &entry)
read the 8th zone ( unknown zone)
Definition: MDWParser.cxx:1845
shared_ptr< MDWParserInternal::State > m_state
the state
Definition: MDWParser.hxx:148
bool readHeadingFields(MWAWEntry &entry)
read the heading field zone ( zone 12 )
Definition: MDWParser.cxx:1900
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MDWParser.cxx:658
bool readHeadingStates(MWAWEntry &entry)
read the heading state
Definition: MDWParser.cxx:1593
void sendHeaderFooter(bool header)
try to send the header/footer zone
Definition: MDWParser.cxx:1041
MWAWEntry readEntry()
read a file entry
Definition: MDWParser.cxx:588
bool readCompressedText(MDWParserInternal::LineInfo const &line)
try to read a compressed text zone
Definition: MDWParser.cxx:1203
bool readHeadingProperties(MWAWEntry &entry)
read the heading property zone
Definition: MDWParser.cxx:1768
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
bool readHeadingCustom(MWAWEntry &entry)
read the heading custom zone
Definition: MDWParser.cxx:1641
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: MDWParser.cxx:603
bool readFonts(MWAWEntry const &entry, std::vector< MWAWFont > &fonts, std::vector< int > &textPos)
try to read the fonts
Definition: MDWParser.cxx:1301
bool readGraphic(MDWParserInternal::LineInfo const &line)
try to read a graphic
Definition: MDWParser.cxx:904
void sendHeaderFooterFields(bool header)
try to send the header/footer fields as text (in a textbox)
Definition: MDWParser.cxx:1064
bool sendZone(int i)
try to send a zone
Definition: MDWParser.cxx:819
bool readPrintInfo(MWAWEntry &entry)
read the print info zone
Definition: MDWParser.cxx:1959
bool readText(MDWParserInternal::LineInfo const &line)
try to read a non compressed text zone
Definition: MDWParser.cxx:1135
bool createZones()
finds the different objects zones
Definition: MDWParser.cxx:703
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
void newPage(int number)
adds a new page
Definition: MDWParser.cxx:575
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
the main class to read a MindWrite file
Definition: MDWParser.hxx:60
virtual ~MDWParser()
destructor
Definition: MDWParser.cxx:557
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:89
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readRuler(MDWParserInternal::LineInfo &line)
try to read a ruler
Definition: MDWParser.cxx:947
void setProperty(MWAWParagraph const ¶)
sends a paragraph property to the listener
Definition: MDWParser.cxx:2055
bool readLinesInfo(MWAWEntry &entry)
read the lines information zone
Definition: MDWParser.cxx:1471
Internal: a line information of a MDWParser.
Definition: MDWParser.cxx:237
bool readLastZone(MWAWEntry &entry)
read the last zone ( pos + 7fffffff )
Definition: MDWParser.cxx:1551
Internal: the subdocument of a MWParser.
Definition: MDWParser.cxx:488