- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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/librevenge.h>
19 #include <librevenge-stream/librevenge-stream.h>
20
21 namespace librevenge
22 {
23
24 struct RVNGRawPresentationGeneratorImpl;
25
26 class RVNGRawPresentationGenerator : public RVNGPresentationInterface
27 {
28 // disable copying
29 RVNGRawPresentationGenerator(const RVNGRawPresentationGenerator &other);
30 RVNGRawPresentationGenerator &operator=(const RVNGRawPresentationGenerator &other);
31
32 public:
33 explicit RVNGRawPresentationGenerator(bool printCallgraphScore);
34 ~RVNGRawPresentationGenerator();
35
36 void startDocument(const RVNGPropertyList &propList);
37 void endDocument();
38 void setDocumentMetaData(const RVNGPropertyList &propList);
39 void defineEmbeddedFont(const RVNGPropertyList &propList);
40 void startSlide(const RVNGPropertyList &propList);
41 void endSlide();
42 void startMasterSlide(const RVNGPropertyList &propList);
43 void endMasterSlide();
44 void setSlideTransition(const RVNGPropertyList &propList);
45 void startLayer(const RVNGPropertyList &propList);
46 void endLayer();
47 void startEmbeddedGraphics(const RVNGPropertyList &propList);
48 void endEmbeddedGraphics();
49 void openGroup(const RVNGPropertyList &propList);
50 void closeGroup();
51
52 void setStyle(const RVNGPropertyList &propList);
53
54 void drawRectangle(const RVNGPropertyList &propList);
55 void drawEllipse(const RVNGPropertyList &propList);
56 void drawPolyline(const RVNGPropertyList &propList);
57 void drawPolygon(const RVNGPropertyList &propList);
58 void drawPath(const RVNGPropertyList &propList);
59 void drawGraphicObject(const RVNGPropertyList &propList);
60 void drawConnector(const RVNGPropertyList &propList);
61
62 void startTextObject(const RVNGPropertyList &propList);
63 void endTextObject();
64 void defineParagraphStyle(const RVNGPropertyList &propList);
65 void openParagraph(const RVNGPropertyList &propList);
66 void closeParagraph();
67 void defineCharacterStyle(const RVNGPropertyList &propList);
68 void openSpan(const RVNGPropertyList &propList);
69 void closeSpan();
70
71 void openLink(const RVNGPropertyList &propList);
72 void closeLink();
73
74 void insertTab();
75 void insertSpace();
76 void insertText(const RVNGString &str);
77 void insertLineBreak();
78
79 void insertField(const RVNGPropertyList &propList);
80
81 void openOrderedListLevel(const RVNGPropertyList &propList);
82 void openUnorderedListLevel(const RVNGPropertyList &propList);
83 void closeOrderedListLevel();
84 void closeUnorderedListLevel();
85 void openListElement(const RVNGPropertyList &propList);
86 void closeListElement();
87
88 void startTableObject(const RVNGPropertyList &propList);
89 void openTableRow(const RVNGPropertyList &propList);
90 void closeTableRow();
91 void openTableCell(const RVNGPropertyList &propList);
92 void closeTableCell();
93 void insertCoveredTableCell(const RVNGPropertyList &propList);
94 void endTableObject();
95
96 void startComment(const RVNGPropertyList &propList);
97 void endComment();
98
99 void startNotes(const RVNGPropertyList &propList);
100 void endNotes();
101
102 void defineChartStyle(const RVNGPropertyList &propList);
103 void openChart(const RVNGPropertyList &propList);
104 void closeChart();
105 void openChartTextObject(const RVNGPropertyList &propList);
106 void closeChartTextObject();
107 void openChartPlotArea(const RVNGPropertyList &propList);
108 void closeChartPlotArea();
109 void insertChartAxis(const RVNGPropertyList &propList);
110 void openChartSeries(const librevenge::RVNGPropertyList &propList);
111 void closeChartSeries();
112
113 void openAnimationSequence(const RVNGPropertyList &propList);
114 void closeAnimationSequence();
115 void openAnimationGroup(const RVNGPropertyList &propList);
116 void closeAnimationGroup();
117 void openAnimationIteration(const RVNGPropertyList &propList);
118 void closeAnimationIteration();
119 void insertMotionAnimation(const RVNGPropertyList &propList);
120 void insertColorAnimation(const RVNGPropertyList &propList);
121 void insertAnimation(const RVNGPropertyList &propList);
122 void insertEffect(const RVNGPropertyList &propList);
123
124 private:
125 RVNGRawPresentationGeneratorImpl *m_impl;
126 };
127
128 }
129
130 #endif // RVNGRAWPRESENTATIONGENERATOR_H
131
132 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGRawPresentationGeneratorImpl
Definition: RVNGRawPresentationGenerator.cpp:24
librevenge::RVNGRawPresentationGenerator::openAnimationGroup
void openAnimationGroup(const RVNGPropertyList &propList)
Called when a set of animations should be applied in parallel.
Definition: RVNGRawPresentationGenerator.cpp:457
librevenge::RVNGRawPresentationGenerator::closeAnimationGroup
void closeAnimationGroup()
Definition: RVNGRawPresentationGenerator.cpp:463
librevenge::RVNGRawPresentationGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGRawPresentationGenerator.cpp:335
librevenge::RVNGRawPresentationGenerator::openAnimationIteration
void openAnimationIteration(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:468
librevenge::RVNGRawPresentationGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGRawPresentationGenerator.cpp:290
librevenge::RVNGRawPresentationGenerator::drawEllipse
void drawEllipse(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:150
librevenge::RVNGRawPresentationGenerator::closeGroup
void closeGroup()
Definition: RVNGRawPresentationGenerator.cpp:129
librevenge::RVNGRawPresentationGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:258
librevenge::RVNGRawPresentationGenerator::openAnimationSequence
void openAnimationSequence(const RVNGPropertyList &propList)
Called when a set of animations should be applied one after another.
Definition: RVNGRawPresentationGenerator.cpp:446
librevenge::RVNGRawPresentationGenerator::openChart
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition: RVNGRawPresentationGenerator.cpp:394
librevenge::RVNGRawPresentationGenerator::closeChartSeries
void closeChartSeries()
Called when a serie should be closed (in a plot area)
Definition: RVNGRawPresentationGenerator.cpp:441
librevenge::RVNGRawPresentationGenerator::setSlideTransition
void setSlideTransition(const RVNGPropertyList &propList)
Called when a transition should be added to the current slide.
Definition: RVNGRawPresentationGenerator.cpp:93
librevenge::RVNGRawPresentationGenerator::startTableObject
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGRawPresentationGenerator.cpp:324
librevenge::RVNGRawPresentationGenerator::insertMotionAnimation
void insertMotionAnimation(const RVNGPropertyList &propList)
Insert an animation that moves the target object along a specified path.
Definition: RVNGRawPresentationGenerator.cpp:479
librevenge::RVNGRawPresentationGenerator::closeChartPlotArea
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition: RVNGRawPresentationGenerator.cpp:422
librevenge::RVNGRawPresentationGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGRawPresentationGenerator.cpp:63
librevenge::RVNGRawPresentationGenerator::endSlide
void endSlide()
Definition: RVNGRawPresentationGenerator.cpp:77
librevenge::RVNGRawPresentationGenerator::endComment
void endComment()
End a comment.
Definition: RVNGRawPresentationGenerator.cpp:370
librevenge::RVNGRawPresentationGenerator::operator=
RVNGRawPresentationGenerator & operator=(const RVNGRawPresentationGenerator &other)
librevenge::RVNGRawPresentationGenerator::drawRectangle
void drawRectangle(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:142
librevenge::RVNGRawPresentationGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:274
librevenge::RVNGRawPresentationGenerator::~RVNGRawPresentationGenerator
~RVNGRawPresentationGenerator()
Definition: RVNGRawPresentationGenerator.cpp:39
librevenge::RVNGRawPresentationGenerator::closeAnimationSequence
void closeAnimationSequence()
Definition: RVNGRawPresentationGenerator.cpp:452
librevenge::RVNGRawPresentationGenerator::openChartPlotArea
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition: RVNGRawPresentationGenerator.cpp:416
librevenge::RVNGRawPresentationGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGRawPresentationGenerator.cpp:296
librevenge::RVNGRawPresentationGenerator::closeChartTextObject
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition: RVNGRawPresentationGenerator.cpp:411
librevenge::RVNGRawPresentationGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition: RVNGRawPresentationGenerator.cpp:234
librevenge::RVNGRawPresentationGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGRawPresentationGenerator.cpp:218
librevenge::RVNGRawPresentationGenerator::drawGraphicObject
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:182
librevenge::RVNGRawPresentationGenerator::m_impl
RVNGRawPresentationGeneratorImpl * m_impl
Definition: RVNGRawPresentationGenerator.h:125
librevenge::RVNGRawPresentationGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:208
librevenge::RVNGRawPresentationGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGRawPresentationGenerator.cpp:308
librevenge::RVNGRawPresentationGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGRawPresentationGenerator.cpp:340
librevenge::RVNGRawPresentationGenerator::openChartTextObject
void openChartTextObject(const RVNGPropertyList &propList)
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
Definition: RVNGRawPresentationGenerator.cpp:405
librevenge::RVNGRawPresentationGenerator::drawPolyline
void drawPolyline(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:158
librevenge::RVNGRawPresentationGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition: RVNGRawPresentationGenerator.cpp:228
librevenge::RVNGRawPresentationGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGRawPresentationGenerator.cpp:302
librevenge::RVNGRawPresentationGenerator::startTextObject
void startTextObject(const RVNGPropertyList &propList)
Start a text object.
Definition: RVNGRawPresentationGenerator.cpp:198
librevenge::RVNGRawPresentationGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:282
librevenge.h
librevenge::RVNGRawPresentationGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGRawPresentationGenerator.cpp:314
librevenge::RVNGRawPresentationGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGRawPresentationGenerator.cpp:213
librevenge::RVNGRawPresentationGenerator::startLayer
void startLayer(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:101
librevenge::RVNGRawPresentationGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGRawPresentationGenerator.cpp:55
librevenge::RVNGRawPresentationGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:266
librevenge::RVNGRawPresentationGenerator::endNotes
void endNotes()
End slide notes.
Definition: RVNGRawPresentationGenerator.cpp:381
librevenge::RVNGRawPresentationGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGRawPresentationGenerator.cpp:346
librevenge::RVNGRawPresentationGenerator::startNotes
void startNotes(const RVNGPropertyList &propList)
Start slide notes.
Definition: RVNGRawPresentationGenerator.cpp:375
librevenge::RVNGRawPresentationGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGRawPresentationGenerator.cpp:190
librevenge::RVNGRawPresentationGenerator::defineChartStyle
void defineChartStyle(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:386
librevenge::RVNGRawPresentationGenerator::drawPolygon
void drawPolygon(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:166
librevenge::RVNGRawPresentationGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:223
librevenge::RVNGRawPresentationGenerator::closeAnimationIteration
void closeAnimationIteration()
Definition: RVNGRawPresentationGenerator.cpp:474
librevenge::RVNGRawPresentationGenerator::endTableObject
void endTableObject()
Called when the current table is closed.
Definition: RVNGRawPresentationGenerator.cpp:359
librevenge::RVNGRawPresentationGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:112
librevenge::RVNGRawPresentationGenerator
Definition: RVNGRawPresentationGenerator.h:26
librevenge::RVNGRawPresentationGenerator::startSlide
void startSlide(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:71
librevenge::RVNGRawPresentationGenerator::insertCoveredTableCell
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition: RVNGRawPresentationGenerator.cpp:351
librevenge::RVNGRawPresentationGenerator::openGroup
void openGroup(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:123
librevenge::RVNGRawPresentationGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition: RVNGRawPresentationGenerator.cpp:319
librevenge::RVNGRawPresentationGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGRawPresentationGenerator.cpp:239
librevenge::RVNGRawPresentationGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGRawPresentationGenerator.cpp:329
librevenge::RVNGRawPresentationGenerator::insertEffect
void insertEffect(const RVNGPropertyList &propList)
Set one-time animation effect on the target object.
Definition: RVNGRawPresentationGenerator.cpp:503
librevenge::RVNGRawPresentationGenerator::insertAnimation
void insertAnimation(const RVNGPropertyList &propList)
Insert a generic animation.
Definition: RVNGRawPresentationGenerator.cpp:495
librevenge::RVNGRawPresentationGenerator::drawPath
void drawPath(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:174
librevenge::RVNGRawPresentationGenerator::startMasterSlide
void startMasterSlide(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:82
librevenge::RVNGRawPresentationGenerator::endLayer
void endLayer()
Definition: RVNGRawPresentationGenerator.cpp:107
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:26
librevenge::RVNGRawPresentationGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:44
librevenge::RVNGRawPresentationGenerator::closeChart
void closeChart()
Called when a chart should be closed.
Definition: RVNGRawPresentationGenerator.cpp:400
librevenge::RVNGRawPresentationGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition: RVNGRawPresentationGenerator.cpp:245
librevenge::RVNGRawPresentationGenerator::RVNGRawPresentationGenerator
RVNGRawPresentationGenerator(const RVNGRawPresentationGenerator &other)
librevenge::RVNGRawPresentationGenerator::insertText
void insertText(const RVNGString &str)
Called when a string of text should be inserted.
Definition: RVNGRawPresentationGenerator.cpp:250
librevenge::RVNGRawPresentationGenerator::startComment
void startComment(const RVNGPropertyList &propList)
Start a comment.
Definition: RVNGRawPresentationGenerator.cpp:364
librevenge::RVNGRawPresentationGenerator::endTextObject
void endTextObject()
End a text object.
Definition: RVNGRawPresentationGenerator.cpp:203
librevenge::RVNGRawPresentationGenerator::insertChartAxis
void insertChartAxis(const RVNGPropertyList &propList)
Called when a axis should be add in a plot area.
Definition: RVNGRawPresentationGenerator.cpp:427
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:35
librevenge::RVNGString
Definition: RVNGString.h:29
librevenge-stream.h
librevenge::RVNGRawPresentationGenerator::endEmbeddedGraphics
void endEmbeddedGraphics()
Definition: RVNGRawPresentationGenerator.cpp:118
librevenge::RVNGRawPresentationGenerator::insertColorAnimation
void insertColorAnimation(const RVNGPropertyList &propList)
Insert an animation that changes color of the target object.
Definition: RVNGRawPresentationGenerator.cpp:487
librevenge::RVNGRawPresentationGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList)
Called when a serie should be opened (in a plot area)
Definition: RVNGRawPresentationGenerator.cpp:435
librevenge::RVNGRawPresentationGenerator::setStyle
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGRawPresentationGenerator.cpp:134
librevenge::RVNGRawPresentationGenerator::endMasterSlide
void endMasterSlide()
Definition: RVNGRawPresentationGenerator.cpp:88
librevenge::RVNGRawPresentationGenerator::endDocument
void endDocument()
Definition: RVNGRawPresentationGenerator.cpp:50