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
19
21
22namespace librevenge
23{
24
26{
27 // disable copying
30
31public:
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);
57 void openChartPlotArea(const RVNGPropertyList &propList);
58 void closeChartPlotArea();
59 void insertChartAxis(const RVNGPropertyList &axis);
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);
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: */
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:244
void insertEquation(const RVNGPropertyList &propList)
Called when a mathml object should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:340
void defineGraphicStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:120
void defineChartStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:78
void closeComment()
Called when a comment or annotation should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:288
void openGroup(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:112
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:320
void closeTableRow()
Called when the current table row is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:308
void closeListElement()
Called when a list element should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:264
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:240
void startDocument(const RVNGPropertyList &propList)
Called at the start of the parsing process.
Definition RVNGDummySpreadsheetGenerator.cpp:36
void closeFooter()
Called when a footer should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:176
void openPageSpan(const RVNGPropertyList &propList)
Called when a new page span is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:156
void defineSheetNumberingStyle(const RVNGPropertyList &propList)
Called when a numbering style must be defined.
Definition RVNGDummySpreadsheetGenerator.cpp:47
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:204
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGDummySpreadsheetGenerator.cpp:144
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:256
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:96
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:184
void closeSheetCell()
Called when a sheet should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:71
void closeChartSerie()
Called when a serie should be closed (in a plot area)
Definition RVNGDummySpreadsheetGenerator.cpp:105
void openTable(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:300
void openFootnote(const RVNGPropertyList &propList)
Called when a footnote should be opened (a sub-document will be placed inside of it)
Definition RVNGDummySpreadsheetGenerator.cpp:268
void insertBinaryObject(const RVNGPropertyList &propList)
Called when a binary object should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:336
void openSheet(const RVNGPropertyList &propList)
Called when a sheet should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:51
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:236
void drawPath(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:140
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:90
void openFrame(const RVNGPropertyList &propList)
Called when a positioned box should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:328
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:312
void openChartSerie(const librevenge::RVNGPropertyList &series)
Called when a serie should be opened (in a plot area)
Definition RVNGDummySpreadsheetGenerator.cpp:102
void insertChartAxis(const RVNGPropertyList &axis)
Called when a axis should be add in a plot area.
Definition RVNGDummySpreadsheetGenerator.cpp:99
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:224
void definePageStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:152
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:260
void closeFrame()
Called when the current positioned box is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:332
void closeSpan()
Called when a text span is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:200
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:188
void endDocument()
Called at the end of the parsing process.
Definition RVNGDummySpreadsheetGenerator.cpp:40
void openTextBox(const RVNGPropertyList &propList)
Called when a text box should be opened (a sub-document will be placed inside of it)
Definition RVNGDummySpreadsheetGenerator.cpp:292
void closePageSpan()
Called when a page span is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:160
void closeChart()
Called when a chart should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:84
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:252
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:304
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGDummySpreadsheetGenerator.cpp:32
RVNGDummySpreadsheetGenerator(const RVNGDummySpreadsheetGenerator &other)
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:124
void defineSectionStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:212
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:192
void closeEndnote()
Definition RVNGDummySpreadsheetGenerator.cpp:280
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:93
void closeTextBox()
Called when a text box should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:296
void openSection(const RVNGPropertyList &propList)
Called when a new section is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:216
void closeSheetRow()
Called when a sheet row should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:63
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:132
void openSheetRow(const RVNGPropertyList &propList)
Called when a new sheet row is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:59
void closeSection()
Called when a section is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:220
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:128
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:228
void openHeader(const RVNGPropertyList &propList)
Called when a header should be opened (a sub-document will be placed inside of it).
Definition RVNGDummySpreadsheetGenerator.cpp:164
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:81
void openSheetCell(const RVNGPropertyList &propList)
Called when a cell should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:67
void closeSheet()
Called when a sheet should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:55
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:180
void openEndnote(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:276
void closeHeader()
Called when a header should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:168
void closeFootnote()
Called when a footnote should be closed.
Definition RVNGDummySpreadsheetGenerator.cpp:272
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:248
RVNGDummySpreadsheetGenerator & operator=(const RVNGDummySpreadsheetGenerator &other)
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGDummySpreadsheetGenerator.cpp:28
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:316
void closeGroup()
Definition RVNGDummySpreadsheetGenerator.cpp:116
void closeLink()
Called when the current link is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:208
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGDummySpreadsheetGenerator.cpp:136
void openComment(const RVNGPropertyList &propList)
Called when a comment or annotation should be opened (a sub-document will be placed inside of it)
Definition RVNGDummySpreadsheetGenerator.cpp:284
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGDummySpreadsheetGenerator.cpp:232
void openFooter(const RVNGPropertyList &propList)
Called when a footer should be opened (a sub-document will be placed inside of it).
Definition RVNGDummySpreadsheetGenerator.cpp:172
void openChartTextObject(const RVNGPropertyList &propList)
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
Definition RVNGDummySpreadsheetGenerator.cpp:87
void closeTable()
Called when the current table is closed.
Definition RVNGDummySpreadsheetGenerator.cpp:324
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGDummySpreadsheetGenerator.cpp:196
Definition RVNGPropertyList.h:39
Pure virtual class containing all the callback functions that can be made by a spreadsheet parser.
Definition RVNGSpreadsheetInterface.h:50
UTF-8 string.
Definition RVNGString.h:34
#define REVENGE_GENERATORS_API
Definition librevenge-generators-api.h:34
Definition RVNGBinaryData.cpp:40

Generated for librevenge by doxygen 1.14.0