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
27#include "RVNGStringVector.h"
28
29namespace librevenge
30{
31
33
35{
36public:
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);
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);
78
79 void openUnorderedListLevel(const RVNGPropertyList &propList);
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
101private:
105};
106
107}
108
109#endif // RVNGSVGDRAWINGGENERATOR_H
110
111/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition RVNGDrawingInterface.h:32
Definition RVNGPropertyList.h:39
void endLayer()
Definition RVNGSVGDrawingGenerator.cpp:795
void closeListElement()
Called when a list element should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1054
void setStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:817
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:858
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1048
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGSVGDrawingGenerator.cpp:1151
void endDocument()
Definition RVNGSVGDrawingGenerator.cpp:698
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGSVGDrawingGenerator.cpp:973
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:851
void startPage(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:702
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:822
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1129
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:835
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1107
void endPage()
Definition RVNGSVGDrawingGenerator.cpp:730
void startDocument(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:697
void closeGroup()
Definition RVNGSVGDrawingGenerator.cpp:812
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1127
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGSVGDrawingGenerator.cpp:1058
void closeSpan()
Called when a text span is closed.
Definition RVNGSVGDrawingGenerator.cpp:1099
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:925
void closeLink()
Called when the current link is closed.
Definition RVNGSVGDrawingGenerator.cpp:1105
void endEmbeddedGraphics()
Definition RVNGSVGDrawingGenerator.cpp:801
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGSVGDrawingGenerator.cpp:699
void startMasterPage(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:737
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1047
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGSVGDrawingGenerator.cpp:1057
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1051
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:800
void endTableObject()
Called when the current table is closed.
Definition RVNGSVGDrawingGenerator.cpp:1185
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1053
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGSVGDrawingGenerator.cpp:1173
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGSVGDrawingGenerator.cpp:1139
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGSVGDrawingGenerator.cpp:700
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1104
void endMasterPage()
Definition RVNGSVGDrawingGenerator.cpp:756
RVNGSVGDrawingGenerator & operator=(const RVNGSVGDrawingGenerator &)
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1112
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGSVGDrawingGenerator.cpp:1179
void startLayer(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:777
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:1060
void startTextObject(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:978
RVNGSVGDrawingGenerator(const RVNGSVGDrawingGenerator &)
RVNGSVGDrawingGenerator(RVNGStringVector &vec, const RVNGString &nmspace)
Definition RVNGSVGDrawingGenerator.cpp:687
void endTextObject()
Definition RVNGSVGDrawingGenerator.cpp:1042
RVNGSVGDrawingGeneratorPrivate * m_pImpl
Definition RVNGSVGDrawingGenerator.h:104
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1050
void closeTableRow()
Called when the current table row is closed.
Definition RVNGSVGDrawingGenerator.cpp:1145
void openGroup(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:803
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1117
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1122
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGSVGDrawingGenerator.cpp:1070
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:1056
void drawPath(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:865
Definition RVNGStringVector.h:33
UTF-8 string.
Definition RVNGString.h:35
#define REVENGE_API
Definition librevenge-api.h:34
Definition RVNGBinaryData.cpp:41
Definition RVNGSVGDrawingGenerator.cpp:190

Generated for librevenge by doxygen 1.18.0