- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

RVNGTextPresentationGenerator.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 #include <librevenge/librevenge.h>
16 #include <librevenge-stream/librevenge-stream.h>
17
18 namespace librevenge
19 {
20
21 struct RVNGTextPresentationGeneratorImpl;
22
23 class RVNGTextPresentationGenerator : public RVNGPresentationInterface
24 {
25 // disable copying
26 RVNGTextPresentationGenerator(const RVNGTextPresentationGenerator &other);
27 RVNGTextPresentationGenerator &operator=(const RVNGTextPresentationGenerator &other);
28
29 public:
30 explicit RVNGTextPresentationGenerator(RVNGStringVector &pages);
31 ~RVNGTextPresentationGenerator();
32
33 void startDocument(const RVNGPropertyList &propList);
34 void endDocument();
35 void setDocumentMetaData(const RVNGPropertyList &propList);
36 void defineEmbeddedFont(const RVNGPropertyList &propList);
37 void startSlide(const RVNGPropertyList &propList);
38 void endSlide();
39 void startMasterSlide(const RVNGPropertyList &propList);
40 void endMasterSlide();
41 void setSlideTransition(const RVNGPropertyList &propList);
42 void startLayer(const RVNGPropertyList &propList);
43 void endLayer();
44 void startEmbeddedGraphics(const RVNGPropertyList &propList);
45 void endEmbeddedGraphics();
46 void openGroup(const RVNGPropertyList &propList);
47 void closeGroup();
48
49 void setStyle(const RVNGPropertyList &propList);
50
51 void drawRectangle(const RVNGPropertyList &propList);
52 void drawEllipse(const RVNGPropertyList &propList);
53 void drawPolyline(const RVNGPropertyList &propList);
54 void drawPolygon(const RVNGPropertyList &propList);
55 void drawPath(const RVNGPropertyList &propList);
56 void drawGraphicObject(const RVNGPropertyList &propList);
57 void drawConnector(const RVNGPropertyList &propList);
58
59 void startTextObject(const RVNGPropertyList &propList);
60 void endTextObject();
61 void defineParagraphStyle(const RVNGPropertyList &propList);
62 void openParagraph(const RVNGPropertyList &propList);
63 void closeParagraph();
64 void defineCharacterStyle(const RVNGPropertyList &propList);
65 void openSpan(const RVNGPropertyList &propList);
66 void closeSpan();
67
68 void openLink(const RVNGPropertyList &propList);
69 void closeLink();
70
71 void insertTab();
72 void insertSpace();
73 void insertText(const RVNGString &str);
74 void insertLineBreak();
75
76 void insertField(const RVNGPropertyList &propList);
77
78 void openOrderedListLevel(const RVNGPropertyList &propList);
79 void openUnorderedListLevel(const RVNGPropertyList &propList);
80 void closeOrderedListLevel();
81 void closeUnorderedListLevel();
82 void openListElement(const RVNGPropertyList &propList);
83 void closeListElement();
84
85 void startTableObject(const RVNGPropertyList &propList);
86 void openTableRow(const RVNGPropertyList &propList);
87 void closeTableRow();
88 void openTableCell(const RVNGPropertyList &propList);
89 void closeTableCell();
90 void insertCoveredTableCell(const RVNGPropertyList &propList);
91 void endTableObject();
92
93 void startComment(const RVNGPropertyList &propList);
94 void endComment();
95
96 void startNotes(const RVNGPropertyList &propList);
97 void endNotes();
98
99 void defineChartStyle(const RVNGPropertyList &propList);
100 void openChart(const RVNGPropertyList &propList);
101 void closeChart();
102 void openChartTextObject(const RVNGPropertyList &propList);
103 void closeChartTextObject();
104 void openChartPlotArea(const RVNGPropertyList &propList);
105 void closeChartPlotArea();
106 void insertChartAxis(const RVNGPropertyList &propList);
107 void openChartSeries(const librevenge::RVNGPropertyList &propList);
108 void closeChartSeries();
109
110 void openAnimationSequence(const RVNGPropertyList &propList);
111 void closeAnimationSequence();
112 void openAnimationGroup(const RVNGPropertyList &propList);
113 void closeAnimationGroup();
114 void openAnimationIteration(const RVNGPropertyList &propList);
115 void closeAnimationIteration();
116 void insertMotionAnimation(const RVNGPropertyList &propList);
117 void insertColorAnimation(const RVNGPropertyList &propList);
118 void insertAnimation(const RVNGPropertyList &propList);
119 void insertEffect(const RVNGPropertyList &propList);
120
121 private:
122 RVNGTextPresentationGeneratorImpl *m_impl;
123 };
124
125 }
126
127 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGTextPresentationGenerator::openAnimationIteration
void openAnimationIteration(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:334
librevenge::RVNGTextPresentationGenerator::drawGraphicObject
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:134
librevenge::RVNGTextPresentationGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:204
librevenge::RVNGTextPresentationGenerator::closeChart
void closeChart()
Called when a chart should be closed.
Definition: RVNGTextPresentationGenerator.cpp:286
librevenge::RVNGTextPresentationGenerator::endNotes
void endNotes()
End slide notes.
Definition: RVNGTextPresentationGenerator.cpp:274
librevenge::RVNGTextPresentationGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:46
librevenge::RVNGTextPresentationGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList)
Called when a serie should be opened (in a plot area)
Definition: RVNGTextPresentationGenerator.cpp:310
librevenge::RVNGTextPresentationGenerator::endTextObject
void endTextObject()
End a text object.
Definition: RVNGTextPresentationGenerator.cpp:146
librevenge::RVNGTextPresentationGenerator::closeAnimationSequence
void closeAnimationSequence()
Definition: RVNGTextPresentationGenerator.cpp:322
librevenge::RVNGTextPresentationGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition: RVNGTextPresentationGenerator.cpp:155
librevenge::RVNGTextPresentationGenerator::drawEllipse
void drawEllipse(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:118
librevenge::RVNGTextPresentationGenerator::insertCoveredTableCell
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition: RVNGTextPresentationGenerator.cpp:254
librevenge::RVNGTextPresentationGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition: RVNGTextPresentationGenerator.cpp:138
librevenge::RVNGTextPresentationGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition: RVNGTextPresentationGenerator.cpp:172
librevenge::RVNGTextPresentationGenerator::endMasterSlide
void endMasterSlide()
Definition: RVNGTextPresentationGenerator.cpp:76
librevenge::RVNGTextPresentationGenerator::insertMotionAnimation
void insertMotionAnimation(const RVNGPropertyList &propList)
Insert an animation that moves the target object along a specified path.
Definition: RVNGTextPresentationGenerator.cpp:342
librevenge::RVNGTextPresentationGenerator::m_impl
RVNGTextPresentationGeneratorImpl * m_impl
Definition: RVNGTextPresentationGenerator.h:122
librevenge::RVNGTextPresentationGenerator::operator=
RVNGTextPresentationGenerator & operator=(const RVNGTextPresentationGenerator &other)
librevenge::RVNGTextPresentationGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition: RVNGTextPresentationGenerator.cpp:216
librevenge::RVNGTextPresentationGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition: RVNGTextPresentationGenerator.cpp:159
librevenge::RVNGTextPresentationGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition: RVNGTextPresentationGenerator.cpp:246
librevenge::RVNGTextPresentationGeneratorImpl
Definition: RVNGTextPresentationGenerator.cpp:22
librevenge::RVNGTextPresentationGenerator::startComment
void startComment(const RVNGPropertyList &propList)
Start a comment.
Definition: RVNGTextPresentationGenerator.cpp:262
librevenge::RVNGTextPresentationGenerator::insertEffect
void insertEffect(const RVNGPropertyList &propList)
Set one-time animation effect on the target object.
Definition: RVNGTextPresentationGenerator.cpp:354
librevenge::RVNGTextPresentationGenerator::setSlideTransition
void setSlideTransition(const RVNGPropertyList &propList)
Called when a transition should be added to the current slide.
Definition: RVNGTextPresentationGenerator.cpp:82
librevenge::RVNGTextPresentationGenerator::endLayer
void endLayer()
Definition: RVNGTextPresentationGenerator.cpp:90
librevenge::RVNGTextPresentationGenerator::RVNGTextPresentationGenerator
RVNGTextPresentationGenerator(const RVNGTextPresentationGenerator &other)
librevenge::RVNGTextPresentationGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:194
librevenge::RVNGTextPresentationGenerator::startTableObject
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition: RVNGTextPresentationGenerator.cpp:234
librevenge::RVNGTextPresentationGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:151
librevenge::RVNGTextPresentationGenerator::insertColorAnimation
void insertColorAnimation(const RVNGPropertyList &propList)
Insert an animation that changes color of the target object.
Definition: RVNGTextPresentationGenerator.cpp:346
librevenge::RVNGTextPresentationGenerator::endTableObject
void endTableObject()
Called when the current table is closed.
Definition: RVNGTextPresentationGenerator.cpp:258
librevenge::RVNGTextPresentationGenerator::drawRectangle
void drawRectangle(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:114
librevenge::RVNGTextPresentationGenerator::endSlide
void endSlide()
Definition: RVNGTextPresentationGenerator.cpp:66
librevenge::RVNGTextPresentationGenerator
Definition: RVNGTextPresentationGenerator.h:23
librevenge::RVNGTextPresentationGenerator::endDocument
void endDocument()
Definition: RVNGTextPresentationGenerator.cpp:50
librevenge.h
librevenge::RVNGTextPresentationGenerator::openGroup
void openGroup(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:102
librevenge::RVNGTextPresentationGenerator::openAnimationSequence
void openAnimationSequence(const RVNGPropertyList &propList)
Called when a set of animations should be applied one after another.
Definition: RVNGTextPresentationGenerator.cpp:318
librevenge::RVNGTextPresentationGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition: RVNGTextPresentationGenerator.cpp:180
librevenge::RVNGTextPresentationGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition: RVNGTextPresentationGenerator.cpp:212
librevenge::RVNGTextPresentationGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition: RVNGTextPresentationGenerator.cpp:220
librevenge::RVNGTextPresentationGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:164
librevenge::RVNGTextPresentationGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition: RVNGTextPresentationGenerator.cpp:224
librevenge::RVNGTextPresentationGenerator::defineChartStyle
void defineChartStyle(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:278
librevenge::RVNGTextPresentationGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition: RVNGTextPresentationGenerator.cpp:168
librevenge::RVNGTextPresentationGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition: RVNGTextPresentationGenerator.cpp:250
librevenge::RVNGTextPresentationGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition: RVNGTextPresentationGenerator.cpp:208
librevenge::RVNGTextPresentationGenerator::openChartTextObject
void openChartTextObject(const RVNGPropertyList &propList)
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
Definition: RVNGTextPresentationGenerator.cpp:290
librevenge::RVNGTextPresentationGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition: RVNGTextPresentationGenerator.cpp:58
librevenge::RVNGTextPresentationGenerator::drawPolygon
void drawPolygon(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:126
librevenge::RVNGTextPresentationGenerator::closeChartTextObject
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition: RVNGTextPresentationGenerator.cpp:294
librevenge::RVNGTextPresentationGenerator::setStyle
void setStyle(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:110
librevenge::RVNGTextPresentationGenerator::closeGroup
void closeGroup()
Definition: RVNGTextPresentationGenerator.cpp:106
librevenge::RVNGTextPresentationGenerator::insertAnimation
void insertAnimation(const RVNGPropertyList &propList)
Insert a generic animation.
Definition: RVNGTextPresentationGenerator.cpp:350
librevenge::RVNGTextPresentationGenerator::closeAnimationIteration
void closeAnimationIteration()
Definition: RVNGTextPresentationGenerator.cpp:338
librevenge::RVNGTextPresentationGenerator::endComment
void endComment()
End a comment.
Definition: RVNGTextPresentationGenerator.cpp:266
librevenge::RVNGTextPresentationGenerator::startLayer
void startLayer(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:86
librevenge::RVNGTextPresentationGenerator::insertChartAxis
void insertChartAxis(const RVNGPropertyList &propList)
Called when a axis should be add in a plot area.
Definition: RVNGTextPresentationGenerator.cpp:306
librevenge::RVNGTextPresentationGenerator::endEmbeddedGraphics
void endEmbeddedGraphics()
Definition: RVNGTextPresentationGenerator.cpp:98
librevenge::RVNGTextPresentationGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:94
librevenge::RVNGTextPresentationGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition: RVNGTextPresentationGenerator.cpp:238
librevenge::RVNGTextPresentationGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition: RVNGTextPresentationGenerator.cpp:242
librevenge::RVNGTextPresentationGenerator::startTextObject
void startTextObject(const RVNGPropertyList &propList)
Start a text object.
Definition: RVNGTextPresentationGenerator.cpp:142
librevenge::RVNGPresentationInterface
Interface for import of presentations.
Definition: RVNGPresentationInterface.h:26
librevenge::RVNGTextPresentationGenerator::startSlide
void startSlide(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:62
librevenge::RVNGTextPresentationGenerator::openChartPlotArea
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition: RVNGTextPresentationGenerator.cpp:298
librevenge::RVNGTextPresentationGenerator::insertText
void insertText(const RVNGString &str)
Called when a string of text should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:184
librevenge::RVNGTextPresentationGenerator::drawPolyline
void drawPolyline(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:122
librevenge::RVNGTextPresentationGenerator::~RVNGTextPresentationGenerator
~RVNGTextPresentationGenerator()
Definition: RVNGTextPresentationGenerator.cpp:41
librevenge::RVNGTextPresentationGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition: RVNGTextPresentationGenerator.cpp:54
librevenge::RVNGTextPresentationGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:199
librevenge::RVNGTextPresentationGenerator::openChart
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition: RVNGTextPresentationGenerator.cpp:282
librevenge::RVNGTextPresentationGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition: RVNGTextPresentationGenerator.cpp:189
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:35
librevenge::RVNGTextPresentationGenerator::startMasterSlide
void startMasterSlide(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:72
librevenge::RVNGTextPresentationGenerator::drawPath
void drawPath(const RVNGPropertyList &propList)
Definition: RVNGTextPresentationGenerator.cpp:130
librevenge::RVNGTextPresentationGenerator::closeAnimationGroup
void closeAnimationGroup()
Definition: RVNGTextPresentationGenerator.cpp:330
librevenge::RVNGTextPresentationGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition: RVNGTextPresentationGenerator.cpp:229
librevenge::RVNGTextPresentationGenerator::openAnimationGroup
void openAnimationGroup(const RVNGPropertyList &propList)
Called when a set of animations should be applied in parallel.
Definition: RVNGTextPresentationGenerator.cpp:326
librevenge::RVNGTextPresentationGenerator::startNotes
void startNotes(const RVNGPropertyList &propList)
Start slide notes.
Definition: RVNGTextPresentationGenerator.cpp:270
librevenge::RVNGString
Definition: RVNGString.h:29
librevenge-stream.h
librevenge::RVNGTextPresentationGenerator::closeChartPlotArea
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition: RVNGTextPresentationGenerator.cpp:302
librevenge::RVNGTextPresentationGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition: RVNGTextPresentationGenerator.cpp:176
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:30
librevenge::RVNGTextPresentationGenerator::closeChartSeries
void closeChartSeries()
Called when a serie should be closed (in a plot area)
Definition: RVNGTextPresentationGenerator.cpp:314