RVNGTextDrawingGenerator.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#ifndef RVNGTEXTDRAWINGGENERATOR_H
16#define RVNGTEXTDRAWINGGENERATOR_H
17
19
22
23namespace librevenge
24{
25
27
29{
30 // disable copying
33
34public:
37
38 void startDocument(const RVNGPropertyList &propList);
39 void endDocument();
40 void setDocumentMetaData(const RVNGPropertyList &propList);
41 void defineEmbeddedFont(const RVNGPropertyList &propList);
42 void startPage(const RVNGPropertyList &);
43 void endPage();
44 void startMasterPage(const RVNGPropertyList &propList);
45 void endMasterPage();
46 void startLayer(const RVNGPropertyList &);
47 void endLayer();
50
51 void openGroup(const RVNGPropertyList &propList);
52 void closeGroup();
53
54 void setStyle(const RVNGPropertyList &);
55
56 void drawRectangle(const RVNGPropertyList &);
57 void drawEllipse(const RVNGPropertyList &);
58 void drawPolyline(const RVNGPropertyList &);
59 void drawPolygon(const RVNGPropertyList &);
60 void drawPath(const RVNGPropertyList &);
62 void drawConnector(const RVNGPropertyList &propList);
64 void endTextObject();
65
66 void startTableObject(const RVNGPropertyList &propList);
67 void openTableRow(const RVNGPropertyList &propList);
68 void closeTableRow();
69 void openTableCell(const RVNGPropertyList &propList);
70 void closeTableCell();
71 void insertCoveredTableCell(const RVNGPropertyList &propList);
72 void endTableObject();
73
74 void openOrderedListLevel(const RVNGPropertyList &propList);
76 void openUnorderedListLevel(const RVNGPropertyList &propList);
78
79 void openListElement(const RVNGPropertyList &propList);
80 void closeListElement();
81
82 void defineParagraphStyle(const RVNGPropertyList &propList);
83 void openParagraph(const RVNGPropertyList &propList);
84 void closeParagraph();
85
86 void defineCharacterStyle(const RVNGPropertyList &propList);
87 void openSpan(const RVNGPropertyList &propList);
88 void closeSpan();
89
90 void openLink(const RVNGPropertyList &propList);
91 void closeLink();
92
93 void insertTab();
94 void insertSpace();
95 void insertText(const RVNGString &text);
96 void insertLineBreak();
97 void insertField(const RVNGPropertyList &propList);
98
99private:
101};
102
103}
104
105#endif // RVNGTEXTDRAWINGGENERATOR_H
106
107/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition RVNGDrawingInterface.h:32
Definition RVNGPropertyList.h:39
Definition RVNGStringVector.h:33
UTF-8 string.
Definition RVNGString.h:34
void startLayer(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:66
void drawPath(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:80
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGTextDrawingGenerator.cpp:111
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGTextDrawingGenerator.cpp:113
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGTextDrawingGenerator.cpp:86
void endPage()
Definition RVNGTextDrawingGenerator.cpp:52
RVNGTextDrawingGeneratorImpl * m_impl
Definition RVNGTextDrawingGenerator.h:100
RVNGTextDrawingGenerator(const RVNGTextDrawingGenerator &other)
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGTextDrawingGenerator.cpp:92
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGTextDrawingGenerator.cpp:126
void endTextObject()
Definition RVNGTextDrawingGenerator.cpp:84
void startTextObject(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:83
void startPage(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:50
void closeSpan()
Called when a text span is closed.
Definition RVNGTextDrawingGenerator.cpp:105
void startEmbeddedGraphics(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:68
void drawRectangle(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:76
void closeListElement()
Called when a list element should be closed.
Definition RVNGTextDrawingGenerator.cpp:93
void drawPolyline(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:78
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGTextDrawingGenerator.cpp:96
void endEmbeddedGraphics()
Definition RVNGTextDrawingGenerator.cpp:69
void closeTableRow()
Called when the current table row is closed.
Definition RVNGTextDrawingGenerator.cpp:123
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGTextDrawingGenerator.cpp:104
void endLayer()
Definition RVNGTextDrawingGenerator.cpp:67
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGTextDrawingGenerator.cpp:48
void endMasterPage()
Definition RVNGTextDrawingGenerator.cpp:60
void setStyle(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:74
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGTextDrawingGenerator.cpp:82
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGTextDrawingGenerator.cpp:124
RVNGTextDrawingGenerator & operator=(const RVNGTextDrawingGenerator &other)
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGTextDrawingGenerator.cpp:49
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGTextDrawingGenerator.cpp:89
void drawPolygon(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:79
void drawGraphicObject(const RVNGPropertyList &)
Called when a binary/raster object should be inserted.
Definition RVNGTextDrawingGenerator.cpp:81
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGTextDrawingGenerator.cpp:87
void closeGroup()
Definition RVNGTextDrawingGenerator.cpp:72
void endDocument()
Definition RVNGTextDrawingGenerator.cpp:47
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGTextDrawingGenerator.cpp:122
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGTextDrawingGenerator.cpp:119
void drawEllipse(const RVNGPropertyList &)
Definition RVNGTextDrawingGenerator.cpp:77
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGTextDrawingGenerator.cpp:107
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGTextDrawingGenerator.cpp:103
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGTextDrawingGenerator.cpp:118
void closeLink()
Called when the current link is closed.
Definition RVNGTextDrawingGenerator.cpp:108
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGTextDrawingGenerator.cpp:125
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGTextDrawingGenerator.cpp:95
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGTextDrawingGenerator.cpp:121
void startMasterPage(const RVNGPropertyList &propList)
Definition RVNGTextDrawingGenerator.cpp:58
void startDocument(const RVNGPropertyList &propList)
Definition RVNGTextDrawingGenerator.cpp:46
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGTextDrawingGenerator.cpp:110
void endTableObject()
Called when the current table is closed.
Definition RVNGTextDrawingGenerator.cpp:127
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGTextDrawingGenerator.cpp:98
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGTextDrawingGenerator.cpp:90
void openGroup(const RVNGPropertyList &propList)
Definition RVNGTextDrawingGenerator.cpp:71
#define REVENGE_GENERATORS_API
Definition librevenge-generators-api.h:34
Definition RVNGBinaryData.cpp:40
Definition RVNGTextDrawingGenerator.cpp:23

Generated for librevenge by doxygen 1.14.0