46 namespace HMWKTextInternal
80 bool sendText(
long id,
long subId=0);
HMWKParser * m_mainParser
the main parser;
Definition: HMWKText.hxx:135
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:132
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:260
void updateTextZoneTypes(std::map< long, int > const &idTypeMap)
update the text zone type with map id->type
Definition: HMWKText.cxx:271
void setProperty(HMWKTextInternal::Paragraph const ¶, float width)
send the ruler properties
Definition: HMWKText.cxx:993
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:255
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HMWKText.cxx:1372
bool readSections(shared_ptr< HMWKZone > zone)
try to read a section info zone (type 4)
Definition: HMWKText.cxx:1263
virtual ~HMWKText()
destructor
Definition: HMWKText.cxx:244
HMWKText(HMWKParser &parser)
constructor
Definition: HMWKText.cxx:239
bool readTextZone(shared_ptr< HMWKZone > zone)
try to read a text zone (type 1)
Definition: HMWKText.cxx:298
bool readFont(HMWKZone &zone, MWAWFont &font)
try to read a font in a text zone
Definition: HMWKText.cxx:683
std::vector< long > const & getTokenIdList() const
returns the list of zoneId which corresponds to the token
Definition: HMWKText.cxx:266
int version() const
returns the file version
Definition: HMWKText.cxx:248
MWAWParserStatePtr m_parserState
the parser state
Definition: HMWKText.hxx:129
bool sendMainText()
send the main text zone
Definition: HMWKText.cxx:398
bool readStyles(shared_ptr< HMWKZone > zone)
try to read the style zone (type 3)
Definition: HMWKText.cxx:867
bool sendText(long id, long subId=0)
send a text zone
Definition: HMWKText.cxx:380
bool readToken(HMWKZone &zone, HMWKTextInternal::Token &token)
try to read an token in a text zone
Definition: HMWKText.cxx:1219
Internal: class to store the token properties of a HMWKText.
Definition: HMWKText.cxx:155
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
bool readFontNames(shared_ptr< HMWKZone > zone)
try to read the fonts name zone (type 5)
Definition: HMWKText.cxx:807
bool readParagraph(HMWKZone &zone, HMWKTextInternal::Paragraph ¶)
try to read a paragraph in a text zone
Definition: HMWKText.cxx:999
Internal: class to store the paragraph properties of a HMWKText.
Definition: HMWKText.cxx:59