47 namespace HMWJTextInternal
106 bool readFont(MWAWFont &font,
long endPos=-1);
bool readFtnPos(MWAWEntry const &entry)
try to read the footnote position
Definition: HMWJText.cxx:2163
bool readFontNames(MWAWEntry const &entry)
try to read the fonts name zone (type 15)
Definition: HMWJText.cxx:1528
shared_ptr< HMWJTextInternal::State > m_state
the state
Definition: HMWJText.hxx:140
void updateTextZoneTypes(std::map< long, int > const &idTypeMap)
update the text zone type with map id->type
Definition: HMWJText.cxx:782
bool readTextZonesList(MWAWEntry const &entry)
try to read the list of textzones ( type 4)
Definition: HMWJText.cxx:805
bool readTextZone(MWAWEntry const &entry, int actZone)
try to read a text zone ( type 5 )
Definition: HMWJText.cxx:953
HMWJParser * m_mainParser
the main parser;
Definition: HMWJText.hxx:143
bool readParagraphs(MWAWEntry const &entry)
try to read the paragraphs zone (type 1)
Definition: HMWJText.cxx:1973
HMWJText & operator=(HMWJText const &orig)
int numPages() const
returns the number of pages
Definition: HMWJText.cxx:392
bool sendMainText()
send the main text zone
Definition: HMWJText.cxx:438
MWAWParserStatePtr m_parserState
the parser state
Definition: HMWJText.hxx:137
void updateFootnoteInformations(long const &textZId, std::vector< long > const &fPosList)
update the footnote text zone id and the list of first char position
Definition: HMWJText.cxx:799
Internal: a struct used to store a text zone.
Definition: HMWJText.cxx:207
bool readFonts(MWAWEntry const &entry)
try to read the fonts zone (type 0)
Definition: HMWJText.cxx:1445
Internal: class to store the paragraph properties of a HMWJText.
Definition: HMWJText.cxx:233
std::vector< long > getTokenIdList() const
returns the list of zoneId which corresponds to the token
Definition: HMWJText.cxx:405
int computeNumPages(HMWJTextInternal::TextZone const &zone)
compute the number of pages present in a zone
Definition: HMWJText.cxx:729
HMWJText(HMWJParser &parser)
constructor
Definition: HMWJText.cxx:376
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HMWJText.cxx:2256
bool readSections(MWAWEntry const &entry)
try to read the different sections
Definition: HMWJText.cxx:2054
virtual ~HMWJText()
destructor
Definition: HMWJText.cxx:381
bool readParagraph(HMWJTextInternal::Paragraph ¶, long endPos=-1)
try to read a paragraph ( reading up to endPos if endPos is defined )
Definition: HMWJText.cxx:1751
the main class to read a HanMac Word-J file
Definition: HMWJParser.hxx:102
int version() const
returns the file version
Definition: HMWJText.cxx:385
Internal: the subdocument of a HMWJText.
Definition: HMWJText.cxx:296
bool readTextToken(long endPos, HMWJTextInternal::TextZone &zone)
try to read the token in the text zone
Definition: HMWJText.cxx:1208
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:342
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool sendText(long id, long cPos)
send a text zone (not implemented)
Definition: HMWJText.cxx:426
bool readStyles(MWAWEntry const &entry)
try to read the style zone (type 2)
Definition: HMWJText.cxx:1607
the main class to read the text part of HanMac Word-J file
Definition: HMWJText.hxx:62
bool readFont(MWAWFont &font, long endPos=-1)
try to read the font ( reading up to endPos if endPos is defined )
Definition: HMWJText.cxx:1316