EPUBPagedGenerator.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libepubgen project.
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
10 #ifndef INCLUDED_EPUBPAGEDGENERATOR_H
11 #define INCLUDED_EPUBPAGEDGENERATOR_H
12
13 #include <memory>
14
15 #include <librevenge/librevenge.h>
16 #include <librevenge-stream/librevenge-stream.h>
17
18 namespace libepubgen
19 {
20
21 class EPUBPackage;
22 class EPUBSplitGuard;
23
24 class EPUBPagedGenerator: public librevenge::RVNGPresentationInterface
25 {
26 class Impl;
27
28 public:
29 EPUBPagedGenerator(EPUBPackage *package, int version);
30
31 void setSplitMethod(EPUBSplitMethod split);
32 void setSplitHeadingLevel(unsigned level);
33 void setSplitSize(unsigned size);
34
35 void startDocument(const librevenge::RVNGPropertyList &propList) override;
36
37 void endDocument() override;
38
39 void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override;
40
41 void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override;
42
43 void startSlide(const librevenge::RVNGPropertyList &propList) override;
44
45 void endSlide() override;
46
47 void startMasterSlide(const librevenge::RVNGPropertyList &propList) override;
48
49 void endMasterSlide() override;
50
51 void setStyle(const librevenge::RVNGPropertyList &propList) override;
52
53 void setSlideTransition(const librevenge::RVNGPropertyList &propList) override;
54
55 void startLayer(const librevenge::RVNGPropertyList &propList) override;
56
57 void endLayer() override;
58
59 void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList) override;
60
61 void endEmbeddedGraphics() override;
62
63 void openGroup(const librevenge::RVNGPropertyList &propList) override;
64
65 void closeGroup() override;
66
67 void drawRectangle(const librevenge::RVNGPropertyList &propList) override;
68
69 void drawEllipse(const librevenge::RVNGPropertyList &propList) override;
70
71 void drawPolygon(const librevenge::RVNGPropertyList &propList) override;
72
73 void drawPolyline(const librevenge::RVNGPropertyList &propList) override;
74
75 void drawPath(const librevenge::RVNGPropertyList &propList) override;
76
77 void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override;
78
79 void drawConnector(const librevenge::RVNGPropertyList &propList) override;
80
81 void startTextObject(const librevenge::RVNGPropertyList &propList) override;
82
83 void endTextObject() override;
84
85 void insertTab() override;
86
87 void insertSpace() override;
88
89 void insertText(const librevenge::RVNGString &text) override;
90
91 void insertLineBreak() override;
92
93 void insertField(const librevenge::RVNGPropertyList &propList) override;
94
95 void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override;
96
97 void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override;
98
99 void closeOrderedListLevel() override;
100
101 void closeUnorderedListLevel() override;
102
103 void openListElement(const librevenge::RVNGPropertyList &propList) override;
104
105 void closeListElement() override;
106
107 void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override;
108
109 void openParagraph(const librevenge::RVNGPropertyList &propList) override;
110
111 void closeParagraph() override;
112
113 void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override;
114
115 void openSpan(const librevenge::RVNGPropertyList &propList) override;
116
117 void closeSpan() override;
118
119 void openLink(const librevenge::RVNGPropertyList &propList) override;
120
121 void closeLink() override;
122
123 void startTableObject(const librevenge::RVNGPropertyList &propList) override;
124
125 void openTableRow(const librevenge::RVNGPropertyList &propList) override;
126
127 void closeTableRow() override;
128
129 void openTableCell(const librevenge::RVNGPropertyList &propList) override;
130
131 void closeTableCell() override;
132
133 void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override;
134
135 void endTableObject() override;
136
137 void startComment(const librevenge::RVNGPropertyList &propList) override;
138
139 void endComment() override;
140
141 void startNotes(const librevenge::RVNGPropertyList &propList) override;
142
143 void endNotes() override;
144
145 void defineChartStyle(const librevenge::RVNGPropertyList &propList) override;
146
147 void openChart(const librevenge::RVNGPropertyList &propList) override;
148
149 void closeChart() override;
150
151 void openChartTextObject(const librevenge::RVNGPropertyList &propList) override;
152
153 void closeChartTextObject() override;
154
155 void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override;
156
157 void closeChartPlotArea() override;
158
159 void insertChartAxis(const librevenge::RVNGPropertyList &propList) override;
160
161 void openChartSeries(const librevenge::RVNGPropertyList &propList) override;
162
163 void closeChartSeries() override;
164
165 void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override;
166
167 void closeAnimationSequence() override;
168
169 void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override;
170
171 void closeAnimationGroup() override;
172
173 void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override;
174
175 void closeAnimationIteration() override;
176
177 void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override;
178
179 void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override;
180
181 void insertAnimation(const librevenge::RVNGPropertyList &propList) override;
182
183 void insertEffect(const librevenge::RVNGPropertyList &propList) override;
184
185 private:
186 std::shared_ptr<Impl> m_impl;
187 };
188
189 }
190
191 #endif // INCLUDED_EPUBPAGEDGENERATOR_H
192
193 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBPagedGenerator::defineParagraphStyle
void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:263
libepubgen::EPUBPagedGenerator::setStyle
void setStyle(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:114
libepubgen::EPUBPagedGenerator::insertColorAnimation
void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:440
libepubgen::EPUBPagedGenerator::startTableObject
void startTableObject(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:307
libepubgen::EPUBPagedGenerator::endTableObject
void endTableObject() override
Definition: EPUBPagedGenerator.cpp:339
libepubgen::EPUBPagedGenerator::EPUBPagedGenerator
EPUBPagedGenerator(EPUBPackage *package, int version)
Definition: EPUBPagedGenerator.cpp:67
libepubgen::EPUBPagedGenerator::openListElement
void openListElement(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:249
libepubgen::EPUBPagedGenerator::openSpan
void openSpan(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:287
libepubgen::EPUBPagedGenerator::defineChartStyle
void defineChartStyle(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:362
libepubgen::EPUBPagedGenerator::defineCharacterStyle
void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:282
libepubgen::EPUBPagedGenerator::drawEllipse
void drawEllipse(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:156
libepubgen::EPUBPagedGenerator::drawPolyline
void drawPolyline(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:166
libepubgen
Definition: EPUBBinarySink.cpp:12
libepubgen::EPUBPagedGenerator::openParagraph
void openParagraph(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:268
libepubgen::EPUBPagedGenerator::setSlideTransition
void setSlideTransition(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:119
libepubgen::EPUBPagedGenerator::openTableCell
void openTableCell(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:324
libepubgen::EPUBPagedGenerator::openLink
void openLink(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:297
libepubgen::EPUBPagedGenerator::insertText
void insertText(const librevenge::RVNGString &text) override
Definition: EPUBPagedGenerator.cpp:206
libepubgen::EPUBPagedGenerator::openAnimationGroup
void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:417
libepubgen::EPUBPagedGenerator::closeAnimationSequence
void closeAnimationSequence() override
Definition: EPUBPagedGenerator.cpp:413
libepubgen::EPUBPagedGenerator::endSlide
void endSlide() override
Definition: EPUBPagedGenerator.cpp:101
libepubgen::EPUBPagedGenerator::closeTableCell
void closeTableCell() override
Definition: EPUBPagedGenerator.cpp:329
libepubgen::EPUBPagedGenerator
Definition: EPUBPagedGenerator.h:24
libepubgen::EPUBPagedGenerator::insertChartAxis
void insertChartAxis(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:394
libepubgen::EPUBPagedGenerator::closeChartPlotArea
void closeChartPlotArea() override
Definition: EPUBPagedGenerator.cpp:390
libepubgen::EPUBPagedGenerator::startNotes
void startNotes(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:353
libepubgen::EPUBPagedGenerator::endNotes
void endNotes() override
Definition: EPUBPagedGenerator.cpp:358
libepubgen::EPUBPagedGenerator::insertCoveredTableCell
void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:334
libepubgen::EPUBPagedGenerator::endEmbeddedGraphics
void endEmbeddedGraphics() override
Definition: EPUBPagedGenerator.cpp:138
libepubgen::EPUBPagedGenerator::startTextObject
void startTextObject(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:186
libepubgen::EPUBPagedGenerator::endDocument
void endDocument() override
Definition: EPUBPagedGenerator.cpp:77
libepubgen::EPUBPagedGenerator::closeOrderedListLevel
void closeOrderedListLevel() override
Definition: EPUBPagedGenerator.cpp:235
libepubgen::EPUBPagedGenerator::setSplitSize
void setSplitSize(unsigned size)
Definition: EPUBPagedGenerator.cpp:54
libepubgen::EPUBPagedGenerator::openAnimationSequence
void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:408
libepubgen::EPUBPagedGenerator::drawConnector
void drawConnector(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:181
libepubgen::EPUBPagedGenerator::insertTab
void insertTab() override
Definition: EPUBPagedGenerator.cpp:196
libepubgen::EPUBPagedGenerator::closeGroup
void closeGroup() override
Definition: EPUBPagedGenerator.cpp:147
libepubgen::EPUBPagedGenerator::insertEffect
void insertEffect(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:450
libepubgen::EPUBPagedGenerator::openGroup
void openGroup(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:142
libepubgen::EPUBPagedGenerator::openChart
void openChart(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:367
libepubgen::EPUBPagedGenerator::openOrderedListLevel
void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:221
libepubgen::EPUBPagedGenerator::startMasterSlide
void startMasterSlide(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:105
libepubgen::EPUBPagedGenerator::m_impl
std::shared_ptr< Impl > m_impl
Definition: EPUBPagedGenerator.h:186
libepubgen::EPUBPagedGenerator::drawGraphicObject
void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:176
libepubgen::EPUBPagedGenerator::insertSpace
void insertSpace() override
Definition: EPUBPagedGenerator.cpp:201
libepubgen::EPUBPagedGenerator::insertAnimation
void insertAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:445
libepubgen::EPUBPagedGenerator::closeLink
void closeLink() override
Definition: EPUBPagedGenerator.cpp:302
libepubgen::EPUBPagedGenerator::startDocument
void startDocument(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:72
libepubgen::EPUBPagedGenerator::closeSpan
void closeSpan() override
Definition: EPUBPagedGenerator.cpp:292
libepubgen::EPUBPagedGenerator::endComment
void endComment() override
Definition: EPUBPagedGenerator.cpp:349
libepubgen::EPUBPagedGenerator::endTextObject
void endTextObject() override
Definition: EPUBPagedGenerator.cpp:191
libepubgen::EPUBPagedGenerator::startComment
void startComment(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:344
libepubgen::EPUBPagedGenerator::drawPath
void drawPath(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:171
libepubgen::EPUBPagedGenerator::closeTableRow
void closeTableRow() override
Definition: EPUBPagedGenerator.cpp:319
libepubgen::EPUBPagedGenerator::insertField
void insertField(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:216
libepubgen::EPUBPagedGenerator::defineEmbeddedFont
void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:89
libepubgen::EPUBPagedGenerator::openChartPlotArea
void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:385
libepubgen::EPUBPagedGenerator::setSplitHeadingLevel
void setSplitHeadingLevel(unsigned level)
Definition: EPUBPagedGenerator.cpp:49
libepubgen::EPUBPagedGenerator::Impl
Definition: EPUBPagedGenerator.cpp:21
libepubgen::EPUBPagedGenerator::setSplitMethod
void setSplitMethod(EPUBSplitMethod split)
Definition: EPUBPagedGenerator.cpp:44
libepubgen::EPUBPagedGenerator::openTableRow
void openTableRow(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:314
libepubgen::EPUBPagedGenerator::openUnorderedListLevel
void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:228
libepubgen::EPUBPagedGenerator::endLayer
void endLayer() override
Definition: EPUBPagedGenerator.cpp:129
libepubgen::EPUBPagedGenerator::openChartTextObject
void openChartTextObject(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:376
libepubgen::EPUBPagedGenerator::startLayer
void startLayer(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:124
libepubgen::EPUBPagedGenerator::closeChartSeries
void closeChartSeries() override
Definition: EPUBPagedGenerator.cpp:404
libepubgen::EPUBPagedGenerator::insertMotionAnimation
void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:435
libepubgen::EPUBPagedGenerator::closeAnimationGroup
void closeAnimationGroup() override
Definition: EPUBPagedGenerator.cpp:422
libepubgen::EPUBPagedGenerator::closeChartTextObject
void closeChartTextObject() override
Definition: EPUBPagedGenerator.cpp:381
libepubgen::EPUBPagedGenerator::closeAnimationIteration
void closeAnimationIteration() override
Definition: EPUBPagedGenerator.cpp:431
libepubgen::EPUBPagedGenerator::endMasterSlide
void endMasterSlide() override
Definition: EPUBPagedGenerator.cpp:110
libepubgen::EPUBPagedGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:399
libepubgen::EPUBPagedGenerator::drawRectangle
void drawRectangle(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:151
libepubgen::EPUBPagedGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:133
libepubgen::EPUBPagedGenerator::closeUnorderedListLevel
void closeUnorderedListLevel() override
Definition: EPUBPagedGenerator.cpp:242
libepubgen::EPUBPagedGenerator::startSlide
void startSlide(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:94
libepubgen::EPUBPagedGenerator::drawPolygon
void drawPolygon(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:161
libepubgen::EPUBPagedGenerator::setDocumentMetaData
void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:82
libepubgen::EPUBPagedGenerator::openAnimationIteration
void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override
Definition: EPUBPagedGenerator.cpp:426
libepubgen::EPUBPagedGenerator::closeParagraph
void closeParagraph() override
Definition: EPUBPagedGenerator.cpp:275
libepubgen::EPUBPagedGenerator::closeListElement
void closeListElement() override
Definition: EPUBPagedGenerator.cpp:256
libepubgen::EPUBPagedGenerator::closeChart
void closeChart() override
Definition: EPUBPagedGenerator.cpp:372
libepubgen::EPUBPagedGenerator::insertLineBreak
void insertLineBreak() override
Definition: EPUBPagedGenerator.cpp:211