38 #ifndef HAN_MAC_WRD_J_TEXT 39 # define HAN_MAC_WRD_J_TEXT 144 std::shared_ptr<HanMacWrdJTextInternal::State>
m_state;
bool sendText(long id, long cPos, MWAWListenerPtr listener=MWAWListenerPtr())
send a text zone
Definition: HanMacWrdJText.cxx:524
the main class to read a HanMac Word-J file
Definition: HanMacWrdJParser.hxx:109
std::vector< long > getTokenIdList() const
returns the list of zoneId which corresponds to the token
Definition: HanMacWrdJText.cxx:467
int version() const
returns the file version
Definition: HanMacWrdJText.cxx:446
MWAWParserStatePtr m_parserState
the parser state
Definition: HanMacWrdJText.hxx:141
std::shared_ptr< HanMacWrdJTextInternal::State > m_state
the state
Definition: HanMacWrdJText.hxx:144
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
bool readFontNames(MWAWEntry const &entry)
try to read the fonts name zone (type 15)
Definition: HanMacWrdJText.cxx:1651
bool readSections(MWAWEntry const &entry)
try to read the different sections
Definition: HanMacWrdJText.cxx:2174
bool readStyles(MWAWEntry const &entry)
try to read the style zone (type 2)
Definition: HanMacWrdJText.cxx:1731
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
bool canSendTextAsGraphic(long id, long cPos)
check if we can send a textzone as graphic
Definition: HanMacWrdJText.cxx:486
bool sendMainText()
send the main text zone
Definition: HanMacWrdJText.cxx:536
bool readFonts(MWAWEntry const &entry)
try to read the fonts zone (type 0)
Definition: HanMacWrdJText.cxx:1568
bool readTextZone(MWAWEntry const &entry, int actZone)
try to read a text zone ( type 5 )
Definition: HanMacWrdJText.cxx:1070
bool readTextZonesList(MWAWEntry const &entry)
try to read the list of textzones ( type 4)
Definition: HanMacWrdJText.cxx:922
void updateFootnoteInformations(long const &textZId, std::vector< long > const &fPosList)
update the footnote text zone id and the list of first char position
Definition: HanMacWrdJText.cxx:916
bool readFont(MWAWFont &font, long endPos=-1)
try to read the font ( reading up to endPos if endPos is defined )
Definition: HanMacWrdJText.cxx:1439
Class to store font.
Definition: MWAWFont.hxx:43
HanMacWrdJText & operator=(HanMacWrdJText const &orig)=delete
virtual ~HanMacWrdJText()
destructor
Definition: HanMacWrdJText.cxx:442
Internal: a struct used to store a text zone.
Definition: HanMacWrdJText.cxx:231
bool readFtnPos(MWAWEntry const &entry)
try to read the footnote position
Definition: HanMacWrdJText.cxx:2285
bool readParagraphs(MWAWEntry const &entry)
try to read the paragraphs zone (type 1)
Definition: HanMacWrdJText.cxx:2093
int numPages() const
returns the number of pages
Definition: HanMacWrdJText.cxx:453
void updateTextZoneTypes(std::map< long, int > const &idTypeMap)
update the text zone type with map id->type
Definition: HanMacWrdJText.cxx:900
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: HanMacWrdJText.cxx:2378
int computeNumPages(HanMacWrdJTextInternal::TextZone const &zone)
compute the number of pages present in a zone
Definition: HanMacWrdJText.cxx:848
Internal: the structures of a HanMacWrdJText.
Definition: HanMacWrdJText.cxx:58
Internal: class to store the paragraph properties of a HanMacWrdJText.
Definition: HanMacWrdJText.cxx:264
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
Internal: the subdocument of a HanMacWrdJText.
Definition: HanMacWrdJText.cxx:348
bool readParagraph(HanMacWrdJTextInternal::Paragraph ¶, long endPos=-1)
try to read a paragraph ( reading up to endPos if endPos is defined )
Definition: HanMacWrdJText.cxx:1876
HanMacWrdJParser * m_mainParser
the main parser;
Definition: HanMacWrdJText.hxx:147
the main class to read the text part of HanMac Word-J file
Definition: HanMacWrdJText.hxx:62
bool readTextToken(long endPos, HanMacWrdJTextInternal::TextZone &zone)
try to read the token in the text zone
Definition: HanMacWrdJText.cxx:1330
HanMacWrdJText(HanMacWrdJParser &parser)
constructor
Definition: HanMacWrdJText.cxx:435