RVNGRawSpreadsheetGenerator.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) 2002 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2002-2004 Marc Maurer (uwog@uwog.net)
12 *
13 * For minor contributions see the git repository.
14 *
15 * Alternatively, the contents of this file may be used under the terms
16 * of the GNU Lesser General Public License Version 2.1 or later
17 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18 * applicable instead of those above.
19 */
20
21#ifndef RVNGRAWSPREADSHEETGENERATOR_H
22#define RVNGRAWSPREADSHEETGENERATOR_H
23
25
28
29namespace librevenge
30{
31
33
35{
36 // disable copying
39
40public:
41 explicit RVNGRawSpreadsheetGenerator(bool printCallgraphScore);
43
44 void setDocumentMetaData(const RVNGPropertyList &propList);
45
46 void startDocument(const RVNGPropertyList &propList);
47 void endDocument();
48
49 void defineEmbeddedFont(const RVNGPropertyList &propList);
50
51 // sheet
52 void defineSheetNumberingStyle(const RVNGPropertyList &propList);
53 void openSheet(const RVNGPropertyList &propList);
54 void closeSheet();
55 void openSheetRow(const RVNGPropertyList &propList);
56 void closeSheetRow();
57 void openSheetCell(const RVNGPropertyList &propList);
58 void closeSheetCell();
59
60 // chart
61 void defineChartStyle(const RVNGPropertyList &propList);
62 void openChart(const RVNGPropertyList &propList);
63 void closeChart();
64 void openChartTextObject(const RVNGPropertyList &propList);
66 void openChartPlotArea(const RVNGPropertyList &propList);
67 void closeChartPlotArea();
68 void insertChartAxis(const RVNGPropertyList &axis);
70 void closeChartSerie();
71
72 void definePageStyle(const RVNGPropertyList &propList);
73 void openPageSpan(const RVNGPropertyList &propList);
74 void closePageSpan();
75 void openHeader(const RVNGPropertyList &propList);
76 void closeHeader();
77 void openFooter(const RVNGPropertyList &propList);
78 void closeFooter();
79
80 void defineParagraphStyle(const RVNGPropertyList &propList);
81 void openParagraph(const RVNGPropertyList &propList);
82 void closeParagraph();
83
84 void defineCharacterStyle(const RVNGPropertyList &propList);
85 void openSpan(const RVNGPropertyList &propList);
86 void closeSpan();
87
88 void openLink(const RVNGPropertyList &propList);
89 void closeLink();
90
91 void defineSectionStyle(const RVNGPropertyList &propList);
92 void openSection(const RVNGPropertyList &propList);
93 void closeSection();
94
95 void insertTab();
96 void insertSpace();
97 void insertText(const RVNGString &text);
98 void insertLineBreak();
99 void insertField(const RVNGPropertyList &propList);
100
101 void openOrderedListLevel(const RVNGPropertyList &propList);
102 void openUnorderedListLevel(const RVNGPropertyList &propList);
105 void openListElement(const RVNGPropertyList &propList);
106 void closeListElement();
107
108 void openFootnote(const RVNGPropertyList &propList);
109 void closeFootnote();
110 void openEndnote(const RVNGPropertyList &propList);
111 void closeEndnote();
112 void openComment(const RVNGPropertyList &propList);
113 void closeComment();
114
115 void openTextBox(const RVNGPropertyList &propList);
116 void closeTextBox();
117
118 void openTable(const RVNGPropertyList &propList);
119 void openTableRow(const RVNGPropertyList &propList);
120 void closeTableRow();
121 void openTableCell(const RVNGPropertyList &propList);
122 void closeTableCell();
123 void insertCoveredTableCell(const RVNGPropertyList &propList);
124 void closeTable();
125
126 void openFrame(const RVNGPropertyList &propList);
127 void closeFrame();
128
129 void insertBinaryObject(const RVNGPropertyList &propList);
130
131 // drawing function
132 void openGroup(const RVNGPropertyList &propList);
133 void closeGroup();
134
135 void defineGraphicStyle(const RVNGPropertyList &propList);
136 void drawRectangle(const RVNGPropertyList &propList);
137 void drawEllipse(const RVNGPropertyList &propList);
138 void drawPolygon(const RVNGPropertyList &propList);
139 void drawPolyline(const RVNGPropertyList &propList);
140 void drawPath(const RVNGPropertyList &propList);
141 void drawConnector(const RVNGPropertyList &propList);
142
143 void insertEquation(const RVNGPropertyList &propList);
144
145private:
147};
148
149}
150
151#endif /* RVNGRAWSPREADSHEETGENERATOR_H */
152
153/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Definition RVNGPropertyList.h:39
void closeChartPlotArea()
Called when a chart plot arre should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:149
void defineCharacterStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:279
void closeHeader()
Called when a header should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:244
void openChartSerie(const librevenge::RVNGPropertyList &series)
Called when a serie should be opened (in a plot area)
Definition RVNGRawSpreadsheetGenerator.cpp:157
RVNGRawSpreadsheetGenerator & operator=(const RVNGRawSpreadsheetGenerator &other)
void drawPolygon(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:196
void insertChartAxis(const RVNGPropertyList &axis)
Called when a axis should be add in a plot area.
Definition RVNGRawSpreadsheetGenerator.cpp:153
void closeChartSerie()
Called when a serie should be closed (in a plot area)
Definition RVNGRawSpreadsheetGenerator.cpp:162
void openFootnote(const RVNGPropertyList &propList)
Called when a footnote should be opened (a sub-document will be placed inside of it)
Definition RVNGRawSpreadsheetGenerator.cpp:378
RVNGRawSpreadsheetGenerator(const RVNGRawSpreadsheetGenerator &other)
void openFrame(const RVNGPropertyList &propList)
Called when a positioned box should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:458
void openOrderedListLevel(const RVNGPropertyList &propList)
Called when a new ordered list level should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:344
void openListElement(const RVNGPropertyList &propList)
Called when a list element should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:367
void defineParagraphStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:263
void closeListElement()
Called when a list element should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:373
void closeFooter()
Called when a footer should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:257
void closeOrderedListLevel()
Called when an unordered list level should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:356
void closePageSpan()
Called when a page span is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:231
void openComment(const RVNGPropertyList &propList)
Called when a comment or annotation should be opened (a sub-document will be placed inside of it)
Definition RVNGRawSpreadsheetGenerator.cpp:400
void closeSpan()
Called when a text span is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:289
void endDocument()
Called at the end of the parsing process.
Definition RVNGRawSpreadsheetGenerator.cpp:74
void closeParagraph()
Called when a paragraph is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:274
void setDocumentMetaData(const RVNGPropertyList &propList)
Called when all document metadata should be set.
Definition RVNGRawSpreadsheetGenerator.cpp:53
void closeFrame()
Called when the current positioned box is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:464
void openSheetCell(const RVNGPropertyList &propList)
Called when a cell should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:108
void drawEllipse(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:191
void insertCoveredTableCell(const RVNGPropertyList &propList)
Called when a covered (spanned by another cell in the table) table cell is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:448
void closeLink()
Called when the current link is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:299
void definePageStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:220
void drawPolyline(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:201
void defineSectionStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:304
void openChartTextObject(const RVNGPropertyList &propList)
Called when a chart text zone:label/legend/title/subtitle/footer should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:135
void openSheet(const RVNGPropertyList &propList)
Called when a sheet should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:87
void insertSpace()
Called when an explicit space should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:324
void closeSheetCell()
Called when a sheet should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:114
void drawPath(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:206
void insertLineBreak()
Called when a line break should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:334
void closeComment()
Called when a comment or annotation should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:406
void openTableRow(const RVNGPropertyList &propList)
Called when a new table row is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:426
void openUnorderedListLevel(const RVNGPropertyList &propList)
Called when a new unordered list level should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:350
void closeTableRow()
Called when the current table row is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:432
void defineChartStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:122
void insertEquation(const RVNGPropertyList &propList)
Called when a mathml object should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:474
void closeSection()
Called when a section is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:314
void closeSheetRow()
Called when a sheet row should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:103
void closeTextBox()
Called when a text box should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:416
void closeChart()
Called when a chart should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:131
void openTableCell(const RVNGPropertyList &propList)
Called when a new table cell is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:437
void closeUnorderedListLevel()
Called when an ununordered list level should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:362
void defineSheetNumberingStyle(const RVNGPropertyList &propList)
Called when a numbering style must be defined.
Definition RVNGRawSpreadsheetGenerator.cpp:82
void openTable(const RVNGPropertyList &propList)
Called when a table should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:421
void openGroup(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:170
void drawConnector(const RVNGPropertyList &propList)
Draw a connector.
Definition RVNGRawSpreadsheetGenerator.cpp:211
RVNGRawSpreadsheetGeneratorImpl * m_impl
Definition RVNGRawSpreadsheetGenerator.h:146
void insertBinaryObject(const RVNGPropertyList &propList)
Called when a binary object should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:469
void openParagraph(const RVNGPropertyList &propList)
Called when a new paragraph is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:268
void drawRectangle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:186
void openFooter(const RVNGPropertyList &propList)
Called when a footer should be opened (a sub-document will be placed inside of it).
Definition RVNGRawSpreadsheetGenerator.cpp:250
void openLink(const RVNGPropertyList &propList)
Called when a link should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:294
void startDocument(const RVNGPropertyList &propList)
Called at the start of the parsing process.
Definition RVNGRawSpreadsheetGenerator.cpp:69
void openPageSpan(const RVNGPropertyList &propList)
Called when a new page span is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:225
void openChart(const RVNGPropertyList &propList)
Called when a chart should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:126
void closeTable()
Called when the current table is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:453
void closeTableCell()
Called when the current table cell is closed.
Definition RVNGRawSpreadsheetGenerator.cpp:443
void defineGraphicStyle(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:181
void closeGroup()
Definition RVNGRawSpreadsheetGenerator.cpp:176
void openHeader(const RVNGPropertyList &propList)
Called when a header should be opened (a sub-document will be placed inside of it).
Definition RVNGRawSpreadsheetGenerator.cpp:237
void openEndnote(const RVNGPropertyList &propList)
Definition RVNGRawSpreadsheetGenerator.cpp:389
void openTextBox(const RVNGPropertyList &propList)
Called when a text box should be opened (a sub-document will be placed inside of it)
Definition RVNGRawSpreadsheetGenerator.cpp:411
void openSection(const RVNGPropertyList &propList)
Called when a new section is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:309
void closeChartTextObject()
Called when a chart text zone:legend/title/subtitle/footer should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:140
void closeFootnote()
Called when a footnote should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:384
void closeEndnote()
Definition RVNGRawSpreadsheetGenerator.cpp:395
void openSheetRow(const RVNGPropertyList &propList)
Called when a new sheet row is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:97
void defineEmbeddedFont(const RVNGPropertyList &propList)
Called when an embedded font should be defined.
Definition RVNGRawSpreadsheetGenerator.cpp:61
void insertTab()
Called when a TAB character should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:319
void insertField(const RVNGPropertyList &propList)
Called when a field should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:339
void openSpan(const RVNGPropertyList &propList)
Called when a text span is opened.
Definition RVNGRawSpreadsheetGenerator.cpp:284
void insertText(const RVNGString &text)
Called when a string of text should be inserted.
Definition RVNGRawSpreadsheetGenerator.cpp:329
void openChartPlotArea(const RVNGPropertyList &propList)
Called when a chart plot area should be opened.
Definition RVNGRawSpreadsheetGenerator.cpp:144
void closeSheet()
Called when a sheet should be closed.
Definition RVNGRawSpreadsheetGenerator.cpp:92
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
Definition RVNGRawSpreadsheetGenerator.cpp:31

Generated for librevenge by doxygen 1.14.0