RVNGRawPresentationGenerator.h Source File documentation

RVNGRawPresentationGenerator.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 RVNGRAWPRESENTATIONGENERATOR_H
16 #define RVNGRAWPRESENTATIONGENERATOR_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 RVNGRawPresentationGeneratorImpl;
27
28 class REVENGE_GENERATORS_API RVNGRawPresentationGenerator : public RVNGPresentationInterface
29 {
30 // disable copying
31 RVNGRawPresentationGenerator(const RVNGRawPresentationGenerator &other);
32 RVNGRawPresentationGenerator &operator=(const RVNGRawPresentationGenerator &other);
33
34 public:
35 explicit RVNGRawPresentationGenerator(bool printCallgraphScore);
36 ~RVNGRawPresentationGenerator();
37
38 void startDocument(const RVNGPropertyList &propList);
39 void endDocument();
40 void setDocumentMetaData(const RVNGPropertyList &propList);
41 void defineEmbeddedFont(const RVNGPropertyList &propList);
42 void startSlide(const RVNGPropertyList &propList);
43 void endSlide();
44 void startMasterSlide(const RVNGPropertyList &propList);
45 void endMasterSlide();
46 void setSlideTransition(const RVNGPropertyList &propList);
47 void startLayer(const RVNGPropertyList &propList);
48 void endLayer();
49 void startEmbeddedGraphics(const RVNGPropertyList &propList);
50 void endEmbeddedGraphics();
51 void openGroup(const RVNGPropertyList &propList);
52 void closeGroup();
53
54 void setStyle(const RVNGPropertyList &propList);
55
56 void drawRectangle(const RVNGPropertyList &propList);
57 void drawEllipse(const RVNGPropertyList &propList);
58 void drawPolyline(const RVNGPropertyList &propList);
59 void drawPolygon(const RVNGPropertyList &propList);
60 void drawPath(const RVNGPropertyList &propList);
61 void drawGraphicObject(const RVNGPropertyList &propList);
62 void drawConnector(const RVNGPropertyList &propList);
63
64 void startTextObject(const RVNGPropertyList &propList);
65 void endTextObject();
66 void defineParagraphStyle(const RVNGPropertyList &propList);
67 void openParagraph(const RVNGPropertyList &propList);
68 void closeParagraph();
69 void defineCharacterStyle(const RVNGPropertyList &propList);
70 void openSpan(const RVNGPropertyList &propList);
71 void closeSpan();
72
73 void openLink(const RVNGPropertyList &propList);
74 void closeLink();
75
76 void insertTab();
77 void insertSpace();
78 void insertText(const RVNGString &str);
79 void insertLineBreak();
80
81 void insertField(const RVNGPropertyList &propList);
82
83 void openOrderedListLevel(const RVNGPropertyList &propList);
84 void openUnorderedListLevel(const RVNGPropertyList &propList);
85 void closeOrderedListLevel();
86 void closeUnorderedListLevel();
87 void openListElement(const RVNGPropertyList &propList);
88 void closeListElement();
89
90 void startTableObject(const RVNGPropertyList &propList);
91 void openTableRow(const RVNGPropertyList &propList);
92 void closeTableRow();
93 void openTableCell(const RVNGPropertyList &propList);
94 void closeTableCell();
95 void insertCoveredTableCell(const RVNGPropertyList &propList);
96 void endTableObject();
97
98 void startComment(const RVNGPropertyList &propList);
99 void endComment();
100
101 void startNotes(const RVNGPropertyList &propList);
102 void endNotes();
103
104 void defineChartStyle(const RVNGPropertyList &propList);
105 void openChart(const RVNGPropertyList &propList);
106 void closeChart();
107 void openChartTextObject(const RVNGPropertyList &propList);
108 void closeChartTextObject();
109 void openChartPlotArea(const RVNGPropertyList &propList);
110 void closeChartPlotArea();
111 void insertChartAxis(const RVNGPropertyList &propList);
112 void openChartSeries(const librevenge::RVNGPropertyList &propList);
113 void closeChartSeries();
114
115 void openAnimationSequence(const RVNGPropertyList &propList);
116 void closeAnimationSequence();
117 void openAnimationGroup(const RVNGPropertyList &propList);
118 void closeAnimationGroup();
119 void openAnimationIteration(const RVNGPropertyList &propList);
120 void closeAnimationIteration();
121 void insertMotionAnimation(const RVNGPropertyList &propList);
122 void insertColorAnimation(const RVNGPropertyList &propList);
123 void insertAnimation(const RVNGPropertyList &propList);
124 void insertEffect(const RVNGPropertyList &propList);
125
126 private:
127 RVNGRawPresentationGeneratorImpl *m_impl;
128 };
129
130 }
131
132 #endif // RVNGRAWPRESENTATIONGENERATOR_H
133
134 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGRawPresentationGeneratorImpl
Definition: RVNGRawPresentationGenerator.cpp:24
librevenge
Definition: RVNGBinaryData.cpp:38
librevenge-generators-api.h
librevenge::RVNGRawPresentationGenerator::m_impl
RVNGRawPresentationGeneratorImpl * m_impl
Definition: RVNGRawPresentationGenerator.h:127
librevenge.h
librevenge::RVNGRawPresentationGenerator
Definition: RVNGRawPresentationGenerator.h:28
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:26
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