EPUBPagedGenerator.h Source File documentation

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#include <libepubgen/libepubgen-decls.h>
19
20namespace libepubgen
21{
22
23class EPUBPackage;
24
25 class EPUBPagedGenerator: public librevenge::RVNGPresentationInterface
26{
27 class Impl;
28
29public:
30 EPUBPagedGenerator(EPUBPackage *package, int version);
31
32 void setSplitMethod(EPUBSplitMethod split);
33 void setSplitHeadingLevel(unsigned level);
34 void setSplitSize(unsigned size);
35
36 void startDocument(const librevenge::RVNGPropertyList &propList) override;
37
38 void endDocument() override;
39
40 void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override;
41
42 void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override;
43
44 void startSlide(const librevenge::RVNGPropertyList &propList) override;
45
46 void endSlide() override;
47
48 void startMasterSlide(const librevenge::RVNGPropertyList &propList) override;
49
50 void endMasterSlide() override;
51
52 void setStyle(const librevenge::RVNGPropertyList &propList) override;
53
54 void setSlideTransition(const librevenge::RVNGPropertyList &propList) override;
55
56 void startLayer(const librevenge::RVNGPropertyList &propList) override;
57
58 void endLayer() override;
59
60 void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList) override;
61
62 void endEmbeddedGraphics() override;
63
64 void openGroup(const librevenge::RVNGPropertyList &propList) override;
65
66 void closeGroup() override;
67
68 void drawRectangle(const librevenge::RVNGPropertyList &propList) override;
69
70 void drawEllipse(const librevenge::RVNGPropertyList &propList) override;
71
72 void drawPolygon(const librevenge::RVNGPropertyList &propList) override;
73
74 void drawPolyline(const librevenge::RVNGPropertyList &propList) override;
75
76 void drawPath(const librevenge::RVNGPropertyList &propList) override;
77
78 void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override;
79
80 void drawConnector(const librevenge::RVNGPropertyList &propList) override;
81
82 void startTextObject(const librevenge::RVNGPropertyList &propList) override;
83
84 void endTextObject() override;
85
86 void insertTab() override;
87
88 void insertSpace() override;
89
90 void insertText(const librevenge::RVNGString &text) override;
91
92 void insertLineBreak() override;
93
94 void insertField(const librevenge::RVNGPropertyList &propList) override;
95
96 void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override;
97
98 void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override;
99
100 void closeOrderedListLevel() override;
101
102 void closeUnorderedListLevel() override;
103
104 void openListElement(const librevenge::RVNGPropertyList &propList) override;
105
106 void closeListElement() override;
107
108 void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override;
109
110 void openParagraph(const librevenge::RVNGPropertyList &propList) override;
111
112 void closeParagraph() override;
113
114 void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override;
115
116 void openSpan(const librevenge::RVNGPropertyList &propList) override;
117
118 void closeSpan() override;
119
120 void openLink(const librevenge::RVNGPropertyList &propList) override;
121
122 void closeLink() override;
123
124 void startTableObject(const librevenge::RVNGPropertyList &propList) override;
125
126 void openTableRow(const librevenge::RVNGPropertyList &propList) override;
127
128 void closeTableRow() override;
129
130 void openTableCell(const librevenge::RVNGPropertyList &propList) override;
131
132 void closeTableCell() override;
133
134 void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override;
135
136 void endTableObject() override;
137
138 void startComment(const librevenge::RVNGPropertyList &propList) override;
139
140 void endComment() override;
141
142 void startNotes(const librevenge::RVNGPropertyList &propList) override;
143
144 void endNotes() override;
145
146 void defineChartStyle(const librevenge::RVNGPropertyList &propList) override;
147
148 void openChart(const librevenge::RVNGPropertyList &propList) override;
149
150 void closeChart() override;
151
152 void openChartTextObject(const librevenge::RVNGPropertyList &propList) override;
153
154 void closeChartTextObject() override;
155
156 void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override;
157
158 void closeChartPlotArea() override;
159
160 void insertChartAxis(const librevenge::RVNGPropertyList &propList) override;
161
162 void openChartSeries(const librevenge::RVNGPropertyList &propList) override;
163
164 void closeChartSeries() override;
165
166 void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override;
167
168 void closeAnimationSequence() override;
169
170 void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override;
171
172 void closeAnimationGroup() override;
173
174 void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override;
175
176 void closeAnimationIteration() override;
177
178 void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override;
179
180 void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override;
181
182 void insertAnimation(const librevenge::RVNGPropertyList &propList) override;
183
184 void insertEffect(const librevenge::RVNGPropertyList &propList) override;
185
186private:
187 std::shared_ptr<Impl> m_impl;
188};
189
190}
191
192#endif // INCLUDED_EPUBPAGEDGENERATOR_H
193
194/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBPagedGenerator::Impl
Definition EPUBPagedGenerator.cpp:25
libepubgen::EPUBPagedGenerator
Definition EPUBPagedGenerator.h:26
libepubgen::EPUBPagedGenerator::startTableObject
void startTableObject(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:310
libepubgen::EPUBPagedGenerator::closeTableRow
void closeTableRow() override
Definition EPUBPagedGenerator.cpp:322
libepubgen::EPUBPagedGenerator::insertTab
void insertTab() override
Definition EPUBPagedGenerator.cpp:199
libepubgen::EPUBPagedGenerator::openUnorderedListLevel
void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:231
libepubgen::EPUBPagedGenerator::insertMotionAnimation
void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:438
libepubgen::EPUBPagedGenerator::closeAnimationSequence
void closeAnimationSequence() override
Definition EPUBPagedGenerator.cpp:416
libepubgen::EPUBPagedGenerator::setStyle
void setStyle(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:117
libepubgen::EPUBPagedGenerator::closeOrderedListLevel
void closeOrderedListLevel() override
Definition EPUBPagedGenerator.cpp:238
libepubgen::EPUBPagedGenerator::endMasterSlide
void endMasterSlide() override
Definition EPUBPagedGenerator.cpp:113
libepubgen::EPUBPagedGenerator::endTableObject
void endTableObject() override
Definition EPUBPagedGenerator.cpp:342
libepubgen::EPUBPagedGenerator::openChart
void openChart(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:370
libepubgen::EPUBPagedGenerator::setDocumentMetaData
void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:85
libepubgen::EPUBPagedGenerator::defineChartStyle
void defineChartStyle(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:365
libepubgen::EPUBPagedGenerator::openLink
void openLink(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:300
libepubgen::EPUBPagedGenerator::insertEffect
void insertEffect(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:453
libepubgen::EPUBPagedGenerator::m_impl
std::shared_ptr< Impl > m_impl
Definition EPUBPagedGenerator.h:187
libepubgen::EPUBPagedGenerator::drawEllipse
void drawEllipse(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:159
libepubgen::EPUBPagedGenerator::setSplitMethod
void setSplitMethod(EPUBSplitMethod split)
Definition EPUBPagedGenerator.cpp:47
libepubgen::EPUBPagedGenerator::closeLink
void closeLink() override
Definition EPUBPagedGenerator.cpp:305
libepubgen::EPUBPagedGenerator::closeListElement
void closeListElement() override
Definition EPUBPagedGenerator.cpp:259
libepubgen::EPUBPagedGenerator::defineParagraphStyle
void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:266
libepubgen::EPUBPagedGenerator::drawPath
void drawPath(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:174
libepubgen::EPUBPagedGenerator::startComment
void startComment(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:347
libepubgen::EPUBPagedGenerator::openAnimationGroup
void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:420
libepubgen::EPUBPagedGenerator::setSplitHeadingLevel
void setSplitHeadingLevel(unsigned level)
Definition EPUBPagedGenerator.cpp:52
libepubgen::EPUBPagedGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:136
libepubgen::EPUBPagedGenerator::startDocument
void startDocument(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:75
libepubgen::EPUBPagedGenerator::closeAnimationGroup
void closeAnimationGroup() override
Definition EPUBPagedGenerator.cpp:425
libepubgen::EPUBPagedGenerator::closeSpan
void closeSpan() override
Definition EPUBPagedGenerator.cpp:295
libepubgen::EPUBPagedGenerator::startNotes
void startNotes(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:356
libepubgen::EPUBPagedGenerator::closeChartPlotArea
void closeChartPlotArea() override
Definition EPUBPagedGenerator.cpp:393
libepubgen::EPUBPagedGenerator::closeChartTextObject
void closeChartTextObject() override
Definition EPUBPagedGenerator.cpp:384
libepubgen::EPUBPagedGenerator::drawPolygon
void drawPolygon(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:164
libepubgen::EPUBPagedGenerator::closeAnimationIteration
void closeAnimationIteration() override
Definition EPUBPagedGenerator.cpp:434
libepubgen::EPUBPagedGenerator::drawGraphicObject
void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:179
libepubgen::EPUBPagedGenerator::openParagraph
void openParagraph(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:271
libepubgen::EPUBPagedGenerator::endEmbeddedGraphics
void endEmbeddedGraphics() override
Definition EPUBPagedGenerator.cpp:141
libepubgen::EPUBPagedGenerator::openAnimationIteration
void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:429
libepubgen::EPUBPagedGenerator::setSplitSize
void setSplitSize(unsigned size)
Definition EPUBPagedGenerator.cpp:57
libepubgen::EPUBPagedGenerator::startLayer
void startLayer(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:127
libepubgen::EPUBPagedGenerator::closeTableCell
void closeTableCell() override
Definition EPUBPagedGenerator.cpp:332
libepubgen::EPUBPagedGenerator::closeParagraph
void closeParagraph() override
Definition EPUBPagedGenerator.cpp:278
libepubgen::EPUBPagedGenerator::endNotes
void endNotes() override
Definition EPUBPagedGenerator.cpp:361
libepubgen::EPUBPagedGenerator::insertChartAxis
void insertChartAxis(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:397
libepubgen::EPUBPagedGenerator::drawRectangle
void drawRectangle(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:154
libepubgen::EPUBPagedGenerator::EPUBPagedGenerator
EPUBPagedGenerator(EPUBPackage *package, int version)
Definition EPUBPagedGenerator.cpp:70
libepubgen::EPUBPagedGenerator::endSlide
void endSlide() override
Definition EPUBPagedGenerator.cpp:104
libepubgen::EPUBPagedGenerator::closeGroup
void closeGroup() override
Definition EPUBPagedGenerator.cpp:150
libepubgen::EPUBPagedGenerator::openListElement
void openListElement(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:252
libepubgen::EPUBPagedGenerator::startMasterSlide
void startMasterSlide(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:108
libepubgen::EPUBPagedGenerator::endTextObject
void endTextObject() override
Definition EPUBPagedGenerator.cpp:194
libepubgen::EPUBPagedGenerator::startTextObject
void startTextObject(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:189
libepubgen::EPUBPagedGenerator::openTableCell
void openTableCell(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:327
libepubgen::EPUBPagedGenerator::insertCoveredTableCell
void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:337
libepubgen::EPUBPagedGenerator::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:402
libepubgen::EPUBPagedGenerator::insertField
void insertField(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:219
libepubgen::EPUBPagedGenerator::insertColorAnimation
void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:443
libepubgen::EPUBPagedGenerator::startSlide
void startSlide(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:97
libepubgen::EPUBPagedGenerator::openTableRow
void openTableRow(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:317
libepubgen::EPUBPagedGenerator::defineCharacterStyle
void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:285
libepubgen::EPUBPagedGenerator::insertSpace
void insertSpace() override
Definition EPUBPagedGenerator.cpp:204
libepubgen::EPUBPagedGenerator::openGroup
void openGroup(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:145
libepubgen::EPUBPagedGenerator::endComment
void endComment() override
Definition EPUBPagedGenerator.cpp:352
libepubgen::EPUBPagedGenerator::drawPolyline
void drawPolyline(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:169
libepubgen::EPUBPagedGenerator::openChartTextObject
void openChartTextObject(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:379
libepubgen::EPUBPagedGenerator::endDocument
void endDocument() override
Definition EPUBPagedGenerator.cpp:80
libepubgen::EPUBPagedGenerator::endLayer
void endLayer() override
Definition EPUBPagedGenerator.cpp:132
libepubgen::EPUBPagedGenerator::openChartPlotArea
void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:388
libepubgen::EPUBPagedGenerator::closeChart
void closeChart() override
Definition EPUBPagedGenerator.cpp:375
libepubgen::EPUBPagedGenerator::openSpan
void openSpan(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:290
libepubgen::EPUBPagedGenerator::openOrderedListLevel
void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:224
libepubgen::EPUBPagedGenerator::insertLineBreak
void insertLineBreak() override
Definition EPUBPagedGenerator.cpp:214
libepubgen::EPUBPagedGenerator::closeUnorderedListLevel
void closeUnorderedListLevel() override
Definition EPUBPagedGenerator.cpp:245
libepubgen::EPUBPagedGenerator::setSlideTransition
void setSlideTransition(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:122
libepubgen::EPUBPagedGenerator::insertAnimation
void insertAnimation(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:448
libepubgen::EPUBPagedGenerator::insertText
void insertText(const librevenge::RVNGString &text) override
Definition EPUBPagedGenerator.cpp:209
libepubgen::EPUBPagedGenerator::drawConnector
void drawConnector(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:184
libepubgen::EPUBPagedGenerator::openAnimationSequence
void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:411
libepubgen::EPUBPagedGenerator::defineEmbeddedFont
void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override
Definition EPUBPagedGenerator.cpp:92
libepubgen::EPUBPagedGenerator::closeChartSeries
void closeChartSeries() override
Definition EPUBPagedGenerator.cpp:407
libepubgen
Definition EPUBBinaryContent.cpp:15