48 namespace FWTextInternal
100 bool send(shared_ptr<FWTextInternal::Zone> zone);
103 void send(shared_ptr<FWTextInternal::Zone> zone,
int numChar,
108 bool sendTable(shared_ptr<FWTextInternal::Zone> zone,
bool readStyle(FWStruct::EntryPtr zone)
try to read a style
Definition: FWText.cxx:1956
bool readItem(FWStruct::EntryPtr zone, int id=-1, bool hidden=false)
check if the input of the zone points to a item zone in DataStruct Zone
Definition: FWText.cxx:1833
shared_ptr< Entry > EntryPtr
Definition: FWStruct.hxx:135
bool sendTable(shared_ptr< FWTextInternal::Zone > zone, FWTextInternal::LineHeader const &lHeader, FWTextInternal::Font &font, FWTextInternal::Paragraph &ruler, std::string &str)
try send a table row
Definition: FWText.cxx:1115
the main class to read a FullWrite file
Definition: FWParser.hxx:66
bool readParaModDocInfo(FWStruct::EntryPtr zone)
try to read the paragraph modifier (at the end of doc info)
Definition: FWText.cxx:2216
void createItemStructures()
create the item structures
Definition: FWText.cxx:2419
bool sendHiddenItem(int id, FWTextInternal::Font &font, FWTextInternal::Paragraph &ruler)
send a hidden item
Definition: FWText.cxx:1452
void prepareData()
prepare the different data (called sortZones and createItemStructures)
Definition: FWText.hxx:116
shared_ptr< FWTextInternal::State > m_state
the state
Definition: FWText.hxx:162
int version() const
returns the file version
Definition: FWText.cxx:621
FWParser * m_mainParser
the main parser;
Definition: FWText.hxx:165
Internal: class to store the paragraph properties.
Definition: FWText.cxx:415
bool sendMainText()
send a main zone
Definition: FWText.cxx:2332
FWText(FWParser &parser)
constructor
Definition: FWText.cxx:612
bool readTextData(FWStruct::EntryPtr zone)
check if a zone is a text zone, if so read it...
Definition: FWText.cxx:1539
int numPages() const
returns the number of pages
Definition: FWText.cxx:628
void sortZones()
sort the different zones, finding the main zone, ...
Definition: FWText.cxx:2376
FWText & operator=(FWText const &orig)
the main class to read the text part of writenow file
Definition: FWText.hxx:66
MWAWParserStatePtr m_parserState
the parser state
Definition: FWText.hxx:159
virtual ~FWText()
destructor
Definition: FWText.cxx:618
bool send(int zId)
send a id zone
Definition: FWText.cxx:2353
bool readDataMod(FWStruct::EntryPtr zone, int id)
try to read the font/paragraph modifier zone (Zone1f)
Definition: FWText.cxx:2180
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: FWText.cxx:2365
bool readLineHeader(shared_ptr< FWTextInternal::Zone > zone, FWTextInternal::LineHeader &lHeader)
try to read the header of a line
Definition: FWText.cxx:1216
bool readColumns(FWStruct::EntryPtr zone)
check if the input of the zone points to the columns definition, ...
Definition: FWText.cxx:2285
Internal: class to store a font and it state.
Definition: FWText.cxx:185
bool readParagraphTabs(FWStruct::EntryPtr zone, int id=-1)
check if the input of the zone points to a paragraph zone in DataStruct Zone
Definition: FWText.cxx:2008