Go to the documentation of this file.
38 #ifndef CLARIS_WKS_PARSER
39 # define CLARIS_WKS_PARSER
45 #include <librevenge/librevenge.h>
92 void newPage(
int number,
bool softBreak);
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:565
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisWksParser.cxx:96
int m_numPages
the number of page of the final document
Definition: ClarisWksParser.cxx:79
std::shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksParser.hxx:110
a note
Definition: libmwaw_internal.hxx:445
int m_actPage
the actual page
Definition: ClarisWksParser.cxx:79
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksParser.cxx:257
void newPage(int number, bool softBreak)
adds a new page
Definition: ClarisWksParser.cxx:169
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:64
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
SubDocument(ClarisWksParser &pars, MWAWInputStreamPtr const &input, int zoneId, MWAWPosition const &pos=MWAWPosition())
Definition: ClarisWksParser.cxx:87
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:563
friend class ClarisWksDocument
Definition: ClarisWksParser.hxx:70
vectorized grphic
Definition: MWAWDocument.hxx:83
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:73
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisWksParser.cxx:115
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
~SubDocument() final
destructor
Definition: ClarisWksParser.cxx:93
Definition: MWAWListener.hxx:58
void sendFootnote(int zoneId)
creates a document to send a footnote
Definition: ClarisWksParser.cxx:188
SubDocumentType
Definition: libmwaw_internal.hxx:188
~ClarisWksParser() final
destructor
Definition: ClarisWksParser.cxx:149
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:158
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
word processing file
Definition: MWAWDocument.hxx:82
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
MWAWPosition m_position
the subdocument position if defined
Definition: ClarisWksParser.cxx:112
ClarisWksParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksParser.cxx:141
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
Definition: MWAWListener.hxx:58
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
Definition: libmwaw_internal.hxx:143
int m_id
the subdocument id
Definition: ClarisWksParser.cxx:110
Internal: the subdocument of a ClarisWksParser.
Definition: ClarisWksParser.cxx:84
void init()
inits all internal variables
Definition: ClarisWksParser.cxx:153
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: ClarisWksParser.cxx:208
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: ClarisWksParser.cxx:196
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
State()
constructor
Definition: ClarisWksParser.cxx:73
std::shared_ptr< ClarisWksParserInternal::State > m_state
the state
Definition: ClarisWksParser.hxx:107
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
Internal: the state of a ClarisWksParser.
Definition: ClarisWksParser.cxx:71
Definition: libmwaw_internal.hxx:447
Internal: the structures of a ClarisWksParser.
Definition: ClarisWksParser.cxx:66
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:551
Definition: MWAWDocument.hxx:56
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:211
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:163
Generated on Sun Aug 18 2019 00:59:13 for libmwaw by
doxygen 1.8.16