46 namespace HMWKTextInternal
80 bool sendText(
long id,
long subId,
bool asGraphic=
false);
HMWKParser * m_mainParser
the main parser;
Definition: HMWKText.hxx:139
the main class to read a HanMac Word-K file
Definition: HMWKParser.hxx:173
shared_ptr< HMWKTextInternal::State > m_state
the state
Definition: HMWKText.hxx:136
bool canSendTextAsGraphic(long id, long subId)
check if we can send a textzone as graphic
Definition: HMWKText.cxx:381
bool sendText(long id, long subId, bool asGraphic=false)
send a text zone
Definition: HMWKText.cxx:395
HMWKText & operator=(HMWKText const &orig)
the main class to read the text part of HanMac Word file
Definition: HMWKText.hxx:61
void getHeaderFooterId(long &headerId, long &footerId) const
return sthe header/footer id
Definition: HMWKText.cxx:261
void updateTextZoneTypes(std::map< long, int > const &idTypeMap)
update the text zone type with map id->type
Definition: HMWKText.cxx:272
void setProperty(HMWKTextInternal::Paragraph const ¶, float width)
send the ruler properties
Definition: HMWKText.cxx:1076
Small class used to store the decoded zone of HMWKParser.
Definition: HMWKParser.hxx:58
int numPages() const
returns the number of pages
Definition: HMWKText.cxx:256
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HMWKText.cxx:1452
bool readSections(shared_ptr< HMWKZone > zone)
try to read a section info zone (type 4)
Definition: HMWKText.cxx:1350
virtual ~HMWKText()
destructor
Definition: HMWKText.cxx:245
HMWKText(HMWKParser &parser)
constructor
Definition: HMWKText.cxx:240
bool readTextZone(shared_ptr< HMWKZone > zone)
try to read a text zone (type 1)
Definition: HMWKText.cxx:299
bool readFont(HMWKZone &zone, MWAWFont &font)
try to read a font in a text zone
Definition: HMWKText.cxx:766
std::vector< long > const & getTokenIdList() const
returns the list of zoneId which corresponds to the token
Definition: HMWKText.cxx:267
int version() const
returns the file version
Definition: HMWKText.cxx:249
MWAWParserStatePtr m_parserState
the parser state
Definition: HMWKText.hxx:133
bool sendMainText()
send the main text zone
Definition: HMWKText.cxx:413
bool readStyles(shared_ptr< HMWKZone > zone)
try to read the style zone (type 3)
Definition: HMWKText.cxx:950
bool readToken(HMWKZone &zone, HMWKTextInternal::Token &token)
try to read an token in a text zone
Definition: HMWKText.cxx:1306
Internal: class to store the token properties of a HMWKText.
Definition: HMWKText.cxx:156
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
bool readFontNames(shared_ptr< HMWKZone > zone)
try to read the fonts name zone (type 5)
Definition: HMWKText.cxx:890
bool readParagraph(HMWKZone &zone, HMWKTextInternal::Paragraph ¶)
try to read a paragraph in a text zone
Definition: HMWKText.cxx:1082
Internal: class to store the paragraph properties of a HMWKText.
Definition: HMWKText.cxx:60