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"
20
21namespace librevenge
22{
23
27{
28public:
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: */
Interface for import of presentations.
Definition RVNGPresentationInterface.h:27
virtual void drawPolyline(const RVNGPropertyList &propList)=0
virtual void closeTableRow()=0
Called when the current table row is closed.
virtual void defineEmbeddedFont(const RVNGPropertyList &propList)=0
Called when an embedded font should be defined.
virtual void startLayer(const RVNGPropertyList &propList)=0
virtual void startTextObject(const RVNGPropertyList &propList)=0
Start a text object.
virtual void setStyle(const RVNGPropertyList &propList)=0
virtual void endNotes()=0
End slide notes.
virtual void drawPath(const RVNGPropertyList &propList)=0
virtual void defineChartStyle(const RVNGPropertyList &propList)=0
virtual void insertLineBreak()=0
Called when a line break should be inserted.
virtual void insertCoveredTableCell(const RVNGPropertyList &propList)=0
Called when a covered (spanned by another cell in the table) table cell is opened.
virtual void startDocument(const RVNGPropertyList &propList)=0
virtual void closeListElement()=0
Called when a list element should be closed.
virtual void insertAnimation(const RVNGPropertyList &propList)=0
Insert a generic animation.
virtual void closeChartSeries()=0
Called when a serie should be closed (in a plot area)
virtual void endComment()=0
End a comment.
virtual void openAnimationGroup(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied in parallel.
virtual void startEmbeddedGraphics(const RVNGPropertyList &propList)=0
virtual void drawRectangle(const RVNGPropertyList &propList)=0
virtual void startTableObject(const RVNGPropertyList &propList)=0
Called when a table should be opened.
virtual void openChartSeries(const librevenge::RVNGPropertyList &propList)=0
Called when a serie should be opened (in a plot area)
virtual void drawConnector(const RVNGPropertyList &propList)=0
Draw a connector.
virtual void openUnorderedListLevel(const RVNGPropertyList &propList)=0
Called when a new unordered list level should be opened.
virtual void openGroup(const RVNGPropertyList &propList)=0
virtual void setDocumentMetaData(const RVNGPropertyList &propList)=0
Called when all document metadata should be set.
virtual void startComment(const RVNGPropertyList &propList)=0
Start a comment.
virtual void openListElement(const RVNGPropertyList &propList)=0
Called when a list element should be opened.
virtual void closeChartTextObject()=0
Called when a chart text zone:legend/title/subtitle/footer should be closed.
virtual void defineParagraphStyle(const RVNGPropertyList &propList)=0
virtual void closeLink()=0
Called when the current link is closed.
virtual void endTextObject()=0
End a text object.
virtual void openTableCell(const RVNGPropertyList &propList)=0
Called when a new table cell is opened.
virtual void startNotes(const RVNGPropertyList &propList)=0
Start slide notes.
virtual void startSlide(const RVNGPropertyList &propList)=0
virtual void closeSpan()=0
Called when a text span is closed.
virtual void closeChart()=0
Called when a chart should be closed.
virtual void drawEllipse(const RVNGPropertyList &propList)=0
virtual void openSpan(const RVNGPropertyList &propList)=0
Called when a text span is opened.
virtual void insertMotionAnimation(const RVNGPropertyList &propList)=0
Insert an animation that moves the target object along a specified path.
virtual void insertText(const RVNGString &text)=0
Called when a string of text should be inserted.
virtual void openAnimationIteration(const RVNGPropertyList &propList)=0
virtual void openChart(const RVNGPropertyList &propList)=0
Called when a chart should be opened.
virtual void drawGraphicObject(const RVNGPropertyList &propList)=0
Called when a binary/raster object should be inserted.
virtual void startMasterSlide(const RVNGPropertyList &propList)=0
virtual void closeOrderedListLevel()=0
Called when an unordered list level should be closed.
virtual void insertField(const RVNGPropertyList &propList)=0
Called when a field should be inserted.
virtual void setSlideTransition(const RVNGPropertyList &propList)=0
Called when a transition should be added to the current slide.
virtual void endTableObject()=0
Called when the current table is closed.
virtual ~RVNGPresentationInterface()
Definition RVNGPresentationInterface.h:29
virtual void closeParagraph()=0
Called when a paragraph is closed.
virtual void openTableRow(const RVNGPropertyList &propList)=0
Called when a new table row is opened.
virtual void closeTableCell()=0
Called when the current table cell is closed.
virtual void defineCharacterStyle(const RVNGPropertyList &propList)=0
virtual void openChartTextObject(const RVNGPropertyList &propList)=0
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
virtual void insertColorAnimation(const RVNGPropertyList &propList)=0
Insert an animation that changes color of the target object.
virtual void openOrderedListLevel(const RVNGPropertyList &propList)=0
Called when a new ordered list level should be opened.
virtual void drawPolygon(const RVNGPropertyList &propList)=0
virtual void closeChartPlotArea()=0
Called when a chart plot arre should be closed.
virtual void insertTab()=0
Called when a TAB character should be inserted.
virtual void closeUnorderedListLevel()=0
Called when an ununordered list level should be closed.
virtual void openParagraph(const RVNGPropertyList &propList)=0
Called when a new paragraph is opened.
virtual void insertSpace()=0
Called when an explicit space should be inserted.
virtual void openLink(const RVNGPropertyList &propList)=0
Called when a link should be opened.
virtual void openChartPlotArea(const RVNGPropertyList &propList)=0
Called when a chart plot area should be opened.
virtual void insertChartAxis(const RVNGPropertyList &propList)=0
Called when a axis should be add in a plot area.
virtual void insertEffect(const RVNGPropertyList &propList)=0
Set one-time animation effect on the target object.
virtual void openAnimationSequence(const RVNGPropertyList &propList)=0
Called when a set of animations should be applied one after another.
Definition RVNGPropertyList.h:39
UTF-8 string.
Definition RVNGString.h:34
Definition RVNGBinaryData.cpp:40

Generated for librevenge by doxygen 1.14.0