38 #ifndef BEAGLE_WKS_TEXT 39 # define BEAGLE_WKS_TEXT 92 std::shared_ptr<MWAWSubDocument>
getHeader(
int page,
int &numSimillar);
94 std::shared_ptr<MWAWSubDocument>
getFooter(
int page,
int &numSimillar);
100 bool sendHF(
int hfId,
int sectId);
121 std::shared_ptr<BeagleWksTextInternal::State>
m_state;
Internal: a class used to store the font data of a BeagleWksText.
Definition: BeagleWksText.cxx:64
std::shared_ptr< MWAWSubDocument > getFooter(int page, int &numSimillar)
return a footer subdocument
Definition: BeagleWksText.cxx:420
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
void updatePageSpanList(std::vector< MWAWPageSpan > &spanList)
update the page span list
the main class to read a BeagleWorks file
Definition: BeagleWksParser.hxx:59
Internal: the structures of a BeagleWksText.
Definition: BeagleWksText.cxx:60
BeagleWksText & operator=(BeagleWksText const &orig)=delete
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: BeagleWksText.cxx:648
Internal: a class used to store the section data of a BeagleWksText.
Definition: BeagleWksText.cxx:178
bool sendText(MWAWEntry const &entry)
try to send a text zone
Definition: BeagleWksText.cxx:668
bool readSection(MWAWEntry const &entry, BeagleWksTextInternal::Section §ion)
try to read a section
Definition: BeagleWksText.cxx:1049
BeagleWksParser * m_mainParser
the main parser;
Definition: BeagleWksText.hxx:126
bool readParagraph(MWAWParagraph ¶, long endPos, bool inSection=false)
try to read a paragraph knowing end pos
Definition: BeagleWksText.cxx:944
int numPages() const
returns the number of pages
Definition: BeagleWksText.cxx:379
the main class to read the text part of BeagleWorks Text file
Definition: BeagleWksText.hxx:61
bool sendHF(int hfId, int sectId)
try to send a header/footer id
Definition: BeagleWksText.cxx:628
void countPages()
update the number of pages and the number of page by section
Definition: BeagleWksText.cxx:547
Class to store font.
Definition: MWAWFont.hxx:43
std::shared_ptr< BeagleWksStructManager > m_structureManager
the structure manager
Definition: BeagleWksText.hxx:123
std::shared_ptr< BeagleWksTextInternal::State > m_state
the state
Definition: BeagleWksText.hxx:121
bool sendMainText()
send a main zone
Definition: BeagleWksText.cxx:623
std::shared_ptr< MWAWSubDocument > getHeader(int page, int &numSimillar)
return an header subdocument
Definition: BeagleWksText.cxx:393
bool createZones(MWAWEntry &entry)
try to create the text zones
Definition: BeagleWksText.cxx:454
virtual ~BeagleWksText()
destructor
Definition: BeagleWksText.cxx:368
bool readFont(BeagleWksTextInternal::Font &font, long endPos)
try to read a font properties
Definition: BeagleWksText.cxx:909
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
the main class to read the structure shared between different BeagleWorks files
Definition: BeagleWksStructManager.hxx:56
Internal: the subdocument of a BeagleWksText.
Definition: BeagleWksText.cxx:297
int version() const
returns the file version
Definition: BeagleWksText.cxx:372
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWFont getFont(BeagleWksTextInternal::Font const &ft) const
returns the font
Definition: BeagleWksText.cxx:386
MWAWParserStatePtr m_parserState
the parser state
Definition: BeagleWksText.hxx:118
BeagleWksText(BeagleWksParser &parser)
constructor
Definition: BeagleWksText.cxx:360