RVNGDummySpreadsheetGenerator.h Source File documentation

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