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
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: */
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: RVNGCSVSpreadsheetGenerator.h:30

Generated for librevenge by doxygen 1.9.2