Go to the documentation of this file.
38 #ifndef CLARIS_WKS_PRESENTATION
39 # define CLARIS_WKS_PRESENTATION
145 std::shared_ptr<ClarisWksPresentationInternal::State>
m_state;
State()
constructor
Definition: ClarisWksPresentation.cxx:111
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
int m_id
the zone identificator
Definition: ClarisWksStruct.hxx:199
SubDocument(SubDocument const &orig)=delete
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
std::vector< int > m_contentIdList
the list of main zone id
Definition: ClarisWksPresentation.cxx:91
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
bool updatePageSpanList(MWAWPageSpan const &page, std::vector< MWAWPageSpan > &spanList)
updates the page span list and returns true if this is possible
Definition: ClarisWksPresentation.cxx:201
bool sendMaster()
sends the master zone (ie. the background zone)
Definition: ClarisWksPresentation.cxx:483
Internal: the subdocument of a ClarisWksPresentation.
Definition: ClarisWksPresentation.cxx:125
void removeChild(int cId, bool normalChild) final
remove a child from a list.
Definition: ClarisWksPresentation.cxx:84
std::shared_ptr< ClarisWksStruct::DSET > getZone(int zId) const
return the zone corresponding to an id ( low level)
Definition: ClarisWksDocument.cxx:415
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
@ Presentation
Definition: MWAWListener.hxx:56
bool sendZone(int zoneId, MWAWListenerPtr listener=MWAWListenerPtr(), MWAWPosition pos=MWAWPosition())
try to send a zone
Definition: ClarisWksDocument.cxx:453
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: ClarisWksPresentation.cxx:548
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: ClarisWksPresentation.cxx:136
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:74
int m_id
the subdocument id
Definition: ClarisWksPresentation.cxx:153
void disconnectMasterFromContents() const
disconnect the master zone to the content zones
Definition: ClarisWksPresentation.cxx:256
bool readZone1(ClarisWksPresentationInternal::Presentation &pres)
try to read the first presentation zone ( the slide name ? )
Definition: ClarisWksPresentation.cxx:364
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
namespace to store the main structure which appears in a ClarisDraw/ClarisWorks file
Definition: ClarisWksStruct.cxx:50
int numPages() const
returns the number of pages
Definition: ClarisWksPresentation.cxx:194
Internal: the structures of a ClarisWksPresentation.
Definition: ClarisWksPresentation.cxx:58
std::shared_ptr< MWAWPresentationListener > MWAWPresentationListenerPtr
a smart pointer of MWAWPresentationListener
Definition: libmwaw_internal.hxx:559
Presentation(ClarisWksStruct::DSET const &dset=ClarisWksStruct::DSET())
Definition: ClarisWksPresentation.cxx:62
ClarisWksPresentation * m_presentationParser
the presentation parser
Definition: ClarisWksPresentation.cxx:149
std::shared_ptr< ClarisWksPresentationInternal::State > m_state
the state
Definition: ClarisWksPresentation.hxx:145
MWAWParser * m_mainParser
the main parser;
Definition: ClarisWksPresentation.hxx:148
SubDocumentType
Definition: libmwaw_internal.hxx:188
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
@ MWAW_K_PRESENTATION
presentation graphic
Definition: MWAWDocument.hxx:85
the main class to create presentation Claris Works file
Definition: ClarisWksPRParser.hxx:68
std::vector< int > m_otherChilds
the list of other child
Definition: ClarisWksStruct.hxx:217
std::vector< int > m_thumbnailsIdList
the list of thumbnail zone id
Definition: ClarisWksPresentation.cxx:95
Internal: the state of a ClarisWksPresentation.
Definition: ClarisWksPresentation.cxx:109
the main class to read the text part of Claris Works file
Definition: ClarisWksPresentation.hxx:71
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: ClarisWksPresentation.cxx:159
ClarisWksPresentation(ClarisWksPresentation const &orig)=delete
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
bool m_masterDetached
true if the auxiliary zone is detached
Definition: ClarisWksPresentation.cxx:101
int m_fileType
the type ( 0: text, -1: graphic, ...)
Definition: ClarisWksStruct.hxx:189
ClarisWksDocument & m_document
the document
Definition: ClarisWksPresentation.hxx:139
std::vector< librevenge::RVNGString > m_titleList
the list of title
Definition: ClarisWksPresentation.cxx:97
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
std::vector< int > m_noteIdList
the list of notes zone id
Definition: ClarisWksPresentation.cxx:93
@ PageBreak
Definition: MWAWListener.hxx:58
std::shared_ptr< Presentation > m_presentation
the main presentation
Definition: ClarisWksPresentation.cxx:117
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
main structure which correspond to a document part
Definition: ClarisWksStruct.hxx:87
ClarisWksPresentation(ClarisWksDocument &document)
constructor
Definition: ClarisWksPresentation.cxx:178
int version() const
returns the file version
Definition: ClarisWksPresentation.cxx:189
~SubDocument() final
destructor
Definition: ClarisWksPresentation.cxx:133
DSET()
constructor
Definition: ClarisWksStruct.hxx:99
void setPageName(librevenge::RVNGString const &name)
set the page name
Definition: MWAWPageSpan.hxx:228
virtual ~ClarisWksPresentation()
destructor
Definition: ClarisWksPresentation.cxx:186
@ P_SlideNote
Definition: ClarisWksStruct.hxx:93
@ P_SlideThumbnail
Definition: ClarisWksStruct.hxx:93
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
std::shared_ptr< ClarisWksStruct::DSET > readPresentationZone(ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
reads the zone presentation DSET
Definition: ClarisWksPresentation.cxx:297
Position
the zone position
Definition: ClarisWksStruct.hxx:91
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:100
bool readZone2(ClarisWksPresentationInternal::Presentation &pres)
try to read the second presentation zone ( title )
Definition: ClarisWksPresentation.cxx:436
bool sendZone(int number)
sends the zone data to the listener (if it exists )
Definition: ClarisWksPresentation.cxx:493
long m_numData
the number of header
Definition: ClarisWksStruct.hxx:180
std::map< int, std::shared_ptr< Presentation > > m_presentationMap
map zId to presentation
Definition: ClarisWksPresentation.cxx:119
long m_dataSz
the data size
Definition: ClarisWksStruct.hxx:182
@ Page
Definition: MWAWPosition.hxx:51
@ C_Zone
Definition: ClarisWksStruct.hxx:96
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
int m_masterId
the master zone (background + header/footer)
Definition: ClarisWksPresentation.cxx:99
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
~Presentation() final
destructor
Definition: ClarisWksPresentation.cxx:104
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
ClarisWksPresentation & operator=(ClarisWksPresentation const &orig)=delete
SubDocument & operator=(SubDocument const &orig)=delete
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksPresentation.hxx:142
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
@ P_SlideMaster
Definition: ClarisWksStruct.hxx:93
long m_headerSz
the header size
Definition: ClarisWksStruct.hxx:184
void updateSlideTypes() const
update the slide zone types
Definition: ClarisWksPresentation.cxx:227
SubDocument(ClarisWksPresentation &pars, MWAWInputStreamPtr const &input, int zoneId)
Definition: ClarisWksPresentation.cxx:127
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
void askToSend(int number)
ask the main parser to send a zone
Definition: ClarisWksPresentation.cxx:219
void forceParsed(int zoneId)
indicates that a zone is parser
Definition: ClarisWksDocument.cxx:2580
@ P_Slide
Definition: ClarisWksStruct.hxx:93
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
Internal the presentation.
Definition: ClarisWksPresentation.cxx:60
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20