RVNGSVGDrawingGenerator.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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
34 class REVENGE_API RVNGSVGDrawingGenerator : public RVNGDrawingInterface
35 {
36 public:
37 RVNGSVGDrawingGenerator(RVNGStringVector &vec, const RVNGString &nmspace);
38 ~RVNGSVGDrawingGenerator();
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:
102 RVNGSVGDrawingGenerator(const RVNGSVGDrawingGenerator &);
103 RVNGSVGDrawingGenerator &operator=(const RVNGSVGDrawingGenerator &);
104 RVNGSVGDrawingGeneratorPrivate *m_pImpl;
105 };
106
107 }
108
109 #endif // RVNGSVGDRAWINGGENERATOR_H
110
111 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge
Definition: RVNGBinaryData.cpp:38
librevenge::RVNGDrawingInterface
Definition: RVNGDrawingInterface.h:31
RVNGDrawingInterface.h
librevenge::RVNGSVGDrawingGenerator::m_pImpl
RVNGSVGDrawingGeneratorPrivate * m_pImpl
Definition: RVNGSVGDrawingGenerator.h:104
RVNGStringVector.h
librevenge::RVNGSVGDrawingGenerator
Definition: RVNGSVGDrawingGenerator.h:34
librevenge::RVNGSVGDrawingGeneratorPrivate
Definition: RVNGSVGDrawingGenerator.cpp:187
REVENGE_API
#define REVENGE_API
Definition: librevenge-api.h:34
librevenge-api.h
librevenge::RVNGPropertyList
Definition: RVNGPropertyList.h:38
librevenge::RVNGString
Definition: RVNGString.h:31
librevenge::RVNGStringVector
Definition: RVNGStringVector.h:32