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:784
void closeListElement()
Called when a list element should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1035
void setStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:806
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:847
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1029
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGSVGDrawingGenerator.cpp:1132
void endDocument()
Definition RVNGSVGDrawingGenerator.cpp:687
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGSVGDrawingGenerator.cpp:958
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:840
void startPage(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:691
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:811
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1110
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:824
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1088
void endPage()
Definition RVNGSVGDrawingGenerator.cpp:719
void startDocument(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:686
void closeGroup()
Definition RVNGSVGDrawingGenerator.cpp:801
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1108
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGSVGDrawingGenerator.cpp:1039
void closeSpan()
Called when a text span is closed.
Definition RVNGSVGDrawingGenerator.cpp:1080
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:914
void closeLink()
Called when the current link is closed.
Definition RVNGSVGDrawingGenerator.cpp:1086
void endEmbeddedGraphics()
Definition RVNGSVGDrawingGenerator.cpp:790
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGSVGDrawingGenerator.cpp:688
void startMasterPage(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:726
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1028
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGSVGDrawingGenerator.cpp:1038
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGSVGDrawingGenerator.cpp:1032
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:789
void endTableObject()
Called when the current table is closed.
Definition RVNGSVGDrawingGenerator.cpp:1166
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1034
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGSVGDrawingGenerator.cpp:1154
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGSVGDrawingGenerator.cpp:1120
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGSVGDrawingGenerator.cpp:689
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGSVGDrawingGenerator.cpp:1085
void endMasterPage()
Definition RVNGSVGDrawingGenerator.cpp:745
RVNGSVGDrawingGenerator & operator=(const RVNGSVGDrawingGenerator &)
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1093
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGSVGDrawingGenerator.cpp:1160
void startLayer(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:766
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:1041
void startTextObject(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:963
RVNGSVGDrawingGenerator(const RVNGSVGDrawingGenerator &)
RVNGSVGDrawingGenerator(RVNGStringVector &vec, const RVNGString &nmspace)
Definition RVNGSVGDrawingGenerator.cpp:676
void endTextObject()
Definition RVNGSVGDrawingGenerator.cpp:1023
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:1031
void closeTableRow()
Called when the current table row is closed.
Definition RVNGSVGDrawingGenerator.cpp:1126
void openGroup(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:792
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1098
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGSVGDrawingGenerator.cpp:1103
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGSVGDrawingGenerator.cpp:1051
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:1037
void drawPath(const RVNGPropertyList &propList)
Definition RVNGSVGDrawingGenerator.cpp:854
Definition RVNGStringVector.h:33
UTF-8 string.
Definition RVNGString.h:34
#define REVENGE_API
Definition librevenge-api.h:34
Definition RVNGBinaryData.cpp:40
Definition RVNGSVGDrawingGenerator.cpp:186

Generated for librevenge by doxygen 1.14.0