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);
89 void createDocument(librevenge::RVNGPresentationInterface *documentInterface);
101 shared_ptr<ClarisWksPRParserInternal::State>
m_state;
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:511
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
int m_actPage
the actual page
Definition: ClarisWksPRParser.cxx:77
void init()
inits all internal variables
Definition: ClarisWksPRParser.cxx:152
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
void parse(librevenge::RVNGPresentationInterface *documentInterface)
virtual function used to parse the input
Definition: ClarisWksPRParser.cxx:178
virtual ~SubDocument()
destructor
Definition: ClarisWksPRParser.cxx:89
Internal: the state of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:71
State()
constructor
Definition: ClarisWksPRParser.cxx:73
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: ClarisWksPRParser.cxx:102
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
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:129
MWAWPosition m_position
the subdocument position if defined
Definition: ClarisWksPRParser.cxx:113
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
SubDocument(ClarisWksPRParser &pars, MWAWInputStreamPtr input, int zoneId, MWAWPosition const &pos=MWAWPosition())
Definition: ClarisWksPRParser.cxx:85
friend class ClarisWksDocument
Definition: ClarisWksPRParser.hxx:70
ClarisWksPRParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: ClarisWksPRParser.cxx:142
SubDocumentType
Definition: libmwaw_internal.hxx:178
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
the main class to create presentation Claris Works file
Definition: ClarisWksPRParser.hxx:68
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: ClarisWksPRParser.cxx:167
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksPRParser.hxx:104
void createDocument(librevenge::RVNGPresentationInterface *documentInterface)
creates the listener which will be associated to the document
Definition: ClarisWksPRParser.cxx:213
virtual class which defines the ancestor of all presentation zone parser
Definition: MWAWParser.hxx:266
shared_ptr< ClarisWksPRParserInternal::State > m_state
the state
Definition: ClarisWksPRParser.hxx:101
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
Definition: libmwaw_internal.hxx:142
Internal: the subdocument of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:83
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:111
Internal: the structures of a ClarisWksPRParser.
Definition: ClarisWksPRParser.cxx:67
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
This class contains code needed to write a presention document.
Definition: MWAWPresentationListener.hxx:60
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: ClarisWksPRParser.cxx:116
virtual ~ClarisWksPRParser()
destructor
Definition: ClarisWksPRParser.cxx:148
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: ClarisWksPRParser.cxx:92
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
int m_numPages
the number of page of the final document
Definition: ClarisWksPRParser.cxx:77
void setPresentationListener(MWAWPresentationListenerPtr &listener)
sets the presentation listener
Definition: MWAWParser.cxx:124
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
Generated on Wed Jun 17 2020 06:30:09 for libmwaw by
doxygen 1.8.18