RVNGDummyDrawingGenerator.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 RVNGDUMMYDDUMMYINGGENERATOR_H
16#define RVNGDUMMYDDUMMYINGGENERATOR_H
17
18#include "librevenge-generators-api.h"
19
20#include <librevenge/librevenge.h>
21
22 namespace librevenge
23{
24
25 class REVENGE_GENERATORS_API RVNGDummyDrawingGenerator : public RVNGDrawingInterface
26{
27 // disable copying
28 RVNGDummyDrawingGenerator(const RVNGDummyDrawingGenerator &other);
29 RVNGDummyDrawingGenerator &operator=(const RVNGDummyDrawingGenerator &other);
30
31 public:
32 RVNGDummyDrawingGenerator();
33
34 ~RVNGDummyDrawingGenerator();
35
36 void startDocument(const RVNGPropertyList &propList);
37 void endDocument();
38 void setDocumentMetaData(const RVNGPropertyList &propList);
39 void defineEmbeddedFont(const RVNGPropertyList &propList);
40 void startPage(const RVNGPropertyList &propList);
41 void endPage();
42 void startMasterPage(const RVNGPropertyList &propList);
43 void endMasterPage();
44 void startLayer(const RVNGPropertyList &propList);
45 void endLayer();
46 void startEmbeddedGraphics(const RVNGPropertyList &propList);
47 void endEmbeddedGraphics();
48
49 void openGroup(const RVNGPropertyList &propList);
50 void closeGroup();
51
52 void setStyle(const RVNGPropertyList &propList);
53
54 void drawRectangle(const RVNGPropertyList &propList);
55 void drawEllipse(const RVNGPropertyList &propList);
56 void drawPolyline(const RVNGPropertyList &propList);
57 void drawPolygon(const RVNGPropertyList &propList);
58 void drawPath(const RVNGPropertyList &propList);
59 void drawGraphicObject(const RVNGPropertyList &propList);
60 void drawConnector(const RVNGPropertyList &propList);
61 void startTextObject(const RVNGPropertyList &propList);
62 void endTextObject();
63
64 void startTableObject(const RVNGPropertyList &propList);
65 void openTableRow(const RVNGPropertyList &propList);
66 void closeTableRow();
67 void openTableCell(const RVNGPropertyList &propList);
68 void closeTableCell();
69 void insertCoveredTableCell(const RVNGPropertyList &propList);
70 void endTableObject();
71
72 void openOrderedListLevel(const RVNGPropertyList &propList);
73 void closeOrderedListLevel();
74 void openUnorderedListLevel(const RVNGPropertyList &propList);
75 void closeUnorderedListLevel();
76 void openListElement(const RVNGPropertyList &propList);
77 void closeListElement();
78
79 void defineParagraphStyle(const RVNGPropertyList &propList);
80 void openParagraph(const RVNGPropertyList &propList);
81 void closeParagraph();
82
83 void defineCharacterStyle(const RVNGPropertyList &propList);
84 void openSpan(const RVNGPropertyList &propList);
85 void closeSpan();
86
87 void openLink(const RVNGPropertyList &propList);
88 void closeLink();
89
90 void insertTab();
91 void insertSpace();
92 void insertText(const RVNGString &text);
93 void insertLineBreak();
94 void insertField(const RVNGPropertyList &propList);
95};
96
97} // namespace librevenge
98
99#endif // RVNGDUMMYDDUMMYINGGENERATOR_H
100
101/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGDrawingInterface
Definition: RVNGDrawingInterface.h:32
librevenge::RVNGDummyDrawingGenerator
Definition: RVNGDummyDrawingGenerator.h:26
librevenge::RVNGDummyDrawingGenerator::RVNGDummyDrawingGenerator
RVNGDummyDrawingGenerator(const RVNGDummyDrawingGenerator &other)
librevenge::RVNGDummyDrawingGenerator::operator=
RVNGDummyDrawingGenerator & operator=(const RVNGDummyDrawingGenerator &other)
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:39
librevenge::RVNGString
UTF-8 string.
Definition: RVNGString.h:34
librevenge-generators-api.h
REVENGE_GENERATORS_API
#define REVENGE_GENERATORS_API
Definition: librevenge-generators-api.h:34
librevenge.h
librevenge
Definition: RVNGBinaryData.cpp:40