RVNGSVGDrawingGenerator.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  * Major Contributor(s):
10  * Copyright (C) 2006 Ariya Hidayat (ariya@kde.org)
11  * Copyright (C) 2005 Fridrich Strba (fridrich.strba@bluewin.ch)
12  *
13  * For minor contributions see the git repository.
14  *
15  * Alternatively, the contents of this file may be used under the terms
16  * of the GNU Lesser General Public License Version 2.1 or later
17  * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18  * applicable instead of those above.
19  */
20 
21 #ifndef RVNGSVGDRAWINGGENERATOR_H
22 #define RVNGSVGDRAWINGGENERATOR_H
23 
24 #include "librevenge-api.h"
25 
26 #include "RVNGDrawingInterface.h"
27 #include "RVNGStringVector.h"
28 
29 namespace librevenge
30 {
31 
32 struct RVNGSVGDrawingGeneratorPrivate;
33 
35 {
36 public:
39 
40  void startDocument(const RVNGPropertyList &propList);
41  void endDocument();
42  void setDocumentMetaData(const RVNGPropertyList &propList);
43  void defineEmbeddedFont(const RVNGPropertyList &propList);
44  void startPage(const RVNGPropertyList &propList);
45  void endPage();
46  void startMasterPage(const RVNGPropertyList &propList);
47  void endMasterPage();
48  void startLayer(const RVNGPropertyList &propList);
49  void endLayer();
50  void startEmbeddedGraphics(const RVNGPropertyList &propList);
51  void endEmbeddedGraphics();
52 
53  void openGroup(const RVNGPropertyList &propList);
54  void closeGroup();
55 
56  void setStyle(const RVNGPropertyList &propList);
57 
58  void drawRectangle(const RVNGPropertyList &propList);
59  void drawEllipse(const RVNGPropertyList &propList);
60  void drawPolyline(const RVNGPropertyList &propList);
61  void drawPolygon(const RVNGPropertyList &propList);
62  void drawPath(const RVNGPropertyList &propList);
63  void drawGraphicObject(const RVNGPropertyList &propList);
64  void drawConnector(const RVNGPropertyList &propList);
65  void startTextObject(const RVNGPropertyList &propList);
66  void endTextObject();
67 
68  void startTableObject(const RVNGPropertyList &propList);
69  void openTableRow(const RVNGPropertyList &propList);
70  void closeTableRow();
71  void openTableCell(const RVNGPropertyList &propList);
72  void closeTableCell();
73  void insertCoveredTableCell(const RVNGPropertyList &propList);
74  void endTableObject();
75 
76  void openOrderedListLevel(const RVNGPropertyList &propList);
77  void closeOrderedListLevel();
78 
79  void openUnorderedListLevel(const RVNGPropertyList &propList);
80  void closeUnorderedListLevel();
81  void openListElement(const RVNGPropertyList &propList);
82  void closeListElement();
83 
84  void defineParagraphStyle(const RVNGPropertyList &propList);
85  void openParagraph(const RVNGPropertyList &propList);
86  void closeParagraph();
87 
88  void defineCharacterStyle(const RVNGPropertyList &propList);
89  void openSpan(const RVNGPropertyList &propList);
90  void closeSpan();
91 
92  void openLink(const RVNGPropertyList &propList);
93  void closeLink();
94 
95  void insertTab();
96  void insertSpace();
97  void insertText(const RVNGString &text);
98  void insertLineBreak();
99  void insertField(const RVNGPropertyList &propList);
100 
101 private:
105 };
106 
107 }
108 
109 #endif // RVNGSVGDRAWINGGENERATOR_H
110 
111 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition: RVNGBinaryData.cpp:38
Definition: RVNGDrawingInterface.h:31
RVNGSVGDrawingGeneratorPrivate * m_pImpl
Definition: RVNGSVGDrawingGenerator.h:104
Definition: RVNGSVGDrawingGenerator.h:34
Definition: RVNGSVGDrawingGenerator.cpp:187
#define REVENGE_API
Definition: librevenge-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.10