- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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/librevenge.h>
19 #include <librevenge-stream/librevenge-stream.h>
20
21 namespace librevenge
22 {
23
24 struct RVNGSVGPresentationGeneratorImpl;
25
26 class RVNGSVGPresentationGenerator : public RVNGPresentationInterface
27 {
28 // disable copying
29 RVNGSVGPresentationGenerator(const RVNGSVGPresentationGenerator &other);
30 RVNGSVGPresentationGenerator &operator=(const RVNGSVGPresentationGenerator &other);
31
32 public:
33 explicit RVNGSVGPresentationGenerator(RVNGStringVector &vec);
34 ~RVNGSVGPresentationGenerator();
35
36 void startDocument(const RVNGPropertyList &propList);
37 void endDocument();
38
39 void setDocumentMetaData(const RVNGPropertyList &propList);
40
41 void defineEmbeddedFont(const RVNGPropertyList &propList);
42
43 void startSlide(const RVNGPropertyList &propList);
44 void endSlide();
45
46 void startMasterSlide(const RVNGPropertyList &propList);
47 void endMasterSlide();
48
49 void setStyle(const RVNGPropertyList &propList);
50
51 void setSlideTransition(const RVNGPropertyList &propList);
52
53 void startLayer(const RVNGPropertyList &propList);
54 void endLayer();
55
56 void startEmbeddedGraphics(const RVNGPropertyList &propList);
57 void endEmbeddedGraphics();
58
59 void openGroup(const RVNGPropertyList &propList);
60 void closeGroup();
61
62 void drawRectangle(const RVNGPropertyList &propList);
63 void drawEllipse(const RVNGPropertyList &propList);
64 void drawPolyline(const RVNGPropertyList &propList);
65 void drawPolygon(const RVNGPropertyList &propList);
66 void drawPath(const RVNGPropertyList &propList);
67 void drawGraphicObject(const RVNGPropertyList &propList);
68
69 void drawConnector(const RVNGPropertyList &propList);
70
71 void startTextObject(const RVNGPropertyList &propList);
72 void endTextObject();
73 void insertTab();
74 void insertSpace();
75 void insertText(const RVNGString &text);
76 void insertLineBreak();
77
78 void insertField(const RVNGPropertyList &propList);
79
80 void openOrderedListLevel(const RVNGPropertyList &propList);
81 void openUnorderedListLevel(const RVNGPropertyList &propList);
82 void closeOrderedListLevel();
83 void closeUnorderedListLevel();
84 void openListElement(const RVNGPropertyList &propList);
85 void closeListElement();
86
87 void defineParagraphStyle(const RVNGPropertyList &propList);
88 void openParagraph(const RVNGPropertyList &propList);
89 void closeParagraph();
90 void defineCharacterStyle(const RVNGPropertyList &propList);
91 void openSpan(const RVNGPropertyList &propList);
92 void closeSpan();
93
94 void openLink(const RVNGPropertyList &propList);
95 void closeLink();
96
97 void startTableObject(const RVNGPropertyList &propList);
98 void openTableRow(const RVNGPropertyList &propList);
99 void closeTableRow();
100 void openTableCell(const RVNGPropertyList &propList);
101 void closeTableCell();
102 void insertCoveredTableCell(const RVNGPropertyList &propList);
103 void endTableObject();
104
105 void startComment(const RVNGPropertyList &propList);
106 void endComment();
107
108 void startNotes(const RVNGPropertyList &propList);
109 void endNotes();
110
111 void defineChartStyle(const RVNGPropertyList &propList);
112 void openChart(const RVNGPropertyList &propList);
113 void closeChart();
114 void openChartTextObject(const RVNGPropertyList &propList);
115 void closeChartTextObject();
116 void openChartPlotArea(const RVNGPropertyList &propList);
117 void closeChartPlotArea();
118 void insertChartAxis(const RVNGPropertyList &propList);
119 void openChartSeries(const librevenge::RVNGPropertyList &propList);
120 void closeChartSeries();
121
122 void openAnimationSequence(const RVNGPropertyList &propList);
123 void closeAnimationSequence();
124 void openAnimationGroup(const RVNGPropertyList &propList);
125 void closeAnimationGroup();
126 void openAnimationIteration(const RVNGPropertyList &propList);
127 void closeAnimationIteration();
128 void insertMotionAnimation(const RVNGPropertyList &propList);
129 void insertColorAnimation(const RVNGPropertyList &propList);
130 void insertAnimation(const RVNGPropertyList &propList);
131 void insertEffect(const RVNGPropertyList &propList);
132
133 private:
134 RVNGSVGPresentationGeneratorImpl *m_impl;
135 };
136
137 } // namespace libetonyek
138
139 #endif // RVNGSVGPRESENTATIONGENERATOR_H
140
141 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGSVGPresentationGenerator::startTableObject
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:704
librevenge::RVNGSVGPresentationGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGSVGPresentationGenerator.cpp:113
librevenge::RVNGSVGPresentationGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGSVGPresentationGenerator.cpp:719
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:729
librevenge::RVNGSVGPresentationGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition: RVNGSVGPresentationGenerator.cpp:627
librevenge::RVNGSVGPresentationGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:677
librevenge::RVNGSVGPresentationGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:686
librevenge::RVNGSVGPresentationGenerator::RVNGSVGPresentationGenerator
RVNGSVGPresentationGenerator(const RVNGSVGPresentationGenerator &other)
librevenge::RVNGSVGPresentationGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGSVGPresentationGenerator.cpp:714
librevenge::RVNGSVGPresentationGenerator::startNotes
void startNotes(const RVNGPropertyList &propList)
Start slide notes.
Definition: RVNGSVGPresentationGenerator.cpp:751
librevenge::RVNGSVGPresentationGenerator::closeAnimationGroup
void closeAnimationGroup()
Definition: RVNGSVGPresentationGenerator.cpp:889
librevenge::RVNGSVGPresentationGenerator::insertColorAnimation
void insertColorAnimation(const RVNGPropertyList &propList)
Insert an animation that changes color of the target object.
Definition: RVNGSVGPresentationGenerator.cpp:905
librevenge::RVNGSVGPresentationGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:645
librevenge::RVNGSVGPresentationGenerator::openAnimationGroup
void openAnimationGroup(const RVNGPropertyList &propList)
Called when a set of animations should be applied in parallel.
Definition: RVNGSVGPresentationGenerator.cpp:885
librevenge::RVNGSVGPresentationGenerator::drawEllipse
void drawEllipse(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:431
librevenge::RVNGSVGPresentationGenerator::insertText
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:650
librevenge::RVNGSVGPresentationGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:691
librevenge::RVNGSVGPresentationGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGSVGPresentationGenerator.cpp:709
librevenge::RVNGSVGPresentationGenerator::closeChartTextObject
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:777
librevenge::RVNGSVGPresentationGenerator::startMasterSlide
void startMasterSlide(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:134
librevenge::RVNGSVGPresentationGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:632
librevenge::RVNGSVGPresentationGenerator::endMasterSlide
void endMasterSlide()
Definition: RVNGSVGPresentationGenerator.cpp:138
librevenge::RVNGSVGPresentationGenerator::endSlide
void endSlide()
Definition: RVNGSVGPresentationGenerator.cpp:127
librevenge::RVNGSVGPresentationGenerator::startSlide
void startSlide(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:117
librevenge::RVNGSVGPresentationGenerator::openAnimationIteration
void openAnimationIteration(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:893
librevenge::RVNGSVGPresentationGenerator::endNotes
void endNotes()
End slide notes.
Definition: RVNGSVGPresentationGenerator.cpp:756
librevenge::RVNGSVGPresentationGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:681
librevenge::RVNGSVGPresentationGenerator::endEmbeddedGraphics
void endEmbeddedGraphics()
Definition: RVNGSVGPresentationGenerator.cpp:405
librevenge::RVNGSVGPresentationGenerator::insertEffect
void insertEffect(const RVNGPropertyList &propList)
Set one-time animation effect on the target object.
Definition: RVNGSVGPresentationGenerator.cpp:913
librevenge::RVNGSVGPresentationGenerator::closeAnimationIteration
void closeAnimationIteration()
Definition: RVNGSVGPresentationGenerator.cpp:897
librevenge::RVNGSVGPresentationGenerator::endComment
void endComment()
End a comment.
Definition: RVNGSVGPresentationGenerator.cpp:745
librevenge::RVNGSVGPresentationGenerator::startComment
void startComment(const RVNGPropertyList &propList)
Start a comment.
Definition: RVNGSVGPresentationGenerator.cpp:740
librevenge::RVNGSVGPresentationGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGSVGPresentationGenerator.cpp:724
librevenge::RVNGSVGPresentationGenerator::closeChartPlotArea
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:785
librevenge::RVNGSVGPresentationGenerator::drawPath
void drawPath(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:493
librevenge::RVNGSVGPresentationGenerator::m_impl
RVNGSVGPresentationGeneratorImpl * m_impl
Definition: RVNGSVGPresentationGenerator.h:134
librevenge::RVNGSVGPresentationGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:660
librevenge::RVNGSVGPresentationGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:655
librevenge::RVNGSVGPresentationGenerator::closeChart
void closeChart()
Called when a chart should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:769
librevenge::RVNGSVGPresentationGenerator::startTextObject
void startTextObject(const RVNGPropertyList &propList)
Start a text object.
Definition: RVNGSVGPresentationGenerator.cpp:568
librevenge::RVNGSVGPresentationGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList)
Called when a serie should be opened (in a plot area)
Definition: RVNGSVGPresentationGenerator.cpp:793
librevenge.h
librevenge::RVNGSVGPresentationGenerator::~RVNGSVGPresentationGenerator
~RVNGSVGPresentationGenerator()
Definition: RVNGSVGPresentationGenerator.cpp:96
librevenge::RVNGSVGPresentationGenerator::endTableObject
void endTableObject()
Called when the current table is closed.
Definition: RVNGSVGPresentationGenerator.cpp:734
librevenge::RVNGSVGPresentationGenerator::endTextObject
void endTextObject()
End a text object.
Definition: RVNGSVGPresentationGenerator.cpp:583
librevenge::RVNGSVGPresentationGenerator::defineChartStyle
void defineChartStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:761
librevenge::RVNGSVGPresentationGenerator::setStyle
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:148
librevenge::RVNGSVGPresentationGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGSVGPresentationGenerator.cpp:699
librevenge::RVNGSVGPresentationGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGSVGPresentationGenerator.cpp:109
librevenge::RVNGSVGPresentationGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGSVGPresentationGenerator.cpp:695
librevenge::RVNGSVGPresentationGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:640
librevenge::RVNGSVGPresentationGenerator::drawPolygon
void drawPolygon(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:453
librevenge::RVNGSVGPresentationGenerator::endDocument
void endDocument()
Definition: RVNGSVGPresentationGenerator.cpp:105
librevenge::RVNGSVGPresentationGenerator::closeChartSeries
void closeChartSeries()
Called when a serie should be closed (in a plot area)
Definition: RVNGSVGPresentationGenerator.cpp:797
librevenge::RVNGSVGPresentationGenerator::openChartPlotArea
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:781
librevenge::RVNGSVGPresentationGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGSVGPresentationGenerator.cpp:673
librevenge::RVNGSVGPresentationGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:101
librevenge::RVNGSVGPresentationGenerator::closeGroup
void closeGroup()
Definition: RVNGSVGPresentationGenerator.cpp:415
librevenge::RVNGSVGPresentationGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:588
librevenge::RVNGSVGPresentationGenerator::closeAnimationSequence
void closeAnimationSequence()
Definition: RVNGSVGPresentationGenerator.cpp:881
librevenge::RVNGSVGPresentationGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition: RVNGSVGPresentationGenerator.cpp:636
librevenge::RVNGSVGPresentationGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:401
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:773
librevenge::RVNGSVGPresentationGenerator::openChart
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:765
librevenge::RVNGSVGPresentationGenerator::drawPolyline
void drawPolyline(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:446
librevenge::RVNGSVGPresentationGenerator::insertAnimation
void insertAnimation(const RVNGPropertyList &propList)
Insert a generic animation.
Definition: RVNGSVGPresentationGenerator.cpp:909
librevenge::RVNGSVGPresentationGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition: RVNGSVGPresentationGenerator.cpp:598
librevenge::RVNGSVGPresentationGenerator::drawRectangle
void drawRectangle(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:420
librevenge::RVNGSVGPresentationGenerator::drawGraphicObject
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition: RVNGSVGPresentationGenerator.cpp:548
librevenge::RVNGSVGPresentationGenerator::operator=
RVNGSVGPresentationGenerator & operator=(const RVNGSVGPresentationGenerator &other)
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:26
librevenge::RVNGSVGPresentationGenerator::endLayer
void endLayer()
Definition: RVNGSVGPresentationGenerator.cpp:396
librevenge::RVNGSVGPresentationGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGSVGPresentationGenerator.cpp:563
librevenge::RVNGSVGPresentationGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:669
librevenge::RVNGSVGPresentationGenerator
Definition: RVNGSVGPresentationGenerator.h:26
librevenge::RVNGSVGPresentationGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGSVGPresentationGenerator.cpp:665
librevenge::RVNGSVGPresentationGenerator::openGroup
void openGroup(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:409
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:35
librevenge::RVNGSVGPresentationGenerator::insertMotionAnimation
void insertMotionAnimation(const RVNGPropertyList &propList)
Insert an animation that moves the target object along a specified path.
Definition: RVNGSVGPresentationGenerator.cpp:901
librevenge::RVNGSVGPresentationGenerator::openAnimationSequence
void openAnimationSequence(const RVNGPropertyList &propList)
Called when a set of animations should be applied one after another.
Definition: RVNGSVGPresentationGenerator.cpp:877
librevenge::RVNGSVGPresentationGenerator::setSlideTransition
void setSlideTransition(const RVNGPropertyList &propList)
Called when a transition should be added to the current slide.
Definition: RVNGSVGPresentationGenerator.cpp:144
librevenge::RVNGString
Definition: RVNGString.h:29
librevenge::RVNGSVGPresentationGenerator::insertChartAxis
void insertChartAxis(const RVNGPropertyList &propList)
Called when a axis should be add in a plot area.
Definition: RVNGSVGPresentationGenerator.cpp:789
librevenge-stream.h
librevenge::RVNGSVGPresentationGeneratorImpl
Definition: RVNGSVGPresentationGenerator.cpp:60
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:30
librevenge::RVNGSVGPresentationGenerator::startLayer
void startLayer(const RVNGPropertyList &propList)
Definition: RVNGSVGPresentationGenerator.cpp:388