RVNGDummySpreadsheetGenerator.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 RVNGDUMMYSPREADSHEETGENERATOR_H
16#define RVNGDUMMYSPREADSHEETGENERATOR_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 RVNGDummySpreadsheetGenerator : public RVNGSpreadsheetInterface
26{
27 // disable copying
28 RVNGDummySpreadsheetGenerator(const RVNGDummySpreadsheetGenerator &other);
29 RVNGDummySpreadsheetGenerator &operator=(const RVNGDummySpreadsheetGenerator &other);
30
31 public:
32 RVNGDummySpreadsheetGenerator();
33 ~RVNGDummySpreadsheetGenerator();
34
35 void setDocumentMetaData(const RVNGPropertyList &propList);
36
37 void startDocument(const RVNGPropertyList &propList);
38 void endDocument();
39
40 void defineEmbeddedFont(const RVNGPropertyList &propList);
41
42 // sheet
43 void defineSheetNumberingStyle(const RVNGPropertyList &propList);
44 void openSheet(const RVNGPropertyList &propList);
45 void closeSheet();
46 void openSheetRow(const RVNGPropertyList &propList);
47 void closeSheetRow();
48 void openSheetCell(const RVNGPropertyList &propList);
49 void closeSheetCell();
50
51 // chart
52 void defineChartStyle(const RVNGPropertyList &propList);
53 void openChart(const RVNGPropertyList &propList);
54 void closeChart();
55 void openChartTextObject(const RVNGPropertyList &propList);
56 void closeChartTextObject();
57 void openChartPlotArea(const RVNGPropertyList &propList);
58 void closeChartPlotArea();
59 void insertChartAxis(const RVNGPropertyList &axis);
60 void openChartSerie(const librevenge::RVNGPropertyList &series);
61 void closeChartSerie();
62
63 void definePageStyle(const RVNGPropertyList &propList);
64 void openPageSpan(const RVNGPropertyList &propList);
65 void closePageSpan();
66 void openHeader(const RVNGPropertyList &propList);
67 void closeHeader();
68 void openFooter(const RVNGPropertyList &propList);
69 void closeFooter();
70
71 void defineParagraphStyle(const RVNGPropertyList &propList);
72 void openParagraph(const RVNGPropertyList &propList);
73 void closeParagraph();
74
75 void defineCharacterStyle(const RVNGPropertyList &propList);
76 void openSpan(const RVNGPropertyList &propList);
77 void closeSpan();
78
79 void openLink(const RVNGPropertyList &propList);
80 void closeLink();
81
82 void defineSectionStyle(const RVNGPropertyList &propList);
83 void openSection(const RVNGPropertyList &propList);
84 void closeSection();
85
86 void insertTab();
87 void insertSpace();
88 void insertText(const RVNGString &text);
89 void insertLineBreak();
90 void insertField(const RVNGPropertyList &propList);
91
92 void openOrderedListLevel(const RVNGPropertyList &propList);
93 void openUnorderedListLevel(const RVNGPropertyList &propList);
94 void closeOrderedListLevel();
95 void closeUnorderedListLevel();
96 void openListElement(const RVNGPropertyList &propList);
97 void closeListElement();
98
99 void openFootnote(const RVNGPropertyList &propList);
100 void closeFootnote();
101 void openEndnote(const RVNGPropertyList &propList);
102 void closeEndnote();
103 void openComment(const RVNGPropertyList &propList);
104 void closeComment();
105
106 void openTextBox(const RVNGPropertyList &propList);
107 void closeTextBox();
108
109 void openTable(const RVNGPropertyList &propList);
110 void openTableRow(const RVNGPropertyList &propList);
111 void closeTableRow();
112 void openTableCell(const RVNGPropertyList &propList);
113 void closeTableCell();
114 void insertCoveredTableCell(const RVNGPropertyList &propList);
115 void closeTable();
116
117 void openFrame(const RVNGPropertyList &propList);
118 void closeFrame();
119
120 void insertBinaryObject(const RVNGPropertyList &propList);
121
122 // drawing function
123 void openGroup(const RVNGPropertyList &propList);
124 void closeGroup();
125
126 void defineGraphicStyle(const RVNGPropertyList &propList);
127 void drawRectangle(const RVNGPropertyList &propList);
128 void drawEllipse(const RVNGPropertyList &propList);
129 void drawPolygon(const RVNGPropertyList &propList);
130 void drawPolyline(const RVNGPropertyList &propList);
131 void drawPath(const RVNGPropertyList &propList);
132 void drawConnector(const RVNGPropertyList &propList);
133
134 void insertEquation(const RVNGPropertyList &propList);
135};
136
137}
138
139#endif /* RVNGDUMMYSPREADSHEETGENERATOR_H */
140
141/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
librevenge::RVNGDummySpreadsheetGenerator
Definition RVNGDummySpreadsheetGenerator.h:26
librevenge::RVNGDummySpreadsheetGenerator::RVNGDummySpreadsheetGenerator
RVNGDummySpreadsheetGenerator(const RVNGDummySpreadsheetGenerator &other)
librevenge::RVNGDummySpreadsheetGenerator::operator=
RVNGDummySpreadsheetGenerator & operator=(const RVNGDummySpreadsheetGenerator &other)
librevenge::RVNGPropertyList
Definition RVNGPropertyList.h:39
librevenge::RVNGSpreadsheetInterface
Pure virtual class containing all the callback functions that can be made by a spreadsheet parser.
Definition RVNGSpreadsheetInterface.h:50
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