IWORKTextRedirector.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 libetonyek 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 IWORKTEXTREDIRECTOR_H_INCLUDED
11 #define IWORKTEXTREDIRECTOR_H_INCLUDED
12
13 #include "IWORKDocumentInterface.h"
14
15 namespace libetonyek
16 {
17
18 class IWORKTextRedirector : public IWORKDocumentInterface
19 {
20 public:
21 explicit IWORKTextRedirector(librevenge::RVNGTextInterface *iface);
22
23 void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override;
24
25 void startDocument(const librevenge::RVNGPropertyList &propList) override;
26 void endDocument() override;
27
28 void definePageStyle(const librevenge::RVNGPropertyList &propList) override;
29
30 void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override;
31
32 void openPageSpan(const librevenge::RVNGPropertyList &propList) override;
33 void closePageSpan() override;
34
35 void startSlide(const librevenge::RVNGPropertyList &propList) override;
36 void endSlide() override;
37
38 void startMasterSlide(const librevenge::RVNGPropertyList &propList) override;
39 void endMasterSlide() override;
40
41 void setStyle(const librevenge::RVNGPropertyList &propList) override;
42
43 void startLayer(const librevenge::RVNGPropertyList &propList) override;
44 void endLayer() override;
45
46 void openHeader(const librevenge::RVNGPropertyList &propList) override;
47 void closeHeader() override;
48
49 void openFooter(const librevenge::RVNGPropertyList &propList) override;
50 void closeFooter() override;
51
52 void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override;
53
54 void openParagraph(const librevenge::RVNGPropertyList &propList) override;
55 void closeParagraph() override;
56
57 void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override;
58
59 void openSpan(const librevenge::RVNGPropertyList &propList) override;
60 void closeSpan() override;
61
62 void openLink(const librevenge::RVNGPropertyList &propList) override;
63 void closeLink() override;
64
65 void defineSectionStyle(const librevenge::RVNGPropertyList &propList) override;
66
67 void openSection(const librevenge::RVNGPropertyList &propList) override;
68 void closeSection() override;
69
70 void insertTab() override;
71 void insertSpace() override;
72 void insertText(const librevenge::RVNGString &text) override;
73 void insertLineBreak() override;
74
75 void insertField(const librevenge::RVNGPropertyList &propList) override;
76
77 void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override;
78 void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override;
79 void closeOrderedListLevel() override;
80 void closeUnorderedListLevel() override;
81 void openListElement(const librevenge::RVNGPropertyList &propList) override;
82 void closeListElement() override;
83
84 void openFootnote(const librevenge::RVNGPropertyList &propList) override;
85 void closeFootnote() override;
86
87 void openEndnote(const librevenge::RVNGPropertyList &propList) override;
88 void closeEndnote() override;
89
90 void openComment(const librevenge::RVNGPropertyList &propList) override;
91 void closeComment() override;
92
93 void openTextBox(const librevenge::RVNGPropertyList &propList) override;
94 void closeTextBox() override;
95
96 void defineSheetNumberingStyle(const librevenge::RVNGPropertyList &propList) override;
97
98 void openTable(const librevenge::RVNGPropertyList &propList) override;
99 void openTableRow(const librevenge::RVNGPropertyList &propList) override;
100 void closeTableRow() override;
101 void openTableCell(const librevenge::RVNGPropertyList &propList) override;
102 void closeTableCell() override;
103 void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override;
104 void closeTable() override;
105 void openFrame(const librevenge::RVNGPropertyList &propList) override;
106 void closeFrame() override;
107 void insertBinaryObject(const librevenge::RVNGPropertyList &propList) override;
108 void insertEquation(const librevenge::RVNGPropertyList &propList) override;
109
110 void openGroup(const librevenge::RVNGPropertyList &propList) override;
111 void closeGroup() override;
112
113 void defineGraphicStyle(const librevenge::RVNGPropertyList &propList) override;
114
115 void drawRectangle(const librevenge::RVNGPropertyList &propList) override;
116 void drawEllipse(const librevenge::RVNGPropertyList &propList) override;
117 void drawPolygon(const librevenge::RVNGPropertyList &propList) override;
118 void drawPolyline(const librevenge::RVNGPropertyList &propList) override;
119 void drawPath(const librevenge::RVNGPropertyList &propList) override;
120
121 void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override;
122
123 void drawConnector(const librevenge::RVNGPropertyList &propList) override;
124
125 void startTextObject(const librevenge::RVNGPropertyList &propList) override;
126 void endTextObject() override;
127
128 void startNotes(const librevenge::RVNGPropertyList &propList) override;
129 void endNotes() override;
130
131 void defineChartStyle(const librevenge::RVNGPropertyList &propList) override;
132
133 void openChart(const librevenge::RVNGPropertyList &propList) override;
134 void closeChart() override;
135
136 void openChartTextObject(const librevenge::RVNGPropertyList &propList) override;
137 void closeChartTextObject() override;
138
139 void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override;
140 void closeChartPlotArea() override;
141 void insertChartAxis(const librevenge::RVNGPropertyList &propList) override;
142 void openChartSeries(const librevenge::RVNGPropertyList &propList) override;
143 void closeChartSeries() override;
144
145 void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override;
146 void closeAnimationSequence() override;
147
148 void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override;
149 void closeAnimationGroup() override;
150
151 void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override;
152 void closeAnimationIteration() override;
153
154 void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override;
155 void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override;
156 void insertAnimation(const librevenge::RVNGPropertyList &propList) override;
157 void insertEffect(const librevenge::RVNGPropertyList &propList) override;
158
159 private:
160 IWORKTextRedirector(const IWORKTextRedirector &);
161 IWORKTextRedirector &operator=(const IWORKTextRedirector &);
162 librevenge::RVNGTextInterface *const m_iface;
163 };
164
165 }
166
167 #endif // IWORKTEXTREDIRECTOR_H_INCLUDED
168
169 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::IWORKTextRedirector::closeComment
void closeComment() override
Definition: IWORKTextRedirector.cpp:225
libetonyek::IWORKTextRedirector::openFrame
void openFrame(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:272
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKTextRedirector::setStyle
void setStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:73
libetonyek::IWORKTextRedirector::endTextObject
void endTextObject() override
Definition: IWORKTextRedirector.cpp:338
libetonyek::IWORKTextRedirector::openFootnote
void openFootnote(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:203
libetonyek::IWORKTextRedirector::operator=
IWORKTextRedirector & operator=(const IWORKTextRedirector &)
libetonyek::IWORKTextRedirector::closeChartSeries
void closeChartSeries() override
Definition: IWORKTextRedirector.cpp:391
libetonyek::IWORKTextRedirector::startTextObject
void startTextObject(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:334
libetonyek::IWORKTextRedirector::endSlide
void endSlide() override
Definition: IWORKTextRedirector.cpp:59
libetonyek::IWORKTextRedirector::startLayer
void startLayer(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:78
libetonyek::IWORKTextRedirector::insertAnimation
void insertAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:431
libetonyek::IWORKTextRedirector::closeLink
void closeLink() override
Definition: IWORKTextRedirector.cpp:137
libetonyek::IWORKTextRedirector::closeUnorderedListLevel
void closeUnorderedListLevel() override
Definition: IWORKTextRedirector.cpp:190
libetonyek::IWORKTextRedirector::closeListElement
void closeListElement() override
Definition: IWORKTextRedirector.cpp:198
libetonyek::IWORKTextRedirector::openSection
void openSection(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:147
libetonyek::IWORKTextRedirector::closePageSpan
void closePageSpan() override
Definition: IWORKTextRedirector.cpp:50
libetonyek::IWORKTextRedirector::openGroup
void openGroup(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:289
libetonyek::IWORKTextRedirector::closeSection
void closeSection() override
Definition: IWORKTextRedirector.cpp:151
libetonyek::IWORKTextRedirector::startMasterSlide
void startMasterSlide(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:64
libetonyek::IWORKTextRedirector::openTextBox
void openTextBox(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:230
libetonyek::IWORKTextRedirector::endDocument
void endDocument() override
Definition: IWORKTextRedirector.cpp:31
libetonyek::IWORKTextRedirector::openEndnote
void openEndnote(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:212
libetonyek::IWORKTextRedirector::closeEndnote
void closeEndnote() override
Definition: IWORKTextRedirector.cpp:216
libetonyek::IWORKTextRedirector::drawPolygon
void drawPolygon(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:311
libetonyek::IWORKTextRedirector::defineGraphicStyle
void defineGraphicStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:298
libetonyek::IWORKTextRedirector::closeChartPlotArea
void closeChartPlotArea() override
Definition: IWORKTextRedirector.cpp:379
libetonyek::IWORKTextRedirector::closeChartTextObject
void closeChartTextObject() override
Definition: IWORKTextRedirector.cpp:370
libetonyek::IWORKTextRedirector::openLink
void openLink(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:133
libetonyek::IWORKTextRedirector::openOrderedListLevel
void openOrderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:178
libetonyek::IWORKTextRedirector::openSpan
void openSpan(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:124
libetonyek::IWORKTextRedirector::openListElement
void openListElement(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:194
libetonyek::IWORKTextRedirector::defineCharacterStyle
void defineCharacterStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:119
libetonyek::IWORKTextRedirector::setDocumentMetaData
void setDocumentMetaData(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:22
libetonyek::IWORKToken::text
Definition: IWORKToken.h:465
libetonyek::IWORKDocumentInterface
Definition: IWORKDocumentInterface.h:18
libetonyek::IWORKTextRedirector::definePageStyle
void definePageStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:36
libetonyek::IWORKTextRedirector::closeHeader
void closeHeader() override
Definition: IWORKTextRedirector.cpp:91
libetonyek::IWORKTextRedirector::closeTable
void closeTable() override
Definition: IWORKTextRedirector.cpp:268
libetonyek::IWORKTextRedirector::insertEquation
void insertEquation(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:284
libetonyek::IWORKTextRedirector::insertEffect
void insertEffect(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:435
libetonyek::IWORKTextRedirector::closeTableRow
void closeTableRow() override
Definition: IWORKTextRedirector.cpp:252
libetonyek::IWORKTextRedirector::closeSpan
void closeSpan() override
Definition: IWORKTextRedirector.cpp:128
libetonyek::IWORKTextRedirector::openChartPlotArea
void openChartPlotArea(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:375
libetonyek::IWORKTextRedirector::openParagraph
void openParagraph(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:110
libetonyek::IWORKTextRedirector::insertCoveredTableCell
void insertCoveredTableCell(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:264
libetonyek::IWORKTextRedirector::insertBinaryObject
void insertBinaryObject(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:280
libetonyek::IWORKTextRedirector::endNotes
void endNotes() override
Definition: IWORKTextRedirector.cpp:347
libetonyek::IWORKTextRedirector::insertTab
void insertTab() override
Definition: IWORKTextRedirector.cpp:156
libetonyek::IWORKTextRedirector::defineChartStyle
void defineChartStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:352
libetonyek::IWORKTextRedirector::drawPolyline
void drawPolyline(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:315
IWORKDocumentInterface.h
libetonyek::IWORKTextRedirector::insertColorAnimation
void insertColorAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:427
libetonyek::IWORKTextRedirector::openChartTextObject
void openChartTextObject(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:366
libetonyek::IWORKTextRedirector::insertSpace
void insertSpace() override
Definition: IWORKTextRedirector.cpp:160
libetonyek::IWORKTextRedirector::closeFrame
void closeFrame() override
Definition: IWORKTextRedirector.cpp:276
libetonyek::IWORKTextRedirector::defineSheetNumberingStyle
void defineSheetNumberingStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:239
libetonyek::IWORKTextRedirector::defineParagraphStyle
void defineParagraphStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:105
libetonyek::IWORKTextRedirector::openFooter
void openFooter(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:96
libetonyek::IWORKTextRedirector::openComment
void openComment(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:221
libetonyek::IWORKTextRedirector::endLayer
void endLayer() override
Definition: IWORKTextRedirector.cpp:82
libetonyek::IWORKTextRedirector::closeAnimationGroup
void closeAnimationGroup() override
Definition: IWORKTextRedirector.cpp:409
libetonyek::IWORKTextRedirector::openAnimationSequence
void openAnimationSequence(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:396
libetonyek::IWORKTextRedirector::startSlide
void startSlide(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:55
libetonyek::IWORKTextRedirector::closeOrderedListLevel
void closeOrderedListLevel() override
Definition: IWORKTextRedirector.cpp:186
libetonyek::IWORKTextRedirector::openTableCell
void openTableCell(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:256
libetonyek::IWORKTextRedirector
Definition: IWORKTextRedirector.h:18
libetonyek::IWORKTextRedirector::startNotes
void startNotes(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:343
libetonyek::IWORKTextRedirector::openPageSpan
void openPageSpan(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:46
libetonyek::IWORKTextRedirector::openChart
void openChart(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:357
libetonyek::IWORKTextRedirector::openChartSeries
void openChartSeries(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:387
libetonyek::IWORKTextRedirector::drawEllipse
void drawEllipse(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:307
libetonyek::IWORKTextRedirector::openTableRow
void openTableRow(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:248
libetonyek::IWORKTextRedirector::closeChart
void closeChart() override
Definition: IWORKTextRedirector.cpp:361
libetonyek::IWORKTextRedirector::closeAnimationIteration
void closeAnimationIteration() override
Definition: IWORKTextRedirector.cpp:418
libetonyek::IWORKTextRedirector::openAnimationIteration
void openAnimationIteration(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:414
libetonyek::IWORKTextRedirector::defineEmbeddedFont
void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:41
libetonyek::IWORKTextRedirector::closeFootnote
void closeFootnote() override
Definition: IWORKTextRedirector.cpp:207
libetonyek::IWORKTextRedirector::insertChartAxis
void insertChartAxis(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:383
libetonyek::IWORKTextRedirector::m_iface
librevenge::RVNGTextInterface *const m_iface
Definition: IWORKTextRedirector.h:162
libetonyek::IWORKTextRedirector::closeTableCell
void closeTableCell() override
Definition: IWORKTextRedirector.cpp:260
libetonyek::IWORKTextRedirector::openHeader
void openHeader(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:87
libetonyek::IWORKTextRedirector::insertText
void insertText(const librevenge::RVNGString &text) override
Definition: IWORKTextRedirector.cpp:164
libetonyek::IWORKTextRedirector::openAnimationGroup
void openAnimationGroup(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:405
libetonyek::IWORKTextRedirector::insertField
void insertField(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:173
libetonyek::IWORKTextRedirector::openTable
void openTable(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:244
libetonyek::IWORKTextRedirector::closeTextBox
void closeTextBox() override
Definition: IWORKTextRedirector.cpp:234
libetonyek::IWORKTextRedirector::drawConnector
void drawConnector(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:329
libetonyek::IWORKTextRedirector::insertMotionAnimation
void insertMotionAnimation(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:423
libetonyek::IWORKTextRedirector::closeParagraph
void closeParagraph() override
Definition: IWORKTextRedirector.cpp:114
libetonyek::IWORKTextRedirector::IWORKTextRedirector
IWORKTextRedirector(librevenge::RVNGTextInterface *iface)
Definition: IWORKTextRedirector.cpp:17
libetonyek::IWORKTextRedirector::drawPath
void drawPath(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:319
libetonyek::IWORKTextRedirector::closeFooter
void closeFooter() override
Definition: IWORKTextRedirector.cpp:100
libetonyek::IWORKTextRedirector::drawRectangle
void drawRectangle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:303
libetonyek::IWORKTextRedirector::closeGroup
void closeGroup() override
Definition: IWORKTextRedirector.cpp:293
libetonyek::IWORKTextRedirector::drawGraphicObject
void drawGraphicObject(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:324
libetonyek::IWORKTextRedirector::endMasterSlide
void endMasterSlide() override
Definition: IWORKTextRedirector.cpp:68
libetonyek::IWORKTextRedirector::defineSectionStyle
void defineSectionStyle(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:142
libetonyek::IWORKTextRedirector::insertLineBreak
void insertLineBreak() override
Definition: IWORKTextRedirector.cpp:168
libetonyek::IWORKTextRedirector::openUnorderedListLevel
void openUnorderedListLevel(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:182
libetonyek::IWORKTextRedirector::closeAnimationSequence
void closeAnimationSequence() override
Definition: IWORKTextRedirector.cpp:400
libetonyek::IWORKTextRedirector::startDocument
void startDocument(const librevenge::RVNGPropertyList &propList) override
Definition: IWORKTextRedirector.cpp:27