RVNGSVGPresentationGenerator.h Source File documentation

RVNGSVGPresentationGenerator.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 RVNGSVGPRESENTATIONGENERATOR_H
16#define RVNGSVGPRESENTATIONGENERATOR_H
17
18#include "librevenge-generators-api.h"
19
20#include <librevenge/librevenge.h>
21#include <librevenge-stream/librevenge-stream.h>
22
23namespace librevenge
24{
25
26struct RVNGSVGPresentationGeneratorImpl;
27
28 class REVENGE_GENERATORS_API RVNGSVGPresentationGenerator : public RVNGPresentationInterface
29{
30 // disable copying
31 RVNGSVGPresentationGenerator(const RVNGSVGPresentationGenerator &other);
32 RVNGSVGPresentationGenerator &operator=(const RVNGSVGPresentationGenerator &other);
33
34public:
35 explicit RVNGSVGPresentationGenerator(RVNGStringVector &vec);
36 ~RVNGSVGPresentationGenerator();
37
38 void startDocument(const RVNGPropertyList &propList);
39 void endDocument();
40
41 void setDocumentMetaData(const RVNGPropertyList &propList);
42
43 void defineEmbeddedFont(const RVNGPropertyList &propList);
44
45 void startSlide(const RVNGPropertyList &propList);
46 void endSlide();
47
48 void startMasterSlide(const RVNGPropertyList &propList);
49 void endMasterSlide();
50
51 void setStyle(const RVNGPropertyList &propList);
52
53 void setSlideTransition(const RVNGPropertyList &propList);
54
55 void startLayer(const RVNGPropertyList &propList);
56 void endLayer();
57
58 void startEmbeddedGraphics(const RVNGPropertyList &propList);
59 void endEmbeddedGraphics();
60
61 void openGroup(const RVNGPropertyList &propList);
62 void closeGroup();
63
64 void drawRectangle(const RVNGPropertyList &propList);
65 void drawEllipse(const RVNGPropertyList &propList);
66 void drawPolyline(const RVNGPropertyList &propList);
67 void drawPolygon(const RVNGPropertyList &propList);
68 void drawPath(const RVNGPropertyList &propList);
69 void drawGraphicObject(const RVNGPropertyList &propList);
70
71 void drawConnector(const RVNGPropertyList &propList);
72
73 void startTextObject(const RVNGPropertyList &propList);
74 void endTextObject();
75 void insertTab();
76 void insertSpace();
77 void insertText(const RVNGString &text);
78 void insertLineBreak();
79
80 void insertField(const RVNGPropertyList &propList);
81
82 void openOrderedListLevel(const RVNGPropertyList &propList);
83 void openUnorderedListLevel(const RVNGPropertyList &propList);
84 void closeOrderedListLevel();
85 void closeUnorderedListLevel();
86 void openListElement(const RVNGPropertyList &propList);
87 void closeListElement();
88
89 void defineParagraphStyle(const RVNGPropertyList &propList);
90 void openParagraph(const RVNGPropertyList &propList);
91 void closeParagraph();
92 void defineCharacterStyle(const RVNGPropertyList &propList);
93 void openSpan(const RVNGPropertyList &propList);
94 void closeSpan();
95
96 void openLink(const RVNGPropertyList &propList);
97 void closeLink();
98
99 void startTableObject(const RVNGPropertyList &propList);
100 void openTableRow(const RVNGPropertyList &propList);
101 void closeTableRow();
102 void openTableCell(const RVNGPropertyList &propList);
103 void closeTableCell();
104 void insertCoveredTableCell(const RVNGPropertyList &propList);
105 void endTableObject();
106
107 void startComment(const RVNGPropertyList &propList);
108 void endComment();
109
110 void startNotes(const RVNGPropertyList &propList);
111 void endNotes();
112
113 void defineChartStyle(const RVNGPropertyList &propList);
114 void openChart(const RVNGPropertyList &propList);
115 void closeChart();
116 void openChartTextObject(const RVNGPropertyList &propList);
117 void closeChartTextObject();
118 void openChartPlotArea(const RVNGPropertyList &propList);
119 void closeChartPlotArea();
120 void insertChartAxis(const RVNGPropertyList &propList);
121 void openChartSeries(const librevenge::RVNGPropertyList &propList);
122 void closeChartSeries();
123
124 void openAnimationSequence(const RVNGPropertyList &propList);
125 void closeAnimationSequence();
126 void openAnimationGroup(const RVNGPropertyList &propList);
127 void closeAnimationGroup();
128 void openAnimationIteration(const RVNGPropertyList &propList);
129 void closeAnimationIteration();
130 void insertMotionAnimation(const RVNGPropertyList &propList);
131 void insertColorAnimation(const RVNGPropertyList &propList);
132 void insertAnimation(const RVNGPropertyList &propList);
133 void insertEffect(const RVNGPropertyList &propList);
134
135private:
136 RVNGSVGPresentationGeneratorImpl *m_impl;
137};
138
139} // namespace libetonyek
140
141#endif // RVNGSVGPRESENTATIONGENERATOR_H
142
143/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition RVNGPresentationInterface.h:27
librevenge::RVNGPropertyList
Definition RVNGPropertyList.h:39
librevenge::RVNGSVGPresentationGenerator::startSlide
void startSlide(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:250
librevenge::RVNGSVGPresentationGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:234
librevenge::RVNGSVGPresentationGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition RVNGSVGPresentationGenerator.cpp:907
librevenge::RVNGSVGPresentationGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:931
librevenge::RVNGSVGPresentationGenerator::closeAnimationSequence
void closeAnimationSequence()
Definition RVNGSVGPresentationGenerator.cpp:1208
librevenge::RVNGSVGPresentationGenerator::closeAnimationIteration
void closeAnimationIteration()
Definition RVNGSVGPresentationGenerator.cpp:1224
librevenge::RVNGSVGPresentationGenerator::startMasterSlide
void startMasterSlide(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:278
librevenge::RVNGSVGPresentationGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:962
librevenge::RVNGSVGPresentationGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGSVGPresentationGenerator.cpp:246
librevenge::RVNGSVGPresentationGenerator::startTextObject
void startTextObject(const RVNGPropertyList &propList)
Start a text object.
Definition RVNGSVGPresentationGenerator.cpp:795
librevenge::RVNGSVGPresentationGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGSVGPresentationGenerator.cpp:903
librevenge::RVNGSVGPresentationGenerator::openChartTextObject
void openChartTextObject(const RVNGPropertyList &propList)
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
Definition RVNGSVGPresentationGenerator.cpp:1074
librevenge::RVNGSVGPresentationGenerator::endSlide
void endSlide()
Definition RVNGSVGPresentationGenerator.cpp:271
librevenge::RVNGSVGPresentationGenerator::closeGroup
void closeGroup()
Definition RVNGSVGPresentationGenerator.cpp:601
librevenge::RVNGSVGPresentationGenerator::insertColorAnimation
void insertColorAnimation(const RVNGPropertyList &propList)
Insert an animation that changes color of the target object.
Definition RVNGSVGPresentationGenerator.cpp:1232
librevenge::RVNGSVGPresentationGenerator::openChartPlotArea
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition RVNGSVGPresentationGenerator.cpp:1082
librevenge::RVNGSVGPresentationGenerator::endTableObject
void endTableObject()
Called when the current table is closed.
Definition RVNGSVGPresentationGenerator.cpp:1031
librevenge::RVNGSVGPresentationGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGSVGPresentationGenerator.cpp:966
librevenge::RVNGSVGPresentationGenerator::defineChartStyle
void defineChartStyle(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:1062
librevenge::RVNGSVGPresentationGenerator::operator=
RVNGSVGPresentationGenerator & operator=(const RVNGSVGPresentationGenerator &other)
librevenge::RVNGSVGPresentationGenerator::closeChartTextObject
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition RVNGSVGPresentationGenerator.cpp:1078
librevenge::RVNGSVGPresentationGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGSVGPresentationGenerator.cpp:970
librevenge::RVNGSVGPresentationGenerator::closeChartSeries
void closeChartSeries()
Called when a serie should be closed (in a plot area).
Definition RVNGSVGPresentationGenerator.cpp:1098
librevenge::RVNGSVGPresentationGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGSVGPresentationGenerator.cpp:997
librevenge::RVNGSVGPresentationGenerator::endComment
void endComment()
End a comment.
Definition RVNGSVGPresentationGenerator.cpp:1046
librevenge::RVNGSVGPresentationGenerator::drawGraphicObject
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:746
librevenge::RVNGSVGPresentationGenerator::drawPolyline
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:635
librevenge::RVNGSVGPresentationGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGSVGPresentationGenerator.cpp:944
librevenge::RVNGSVGPresentationGenerator::startNotes
void startNotes(const RVNGPropertyList &propList)
Start slide notes.
Definition RVNGSVGPresentationGenerator.cpp:1052
librevenge::RVNGSVGPresentationGenerator::drawPath
void drawPath(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:686
librevenge::RVNGSVGPresentationGenerator::startLayer
void startLayer(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:564
librevenge::RVNGSVGPresentationGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition RVNGSVGPresentationGenerator.cpp:898
librevenge::RVNGSVGPresentationGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition RVNGSVGPresentationGenerator.cpp:957
librevenge::RVNGSVGPresentationGenerator::insertCoveredTableCell
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGSVGPresentationGenerator.cpp:1025
librevenge::RVNGSVGPresentationGenerator::closeAnimationGroup
void closeAnimationGroup()
Definition RVNGSVGPresentationGenerator.cpp:1216
librevenge::RVNGSVGPresentationGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:916
librevenge::RVNGSVGPresentationGenerator::setStyle
void setStyle(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:322
librevenge::RVNGSVGPresentationGenerator::closeChartPlotArea
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition RVNGSVGPresentationGenerator.cpp:1086
librevenge::RVNGSVGPresentationGenerator::setSlideTransition
void setSlideTransition(const RVNGPropertyList &propList)
Called when a transition should be added to the current slide.
Definition RVNGSVGPresentationGenerator.cpp:318
librevenge::RVNGSVGPresentationGenerator::endNotes
void endNotes()
End slide notes.
Definition RVNGSVGPresentationGenerator.cpp:1057
librevenge::RVNGSVGPresentationGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:587
librevenge::RVNGSVGPresentationGenerator::openAnimationIteration
void openAnimationIteration(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:1220
librevenge::RVNGSVGPresentationGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGSVGPresentationGenerator.cpp:985
librevenge::RVNGSVGPresentationGenerator::insertChartAxis
void insertChartAxis(const RVNGPropertyList &propList)
Called when a axis should be add in a plot area.
Definition RVNGSVGPresentationGenerator.cpp:1090
librevenge::RVNGSVGPresentationGenerator::endLayer
void endLayer()
Definition RVNGSVGPresentationGenerator.cpp:582
librevenge::RVNGSVGPresentationGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:926
librevenge::RVNGSVGPresentationGenerator::closeChart
void closeChart()
Called when a chart should be closed.
Definition RVNGSVGPresentationGenerator.cpp:1070
librevenge::RVNGSVGPresentationGenerator::endEmbeddedGraphics
void endEmbeddedGraphics()
Definition RVNGSVGPresentationGenerator.cpp:591
librevenge::RVNGSVGPresentationGenerator::endTextObject
void endTextObject()
End a text object.
Definition RVNGSVGPresentationGenerator.cpp:854
librevenge::RVNGSVGPresentationGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGSVGPresentationGenerator.cpp:869
librevenge::RVNGSVGPresentationGenerator::drawRectangle
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:606
librevenge::RVNGSVGPresentationGenerator::insertText
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:921
librevenge::RVNGSVGPresentationGenerator::drawPolygon
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:642
librevenge::RVNGSVGPresentationGenerator::drawEllipse
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:619
librevenge::RVNGSVGPresentationGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGSVGPresentationGenerator.cpp:790
librevenge::RVNGSVGPresentationGenerator::openChart
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition RVNGSVGPresentationGenerator.cpp:1066
librevenge::RVNGSVGPresentationGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGSVGPresentationGenerator.cpp:948
librevenge::RVNGSVGPresentationGenerator::openGroup
void openGroup(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:595
librevenge::RVNGSVGPresentationGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList)
Called when a serie should be opened (in a plot area).
Definition RVNGSVGPresentationGenerator.cpp:1094
librevenge::RVNGSVGPresentationGenerator::m_impl
RVNGSVGPresentationGeneratorImpl * m_impl
Definition RVNGSVGPresentationGenerator.h:136
librevenge::RVNGSVGPresentationGenerator::startTableObject
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGSVGPresentationGenerator.cpp:975
librevenge::RVNGSVGPresentationGenerator::endMasterSlide
void endMasterSlide()
Definition RVNGSVGPresentationGenerator.cpp:297
librevenge::RVNGSVGPresentationGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGSVGPresentationGenerator.cpp:936
librevenge::RVNGSVGPresentationGenerator::openAnimationSequence
void openAnimationSequence(const RVNGPropertyList &propList)
Called when a set of animations should be applied one after another.
Definition RVNGSVGPresentationGenerator.cpp:1204
librevenge::RVNGSVGPresentationGenerator::startComment
void startComment(const RVNGPropertyList &propList)
Start a comment.
Definition RVNGSVGPresentationGenerator.cpp:1041
librevenge::RVNGSVGPresentationGenerator::endDocument
void endDocument()
Definition RVNGSVGPresentationGenerator.cpp:238
librevenge::RVNGSVGPresentationGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGSVGPresentationGenerator.cpp:911
librevenge::RVNGSVGPresentationGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGSVGPresentationGenerator.cpp:952
librevenge::RVNGSVGPresentationGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition RVNGSVGPresentationGenerator.cpp:991
librevenge::RVNGSVGPresentationGenerator::insertAnimation
void insertAnimation(const RVNGPropertyList &propList)
Insert a generic animation.
Definition RVNGSVGPresentationGenerator.cpp:1236
librevenge::RVNGSVGPresentationGenerator::insertEffect
void insertEffect(const RVNGPropertyList &propList)
Set one-time animation effect on the target object.
Definition RVNGSVGPresentationGenerator.cpp:1240
librevenge::RVNGSVGPresentationGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGSVGPresentationGenerator.cpp:940
librevenge::RVNGSVGPresentationGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGSVGPresentationGenerator.cpp:242
librevenge::RVNGSVGPresentationGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGSVGPresentationGenerator.cpp:859
librevenge::RVNGSVGPresentationGenerator::insertMotionAnimation
void insertMotionAnimation(const RVNGPropertyList &propList)
Insert an animation that moves the target object along a specified path.
Definition RVNGSVGPresentationGenerator.cpp:1228
librevenge::RVNGSVGPresentationGenerator::openAnimationGroup
void openAnimationGroup(const RVNGPropertyList &propList)
Called when a set of animations should be applied in parallel.
Definition RVNGSVGPresentationGenerator.cpp:1212
librevenge::RVNGSVGPresentationGenerator::RVNGSVGPresentationGenerator
RVNGSVGPresentationGenerator(const RVNGSVGPresentationGenerator &other)
librevenge::RVNGSVGPresentationGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGSVGPresentationGenerator.cpp:1019
librevenge::RVNGStringVector
Definition RVNGStringVector.h:33
librevenge::RVNGString
UTF-8 string.
Definition RVNGString.h:35
librevenge-generators-api.h
REVENGE_GENERATORS_API
#define REVENGE_GENERATORS_API
Definition librevenge-generators-api.h:34
librevenge-stream.h
librevenge.h
librevenge
Definition RVNGBinaryData.cpp:40
librevenge::RVNGSVGPresentationGeneratorImpl
Definition RVNGSVGPresentationGenerator.cpp:180