44 namespace GWTextInternal
int numPages() const
returns the number of pages
Definition: GWText.cxx:427
bool sendZone(GWTextInternal::Zone const &zone, bool inGraphic=false)
try to send a zone
Definition: GWText.cxx:1315
bool readFontNames()
try to read the font names zone
Definition: GWText.cxx:840
Internal and low level: structure which stores a token for GWText.
Definition: GWText.cxx:105
bool findNextZone()
heuristic function used to find the next zone
Definition: GWText.cxx:547
GWParser * m_mainParser
the main parser;
Definition: GWText.hxx:128
int numHFZones() const
return the number of header/footer zones
Definition: GWText.cxx:445
GWText(GWParser &parser)
constructor
Definition: GWText.cxx:412
bool readZone(GWTextInternal::Zone &zone)
try to read a zone ( textheader+fonts+rulers)
Definition: GWText.cxx:616
MWAWParserStatePtr m_parserState
the parser state
Definition: GWText.hxx:122
the main class to read the text part of GreatWorks Text file
Definition: GWText.hxx:58
bool readZonePositions(GWTextInternal::Zone &zone)
try to read the end of a zone ( line + frame position )
Definition: GWText.cxx:768
bool sendHF(int id)
try to send the i^th header/footer
Definition: GWText.cxx:1131
bool readToken(GWTextInternal::Token &token, long &nChar)
try to read a token
Definition: GWText.cxx:1084
bool sendMainText()
send a main zone
Definition: GWText.cxx:1120
bool createZones(int expectedHF)
finds the different objects zones
Definition: GWText.cxx:493
bool sendTextbox(MWAWEntry const &entry, bool inGraphic)
try to send the textbox text
Definition: GWText.cxx:470
GWText & operator=(GWText const &orig)
bool sendSimpleTextbox(MWAWEntry const &entry, bool inGraphic=false)
try to send simplified textbox zone
Definition: GWText.cxx:1159
bool readRuler(MWAWParagraph ¶)
try to read a ruler
Definition: GWText.cxx:964
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
bool canSendTextBoxAsGraphic(MWAWEntry const &entry)
check if a textbox can be send in a graphic zone, ie. does not contains any graphic ...
Definition: GWText.cxx:457
int version() const
returns the file version
Definition: GWText.cxx:420
shared_ptr< GWTextInternal::State > m_state
the state
Definition: GWText.hxx:125
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
the main class to read a GreatWorks text file
Definition: GWParser.hxx:57
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readFont(MWAWFont &font)
try to read a font
Definition: GWText.cxx:907
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: GWText.cxx:1144
virtual ~GWText()
destructor
Definition: GWText.cxx:417
Internal and low level: structure which stores a text zone header for GWText.
Definition: GWText.cxx:287