60 namespace CWTextInternal
100 bool sendZone(
int number,
bool asGraphic=
false);
135 bool readFont(
int id,
int &posC, MWAWFont &font);
bool readFont(int id, int &posC, MWAWFont &font)
try to read a font
Definition: CWText.cxx:723
bool readSTYL_RULR(int N, int fSz)
read a STYL Paragraph sequence
Definition: CWText.cxx:1576
main structure which correspond to a document part
Definition: CWStruct.hxx:55
bool readTokens(MWAWEntry const &entry, CWTextInternal::Zone &zone)
try to the token zone)
Definition: CWText.cxx:974
bool readTextSection(CWTextInternal::Zone &zone)
try to read the section
Definition: CWText.cxx:1098
CWParser * m_mainParser
the main parser;
Definition: CWText.hxx:165
a structure to store the style list and the lookup zone
Definition: CWStyleManager.hxx:59
shared_ptr< CWTextInternal::State > m_state
the state
Definition: CWText.hxx:162
shared_ptr< CWStruct::DSET > readDSETZone(CWStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone Text DSET
Definition: CWText.cxx:513
the main class to read the text part of Claris Works file
Definition: CWText.hxx:75
int numPages() const
returns the number of pages
Definition: CWText.cxx:483
Internal: class to store the paragraph properties.
Definition: CWText.cxx:108
bool readTextZoneSize(MWAWEntry const &entry, CWTextInternal::Zone &zone)
try to read the text zone size
Definition: CWText.cxx:1199
CWText & operator=(CWText const &orig)
int version() const
returns the file version
Definition: CWText.cxx:476
bool readFonts(MWAWEntry const &entry, CWTextInternal::Zone &zone)
try to read a font sequence
Definition: CWText.cxx:829
bool readParagraphs()
read the rulers block which is present at the beginning of the text in the first version of Claris Wo...
Definition: CWText.cxx:1604
CWText(CWParser &parser)
constructor
Definition: CWText.cxx:467
shared_ptr< CWStyleManager > m_styleManager
the style manager
Definition: CWText.hxx:168
bool sendZone(int number, bool asGraphic=false)
sends the zone data to the listener (if it exists )
Definition: CWText.cxx:1934
bool canSendTextAsGraphic(int number) const
check if we can send a textzone as graphic
Definition: CWText.cxx:1925
the main class to read a Claris Works file
Definition: CWParser.hxx:73
int findListId(CWTextInternal::Zone const &zone, int actListId, long cPos, long &lastPos)
try to find a list id which corresponds to the list beginning in actPos
Definition: CWText.cxx:1531
bool sendText(CWTextInternal::Zone const &zone, bool asGraphic)
send the text zone to the listener
Definition: CWText.cxx:1259
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
Definition: CWText.cxx:413
MWAWParserStatePtr m_parserState
the parser state
Definition: CWText.hxx:159
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:46
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: CWText.cxx:1945
virtual ~CWText()
destructor
Definition: CWText.cxx:473
void setProperty(MWAWListener &listener, CWTextInternal::Paragraph const &ruler, int listId=-1)
sends a paragraph property to the listener
Definition: CWText.cxx:1914
bool readParagraph(int id=-1)
the definition of ruler : present at the beginning of the text in the first version of Claris Works :...
Definition: CWText.cxx:1656