50 namespace HMWKTextInternal
84 bool sendText(
long id,
long subId=0);
HMWKParser * m_mainParser
the main parser;
Definition: HMWKText.hxx:139
the main class to read a HanMac Word-K file
Definition: HMWKParser.hxx:177
shared_ptr< HMWKTextInternal::State > m_state
the state
Definition: HMWKText.hxx:136
shared_ptr< MWAWParserState > MWAWParserStatePtr
Definition: ACText.hxx:49
HMWKText & operator=(HMWKText const &orig)
the main class to read the text part of HanMac Word file
Definition: HMWKText.hxx:65
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:998
Small class used to store the decoded zone of HMWKParser.
Definition: HMWKParser.hxx:62
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:1377
bool readSections(shared_ptr< HMWKZone > zone)
try to read a section info zone (type 4)
Definition: HMWKText.cxx:1268
Class to store font.
Definition: MWAWFont.hxx:47
a class to define the parser state
Definition: MWAWParser.hxx:60
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:686
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:400
bool readStyles(shared_ptr< HMWKZone > zone)
try to read the style zone (type 3)
Definition: HMWKText.cxx:871
bool sendText(long id, long subId=0)
send a text zone
Definition: HMWKText.cxx:382
bool readToken(HMWKZone &zone, HMWKTextInternal::Token &token)
try to read an token in a text zone
Definition: HMWKText.cxx:1224
Internal: class to store the token properties of a HMWKText.
Definition: HMWKText.cxx:156
bool readFontNames(shared_ptr< HMWKZone > zone)
try to read the fonts name zone (type 5)
Definition: HMWKText.cxx:810
bool readParagraph(HMWKZone &zone, HMWKTextInternal::Paragraph ¶)
try to read a paragraph in a text zone
Definition: HMWKText.cxx:1004
Internal: class to store the paragraph properties of a HMWKText.
Definition: HMWKText.cxx:59