RVNGDummyTextGenerator.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 RVNGDUMMYTEXTGENERATOR_H
16 #define RVNGDUMMYTEXTGENERATOR_H
17 
19 
20 #include <librevenge/librevenge.h>
21 
22 namespace librevenge
23 {
24 
26 {
27  // disable copying
29  RVNGDummyTextGenerator &operator=(const RVNGDummyTextGenerator &other);
30 
31 public:
32  RVNGDummyTextGenerator();
33  ~RVNGDummyTextGenerator();
34 
35  void setDocumentMetaData(const RVNGPropertyList &propList);
36 
37  void startDocument(const RVNGPropertyList &propList);
38  void endDocument();
39 
40  void defineEmbeddedFont(const RVNGPropertyList &propList);
41 
42  void definePageStyle(const RVNGPropertyList &propList);
43  void openPageSpan(const RVNGPropertyList &propList);
44  void closePageSpan();
45  void openHeader(const RVNGPropertyList &propList);
46  void closeHeader();
47  void openFooter(const RVNGPropertyList &propList);
48  void closeFooter();
49 
50  void defineParagraphStyle(const RVNGPropertyList &propList);
51  void openParagraph(const RVNGPropertyList &propList);
52  void closeParagraph();
53 
54  void defineCharacterStyle(const RVNGPropertyList &propList);
55  void openSpan(const RVNGPropertyList &propList);
56  void closeSpan();
57 
58  void openLink(const RVNGPropertyList &propList);
59  void closeLink();
60 
61  void defineSectionStyle(const RVNGPropertyList &propList);
62  void openSection(const RVNGPropertyList &propList);
63  void closeSection();
64 
65  void insertTab();
66  void insertSpace();
67  void insertText(const RVNGString &text);
68  void insertLineBreak();
69  void insertField(const RVNGPropertyList &propList);
70 
71  void openOrderedListLevel(const RVNGPropertyList &propList);
72  void openUnorderedListLevel(const RVNGPropertyList &propList);
73  void closeOrderedListLevel();
74  void closeUnorderedListLevel();
75  void openListElement(const RVNGPropertyList &propList);
76  void closeListElement();
77 
78  void openFootnote(const RVNGPropertyList &propList);
79  void closeFootnote();
80  void openEndnote(const RVNGPropertyList &propList);
81  void closeEndnote();
82  void openComment(const RVNGPropertyList &propList);
83  void closeComment();
84  void openTextBox(const RVNGPropertyList &propList);
85  void closeTextBox();
86 
87  void openTable(const RVNGPropertyList &propList);
88  void openTableRow(const RVNGPropertyList &propList);
89  void closeTableRow();
90  void openTableCell(const RVNGPropertyList &propList);
91  void closeTableCell();
92  void insertCoveredTableCell(const RVNGPropertyList &propList);
93  void closeTable();
94 
95  void openFrame(const RVNGPropertyList &propList);
96  void closeFrame();
97 
98  void openGroup(const librevenge::RVNGPropertyList &propList);
99  void closeGroup();
100 
101  void defineGraphicStyle(const librevenge::RVNGPropertyList &propList);
102  void drawRectangle(const librevenge::RVNGPropertyList &propList);
103  void drawEllipse(const librevenge::RVNGPropertyList &propList);
104  void drawPolygon(const librevenge::RVNGPropertyList &propList);
105  void drawPolyline(const librevenge::RVNGPropertyList &propList);
106  void drawPath(const librevenge::RVNGPropertyList &propList);
107  void drawConnector(const RVNGPropertyList &propList);
108 
109  void insertBinaryObject(const RVNGPropertyList &propList);
110  void insertEquation(const RVNGPropertyList &propList);
111 };
112 
113 }
114 
115 #endif /* RVNGDUMMYTEXTGENERATOR_H */
116 
117 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition: RVNGBinaryData.cpp:39
Definition: RVNGTextInterface.h:39
Definition: RVNGDummyTextGenerator.h:25
#define REVENGE_GENERATORS_API
Definition: librevenge-generators-api.h:34
Definition: RVNGPropertyList.h:38
UTF-8 string.
Definition: RVNGString.h:33

Generated for librevenge by doxygen 1.8.10