EPUBPagedGenerator.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 <boost/shared_ptr.hpp>
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, EPUBSplitMethod method);
30
31 void setSplitHeadingLevel(unsigned level);
32 void setSplitSize(unsigned size);
33
34 virtual void startDocument(const librevenge::RVNGPropertyList &propList);
35
36 virtual void endDocument();
37
38 virtual void setDocumentMetaData(const librevenge::RVNGPropertyList &propList);
39
40 virtual void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList);
41
42 virtual void startSlide(const librevenge::RVNGPropertyList &propList);
43
44 virtual void endSlide();
45
46 virtual void startMasterSlide(const librevenge::RVNGPropertyList &propList);
47
48 virtual void endMasterSlide();
49
50 virtual void setStyle(const librevenge::RVNGPropertyList &propList);
51
52 virtual void setSlideTransition(const librevenge::RVNGPropertyList &propList);
53
54 virtual void startLayer(const librevenge::RVNGPropertyList &propList);
55
56 virtual void endLayer();
57
58 virtual void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList);
59
60 virtual void endEmbeddedGraphics();
61
62 virtual void openGroup(const librevenge::RVNGPropertyList &propList);
63
64 virtual void closeGroup();
65
66 virtual void drawRectangle(const librevenge::RVNGPropertyList &propList);
67
68 virtual void drawEllipse(const librevenge::RVNGPropertyList &propList);
69
70 virtual void drawPolygon(const librevenge::RVNGPropertyList &propList);
71
72 virtual void drawPolyline(const librevenge::RVNGPropertyList &propList);
73
74 virtual void drawPath(const librevenge::RVNGPropertyList &propList);
75
76 virtual void drawGraphicObject(const librevenge::RVNGPropertyList &propList);
77
78 virtual void drawConnector(const librevenge::RVNGPropertyList &propList);
79
80 virtual void startTextObject(const librevenge::RVNGPropertyList &propList);
81
82 virtual void endTextObject();
83
84 virtual void insertTab();
85
86 virtual void insertSpace();
87
88 virtual void insertText(const librevenge::RVNGString &text);
89
90 virtual void insertLineBreak();
91
92 virtual void insertField(const librevenge::RVNGPropertyList &propList);
93
94 virtual void openOrderedListLevel(const librevenge::RVNGPropertyList &propList);
95
96 virtual void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList);
97
98 virtual void closeOrderedListLevel();
99
100 virtual void closeUnorderedListLevel();
101
102 virtual void openListElement(const librevenge::RVNGPropertyList &propList);
103
104 virtual void closeListElement();
105
106 virtual void defineParagraphStyle(const librevenge::RVNGPropertyList &propList);
107
108 virtual void openParagraph(const librevenge::RVNGPropertyList &propList);
109
110 virtual void closeParagraph();
111
112 virtual void defineCharacterStyle(const librevenge::RVNGPropertyList &propList);
113
114 virtual void openSpan(const librevenge::RVNGPropertyList &propList);
115
116 virtual void closeSpan();
117
118 virtual void openLink(const librevenge::RVNGPropertyList &propList);
119
120 virtual void closeLink();
121
122 virtual void startTableObject(const librevenge::RVNGPropertyList &propList);
123
124 virtual void openTableRow(const librevenge::RVNGPropertyList &propList);
125
126 virtual void closeTableRow();
127
128 virtual void openTableCell(const librevenge::RVNGPropertyList &propList);
129
130 virtual void closeTableCell();
131
132 virtual void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList);
133
134 virtual void endTableObject();
135
136 virtual void startComment(const librevenge::RVNGPropertyList &propList);
137
138 virtual void endComment();
139
140 virtual void startNotes(const librevenge::RVNGPropertyList &propList);
141
142 virtual void endNotes();
143
144 virtual void defineChartStyle(const librevenge::RVNGPropertyList &propList);
145
146 virtual void openChart(const librevenge::RVNGPropertyList &propList);
147
148 virtual void closeChart();
149
150 virtual void openChartTextObject(const librevenge::RVNGPropertyList &propList);
151
152 virtual void closeChartTextObject();
153
154 virtual void openChartPlotArea(const librevenge::RVNGPropertyList &propList);
155
156 virtual void closeChartPlotArea();
157
158 virtual void insertChartAxis(const librevenge::RVNGPropertyList &propList);
159
160 virtual void openChartSeries(const librevenge::RVNGPropertyList &propList);
161
162 virtual void closeChartSeries();
163
164 virtual void openAnimationSequence(const librevenge::RVNGPropertyList &propList);
165
166 virtual void closeAnimationSequence();
167
168 virtual void openAnimationGroup(const librevenge::RVNGPropertyList &propList);
169
170 virtual void closeAnimationGroup();
171
172 virtual void openAnimationIteration(const librevenge::RVNGPropertyList &propList);
173
174 virtual void closeAnimationIteration();
175
176 virtual void insertMotionAnimation(const librevenge::RVNGPropertyList &propList);
177
178 virtual void insertColorAnimation(const librevenge::RVNGPropertyList &propList);
179
180 virtual void insertAnimation(const librevenge::RVNGPropertyList &propList);
181
182 virtual void insertEffect(const librevenge::RVNGPropertyList &propList);
183
184 private:
185 boost::shared_ptr<Impl> m_impl;
186 };
187
188 }
189
190 #endif // INCLUDED_EPUBPAGEDGENERATOR_H
191
192 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBPagedGenerator::defineChartStyle
virtual void defineChartStyle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:357
libepubgen::EPUBPagedGenerator::startLayer
virtual void startLayer(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:119
libepubgen::EPUBPagedGenerator::closeAnimationIteration
virtual void closeAnimationIteration()
Definition: EPUBPagedGenerator.cpp:426
libepubgen::EPUBPagedGenerator::endDocument
virtual void endDocument()
Definition: EPUBPagedGenerator.cpp:72
libepubgen::EPUBPagedGenerator::closeChartPlotArea
virtual void closeChartPlotArea()
Definition: EPUBPagedGenerator.cpp:385
libepubgen::EPUBPagedGenerator::insertField
virtual void insertField(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:211
libepubgen::EPUBPagedGenerator::endTableObject
virtual void endTableObject()
Definition: EPUBPagedGenerator.cpp:334
libepubgen::EPUBPagedGenerator::openOrderedListLevel
virtual void openOrderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:216
libepubgen::EPUBPagedGenerator::drawPath
virtual void drawPath(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:166
libepubgen::EPUBPagedGenerator::startNotes
virtual void startNotes(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:348
libepubgen::EPUBPagedGenerator::insertTab
virtual void insertTab()
Definition: EPUBPagedGenerator.cpp:191
libepubgen::EPUBPagedGenerator::startMasterSlide
virtual void startMasterSlide(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:100
libepubgen::EPUBPagedGenerator::openGroup
virtual void openGroup(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:137
libepubgen::EPUBPagedGenerator::closeOrderedListLevel
virtual void closeOrderedListLevel()
Definition: EPUBPagedGenerator.cpp:230
libepubgen::EPUBPagedGenerator::startComment
virtual void startComment(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:339
libepubgen::EPUBPagedGenerator::openTableCell
virtual void openTableCell(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:319
libepubgen::EPUBPagedGenerator::closeTableCell
virtual void closeTableCell()
Definition: EPUBPagedGenerator.cpp:324
libepubgen
Definition: EPUBBinarySink.cpp:12
libepubgen::EPUBPagedGenerator::endMasterSlide
virtual void endMasterSlide()
Definition: EPUBPagedGenerator.cpp:105
libepubgen::EPUBPagedGenerator::defineCharacterStyle
virtual void defineCharacterStyle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:277
libepubgen::EPUBPagedGenerator::startSlide
virtual void startSlide(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:89
libepubgen::EPUBPagedGenerator::endTextObject
virtual void endTextObject()
Definition: EPUBPagedGenerator.cpp:186
libepubgen::EPUBPagedGenerator::drawGraphicObject
virtual void drawGraphicObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:171
libepubgen::EPUBPagedGenerator::closeSpan
virtual void closeSpan()
Definition: EPUBPagedGenerator.cpp:287
libepubgen::EPUBPagedGenerator::closeParagraph
virtual void closeParagraph()
Definition: EPUBPagedGenerator.cpp:270
libepubgen::EPUBPagedGenerator::insertEffect
virtual void insertEffect(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:445
libepubgen::EPUBPagedGenerator::setStyle
virtual void setStyle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:109
libepubgen::EPUBPagedGenerator::endLayer
virtual void endLayer()
Definition: EPUBPagedGenerator.cpp:124
libepubgen::EPUBPagedGenerator
Definition: EPUBPagedGenerator.h:24
libepubgen::EPUBPagedGenerator::insertMotionAnimation
virtual void insertMotionAnimation(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:430
libepubgen::EPUBPagedGenerator::defineParagraphStyle
virtual void defineParagraphStyle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:258
libepubgen::EPUBPagedGenerator::startDocument
virtual void startDocument(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:67
libepubgen::EPUBPagedGenerator::setSplitSize
void setSplitSize(unsigned size)
Definition: EPUBPagedGenerator.cpp:49
libepubgen::EPUBPagedGenerator::setSlideTransition
virtual void setSlideTransition(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:114
libepubgen::EPUBPagedGenerator::closeUnorderedListLevel
virtual void closeUnorderedListLevel()
Definition: EPUBPagedGenerator.cpp:237
libepubgen::EPUBPagedGenerator::closeAnimationSequence
virtual void closeAnimationSequence()
Definition: EPUBPagedGenerator.cpp:408
libepubgen::EPUBPagedGenerator::openLink
virtual void openLink(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:292
libepubgen::EPUBPagedGenerator::drawPolygon
virtual void drawPolygon(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:156
libepubgen::EPUBPagedGenerator::openAnimationGroup
virtual void openAnimationGroup(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:412
libepubgen::EPUBPagedGenerator::openChart
virtual void openChart(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:362
libepubgen::EPUBPagedGenerator::closeChartSeries
virtual void closeChartSeries()
Definition: EPUBPagedGenerator.cpp:399
libepubgen::EPUBPagedGenerator::openSpan
virtual void openSpan(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:282
libepubgen::EPUBPagedGenerator::insertText
virtual void insertText(const librevenge::RVNGString &text)
Definition: EPUBPagedGenerator.cpp:201
libepubgen::EPUBPagedGenerator::insertCoveredTableCell
virtual void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:329
libepubgen::EPUBPagedGenerator::drawRectangle
virtual void drawRectangle(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:146
libepubgen::EPUBPagedGenerator::startEmbeddedGraphics
virtual void startEmbeddedGraphics(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:128
libepubgen::EPUBPagedGenerator::closeGroup
virtual void closeGroup()
Definition: EPUBPagedGenerator.cpp:142
libepubgen::EPUBPagedGenerator::setDocumentMetaData
virtual void setDocumentMetaData(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:77
libepubgen::EPUBPagedGenerator::m_impl
boost::shared_ptr< Impl > m_impl
Definition: EPUBPagedGenerator.h:185
libepubgen::EPUBPagedGenerator::endComment
virtual void endComment()
Definition: EPUBPagedGenerator.cpp:344
libepubgen::EPUBPagedGenerator::insertSpace
virtual void insertSpace()
Definition: EPUBPagedGenerator.cpp:196
libepubgen::EPUBPagedGenerator::closeChartTextObject
virtual void closeChartTextObject()
Definition: EPUBPagedGenerator.cpp:376
libepubgen::EPUBPagedGenerator::endNotes
virtual void endNotes()
Definition: EPUBPagedGenerator.cpp:353
libepubgen::EPUBPagedGenerator::openChartPlotArea
virtual void openChartPlotArea(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:380
libepubgen::EPUBPagedGenerator::closeTableRow
virtual void closeTableRow()
Definition: EPUBPagedGenerator.cpp:314
libepubgen::EPUBPagedGenerator::setSplitHeadingLevel
void setSplitHeadingLevel(unsigned level)
Definition: EPUBPagedGenerator.cpp:44
libepubgen::EPUBPagedGenerator::Impl
Definition: EPUBPagedGenerator.cpp:21
libepubgen::EPUBPagedGenerator::drawConnector
virtual void drawConnector(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:176
libepubgen::EPUBPagedGenerator::closeListElement
virtual void closeListElement()
Definition: EPUBPagedGenerator.cpp:251
libepubgen::EPUBPagedGenerator::EPUBPagedGenerator
EPUBPagedGenerator(EPUBPackage *package, EPUBSplitMethod method)
Definition: EPUBPagedGenerator.cpp:62
libepubgen::EPUBPagedGenerator::insertLineBreak
virtual void insertLineBreak()
Definition: EPUBPagedGenerator.cpp:206
libepubgen::EPUBPagedGenerator::endEmbeddedGraphics
virtual void endEmbeddedGraphics()
Definition: EPUBPagedGenerator.cpp:133
libepubgen::EPUBPagedGenerator::insertColorAnimation
virtual void insertColorAnimation(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:435
libepubgen::EPUBPagedGenerator::closeLink
virtual void closeLink()
Definition: EPUBPagedGenerator.cpp:297
libepubgen::EPUBPagedGenerator::defineEmbeddedFont
virtual void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:84
libepubgen::EPUBPagedGenerator::openChartTextObject
virtual void openChartTextObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:371
libepubgen::EPUBPagedGenerator::openParagraph
virtual void openParagraph(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:263
libepubgen::EPUBPagedGenerator::openChartSeries
virtual void openChartSeries(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:394
libepubgen::EPUBPagedGenerator::insertChartAxis
virtual void insertChartAxis(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:389
libepubgen::EPUBPagedGenerator::drawPolyline
virtual void drawPolyline(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:161
libepubgen::EPUBPagedGenerator::openTableRow
virtual void openTableRow(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:309
libepubgen::EPUBPagedGenerator::startTextObject
virtual void startTextObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:181
libepubgen::EPUBPagedGenerator::openListElement
virtual void openListElement(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:244
libepubgen::EPUBPagedGenerator::openAnimationSequence
virtual void openAnimationSequence(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:403
libepubgen::EPUBPagedGenerator::drawEllipse
virtual void drawEllipse(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:151
libepubgen::EPUBPagedGenerator::closeAnimationGroup
virtual void closeAnimationGroup()
Definition: EPUBPagedGenerator.cpp:417
libepubgen::EPUBPagedGenerator::startTableObject
virtual void startTableObject(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:302
libepubgen::EPUBPagedGenerator::endSlide
virtual void endSlide()
Definition: EPUBPagedGenerator.cpp:96
libepubgen::EPUBPagedGenerator::closeChart
virtual void closeChart()
Definition: EPUBPagedGenerator.cpp:367
libepubgen::EPUBPagedGenerator::insertAnimation
virtual void insertAnimation(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:440
libepubgen::EPUBPagedGenerator::openAnimationIteration
virtual void openAnimationIteration(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:421
libepubgen::EPUBPagedGenerator::openUnorderedListLevel
virtual void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList)
Definition: EPUBPagedGenerator.cpp:223