RVNGDummyDrawingGenerator.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 * Alternatively, the contents of this file may be used under the terms
10 * of the GNU Lesser General Public License Version 2.1 or later
11 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
12 * applicable instead of those above.
13 */
14
15#ifndef RVNGDUMMYDDUMMYINGGENERATOR_H
16#define RVNGDUMMYDDUMMYINGGENERATOR_H
17
18#include "librevenge-generators-api.h"
19
20#include <librevenge/librevenge.h>
21
22 namespace librevenge
23{
24
25 class REVENGE_GENERATORS_API RVNGDummyDrawingGenerator : public RVNGDrawingInterface
26{
27 // disable copying
28 RVNGDummyDrawingGenerator(const RVNGDummyDrawingGenerator &other);
29 RVNGDummyDrawingGenerator &operator=(const RVNGDummyDrawingGenerator &other);
30
31 public:
32 RVNGDummyDrawingGenerator();
33
34 ~RVNGDummyDrawingGenerator();
35
36 void startDocument(const RVNGPropertyList &propList);
37 void endDocument();
38 void setDocumentMetaData(const RVNGPropertyList &propList);
39 void defineEmbeddedFont(const RVNGPropertyList &propList);
40 void startPage(const RVNGPropertyList &propList);
41 void endPage();
42 void startMasterPage(const RVNGPropertyList &propList);
43 void endMasterPage();
44 void startLayer(const RVNGPropertyList &propList);
45 void endLayer();
46 void startEmbeddedGraphics(const RVNGPropertyList &propList);
47 void endEmbeddedGraphics();
48
49 void openGroup(const RVNGPropertyList &propList);
50 void closeGroup();
51
52 void setStyle(const RVNGPropertyList &propList);
53
54 void drawRectangle(const RVNGPropertyList &propList);
55 void drawEllipse(const RVNGPropertyList &propList);
56 void drawPolyline(const RVNGPropertyList &propList);
57 void drawPolygon(const RVNGPropertyList &propList);
58 void drawPath(const RVNGPropertyList &propList);
59 void drawGraphicObject(const RVNGPropertyList &propList);
60 void drawConnector(const RVNGPropertyList &propList);
61 void startTextObject(const RVNGPropertyList &propList);
62 void endTextObject();
63
64 void startTableObject(const RVNGPropertyList &propList);
65 void openTableRow(const RVNGPropertyList &propList);
66 void closeTableRow();
67 void openTableCell(const RVNGPropertyList &propList);
68 void closeTableCell();
69 void insertCoveredTableCell(const RVNGPropertyList &propList);
70 void endTableObject();
71
72 void openOrderedListLevel(const RVNGPropertyList &propList);
73 void closeOrderedListLevel();
74 void openUnorderedListLevel(const RVNGPropertyList &propList);
75 void closeUnorderedListLevel();
76 void openListElement(const RVNGPropertyList &propList);
77 void closeListElement();
78
79 void defineParagraphStyle(const RVNGPropertyList &propList);
80 void openParagraph(const RVNGPropertyList &propList);
81 void closeParagraph();
82
83 void defineCharacterStyle(const RVNGPropertyList &propList);
84 void openSpan(const RVNGPropertyList &propList);
85 void closeSpan();
86
87 void openLink(const RVNGPropertyList &propList);
88 void closeLink();
89
90 void insertTab();
91 void insertSpace();
92 void insertText(const RVNGString &text);
93 void insertLineBreak();
94 void insertField(const RVNGPropertyList &propList);
95};
96
97} // namespace librevenge
98
99#endif // RVNGDUMMYDDUMMYINGGENERATOR_H
100
101/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGDrawingInterface
Definition RVNGDrawingInterface.h:32
librevenge::RVNGDummyDrawingGenerator::endEmbeddedGraphics
void endEmbeddedGraphics()
Definition RVNGDummyDrawingGenerator.cpp:72
librevenge::RVNGDummyDrawingGenerator::insertCoveredTableCell
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGDummyDrawingGenerator.cpp:220
librevenge::RVNGDummyDrawingGenerator::insertTab
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:180
librevenge::RVNGDummyDrawingGenerator::closeTableCell
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGDummyDrawingGenerator.cpp:216
librevenge::RVNGDummyDrawingGenerator::closeUnorderedListLevel
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGDummyDrawingGenerator.cpp:136
librevenge::RVNGDummyDrawingGenerator::startLayer
void startLayer(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:60
librevenge::RVNGDummyDrawingGenerator::drawRectangle
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:88
librevenge::RVNGDummyDrawingGenerator::startDocument
void startDocument(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:28
librevenge::RVNGDummyDrawingGenerator::drawGraphicObject
void drawGraphicObject(const RVNGPropertyList &propList)
Called when a binary/raster object should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:108
librevenge::RVNGDummyDrawingGenerator::setStyle
void setStyle(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:84
librevenge::RVNGDummyDrawingGenerator::defineParagraphStyle
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:148
librevenge::RVNGDummyDrawingGenerator::openUnorderedListLevel
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGDummyDrawingGenerator.cpp:132
librevenge::RVNGDummyDrawingGenerator::closeOrderedListLevel
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGDummyDrawingGenerator.cpp:128
librevenge::RVNGDummyDrawingGenerator::closeGroup
void closeGroup()
Definition RVNGDummyDrawingGenerator.cpp:80
librevenge::RVNGDummyDrawingGenerator::closeSpan
void closeSpan()
Called when a text span is closed.
Definition RVNGDummyDrawingGenerator.cpp:168
librevenge::RVNGDummyDrawingGenerator::endTextObject
void endTextObject()
Definition RVNGDummyDrawingGenerator.cpp:120
librevenge::RVNGDummyDrawingGenerator::openParagraph
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGDummyDrawingGenerator.cpp:152
librevenge::RVNGDummyDrawingGenerator::startTableObject
void startTableObject(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGDummyDrawingGenerator.cpp:200
librevenge::RVNGDummyDrawingGenerator::endDocument
void endDocument()
Definition RVNGDummyDrawingGenerator.cpp:32
librevenge::RVNGDummyDrawingGenerator::startPage
void startPage(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:44
librevenge::RVNGDummyDrawingGenerator::drawPolyline
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:96
librevenge::RVNGDummyDrawingGenerator::RVNGDummyDrawingGenerator
RVNGDummyDrawingGenerator(const RVNGDummyDrawingGenerator &other)
librevenge::RVNGDummyDrawingGenerator::openTableRow
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGDummyDrawingGenerator.cpp:204
librevenge::RVNGDummyDrawingGenerator::endLayer
void endLayer()
Definition RVNGDummyDrawingGenerator.cpp:64
librevenge::RVNGDummyDrawingGenerator::openOrderedListLevel
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGDummyDrawingGenerator.cpp:124
librevenge::RVNGDummyDrawingGenerator::startEmbeddedGraphics
void startEmbeddedGraphics(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:68
librevenge::RVNGDummyDrawingGenerator::closeListElement
void closeListElement()
Called when a list element should be closed.
Definition RVNGDummyDrawingGenerator.cpp:144
librevenge::RVNGDummyDrawingGenerator::openListElement
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGDummyDrawingGenerator.cpp:140
librevenge::RVNGDummyDrawingGenerator::defineEmbeddedFont
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGDummyDrawingGenerator.cpp:40
librevenge::RVNGDummyDrawingGenerator::openLink
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGDummyDrawingGenerator.cpp:172
librevenge::RVNGDummyDrawingGenerator::drawConnector
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGDummyDrawingGenerator.cpp:112
librevenge::RVNGDummyDrawingGenerator::openGroup
void openGroup(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:76
librevenge::RVNGDummyDrawingGenerator::startTextObject
void startTextObject(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:116
librevenge::RVNGDummyDrawingGenerator::insertText
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:188
librevenge::RVNGDummyDrawingGenerator::endTableObject
void endTableObject()
Called when the current table is closed.
Definition RVNGDummyDrawingGenerator.cpp:224
librevenge::RVNGDummyDrawingGenerator::operator=
RVNGDummyDrawingGenerator & operator=(const RVNGDummyDrawingGenerator &other)
librevenge::RVNGDummyDrawingGenerator::closeParagraph
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGDummyDrawingGenerator.cpp:156
librevenge::RVNGDummyDrawingGenerator::startMasterPage
void startMasterPage(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:52
librevenge::RVNGDummyDrawingGenerator::defineCharacterStyle
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:160
librevenge::RVNGDummyDrawingGenerator::insertSpace
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:184
librevenge::RVNGDummyDrawingGenerator::openSpan
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGDummyDrawingGenerator.cpp:164
librevenge::RVNGDummyDrawingGenerator::endMasterPage
void endMasterPage()
Definition RVNGDummyDrawingGenerator.cpp:56
librevenge::RVNGDummyDrawingGenerator::insertField
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:196
librevenge::RVNGDummyDrawingGenerator::drawPath
void drawPath(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:104
librevenge::RVNGDummyDrawingGenerator::openTableCell
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGDummyDrawingGenerator.cpp:212
librevenge::RVNGDummyDrawingGenerator::closeTableRow
void closeTableRow()
Called when the current table row is closed.
Definition RVNGDummyDrawingGenerator.cpp:208
librevenge::RVNGDummyDrawingGenerator::closeLink
void closeLink()
Called when the current link is closed.
Definition RVNGDummyDrawingGenerator.cpp:176
librevenge::RVNGDummyDrawingGenerator::endPage
void endPage()
Definition RVNGDummyDrawingGenerator.cpp:48
librevenge::RVNGDummyDrawingGenerator::insertLineBreak
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGDummyDrawingGenerator.cpp:192
librevenge::RVNGDummyDrawingGenerator::setDocumentMetaData
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGDummyDrawingGenerator.cpp:36
librevenge::RVNGDummyDrawingGenerator::drawEllipse
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:92
librevenge::RVNGDummyDrawingGenerator::drawPolygon
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGDummyDrawingGenerator.cpp:100
librevenge::RVNGPropertyList
Definition RVNGPropertyList.h:39
librevenge::RVNGString
UTF-8 string.
Definition RVNGString.h:34
librevenge-generators-api.h
REVENGE_GENERATORS_API
#define REVENGE_GENERATORS_API
Definition librevenge-generators-api.h:34
librevenge.h
librevenge
Definition RVNGBinaryData.cpp:40