RVNGPresentationInterface.h Source File documentation

RVNGPresentationInterface.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* librevenge
3 * Version: MPL 2.0 / LGPLv2.1+
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * Alternatively, the contents of this file may be used under the terms
10 * of the GNU Lesser General Public License Version 2.1 or later
11 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
12 * applicable instead of those above.
13 */
14
15 #ifndef RVNGPRESENTATIONINTERFACE_H
16 #define RVNGPRESENTATIONINTERFACE_H
17
18 #include "RVNGPropertyList.h"
19 #include "RVNGPropertyListVector.h"
20
21 namespace librevenge
22 {
23
26 class RVNGPresentationInterface
27 {
28 public:
29 virtual ~RVNGPresentationInterface() {}
30
31 // none of the other callback functions will be called before this function is called
32 virtual void startDocument(const RVNGPropertyList &propList) = 0;
33
34 // none of the other callback functions will be called after this function is called
35 virtual void endDocument() = 0;
36
92 virtual void setDocumentMetaData(const RVNGPropertyList &propList) = 0;
93
104 virtual void defineEmbeddedFont(const RVNGPropertyList &propList) = 0;
105
106 virtual void startSlide(const RVNGPropertyList &propList) = 0;
107
108 virtual void endSlide() = 0;
109
110 virtual void startMasterSlide(const RVNGPropertyList &propList) = 0;
111
112 virtual void endMasterSlide() = 0;
113
114 virtual void setStyle(const RVNGPropertyList &propList) = 0;
115
125 virtual void setSlideTransition(const RVNGPropertyList &propList) = 0;
126
127 virtual void startLayer(const RVNGPropertyList &propList) = 0;
128
129 virtual void endLayer() = 0;
130
131 virtual void startEmbeddedGraphics(const RVNGPropertyList &propList) = 0;
132
133 virtual void endEmbeddedGraphics() = 0;
134
135 virtual void openGroup(const RVNGPropertyList &propList) = 0;
136
137 virtual void closeGroup() = 0;
138
139 // Different primitive shapes
140 virtual void drawRectangle(const RVNGPropertyList &propList) = 0;
141
142 virtual void drawEllipse(const RVNGPropertyList &propList) = 0;
143
144 virtual void drawPolygon(const RVNGPropertyList &propList) = 0;
145
146 virtual void drawPolyline(const RVNGPropertyList &propList) = 0;
147
148 virtual void drawPath(const RVNGPropertyList &propList) = 0;
149
160 virtual void drawGraphicObject(const RVNGPropertyList &propList) = 0;
161
173 virtual void drawConnector(const RVNGPropertyList &propList) = 0;
174
177 virtual void startTextObject(const RVNGPropertyList &propList) = 0;
178
181 virtual void endTextObject() = 0;
182
186 virtual void insertTab() = 0;
187
191 virtual void insertSpace() = 0;
192
197 virtual void insertText(const RVNGString &text) = 0;
198
202 virtual void insertLineBreak() = 0;
203
211 virtual void insertField(const RVNGPropertyList &propList) = 0;
212
225 virtual void openOrderedListLevel(const RVNGPropertyList &propList) = 0;
226
236 virtual void openUnorderedListLevel(const RVNGPropertyList &propList) = 0;
237
241 virtual void closeOrderedListLevel() = 0;
242
246 virtual void closeUnorderedListLevel() = 0;
247
265 virtual void openListElement(const RVNGPropertyList &propList) = 0;
266
270 virtual void closeListElement() = 0;
271
272 virtual void defineParagraphStyle(const RVNGPropertyList &propList) = 0;
273
284 virtual void openParagraph(const RVNGPropertyList &propList) = 0;
285
289 virtual void closeParagraph() = 0;
290
291 virtual void defineCharacterStyle(const RVNGPropertyList &propList) = 0;
292
298 virtual void openSpan(const RVNGPropertyList &propList) = 0;
299
303 virtual void closeSpan() = 0;
304
311 virtual void openLink(const RVNGPropertyList &propList) = 0;
312
316 virtual void closeLink() = 0;
317
329 virtual void startTableObject(const RVNGPropertyList &propList) = 0;
337 virtual void openTableRow(const RVNGPropertyList &propList) = 0;
341 virtual void closeTableRow() = 0;
356 virtual void openTableCell(const RVNGPropertyList &propList) = 0;
360 virtual void closeTableCell() = 0;
367 virtual void insertCoveredTableCell(const RVNGPropertyList &propList) = 0;
371 virtual void endTableObject() = 0;
372
375 virtual void startComment(const RVNGPropertyList &propList) = 0;
376
379 virtual void endComment() = 0;
380
383 virtual void startNotes(const RVNGPropertyList &propList) = 0;
384
387 virtual void endNotes() = 0;
388
389 // Charts
390
391 virtual void defineChartStyle(const RVNGPropertyList &propList) = 0;
392
398 virtual void openChart(const RVNGPropertyList &propList) = 0;
402 virtual void closeChart() = 0;
403
407 virtual void openChartTextObject(const RVNGPropertyList &propList) = 0;
411 virtual void closeChartTextObject() = 0;
412
416 virtual void openChartPlotArea(const RVNGPropertyList &propList) = 0;
420 virtual void closeChartPlotArea() = 0;
424 virtual void insertChartAxis(const RVNGPropertyList &propList) = 0;
428 virtual void openChartSeries(const librevenge::RVNGPropertyList &propList) = 0;
432 virtual void closeChartSeries() = 0;
433
434 // Animations
435
439 virtual void openAnimationSequence(const RVNGPropertyList &propList) = 0;
440 virtual void closeAnimationSequence() = 0;
441
445 virtual void openAnimationGroup(const RVNGPropertyList &propList) = 0;
446 virtual void closeAnimationGroup() = 0;
447
448 virtual void openAnimationIteration(const RVNGPropertyList &propList) = 0;
449 virtual void closeAnimationIteration() = 0;
450
454 virtual void insertMotionAnimation(const RVNGPropertyList &propList) = 0;
458 virtual void insertColorAnimation(const RVNGPropertyList &propList) = 0;
462 virtual void insertAnimation(const RVNGPropertyList &propList) = 0;
466 virtual void insertEffect(const RVNGPropertyList &propList) = 0;
467 };
468
469 }
470
471 #endif // RVNGPRESENTATIONINTERFACE_H
472
473 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGPresentationInterface::insertColorAnimation
virtual void insertColorAnimation(const RVNGPropertyList &propList)=0
Insert an animation that changes color of the target object.
librevenge::RVNGPresentationInterface::openChartSeries
virtual void openChartSeries(const librevenge::RVNGPropertyList &propList)=0
Called when a serie should be opened (in a plot area)
librevenge::RVNGPresentationInterface::endDocument
virtual void endDocument()=0
librevenge::RVNGPresentationInterface::startEmbeddedGraphics
virtual void startEmbeddedGraphics(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeParagraph
virtual void closeParagraph()=0
Called when a paragraph is closed.
librevenge::RVNGPresentationInterface::insertCoveredTableCell
virtual void insertCoveredTableCell(const RVNGPropertyList &propList)=0
Called when a covered (spanned by another cell in the table) table cell is opened.
librevenge::RVNGPresentationInterface::startSlide
virtual void startSlide(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::endLayer
virtual void endLayer()=0
librevenge::RVNGPresentationInterface::closeChartTextObject
virtual void closeChartTextObject()=0
Called when a chart text zone:legend/title/subtitle/footer should be closed.
RVNGPropertyListVector.h
librevenge::RVNGPresentationInterface::closeLink
virtual void closeLink()=0
Called when the current link is closed.
RVNGPropertyList.h
librevenge::RVNGPresentationInterface::startTableObject
virtual void startTableObject(const RVNGPropertyList &propList)=0
Called when a table should be opened.
librevenge::RVNGPresentationInterface::defineCharacterStyle
virtual void defineCharacterStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeSpan
virtual void closeSpan()=0
Called when a text span is closed.
librevenge::RVNGPresentationInterface::endNotes
virtual void endNotes()=0
End slide notes.
librevenge::RVNGPresentationInterface::closeChart
virtual void closeChart()=0
Called when a chart should be closed.
librevenge::RVNGPresentationInterface::insertText
virtual void insertText(const RVNGString &text)=0
Called when a string of text should be inserted.
librevenge::RVNGPresentationInterface::closeAnimationSequence
virtual void closeAnimationSequence()=0
librevenge::RVNGPresentationInterface::defineParagraphStyle
virtual void defineParagraphStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeTableCell
virtual void closeTableCell()=0
Called when the current table cell is closed.
librevenge::RVNGPresentationInterface::endMasterSlide
virtual void endMasterSlide()=0
librevenge::RVNGPresentationInterface::startMasterSlide
virtual void startMasterSlide(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::insertEffect
virtual void insertEffect(const RVNGPropertyList &propList)=0
Set one-time animation effect on the target object.
librevenge::RVNGPresentationInterface::insertField
virtual void insertField(const RVNGPropertyList &propList)=0
Called when a field should be inserted.
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:39
librevenge::RVNGPresentationInterface::endTableObject
virtual void endTableObject()=0
Called when the current table is closed.
librevenge::RVNGPresentationInterface::endComment
virtual void endComment()=0
End a comment.
librevenge::RVNGPresentationInterface::insertAnimation
virtual void insertAnimation(const RVNGPropertyList &propList)=0
Insert a generic animation.
librevenge::RVNGPresentationInterface::closeGroup
virtual void closeGroup()=0
librevenge::RVNGPresentationInterface::closeOrderedListLevel
virtual void closeOrderedListLevel()=0
Called when an unordered list level should be closed.
librevenge::RVNGPresentationInterface::openSpan
virtual void openSpan(const RVNGPropertyList &propList)=0
Called when a text span is opened.
librevenge::RVNGPresentationInterface::closeTableRow
virtual void closeTableRow()=0
Called when the current table row is closed.
librevenge::RVNGPresentationInterface::closeUnorderedListLevel
virtual void closeUnorderedListLevel()=0
Called when an ununordered list level should be closed.
librevenge::RVNGPresentationInterface::openUnorderedListLevel
virtual void openUnorderedListLevel(const RVNGPropertyList &propList)=0
Called when a new unordered list level should be opened.
librevenge::RVNGPresentationInterface::openAnimationGroup
virtual void openAnimationGroup(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied in parallel.
librevenge::RVNGPresentationInterface::insertMotionAnimation
virtual void insertMotionAnimation(const RVNGPropertyList &propList)=0
Insert an animation that moves the target object along a specified path.
librevenge::RVNGPresentationInterface::openAnimationIteration
virtual void openAnimationIteration(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::defineChartStyle
virtual void defineChartStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::openTableRow
virtual void openTableRow(const RVNGPropertyList &propList)=0
Called when a new table row is opened.
librevenge::RVNGPresentationInterface::setSlideTransition
virtual void setSlideTransition(const RVNGPropertyList &propList)=0
Called when a transition should be added to the current slide.
librevenge::RVNGPresentationInterface::insertSpace
virtual void insertSpace()=0
Called when an explicit space should be inserted.
librevenge::RVNGString
UTF-8 string.
Definition: RVNGString.h:34
librevenge::RVNGPresentationInterface::endSlide
virtual void endSlide()=0
librevenge::RVNGPresentationInterface::closeAnimationIteration
virtual void closeAnimationIteration()=0
librevenge::RVNGPresentationInterface::drawPolygon
virtual void drawPolygon(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::setDocumentMetaData
virtual void setDocumentMetaData(const RVNGPropertyList &propList)=0
Called when all document metadata should be set.
librevenge::RVNGPresentationInterface::startLayer
virtual void startLayer(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::startDocument
virtual void startDocument(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::defineEmbeddedFont
virtual void defineEmbeddedFont(const RVNGPropertyList &propList)=0
Called when an embedded font should be defined.
librevenge::RVNGPresentationInterface::openParagraph
virtual void openParagraph(const RVNGPropertyList &propList)=0
Called when a new paragraph is opened.
librevenge::RVNGPresentationInterface::closeChartPlotArea
virtual void closeChartPlotArea()=0
Called when a chart plot arre should be closed.
librevenge::RVNGPresentationInterface::endEmbeddedGraphics
virtual void endEmbeddedGraphics()=0
librevenge::RVNGPresentationInterface::openGroup
virtual void openGroup(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::insertLineBreak
virtual void insertLineBreak()=0
Called when a line break should be inserted.
librevenge::RVNGPresentationInterface::openChartPlotArea
virtual void openChartPlotArea(const RVNGPropertyList &propList)=0
Called when a chart plot area should be opened.
librevenge::RVNGPresentationInterface::openLink
virtual void openLink(const RVNGPropertyList &propList)=0
Called when a link should be opened.
librevenge::RVNGPresentationInterface::startNotes
virtual void startNotes(const RVNGPropertyList &propList)=0
Start slide notes.
librevenge::RVNGPresentationInterface::openChartTextObject
virtual void openChartTextObject(const RVNGPropertyList &propList)=0
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
librevenge::RVNGPresentationInterface::drawGraphicObject
virtual void drawGraphicObject(const RVNGPropertyList &propList)=0
Called when a binary/raster object should be inserted.
librevenge::RVNGPresentationInterface::startComment
virtual void startComment(const RVNGPropertyList &propList)=0
Start a comment.
librevenge::RVNGPresentationInterface::insertChartAxis
virtual void insertChartAxis(const RVNGPropertyList &propList)=0
Called when a axis should be add in a plot area.
librevenge::RVNGPresentationInterface::drawPolyline
virtual void drawPolyline(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::setStyle
virtual void setStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::drawPath
virtual void drawPath(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::openTableCell
virtual void openTableCell(const RVNGPropertyList &propList)=0
Called when a new table cell is opened.
librevenge::RVNGPresentationInterface::closeListElement
virtual void closeListElement()=0
Called when a list element should be closed.
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:27
librevenge::RVNGPresentationInterface::openChart
virtual void openChart(const RVNGPropertyList &propList)=0
Called when a chart should be opened.
librevenge::RVNGPresentationInterface::drawEllipse
virtual void drawEllipse(const RVNGPropertyList &propList)=0
librevenge
Definition: RVNGBinaryData.cpp:39
librevenge::RVNGPresentationInterface::drawRectangle
virtual void drawRectangle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::openListElement
virtual void openListElement(const RVNGPropertyList &propList)=0
Called when a list element should be opened.
librevenge::RVNGPresentationInterface::insertTab
virtual void insertTab()=0
Called when a TAB character should be inserted.
librevenge::RVNGPresentationInterface::~RVNGPresentationInterface
virtual ~RVNGPresentationInterface()
Definition: RVNGPresentationInterface.h:29
librevenge::RVNGPresentationInterface::drawConnector
virtual void drawConnector(const RVNGPropertyList &propList)=0
Draw a connector.
librevenge::RVNGPresentationInterface::openOrderedListLevel
virtual void openOrderedListLevel(const RVNGPropertyList &propList)=0
Called when a new ordered list level should be opened.
librevenge::RVNGPresentationInterface::startTextObject
virtual void startTextObject(const RVNGPropertyList &propList)=0
Start a text object.
librevenge::RVNGPresentationInterface::endTextObject
virtual void endTextObject()=0
End a text object.
librevenge::RVNGPresentationInterface::closeChartSeries
virtual void closeChartSeries()=0
Called when a serie should be closed (in a plot area)
librevenge::RVNGPresentationInterface::openAnimationSequence
virtual void openAnimationSequence(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied one after another.
librevenge::RVNGPresentationInterface::closeAnimationGroup
virtual void closeAnimationGroup()=0