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
23 namespace librevenge
24 {
25
26 struct 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
34 public:
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
135 private:
136 RVNGSVGPresentationGeneratorImpl *m_impl;
137 };
138
139 } // namespace libetonyek
140
141 #endif // RVNGSVGPRESENTATIONGENERATOR_H
142
143 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge
Definition: RVNGBinaryData.cpp:38
librevenge-generators-api.h
librevenge::RVNGSVGPresentationGenerator::m_impl
RVNGSVGPresentationGeneratorImpl * m_impl
Definition: RVNGSVGPresentationGenerator.h:136
librevenge.h
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:26
librevenge::RVNGSVGPresentationGenerator
Definition: RVNGSVGPresentationGenerator.h:28
REVENGE_GENERATORS_API
#define REVENGE_GENERATORS_API
Definition: librevenge-generators-api.h:34
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:38
librevenge::RVNGString
UTF-8 string.
Definition: RVNGString.h:33
librevenge-stream.h
librevenge::RVNGSVGPresentationGeneratorImpl
Definition: RVNGSVGPresentationGenerator.cpp:181
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:32