47 namespace HMWJTextInternal
82 bool sendText(
long id,
long cPos,
bool asGraphic=
false);
110 bool readFont(MWAWFont &font,
long endPos=-1);
bool readFtnPos(MWAWEntry const &entry)
try to read the footnote position
Definition: HMWJText.cxx:2225
bool readFontNames(MWAWEntry const &entry)
try to read the fonts name zone (type 15)
Definition: HMWJText.cxx:1590
shared_ptr< HMWJTextInternal::State > m_state
the state
Definition: HMWJText.hxx:144
void updateTextZoneTypes(std::map< long, int > const &idTypeMap)
update the text zone type with map id->type
Definition: HMWJText.cxx:844
bool readTextZonesList(MWAWEntry const &entry)
try to read the list of textzones ( type 4)
Definition: HMWJText.cxx:867
bool readTextZone(MWAWEntry const &entry, int actZone)
try to read a text zone ( type 5 )
Definition: HMWJText.cxx:1015
HMWJParser * m_mainParser
the main parser;
Definition: HMWJText.hxx:147
bool readParagraphs(MWAWEntry const &entry)
try to read the paragraphs zone (type 1)
Definition: HMWJText.cxx:2035
HMWJText & operator=(HMWJText const &orig)
int numPages() const
returns the number of pages
Definition: HMWJText.cxx:393
bool sendMainText()
send the main text zone
Definition: HMWJText.cxx:478
MWAWParserStatePtr m_parserState
the parser state
Definition: HMWJText.hxx:141
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:861
bool sendText(long id, long cPos, bool asGraphic=false)
send a text zone
Definition: HMWJText.cxx:466
Internal: a struct used to store a text zone.
Definition: HMWJText.cxx:208
bool readFonts(MWAWEntry const &entry)
try to read the fonts zone (type 0)
Definition: HMWJText.cxx:1507
Internal: class to store the paragraph properties of a HMWJText.
Definition: HMWJText.cxx:234
std::vector< long > getTokenIdList() const
returns the list of zoneId which corresponds to the token
Definition: HMWJText.cxx:406
int computeNumPages(HMWJTextInternal::TextZone const &zone)
compute the number of pages present in a zone
Definition: HMWJText.cxx:791
HMWJText(HMWJParser &parser)
constructor
Definition: HMWJText.cxx:377
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HMWJText.cxx:2318
bool readSections(MWAWEntry const &entry)
try to read the different sections
Definition: HMWJText.cxx:2116
virtual ~HMWJText()
destructor
Definition: HMWJText.cxx:382
bool readParagraph(HMWJTextInternal::Paragraph ¶, long endPos=-1)
try to read a paragraph ( reading up to endPos if endPos is defined )
Definition: HMWJText.cxx:1813
the main class to read a HanMac Word-J file
Definition: HMWJParser.hxx:102
int version() const
returns the file version
Definition: HMWJText.cxx:386
Internal: the subdocument of a HMWJText.
Definition: HMWJText.cxx:297
bool readTextToken(long endPos, HMWJTextInternal::TextZone &zone)
try to read the token in the text zone
Definition: HMWJText.cxx:1270
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
bool canSendTextAsGraphic(long id, long cPos)
check if we can send a textzone as graphic
Definition: HMWJText.cxx:427
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readStyles(MWAWEntry const &entry)
try to read the style zone (type 2)
Definition: HMWJText.cxx:1669
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:1378