Go to the documentation of this file.
38 #ifndef CLARIS_WKS_PR_PARSER
39 # define CLARIS_WKS_PR_PARSER
45 #include <librevenge/librevenge.h>
82 void parse(
librevenge::RVNGPresentationInterface *documentInterface) final;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
~SubDocument() final
destructor
Definition: ClarisWksPRParser.cxx:93
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisWksPRParser.cxx:96
void parse(librevenge::RVNGPresentationInterface *documentInterface) final
virtual function used to parse the input
Definition: ClarisWksPRParser.cxx:179
int m_actPage
the actual page
Definition: ClarisWksPRParser.cxx:79
void init()
inits all internal variables
Definition: ClarisWksPRParser.cxx:153
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
Internal: the state of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:71
State()
constructor
Definition: ClarisWksPRParser.cxx:73
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:74
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
ClarisWksPRParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksPRParser.cxx:141
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
void resetPresentationListener()
resets the listener
Definition: MWAWParser.cxx:141
std::shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:559
MWAWPosition m_position
the subdocument position if defined
Definition: ClarisWksPRParser.cxx:112
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisWksPRParser.cxx:115
friend class ClarisWksDocument
Definition: ClarisWksPRParser.hxx:70
SubDocumentType
Definition: libmwaw_internal.hxx:188
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
the main class to create presentation Claris Works file
Definition: ClarisWksPRParser.hxx:68
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
void createDocument(librevenge::RVNGPresentationInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksPRParser.cxx:214
virtual class which defines the ancestor of all presentation zone parser
Definition: MWAWParser.hxx:267
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
Definition: libmwaw_internal.hxx:144
Internal: the subdocument of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:85
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
MWAWPresentationListenerPtr & getPresentationListener()
returns the presentation listener
Definition: MWAWParser.hxx:135
int m_id
the subdocument id
Definition: ClarisWksPRParser.cxx:110
Internal: the structures of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:67
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
This class contains code needed to write a presention document.
Definition: MWAWPresentationListener.hxx:60
std::shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksPRParser.hxx:104
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: ClarisWksPRParser.cxx:168
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
std::shared_ptr< ClarisWksPRParserInternal::State > m_state
the state
Definition: ClarisWksPRParser.hxx:101
Definition: MWAWDocument.hxx:57
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
SubDocument(ClarisWksPRParser &pars, MWAWInputStreamPtr const &input, int zoneId, MWAWPosition const &pos=MWAWPosition())
Definition: ClarisWksPRParser.cxx:87
int m_numPages
the number of page of the final document
Definition: ClarisWksPRParser.cxx:79
void setPresentationListener(MWAWPresentationListenerPtr &listener)
sets the presentation listener
Definition: MWAWParser.cxx:136
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
~ClarisWksPRParser() final
destructor
Definition: ClarisWksPRParser.cxx:149
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20