RVNGRawDrawingGenerator.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 * Copyright (C) 2004 Marc Oude Kotte (marc@solcon.nl)
13 *
14 * For minor contributions see the git repository.
15 *
16 * Alternatively, the contents of this file may be used under the terms
17 * of the GNU Lesser General Public License Version 2.1 or later
18 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
19 * applicable instead of those above.
20 */
21
22#ifndef RVNGRAWDRAWINGGENERATOR_H
23#define RVNGRAWDRAWINGGENERATOR_H
24
26
29
30namespace librevenge
31{
32
34
36{
37 // disable copying
40
41public:
42 RVNGRawDrawingGenerator(bool printCallgraphScore);
43
45
46 void startDocument(const RVNGPropertyList &propList);
47 void endDocument();
48 void setDocumentMetaData(const RVNGPropertyList &propList);
49 void defineEmbeddedFont(const RVNGPropertyList &propList);
50 void startPage(const RVNGPropertyList &propList);
51 void endPage();
52 void startMasterPage(const RVNGPropertyList &propList);
53 void endMasterPage();
54 void startLayer(const RVNGPropertyList &propList);
55 void endLayer();
56 void startEmbeddedGraphics(const RVNGPropertyList &propList);
58
59 void openGroup(const RVNGPropertyList &propList);
60 void closeGroup();
61
62 void setStyle(const RVNGPropertyList &propList);
63
64 void drawRectangle(const RVNGPropertyList &propList);
65 void drawEllipse(const RVNGPropertyList &propList);
66 void drawPolyline(const RVNGPropertyList &propList);
67 void drawPolygon(const RVNGPropertyList &propList);
68 void drawPath(const RVNGPropertyList &propList);
69 void drawGraphicObject(const RVNGPropertyList &propList);
70 void drawConnector(const RVNGPropertyList &propList);
71 void startTextObject(const RVNGPropertyList &propList);
72 void endTextObject();
73
74 void startTableObject(const RVNGPropertyList &propList);
75 void openTableRow(const RVNGPropertyList &propList);
76 void closeTableRow();
77 void openTableCell(const RVNGPropertyList &propList);
78 void closeTableCell();
79 void insertCoveredTableCell(const RVNGPropertyList &propList);
80 void endTableObject();
81
82 void openOrderedListLevel(const RVNGPropertyList &propList);
84 void openUnorderedListLevel(const RVNGPropertyList &propList);
86 void openListElement(const RVNGPropertyList &propList);
87 void closeListElement();
88
89 void defineParagraphStyle(const RVNGPropertyList &propList);
90 void openParagraph(const RVNGPropertyList &propList);
91 void closeParagraph();
92
93 void defineCharacterStyle(const RVNGPropertyList &propList);
94 void openSpan(const RVNGPropertyList &propList);
95 void closeSpan();
96
97 void openLink(const RVNGPropertyList &propList);
98 void closeLink();
99
100 void insertTab();
101 void insertSpace();
102 void insertText(const RVNGString &text);
103 void insertLineBreak();
104 void insertField(const RVNGPropertyList &propList);
105
106private:
108};
109
110} // namespace librevenge
111
112#endif // RVNGRAWDRAWINGGENERATOR_H
113
114/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition RVNGDrawingInterface.h:32
Definition RVNGPropertyList.h:39
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGRawDrawingGenerator.cpp:73
void drawPath(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:171
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGRawDrawingGenerator.cpp:220
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGRawDrawingGenerator.cpp:210
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGRawDrawingGenerator.cpp:320
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGRawDrawingGenerator.cpp:331
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:235
void endMasterPage()
Definition RVNGRawDrawingGenerator.cpp:96
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGRawDrawingGenerator.cpp:187
RVNGRawDrawingGenerator(const RVNGRawDrawingGenerator &other)
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGRawDrawingGenerator.cpp:265
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGRawDrawingGenerator.cpp:225
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGRawDrawingGenerator.cpp:205
void setStyle(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:131
RVNGRawDrawingGeneratorImpl * m_impl
Definition RVNGRawDrawingGenerator.h:107
void closeTableRow()
Called when the current table row is closed.
Definition RVNGRawDrawingGenerator.cpp:326
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGRawDrawingGenerator.cpp:255
void startMasterPage(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:91
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:111
void closeLink()
Called when the current link is closed.
Definition RVNGRawDrawingGenerator.cpp:270
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:163
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGRawDrawingGenerator.cpp:245
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGRawDrawingGenerator.cpp:315
void closeListElement()
Called when a list element should be closed.
Definition RVNGRawDrawingGenerator.cpp:230
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition RVNGRawDrawingGenerator.cpp:179
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGRawDrawingGenerator.cpp:65
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGRawDrawingGenerator.cpp:337
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:155
void endTableObject()
Called when the current table is closed.
Definition RVNGRawDrawingGenerator.cpp:350
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGRawDrawingGenerator.cpp:299
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGRawDrawingGenerator.cpp:240
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:139
void closeGroup()
Definition RVNGRawDrawingGenerator.cpp:126
void closeSpan()
Called when a text span is closed.
Definition RVNGRawDrawingGenerator.cpp:260
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGRawDrawingGenerator.cpp:291
void endLayer()
Definition RVNGRawDrawingGenerator.cpp:106
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGRawDrawingGenerator.cpp:215
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:147
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGRawDrawingGenerator.cpp:283
void endEmbeddedGraphics()
Definition RVNGRawDrawingGenerator.cpp:116
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGRawDrawingGenerator.cpp:275
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGRawDrawingGenerator.cpp:342
void endTextObject()
Definition RVNGRawDrawingGenerator.cpp:200
void startLayer(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:101
void startTextObject(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:195
void startDocument(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:55
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGRawDrawingGenerator.cpp:307
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:250
void endPage()
Definition RVNGRawDrawingGenerator.cpp:86
RVNGRawDrawingGenerator & operator=(const RVNGRawDrawingGenerator &other)
void startPage(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:81
void openGroup(const RVNGPropertyList &propList)
Definition RVNGRawDrawingGenerator.cpp:121
void endDocument()
Definition RVNGRawDrawingGenerator.cpp:60
UTF-8 string.
Definition RVNGString.h:34
#define REVENGE_GENERATORS_API
Definition librevenge-generators-api.h:34
Definition RVNGBinaryData.cpp:40
Definition RVNGRawDrawingGenerator.cpp:32

Generated for librevenge by doxygen 1.14.0