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 
21 #include <librevenge/librevenge.h>
22 
23 namespace librevenge
24 {
25 
26 struct RVNGTextDrawingGeneratorImpl;
27 
29 {
30  // disable copying
32  RVNGTextDrawingGenerator &operator=(const RVNGTextDrawingGenerator &other);
33 
34 public:
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();
48  void startEmbeddedGraphics(const RVNGPropertyList &);
49  void endEmbeddedGraphics();
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 &);
61  void drawGraphicObject(const RVNGPropertyList &);
62  void drawConnector(const RVNGPropertyList &propList);
63  void startTextObject(const RVNGPropertyList &);
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);
75  void closeOrderedListLevel();
76  void openUnorderedListLevel(const RVNGPropertyList &propList);
77  void closeUnorderedListLevel();
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 
99 private:
101 };
102 
103 }
104 
105 #endif // RVNGTEXTDRAWINGGENERATOR_H
106 
107 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition: RVNGTextDrawingGenerator.h:28
Definition: RVNGBinaryData.cpp:38
Definition: RVNGDrawingInterface.h:31
RVNGTextDrawingGeneratorImpl * m_impl
Definition: RVNGTextDrawingGenerator.h:100
Definition: RVNGTextDrawingGenerator.cpp:23
#define REVENGE_GENERATORS_API
Definition: librevenge-generators-api.h:34
Definition: RVNGPropertyList.h:38
UTF-8 string.
Definition: RVNGString.h:33
Definition: RVNGStringVector.h:32

Generated for librevenge by doxygen 1.8.14