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
21namespace librevenge
22{
23
26 class RVNGPresentationInterface
27{
28public:
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
163 virtual void drawGraphicObject(const RVNGPropertyList &propList) = 0;
164
176 virtual void drawConnector(const RVNGPropertyList &propList) = 0;
177
180 virtual void startTextObject(const RVNGPropertyList &propList) = 0;
181
184 virtual void endTextObject() = 0;
185
189 virtual void insertTab() = 0;
190
194 virtual void insertSpace() = 0;
195
200 virtual void insertText(const RVNGString &text) = 0;
201
205 virtual void insertLineBreak() = 0;
206
214 virtual void insertField(const RVNGPropertyList &propList) = 0;
215
228 virtual void openOrderedListLevel(const RVNGPropertyList &propList) = 0;
229
239 virtual void openUnorderedListLevel(const RVNGPropertyList &propList) = 0;
240
244 virtual void closeOrderedListLevel() = 0;
245
249 virtual void closeUnorderedListLevel() = 0;
250
268 virtual void openListElement(const RVNGPropertyList &propList) = 0;
269
273 virtual void closeListElement() = 0;
274
275 virtual void defineParagraphStyle(const RVNGPropertyList &propList) = 0;
276
287 virtual void openParagraph(const RVNGPropertyList &propList) = 0;
288
292 virtual void closeParagraph() = 0;
293
294 virtual void defineCharacterStyle(const RVNGPropertyList &propList) = 0;
295
301 virtual void openSpan(const RVNGPropertyList &propList) = 0;
302
306 virtual void closeSpan() = 0;
307
314 virtual void openLink(const RVNGPropertyList &propList) = 0;
315
319 virtual void closeLink() = 0;
320
332 virtual void startTableObject(const RVNGPropertyList &propList) = 0;
340 virtual void openTableRow(const RVNGPropertyList &propList) = 0;
344 virtual void closeTableRow() = 0;
359 virtual void openTableCell(const RVNGPropertyList &propList) = 0;
363 virtual void closeTableCell() = 0;
370 virtual void insertCoveredTableCell(const RVNGPropertyList &propList) = 0;
374 virtual void endTableObject() = 0;
375
378 virtual void startComment(const RVNGPropertyList &propList) = 0;
379
382 virtual void endComment() = 0;
383
386 virtual void startNotes(const RVNGPropertyList &propList) = 0;
387
390 virtual void endNotes() = 0;
391
392 // Charts
393
394 virtual void defineChartStyle(const RVNGPropertyList &propList) = 0;
395
401 virtual void openChart(const RVNGPropertyList &propList) = 0;
405 virtual void closeChart() = 0;
406
410 virtual void openChartTextObject(const RVNGPropertyList &propList) = 0;
414 virtual void closeChartTextObject() = 0;
415
419 virtual void openChartPlotArea(const RVNGPropertyList &propList) = 0;
423 virtual void closeChartPlotArea() = 0;
427 virtual void insertChartAxis(const RVNGPropertyList &propList) = 0;
431 virtual void openChartSeries(const librevenge::RVNGPropertyList &propList) = 0;
435 virtual void closeChartSeries() = 0;
436
437 // Animations
438
442 virtual void openAnimationSequence(const RVNGPropertyList &propList) = 0;
443 virtual void closeAnimationSequence() = 0;
444
448 virtual void openAnimationGroup(const RVNGPropertyList &propList) = 0;
449 virtual void closeAnimationGroup() = 0;
450
451 virtual void openAnimationIteration(const RVNGPropertyList &propList) = 0;
452 virtual void closeAnimationIteration() = 0;
453
457 virtual void insertMotionAnimation(const RVNGPropertyList &propList) = 0;
461 virtual void insertColorAnimation(const RVNGPropertyList &propList) = 0;
465 virtual void insertAnimation(const RVNGPropertyList &propList) = 0;
469 virtual void insertEffect(const RVNGPropertyList &propList) = 0;
470};
471
472}
473
474#endif // RVNGPRESENTATIONINTERFACE_H
475
476/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
RVNGPropertyListVector.h
RVNGPropertyList.h
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition RVNGPresentationInterface.h:27
librevenge::RVNGPresentationInterface::closeGroup
virtual void closeGroup()=0
librevenge::RVNGPresentationInterface::drawPolyline
virtual void drawPolyline(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeTableRow
virtual void closeTableRow()=0
Called when the current table row is closed.
librevenge::RVNGPresentationInterface::defineEmbeddedFont
virtual void defineEmbeddedFont(const RVNGPropertyList &propList)=0
Called when an embedded font should be defined.
librevenge::RVNGPresentationInterface::startLayer
virtual void startLayer(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeAnimationSequence
virtual void closeAnimationSequence()=0
librevenge::RVNGPresentationInterface::startTextObject
virtual void startTextObject(const RVNGPropertyList &propList)=0
Start a text object.
librevenge::RVNGPresentationInterface::setStyle
virtual void setStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::endNotes
virtual void endNotes()=0
End slide notes.
librevenge::RVNGPresentationInterface::drawPath
virtual void drawPath(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::endEmbeddedGraphics
virtual void endEmbeddedGraphics()=0
librevenge::RVNGPresentationInterface::defineChartStyle
virtual void defineChartStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::insertLineBreak
virtual void insertLineBreak()=0
Called when a line break should be inserted.
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::startDocument
virtual void startDocument(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeListElement
virtual void closeListElement()=0
Called when a list element should be closed.
librevenge::RVNGPresentationInterface::insertAnimation
virtual void insertAnimation(const RVNGPropertyList &propList)=0
Insert a generic animation.
librevenge::RVNGPresentationInterface::closeChartSeries
virtual void closeChartSeries()=0
Called when a serie should be closed (in a plot area).
librevenge::RVNGPresentationInterface::endComment
virtual void endComment()=0
End a comment.
librevenge::RVNGPresentationInterface::openAnimationGroup
virtual void openAnimationGroup(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied in parallel.
librevenge::RVNGPresentationInterface::endLayer
virtual void endLayer()=0
librevenge::RVNGPresentationInterface::startEmbeddedGraphics
virtual void startEmbeddedGraphics(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::drawRectangle
virtual void drawRectangle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::startTableObject
virtual void startTableObject(const RVNGPropertyList &propList)=0
Called when a table should be opened.
librevenge::RVNGPresentationInterface::openChartSeries
virtual void openChartSeries(const librevenge::RVNGPropertyList &propList)=0
Called when a serie should be opened (in a plot area).
librevenge::RVNGPresentationInterface::drawConnector
virtual void drawConnector(const RVNGPropertyList &propList)=0
Draw a connector.
librevenge::RVNGPresentationInterface::openUnorderedListLevel
virtual void openUnorderedListLevel(const RVNGPropertyList &propList)=0
Called when a new unordered list level should be opened.
librevenge::RVNGPresentationInterface::openGroup
virtual void openGroup(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::setDocumentMetaData
virtual void setDocumentMetaData(const RVNGPropertyList &propList)=0
Called when all document metadata should be set.
librevenge::RVNGPresentationInterface::closeAnimationIteration
virtual void closeAnimationIteration()=0
librevenge::RVNGPresentationInterface::startComment
virtual void startComment(const RVNGPropertyList &propList)=0
Start a comment.
librevenge::RVNGPresentationInterface::openListElement
virtual void openListElement(const RVNGPropertyList &propList)=0
Called when a list element should be opened.
librevenge::RVNGPresentationInterface::closeChartTextObject
virtual void closeChartTextObject()=0
Called when a chart text zone:legend/title/subtitle/footer should be closed.
librevenge::RVNGPresentationInterface::defineParagraphStyle
virtual void defineParagraphStyle(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeLink
virtual void closeLink()=0
Called when the current link is closed.
librevenge::RVNGPresentationInterface::endTextObject
virtual void endTextObject()=0
End a text object.
librevenge::RVNGPresentationInterface::openTableCell
virtual void openTableCell(const RVNGPropertyList &propList)=0
Called when a new table cell is opened.
librevenge::RVNGPresentationInterface::startNotes
virtual void startNotes(const RVNGPropertyList &propList)=0
Start slide notes.
librevenge::RVNGPresentationInterface::startSlide
virtual void startSlide(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeSpan
virtual void closeSpan()=0
Called when a text span is closed.
librevenge::RVNGPresentationInterface::closeChart
virtual void closeChart()=0
Called when a chart should be closed.
librevenge::RVNGPresentationInterface::drawEllipse
virtual void drawEllipse(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::openSpan
virtual void openSpan(const RVNGPropertyList &propList)=0
Called when a text span is opened.
librevenge::RVNGPresentationInterface::insertMotionAnimation
virtual void insertMotionAnimation(const RVNGPropertyList &propList)=0
Insert an animation that moves the target object along a specified path.
librevenge::RVNGPresentationInterface::insertText
virtual void insertText(const RVNGString &text)=0
Called when a string of text should be inserted.
librevenge::RVNGPresentationInterface::endSlide
virtual void endSlide()=0
librevenge::RVNGPresentationInterface::openAnimationIteration
virtual void openAnimationIteration(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::openChart
virtual void openChart(const RVNGPropertyList &propList)=0
Called when a chart should be opened.
librevenge::RVNGPresentationInterface::drawGraphicObject
virtual void drawGraphicObject(const RVNGPropertyList &propList)=0
Called when a binary/raster object should be inserted.
librevenge::RVNGPresentationInterface::endDocument
virtual void endDocument()=0
librevenge::RVNGPresentationInterface::endMasterSlide
virtual void endMasterSlide()=0
librevenge::RVNGPresentationInterface::startMasterSlide
virtual void startMasterSlide(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeOrderedListLevel
virtual void closeOrderedListLevel()=0
Called when an unordered list level should be closed.
librevenge::RVNGPresentationInterface::closeAnimationGroup
virtual void closeAnimationGroup()=0
librevenge::RVNGPresentationInterface::insertField
virtual void insertField(const RVNGPropertyList &propList)=0
Called when a field should be inserted.
librevenge::RVNGPresentationInterface::setSlideTransition
virtual void setSlideTransition(const RVNGPropertyList &propList)=0
Called when a transition should be added to the current slide.
librevenge::RVNGPresentationInterface::endTableObject
virtual void endTableObject()=0
Called when the current table is closed.
librevenge::RVNGPresentationInterface::~RVNGPresentationInterface
virtual ~RVNGPresentationInterface()
Definition RVNGPresentationInterface.h:29
librevenge::RVNGPresentationInterface::closeParagraph
virtual void closeParagraph()=0
Called when a paragraph is closed.
librevenge::RVNGPresentationInterface::openTableRow
virtual void openTableRow(const RVNGPropertyList &propList)=0
Called when a new table row is opened.
librevenge::RVNGPresentationInterface::closeTableCell
virtual void closeTableCell()=0
Called when the current table cell is closed.
librevenge::RVNGPresentationInterface::defineCharacterStyle
virtual void defineCharacterStyle(const RVNGPropertyList &propList)=0
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::insertColorAnimation
virtual void insertColorAnimation(const RVNGPropertyList &propList)=0
Insert an animation that changes color of the target object.
librevenge::RVNGPresentationInterface::openOrderedListLevel
virtual void openOrderedListLevel(const RVNGPropertyList &propList)=0
Called when a new ordered list level should be opened.
librevenge::RVNGPresentationInterface::drawPolygon
virtual void drawPolygon(const RVNGPropertyList &propList)=0
librevenge::RVNGPresentationInterface::closeChartPlotArea
virtual void closeChartPlotArea()=0
Called when a chart plot arre should be closed.
librevenge::RVNGPresentationInterface::insertTab
virtual void insertTab()=0
Called when a TAB character should be inserted.
librevenge::RVNGPresentationInterface::closeUnorderedListLevel
virtual void closeUnorderedListLevel()=0
Called when an ununordered list level should be closed.
librevenge::RVNGPresentationInterface::openParagraph
virtual void openParagraph(const RVNGPropertyList &propList)=0
Called when a new paragraph is opened.
librevenge::RVNGPresentationInterface::insertSpace
virtual void insertSpace()=0
Called when an explicit space should be inserted.
librevenge::RVNGPresentationInterface::openLink
virtual void openLink(const RVNGPropertyList &propList)=0
Called when a link should be opened.
librevenge::RVNGPresentationInterface::openChartPlotArea
virtual void openChartPlotArea(const RVNGPropertyList &propList)=0
Called when a chart plot area should be opened.
librevenge::RVNGPresentationInterface::insertChartAxis
virtual void insertChartAxis(const RVNGPropertyList &propList)=0
Called when a axis should be add in a plot area.
librevenge::RVNGPresentationInterface::insertEffect
virtual void insertEffect(const RVNGPropertyList &propList)=0
Set one-time animation effect on the target object.
librevenge::RVNGPresentationInterface::openAnimationSequence
virtual void openAnimationSequence(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied one after another.
librevenge::RVNGPropertyList
Definition RVNGPropertyList.h:39
librevenge::RVNGString
UTF-8 string.
Definition RVNGString.h:35
librevenge
Definition RVNGBinaryData.cpp:40