40 #include <libwpd/libwpd.h>
47 namespace TTParserInternal
67 void parse(WPXDocumentInterface *documentInterface);
bool readStyles(MWAWEntry const &entry)
try to read the styles ( resource styl : SimpleText,id=128, Tex-Edit,id=1000 )
Definition: TTParser.cxx:345
bool createZones()
finds the different objects zones
Definition: TTParser.cxx:193
int computeNumPages() const
compute the number of page of a zone
Definition: TTParser.cxx:243
bool sendText()
try to send the main text
Definition: TTParser.cxx:257
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 flushExtra()
sends the data which have not yet been sent to the listener
Definition: TTParser.cxx:230
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: TTParser.cxx:109
void newPage(int number)
adds a new page
Definition: TTParser.cxx:117
bool sendPicture(int id)
try to send a picture knowing the id
Definition: TTParser.cxx:437
void init()
inits all internal variables
Definition: TTParser.cxx:94
friend class TTText
Definition: TTParser.hxx:56
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:354
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: TTParser.cxx:104
the main class to read a SimpleText/TeachText/Tex-Edit file
Definition: TTParser.hxx:54
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: TTParser.cxx:487
virtual ~TTParser()
destructor
Definition: TTParser.cxx:90
shared_ptr< TTParserInternal::State > m_state
the state
Definition: TTParser.hxx:109
bool readWRCT(MWAWEntry const &entry)
try to read the unknown wrct structure ( only in TexEdit,id=1000 )
Definition: TTParser.cxx:413
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
void parse(WPXDocumentInterface *documentInterface)
virtual function used to parse the input
Definition: TTParser.cxx:133
TTParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: TTParser.cxx:84
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
void createDocument(WPXDocumentInterface *documentInterface)
creates the listener which will be associated to the document
Definition: TTParser.cxx:165