MWAWSpreadsheetListener.hxx Source File documentation

MWAWSpreadsheetListener.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33
40 #ifndef MWAW_SPREADSHEET_LISTENER_H
41 #define MWAW_SPREADSHEET_LISTENER_H
42
43 #include <vector>
44
45 #include <librevenge/librevenge.h>
46
47 #include "libmwaw_internal.hxx"
48
49 #include "MWAWListener.hxx"
50
51 class MWAWCell;
52 class MWAWCellContent;
53 class MWAWChart;
54 class MWAWGraphicStyle;
55 class MWAWGraphicShape;
56 class MWAWTable;
57
58 namespace MWAWSpreadsheetListenerInternal
59 {
60 struct DocumentState;
61 struct State;
62 }
63
65 class MWAWSpreadsheetListener final : public MWAWListener
66 {
67 public:
69 MWAWSpreadsheetListener(MWAWParserState &parserState, std::vector<MWAWPageSpan> const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface);
73 MWAWSpreadsheetListener(MWAWParserState &parserState, MWAWBox2f const &box, librevenge::RVNGSpreadsheetInterface *documentInterface);
75 ~MWAWSpreadsheetListener() final;
76
78 Type getType() const final
79 {
80 return Spreadsheet;
81 }
82
84 void setDocumentMetaData(librevenge::RVNGPropertyList const &metadata) final;
86 void setDocumentLanguage(std::string const &locale) final;
87
89 void startDocument() final;
91 void endDocument(bool sendDelayedSubDoc=true) final;
93 bool isDocumentStarted() const final;
94
96 void handleSubDocument(MWAWSubDocumentPtr const &subDocument, libmwaw::SubDocumentType subDocumentType) final;
98 bool isSubDocumentOpened(libmwaw::SubDocumentType &subdocType) const final;
100 bool openFrame(MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle()) final;
102 void closeFrame() final;
104 bool openGroup(MWAWPosition const &pos) final;
106 void closeGroup() final;
107
109 bool canWriteText() const final;
110
111 // ------ page --------
113 bool isPageSpanOpened() const final;
117 MWAWPageSpan const &getPageSpan() final;
118
119 // ------ header/footer --------
121 bool insertHeader(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final;
123 bool insertFooter(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final;
125 bool isHeaderFooterOpened() const final;
126
127 // ------- sheet -----------------
132 void openSheet(std::vector<float> const &colWidth, librevenge::RVNGUnit unit,
133 std::vector<int> const &repeatColWidthNumber=std::vector<int>(), std::string const &name="");
135 void closeSheet();
137 void openSheetRow(float h, librevenge::RVNGUnit unit, int numRepeated=1);
139 void closeSheetRow();
141 void openSheetCell(MWAWCell const &cell, MWAWCellContent const &content, int numRepeated=1);
143 void closeSheetCell();
144
145 // ------- chart -----------------
147 void insertChart(MWAWPosition const &pos, MWAWChart &chart,
148 MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle());
149
150 // ------ text data -----------
151
153 void insertChar(uint8_t character) final;
156 void insertCharacter(unsigned char c) final;
162 int insertCharacter(unsigned char c, MWAWInputStreamPtr &input, long endPos=-1) final;
165 void insertUnicode(uint32_t character) final;
167 void insertUnicodeString(librevenge::RVNGString const &str) final;
168
170 void insertTab() final;
172 void insertEOL(bool softBreak=false) final;
173
174 // ------ text format -----------
176 void setFont(MWAWFont const &font) final;
178 MWAWFont const &getFont() const final;
179
180 // ------ paragraph format -----------
182 bool isParagraphOpened() const final;
184 void setParagraph(MWAWParagraph const &paragraph) final;
186 MWAWParagraph const &getParagraph() const final;
187
188 // ------- fields ----------------
190 void insertField(MWAWField const &field) final;
191
192 // ------- link ----------------
194 void openLink(MWAWLink const &link) final;
196 void closeLink() final;
197
198 // ------- subdocument -----------------
200 void insertNote(MWAWNote const &note, MWAWSubDocumentPtr &subDocument) final;
201
203 void insertComment(MWAWSubDocumentPtr &subDocument) final;
204
206 void insertPicture(MWAWPosition const &pos, MWAWEmbeddedObject const &picture,
207 MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle()) final;
209 void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape,
210 MWAWGraphicStyle const &style) final;
212 void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr const &subDocument,
213 MWAWGraphicStyle const &frameStyle=MWAWGraphicStyle::emptyStyle()) final;
214
215 // ------- table -----------------
217 void insertTable(MWAWPosition const &pos, MWAWTable &table, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle());
219 void openTable(MWAWTable const &table) final;
221 void closeTable() final;
223 void openTableRow(float h, librevenge::RVNGUnit unit, bool headerRow=false) final;
225 void closeTableRow() final;
227 void openTableCell(MWAWCell const &cell) final;
229 void closeTableCell() final;
231 void addEmptyTableCell(MWAWVec2i const &pos, MWAWVec2i span=MWAWVec2i(1,1)) final;
232
233 // ------- section ---------------
235 bool canOpenSectionAddBreak() const final
236 {
237 return false;
238 }
240 bool isSectionOpened() const final
241 {
242 return false;
243 }
245 MWAWSection const &getSection() const final;
247 bool openSection(MWAWSection const &section) final;
249 bool closeSection() final;
251 void insertBreak(BreakType breakType) final;
252
253 protected:
255 void _openPageSpan(bool sendHeaderFooters=true);
257 void _closePageSpan();
258
259 void _startSubDocument();
260 void _endSubDocument();
261
262 void _handleFrameParameters(librevenge::RVNGPropertyList &propList, MWAWPosition const &pos);
263
264 void _openParagraph();
265 void _closeParagraph();
266 void _resetParagraphState(const bool isListElement=false);
267
269 void _openListElement();
271 void _closeListElement();
273 void _changeList();
278 int _getListId() const;
279
280 void _openSpan();
281 void _closeSpan();
282
283 void _flushText();
284 void _flushDeferredTabs();
285
289 std::shared_ptr<MWAWSpreadsheetListenerInternal::State> _pushParsingState();
291 void _popParsingState();
292
293 protected:
295 std::shared_ptr<MWAWSpreadsheetListenerInternal::DocumentState> m_ds;
297 std::shared_ptr<MWAWSpreadsheetListenerInternal::State> m_ps;
299 std::vector<std::shared_ptr<MWAWSpreadsheetListenerInternal::State> > m_psStack;
301 MWAWParserState &m_parserState;
303 librevenge::RVNGSpreadsheetInterface *m_documentInterface;
304
305 private:
307 MWAWSpreadsheetListener(const MWAWSpreadsheetListener &);
309 MWAWSpreadsheetListener &operator=(const MWAWSpreadsheetListener &);
310 };
311
312 #endif
313 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWEmbeddedObject::addTo
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist
Definition: libmwaw_internal.cxx:579
MWAWSpreadsheetListener::_flushDeferredTabs
void _flushDeferredTabs()
Definition: MWAWSpreadsheetListener.cxx:897
MWAWSpreadsheetListener::_endSubDocument
void _endSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1608
MWAWPosition::CharBaseLine
@ CharBaseLine
Definition: MWAWPosition.hxx:51
MWAWSpreadsheetListener::insertPicture
void insertPicture(MWAWPosition const &pos, MWAWEmbeddedObject const &picture, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle()) final
adds a picture with potential various representationin given position
Definition: MWAWSpreadsheetListener.cxx:1138
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
MWAWSpreadsheetListener::insertCharacter
void insertCharacter(unsigned char c) final
insert a character using the font converter to find the utf8 character
Definition: MWAWSpreadsheetListener.cxx:286
MWAWSpreadsheetListenerInternal::State::m_isHeaderFooterWithoutParagraph
bool m_isHeaderFooterWithoutParagraph
Definition: MWAWSpreadsheetListener.cxx:155
MWAWChart.hxx
MWAWPosition::Cell
@ Cell
Definition: MWAWPosition.hxx:51
MWAWListener::BreakType
BreakType
the different break type
Definition: MWAWListener.hxx:58
MWAW_shared_ptr_noop_deleter
an noop deleter used to transform a libwpd pointer in a false std::shared_ptr
Definition: libmwaw_internal.hxx:101
MWAWSpreadsheetListenerInternal::DocumentState::m_metaData
librevenge::RVNGPropertyList m_metaData
the document meta data
Definition: MWAWSpreadsheetListener.cxx:103
MWAWSpreadsheetListenerInternal::State::m_currentPageNumber
int m_currentPageNumber
Definition: MWAWSpreadsheetListener.cxx:173
MWAWSpreadsheetListenerInternal::State::canWriteText
bool canWriteText() const
returns true if we are in a text zone
Definition: MWAWSpreadsheetListener.cxx:130
MWAWCell::F_BOOLEAN
@ F_BOOLEAN
Definition: MWAWCell.hxx:56
MWAWSpreadsheetListenerInternal::State::m_isParagraphOpened
bool m_isParagraphOpened
Definition: MWAWSpreadsheetListener.cxx:158
MWAWSpreadsheetListener::isPageSpanOpened
bool isPageSpanOpened() const final
returns true if a page is opened
Definition: MWAWSpreadsheetListener.cxx:577
MWAWNote
a note
Definition: libmwaw_internal.hxx:445
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
MWAWField::m_type
Type m_type
the type
Definition: libmwaw_internal.hxx:420
MWAWPosition::getInvUnitScale
float getInvUnitScale(librevenge::RVNGUnit fromUnit) const
returns a float which can be used to scale some data in object unit
Definition: MWAWPosition.hxx:199
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWSpreadsheetListener::closeSheet
void closeSheet()
closes this sheet
Definition: MWAWSpreadsheetListener.cxx:1662
MWAWSpreadsheetListenerInternal::State::m_firstParagraphInPageSpan
bool m_firstParagraphInPageSpan
Definition: MWAWSpreadsheetListener.cxx:161
MWAWSpreadsheetListenerInternal::DocumentState::DocumentState
DocumentState(std::vector< MWAWPageSpan > const &pageList)
constructor
Definition: MWAWSpreadsheetListener.cxx:78
MWAWSpreadsheetListener::isDocumentStarted
bool isDocumentStarted() const final
returns true if a document is opened
Definition: MWAWSpreadsheetListener.cxx:526
MWAWSpreadsheetListenerInternal::State::State
State()
constructor
Definition: MWAWSpreadsheetListener.cxx:188
MWAWGraphicShape::C_Polygon
@ C_Polygon
Definition: MWAWGraphicShape.hxx:51
MWAWGraphicStyle::addFrameTo
void addFrameTo(librevenge::RVNGPropertyList &pList) const
add all the frame parameters to propList: the background and the borders
Definition: MWAWGraphicStyle.cxx:372
MWAWParserState::m_listManager
MWAWListManagerPtr m_listManager
the list manager
Definition: MWAWParser.hxx:80
MWAWCell::F_DATE
@ F_DATE
Definition: MWAWCell.hxx:56
MWAWGraphicShape::C_Path
@ C_Path
Definition: MWAWGraphicShape.hxx:51
MWAWSpreadsheetListener::openSection
bool openSection(MWAWSection const &section) final
open a section if possible
Definition: MWAWSpreadsheetListener.cxx:688
MWAWPosition::XFull
@ XFull
Definition: MWAWPosition.hxx:55
MWAWSpreadsheetListenerInternal::DocumentState::m_smallPictureNumber
int m_smallPictureNumber
number of small picture
Definition: MWAWSpreadsheetListener.cxx:107
MWAWSpreadsheetListener::m_parserState
MWAWParserState & m_parserState
the parser state
Definition: MWAWSpreadsheetListener.hxx:301
libmwaw::DOC_COMMENT_ANNOTATION
@ DOC_COMMENT_ANNOTATION
Definition: libmwaw_internal.hxx:188
MWAWSpreadsheetListenerInternal::DocumentState::m_pageList
std::vector< MWAWPageSpan > m_pageList
the pages definition
Definition: MWAWSpreadsheetListener.cxx:99
MWAWSpreadsheetListener::openSheet
void openSheet(std::vector< float > const &colWidth, librevenge::RVNGUnit unit, std::vector< int > const &repeatColWidthNumber=std::vector< int >(), std::string const &name="")
opens a sheet
Definition: MWAWSpreadsheetListener.cxx:1624
MWAWSpreadsheetListener::insertBreak
void insertBreak(BreakType breakType) final
inserts a break type: ColumBreak, PageBreak, ..
Definition: MWAWSpreadsheetListener.cxx:406
MWAWSpreadsheetListener::openSheetRow
void openSheetRow(float h, librevenge::RVNGUnit unit, int numRepeated=1)
open a row with given height ( if h < 0.0, set min-row-height = -h )
Definition: MWAWSpreadsheetListener.cxx:1675
MWAWSpreadsheetListener::setDocumentMetaData
void setDocumentMetaData(librevenge::RVNGPropertyList const &metadata) final
sets the documents metadata
Definition: MWAWSpreadsheetListener.cxx:513
MWAWSpreadsheetListener::_closePageSpan
void _closePageSpan()
does close a page (low level)
Definition: MWAWSpreadsheetListener.cxx:636
MWAWFont::id
int id() const
returns the font id
Definition: MWAWFont.hxx:259
MWAWPosition::order
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:259
MWAWCellContent::isValueSet
bool isValueSet() const
returns true if the value has been setted
Definition: MWAWCell.hxx:464
MWAWSpreadsheetListenerInternal::DocumentState::m_pageSpan
MWAWPageSpan m_pageSpan
the current page span
Definition: MWAWSpreadsheetListener.cxx:101
MWAWSpreadsheetListener::isSubDocumentOpened
bool isSubDocumentOpened(libmwaw::SubDocumentType &subdocType) const final
returns try if a subdocument is open
Definition: MWAWSpreadsheetListener.cxx:1594
MWAWSpreadsheetListener::insertShape
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style) final
adds a shape picture in given position
Definition: MWAWSpreadsheetListener.cxx:1053
MWAWSpreadsheetListenerInternal::State::m_isPageSpanOpened
bool m_isPageSpanOpened
Definition: MWAWSpreadsheetListener.cxx:148
MWAWTable.hxx
MWAWListener::Spreadsheet
@ Spreadsheet
Definition: MWAWListener.hxx:56
MWAWSpreadsheetListener::_openListElement
void _openListElement()
open a list level
Definition: MWAWSpreadsheetListener.cxx:753
libmwaw::DOC_CHART
@ DOC_CHART
Definition: libmwaw_internal.hxx:188
libmwaw::DOC_CHART_ZONE
@ DOC_CHART_ZONE
Definition: libmwaw_internal.hxx:188
MWAWCell::F_UNKNOWN
@ F_UNKNOWN
Definition: MWAWCell.hxx:56
MWAWSpreadsheetListener::openTableCell
void openTableCell(MWAWCell const &cell) final
open a cell
Definition: MWAWSpreadsheetListener.cxx:1967
MWAWPosition::m_xPos
XPos m_xPos
X relative position.
Definition: MWAWPosition.hxx:274
MWAWSpreadsheetListener::insertHeader
bool insertHeader(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final
insert a header
Definition: MWAWSpreadsheetListener.cxx:653
MWAWPosition::WBackground
@ WBackground
Definition: MWAWPosition.hxx:53
MWAWPosition::leftTopClipping
const MWAWVec2f & leftTopClipping() const
returns the left top clipping
Definition: MWAWPosition.hxx:145
MWAWSpreadsheetListenerInternal::State::m_isListElementOpened
bool m_isListElementOpened
Definition: MWAWSpreadsheetListener.cxx:159
MWAWSpreadsheetListener::isSectionOpened
bool isSectionOpened() const final
returns true if a section is opened
Definition: MWAWSpreadsheetListener.hxx:240
MWAWGraphicShape
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:45
MWAWPosition::YCenter
@ YCenter
Definition: MWAWPosition.hxx:57
MWAWFontConverter.hxx
libmwaw::appendUnicode
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
MWAWEmbeddedObject
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
MWAWTable::sendTable
bool sendTable(MWAWListenerPtr listener, bool inFrame=true)
try to send the table
Definition: MWAWTable.cxx:471
MWAWSpreadsheetListener::addEmptyTableCell
void addEmptyTableCell(MWAWVec2i const &pos, MWAWVec2i span=MWAWVec2i(1, 1)) final
add empty cell
Definition: MWAWSpreadsheetListener.cxx:1948
MWAWSubDocumentPtr
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:565
MWAWSpreadsheetListener::insertTextBox
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr const &subDocument, MWAWGraphicStyle const &frameStyle=MWAWGraphicStyle::emptyStyle()) final
adds a textbox in given position
Definition: MWAWSpreadsheetListener.cxx:1034
MWAWSpreadsheetListenerInternal::State::m_paragraph
MWAWParagraph m_paragraph
the paragraph
Definition: MWAWSpreadsheetListener.cxx:144
MWAWField::getString
librevenge::RVNGString getString() const
returns a string corresponding to the field (if possible) *‍/
Definition: libmwaw_internal.cxx:294
MWAWSpreadsheetListener::m_psStack
std::vector< std::shared_ptr< MWAWSpreadsheetListenerInternal::State > > m_psStack
stack of local state
Definition: MWAWSpreadsheetListener.hxx:299
MWAWSpreadsheetListenerInternal::State::m_textBuffer
librevenge::RVNGString m_textBuffer
a buffer to stored the text
Definition: MWAWSpreadsheetListener.cxx:137
MWAWSpreadsheetListener::closeGroup
void closeGroup() final
close a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1192
MWAWSpreadsheetListener::_getListId
int _getListId() const
low level: find a list id which corresponds to actual list and a change of level.
Definition: MWAWSpreadsheetListener.cxx:788
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:84
MWAWCellContent::double2Time
static bool double2Time(double val, int &H, int &M, int &S)
conversion beetween double: second since 0:00 and time
Definition: MWAWCell.cxx:590
MWAWPosition::WDynamic
@ WDynamic
Definition: MWAWPosition.hxx:53
MWAWNote::m_number
int m_number
the note number if defined
Definition: libmwaw_internal.hxx:460
MWAWSpreadsheetListener::_popParsingState
void _popParsingState()
resets the previous parsing state
Definition: MWAWSpreadsheetListener.cxx:2015
MWAWSpreadsheetListener::insertChar
void insertChar(uint8_t character) final
adds a basic character, ..
Definition: MWAWSpreadsheetListener.cxx:271
MWAWSpreadsheetListener::isParagraphOpened
bool isParagraphOpened() const final
returns true if a paragraph or a list is opened
Definition: MWAWSpreadsheetListener.cxx:436
MWAWSpreadsheetListenerInternal::DocumentState::m_section
MWAWSection m_section
list of document actually open
Definition: MWAWSpreadsheetListener.cxx:117
MWAW_FALLTHROUGH
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
MWAWSpreadsheetListenerInternal::State::m_isHeaderFooterOpened
bool m_isHeaderFooterOpened
a flag to know if the header footer is started
Definition: MWAWSpreadsheetListener.cxx:149
MWAWLink
a link
Definition: libmwaw_internal.hxx:430
MWAWSpreadsheetListener::setParagraph
void setParagraph(MWAWParagraph const &paragraph) final
sets the paragraph
Definition: MWAWSpreadsheetListener.cxx:441
MWAWSpreadsheetListenerInternal::State::m_isTableCellOpened
bool m_isTableCellOpened
Definition: MWAWSpreadsheetListener.cxx:169
MWAWSpreadsheetListener::getPageSpan
const MWAWPageSpan & getPageSpan() final
returns the current page span
Definition: MWAWSpreadsheetListener.cxx:582
MWAWGraphicStyle
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:47
MWAWSpreadsheetListener::_openPageSpan
void _openPageSpan(bool sendHeaderFooters=true)
does open a new page (low level)
Definition: MWAWSpreadsheetListener.cxx:590
MWAWSpreadsheetListener::_closeSpan
void _closeSpan()
Definition: MWAWSpreadsheetListener.cxx:883
MWAWPosition::size
const MWAWVec2f & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
MWAWSpreadsheetListener::openTable
void openTable(MWAWTable const &table) final
open a table
Definition: MWAWSpreadsheetListener.cxx:1879
MWAWSpreadsheetListenerInternal
Internal and low level namespace to define the states of MWAWSpreadsheetListener.
Definition: MWAWSpreadsheetListener.cxx:71
MWAWSpreadsheetListener::getSection
const MWAWSection & getSection() const final
returns the actual section
Definition: MWAWSpreadsheetListener.cxx:682
MWAWPageSpan::getPageProperty
void getPageProperty(librevenge::RVNGPropertyList &pList, bool isPresentation=false) const
add the page properties in pList
Definition: MWAWPageSpan.cxx:310
MWAWSpreadsheetListener::startDocument
void startDocument() final
starts the document
Definition: MWAWSpreadsheetListener.cxx:531
MWAWPosition::XCenter
@ XCenter
Definition: MWAWPosition.hxx:55
MWAWPosition::Unknown
@ Unknown
Definition: MWAWPosition.hxx:51
MWAWSpreadsheetListener::_closeParagraph
void _closeParagraph()
Definition: MWAWSpreadsheetListener.cxx:722
MWAWCellContent::double2Date
static bool double2Date(double val, int &Y, int &M, int &D)
conversion beetween double days since 1900 and a date, ie val=0 corresponds to 1/1/1900,...
Definition: MWAWCell.cxx:510
MWAWCell.hxx
MWAWCell::addTo
void addTo(librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
adds to the propList
Definition: MWAWCell.cxx:255
MWAWCell::getFormat
const Format & getFormat() const
returns the cell format
Definition: MWAWCell.hxx:237
MWAWSpreadsheetListener::~MWAWSpreadsheetListener
~MWAWSpreadsheetListener() final
destructor
Definition: MWAWSpreadsheetListener.cxx:259
MWAWSpreadsheetListenerInternal::State::m_isNote
bool m_isNote
Definition: MWAWSpreadsheetListener.cxx:179
MWAWSpreadsheetListenerInternal::State::~State
~State()
destructor
Definition: MWAWSpreadsheetListener.cxx:128
MWAWSubDocument.hxx
MWAWPageSpan::setFormLength
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
MWAWPageSpan::getPageSpan
int getPageSpan() const
Definition: MWAWPageSpan.hxx:170
MWAWGraphicShape::getType
Type getType() const
returns the type corresponding to a shape
Definition: MWAWGraphicShape.hxx:192
MWAWPosition::YFull
@ YFull
Definition: MWAWPosition.hxx:57
MWAWLink::addTo
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist (if needed )
Definition: libmwaw_internal.cxx:423
MWAWSpreadsheetListenerInternal::State::m_subDocumentType
libmwaw::SubDocumentType m_subDocumentType
Definition: MWAWSpreadsheetListener.cxx:181
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
MWAWSpreadsheetListener::canOpenSectionAddBreak
bool canOpenSectionAddBreak() const final
returns true if we can add open a section, add page break, ...
Definition: MWAWSpreadsheetListener.hxx:235
MWAWPosition::m_anchorCellName
librevenge::RVNGString m_anchorCellName
the anchor cell name
Definition: MWAWPosition.hxx:272
MWAWCellContent::m_formula
std::vector< FormulaInstruction > m_formula
the formula list of instruction
Definition: MWAWCell.hxx:491
MWAWSpreadsheetListenerInternal::State
the state of a MWAWSpreadsheetListener
Definition: MWAWSpreadsheetListener.cxx:124
MWAWSpreadsheetListener::openGroup
bool openGroup(MWAWPosition const &pos) final
open a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1166
MWAWSpreadsheetListener
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:65
MWAWParagraph.hxx
MWAWSpreadsheetListener::canWriteText
bool canWriteText() const final
returns true if we can add text data
Definition: MWAWSpreadsheetListener.cxx:266
MWAWSpreadsheetListenerInternal::PageBreakBit
@ PageBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
MWAWSpreadsheetListener::closeSection
bool closeSection() final
close a section
Definition: MWAWSpreadsheetListener.cxx:694
MWAWSpreadsheetListener::getType
Type getType() const final
returns the listener type
Definition: MWAWSpreadsheetListener.hxx:78
MWAWSpreadsheetListenerInternal::DocumentState::m_isSheetRowOpened
bool m_isSheetRowOpened
a flag to know if a row is open
Definition: MWAWSpreadsheetListener.cxx:110
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:673
MWAWPageSpan::sendHeaderFooters
void sendHeaderFooters(MWAWListener *listener) const
send the page's headers/footers if some exists
Definition: MWAWPageSpan.cxx:283
MWAWSpreadsheetListenerInternal::DocumentState::~DocumentState
~DocumentState()
destructor
Definition: MWAWSpreadsheetListener.cxx:94
MWAWSpreadsheetListener::insertEOL
void insertEOL(bool softBreak=false) final
adds an end of line ( by default an hard one)
Definition: MWAWSpreadsheetListener.cxx:367
MWAWSpreadsheetListener::endDocument
void endDocument(bool sendDelayedSubDoc=true) final
ends the document
Definition: MWAWSpreadsheetListener.cxx:544
libmwaw_internal.hxx
MWAWListener
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:49
MWAWPageSpan::setFormWidth
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
MWAWPosition.hxx
MWAWGraphicShape::C_Bad
@ C_Bad
Definition: MWAWGraphicShape.hxx:51
MWAWSpreadsheetListener::insertComment
void insertComment(MWAWSubDocumentPtr &subDocument) final
adds comment
Definition: MWAWSpreadsheetListener.cxx:1001
MWAWSpreadsheetListenerInternal::DocumentState::m_isDocumentStarted
bool m_isDocumentStarted
a flag to know if the document is open
Definition: MWAWSpreadsheetListener.cxx:108
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:668
MWAWSpreadsheetListener::insertUnicodeString
void insertUnicodeString(librevenge::RVNGString const &str) final
adds a unicode string
Definition: MWAWSpreadsheetListener.cxx:355
MWAWSpreadsheetListener::_openSpan
void _openSpan()
Definition: MWAWSpreadsheetListener.cxx:862
MWAWSpreadsheetListenerInternal::DocumentState::m_isSheetOpened
bool m_isSheetOpened
a flag to know if a sheet is open
Definition: MWAWSpreadsheetListener.cxx:109
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:47
MWAWSpreadsheetListener::setDocumentLanguage
void setDocumentLanguage(std::string const &locale) final
sets the documents language
Definition: MWAWSpreadsheetListener.cxx:520
MWAWCellContent::m_value
double m_value
the cell value
Definition: MWAWCell.hxx:485
MWAWPosition::m_wrapping
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
libmwaw::DOC_HEADER_FOOTER
@ DOC_HEADER_FOOTER
Definition: libmwaw_internal.hxx:188
libmwaw::DOC_GRAPHIC_GROUP
@ DOC_GRAPHIC_GROUP
Definition: libmwaw_internal.hxx:188
MWAWTable
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:51
MWAWSpreadsheetListener::handleSubDocument
void handleSubDocument(MWAWSubDocumentPtr const &subDocument, libmwaw::SubDocumentType subDocumentType) final
function called to add a subdocument
Definition: MWAWSpreadsheetListener.cxx:1527
MWAWSpreadsheetListener::insertFooter
bool insertFooter(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final
insert a footer
Definition: MWAWSpreadsheetListener.cxx:666
MWAWVec2< float >
MWAWFont::size
float size() const
returns the font size
Definition: MWAWFont.hxx:270
MWAWGraphicListener.hxx
MWAWCellContent
small class use to define a sheet cell content
Definition: MWAWCell.hxx:393
MWAWGraphicShape.hxx
MWAWSection
a class which stores section properties
Definition: MWAWSection.hxx:45
libmwaw::ParseException
Definition: libmwaw_internal.hxx:143
MWAWSpreadsheetListener::isHeaderFooterOpened
bool isHeaderFooterOpened() const final
returns true if the header/footer is open
Definition: MWAWSpreadsheetListener.cxx:648
MWAWSpreadsheetListener::m_ds
std::shared_ptr< MWAWSpreadsheetListenerInternal::DocumentState > m_ds
the main parse state
Definition: MWAWSpreadsheetListener.hxx:295
MWAWPosition::page
int page() const
returns the frame page
Definition: MWAWPosition.hxx:125
MWAWSpreadsheetListenerInternal::State::m_numPagesRemainingInSpan
int m_numPagesRemainingInSpan
Definition: MWAWSpreadsheetListener.cxx:172
MWAWPosition::naturalSize
const MWAWVec2f & naturalSize() const
returns the natural size (if known)
Definition: MWAWPosition.hxx:140
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
MWAWGraphicShape::C_Polyline
@ C_Polyline
Definition: MWAWGraphicShape.hxx:51
MWAWSpreadsheetListener::_closeListElement
void _closeListElement()
close a list level
Definition: MWAWSpreadsheetListener.cxx:775
libmwaw::DOC_SHEET
@ DOC_SHEET
Definition: libmwaw_internal.hxx:188
MWAWSpreadsheetListener::_handleFrameParameters
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, MWAWPosition const &pos)
Definition: MWAWSpreadsheetListener.cxx:1286
MWAWField
a field
Definition: libmwaw_internal.hxx:399
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
MWAWSpreadsheetListenerInternal::State::m_isSpanOpened
bool m_isSpanOpened
Definition: MWAWSpreadsheetListener.cxx:157
MWAWSpreadsheetListenerInternal::State::m_isTableOpened
bool m_isTableOpened
Definition: MWAWSpreadsheetListener.cxx:166
MWAWSpreadsheetListenerInternal::State::m_list
std::shared_ptr< MWAWList > m_list
Definition: MWAWSpreadsheetListener.cxx:146
libmwaw::DOC_TABLE
@ DOC_TABLE
Definition: libmwaw_internal.hxx:188
MWAWSpreadsheetListenerInternal::State::m_isGroupOpened
bool m_isGroupOpened
a flag to know if openGroup was called
Definition: MWAWSpreadsheetListener.cxx:153
MWAWSpreadsheetListener::closeTableRow
void closeTableRow() final
closes this row
Definition: MWAWSpreadsheetListener.cxx:1938
MWAWSpreadsheetListener::MWAWSpreadsheetListener
MWAWSpreadsheetListener(MWAWParserState &parserState, std::vector< MWAWPageSpan > const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface)
constructor
Definition: MWAWSpreadsheetListener.cxx:233
MWAWSpreadsheetListener::insertTab
void insertTab() final
adds a tab
Definition: MWAWSpreadsheetListener.cxx:390
MWAWParserState::m_fontConverter
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWParser.hxx:74
MWAWSpreadsheetListenerInternal::State::m_font
MWAWFont m_font
the font
Definition: MWAWSpreadsheetListener.cxx:142
MWAWSpreadsheetListenerInternal::DocumentState::operator=
DocumentState & operator=(const DocumentState &)=delete
libmwaw::DOC_TEXT_BOX
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
MWAWSpreadsheetListenerInternal::State::m_inLink
bool m_inLink
Definition: MWAWSpreadsheetListener.cxx:180
MWAWSpreadsheetListenerInternal::State::m_isTableColumnOpened
bool m_isTableColumnOpened
Definition: MWAWSpreadsheetListener.cxx:168
MWAWCell::F_NUMBER
@ F_NUMBER
Definition: MWAWCell.hxx:56
MWAWList.hxx
libmwaw::DOC_NOTE
@ DOC_NOTE
Definition: libmwaw_internal.hxx:188
MWAWCell::F_TIME
@ F_TIME
Definition: MWAWCell.hxx:56
MWAWSpreadsheetListener::getParagraph
const MWAWParagraph & getParagraph() const final
returns the actual paragraph
Definition: MWAWSpreadsheetListener.cxx:448
MWAWGraphicShape::Line
@ Line
Definition: MWAWGraphicShape.hxx:49
MWAWListener::Type
Type
the listener type
Definition: MWAWListener.hxx:56
MWAWSpreadsheetListenerInternal::DocumentState
a class to store the document state of a MWAWSpreadsheetListener
Definition: MWAWSpreadsheetListener.cxx:76
MWAWNote::m_type
Type m_type
the note type
Definition: libmwaw_internal.hxx:456
MWAWGraphicStyle.hxx
MWAWSpreadsheetListener::_openParagraph
void _openParagraph()
Definition: MWAWSpreadsheetListener.cxx:703
MWAWPageSpan.hxx
MWAWGraphicShape::C_Ellipse
@ C_Ellipse
Definition: MWAWGraphicShape.hxx:51
MWAWParserState
a class to define the parser state
Definition: MWAWParser.hxx:49
MWAWPosition::origin
const MWAWVec2f & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
MWAWGraphicStyle::m_frameNextName
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:470
MWAWSpreadsheetListener::insertTable
void insertTable(MWAWPosition const &pos, MWAWTable &table, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a table in given position
Definition: MWAWSpreadsheetListener.cxx:1824
MWAWSpreadsheetListener::insertNote
void insertNote(MWAWNote const &note, MWAWSubDocumentPtr &subDocument) final
insert a note
Definition: MWAWSpreadsheetListener.cxx:948
MWAWSpreadsheetListener::insertField
void insertField(MWAWField const &field) final
adds a field type
Definition: MWAWSpreadsheetListener.cxx:456
MWAWSpreadsheetListener::_resetParagraphState
void _resetParagraphState(const bool isListElement=false)
Definition: MWAWSpreadsheetListener.cxx:743
MWAWPosition::Page
@ Page
Definition: MWAWPosition.hxx:51
MWAWSpreadsheetListenerInternal::DocumentState::m_numberingIdMap
std::map< MWAWCell::Format, int, MWAWCell::CompareFormat > m_numberingIdMap
a map cell's format to id
Definition: MWAWSpreadsheetListener.cxx:114
MWAWPosition::WForeground
@ WForeground
Definition: MWAWPosition.hxx:53
MWAWSpreadsheetListenerInternal::State::m_isFrameOpened
bool m_isFrameOpened
Definition: MWAWSpreadsheetListener.cxx:150
MWAWSection.hxx
MWAWParserState::m_fontManager
MWAWFontManagerPtr m_fontManager
the font manager
Definition: MWAWParser.hxx:76
MWAWSpreadsheetListenerInternal::State::operator=
State & operator=(const State &)=delete
MWAWSpreadsheetListenerInternal::ColumnBreakBit
@ ColumnBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
MWAWChart
a class used to store a chart associated to a spreadsheet ....
Definition: MWAWChart.hxx:57
MWAWNote::m_label
librevenge::RVNGString m_label
the note label
Definition: libmwaw_internal.hxx:458
MWAWSpreadsheetListenerInternal::State::m_numDeferredTabs
int m_numDeferredTabs
the number of tabs to add
Definition: MWAWSpreadsheetListener.cxx:139
MWAWSpreadsheetListener::closeTableCell
void closeTableCell() final
close a cell
Definition: MWAWSpreadsheetListener.cxx:1984
MWAWPosition::rightBottomClipping
const MWAWVec2f & rightBottomClipping() const
returns the right bottom clipping
Definition: MWAWPosition.hxx:150
MWAWSpreadsheetListenerInternal::DocumentState::m_subDocuments
std::vector< MWAWSubDocumentPtr > m_subDocuments
Definition: MWAWSpreadsheetListener.cxx:115
MWAWGraphicShape::addTo
Command addTo(MWAWVec2f const &orig, bool asSurface, librevenge::RVNGPropertyList &propList) const
updates the propList to send to an interface
Definition: MWAWGraphicShape.cxx:458
MWAWPosition::YTop
@ YTop
Definition: MWAWPosition.hxx:57
MWAWListener.hxx
MWAWSpreadsheetListenerInternal::State::m_isTextboxOpened
bool m_isTextboxOpened
Definition: MWAWSpreadsheetListener.cxx:151
MWAWSpreadsheetListener.hxx
MWAWSpreadsheetListener::_startSubDocument
void _startSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1602
MWAWPosition::unit
librevenge::RVNGUnit unit() const
returns the unit
Definition: MWAWPosition.hxx:155
MWAWSpreadsheetListener::getFont
const MWAWFont & getFont() const final
returns the actual font
Definition: MWAWSpreadsheetListener.cxx:431
MWAWPosition::m_yPos
YPos m_yPos
Y relative position.
Definition: MWAWPosition.hxx:276
MWAWPosition::XRight
@ XRight
Definition: MWAWPosition.hxx:55
MWAWBox2::size
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
MWAWPosition::Frame
@ Frame
Definition: MWAWPosition.hxx:51
MWAWSpreadsheetListener::insertChart
void insertChart(MWAWPosition const &pos, MWAWChart &chart, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a chart in given position
Definition: MWAWSpreadsheetListener.cxx:1854
MWAWSpreadsheetListener::closeSheetRow
void closeSheetRow()
closes this row
Definition: MWAWSpreadsheetListener.cxx:1696
MWAWSpreadsheetListenerInternal::DocumentState::m_sentListMarkers
std::vector< int > m_sentListMarkers
the list of marker corresponding to sent list
Definition: MWAWSpreadsheetListener.cxx:112
MWAWSpreadsheetListener::closeLink
void closeLink() final
close a link
Definition: MWAWSpreadsheetListener.cxx:499
MWAWPosition::WRunThrough
@ WRunThrough
Definition: MWAWPosition.hxx:53
MWAWNote::FootNote
@ FootNote
Definition: libmwaw_internal.hxx:447
MWAWSpreadsheetListenerInternal::DocumentState::m_footNoteNumber
int m_footNoteNumber
footnote number
Definition: MWAWSpreadsheetListener.cxx:105
MWAWSpreadsheetListener::closeFrame
void closeFrame() final
tries to close a frame
Definition: MWAWSpreadsheetListener.cxx:1275
MWAWFont::Script
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
MWAWPosition::XLeft
@ XLeft
Definition: MWAWPosition.hxx:55
libmwaw
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
MWAWSpreadsheetListener::closeSheetCell
void closeSheetCell()
close a cell
Definition: MWAWSpreadsheetListener.cxx:1810
MWAWPosition::Paragraph
@ Paragraph
Definition: MWAWPosition.hxx:51
MWAWPosition::YBottom
@ YBottom
Definition: MWAWPosition.hxx:57
MWAWSpreadsheetListener::_changeList
void _changeList()
update the list so that it corresponds to the actual level
Definition: MWAWSpreadsheetListener.cxx:804
MWAWInputStream.hxx
MWAWSpreadsheetListener::closeTable
void closeTable() final
closes this table
Definition: MWAWSpreadsheetListener.cxx:1903
MWAWSpreadsheetListener::openTableRow
void openTableRow(float h, librevenge::RVNGUnit unit, bool headerRow=false) final
open a row with given height ( if h < 0.0, set min-row-height = -h )
Definition: MWAWSpreadsheetListener.cxx:1917
MWAWPosition::getScaleFactor
static float getScaleFactor(librevenge::RVNGUnit orig, librevenge::RVNGUnit dest)
Definition: MWAWPosition.hxx:159
MWAWFont.hxx
MWAWPosition::m_anchorTo
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
librevenge
Definition: MWAWDocument.hxx:56
MWAWSpreadsheetListener::_flushText
void _flushText()
Definition: MWAWSpreadsheetListener.cxx:917
MWAWGraphicStyle::addTo
void addTo(librevenge::RVNGPropertyList &pList, bool only1d=false) const
add all the parameters to the propList excepted the frame parameter: the background and the borders
Definition: MWAWGraphicStyle.cxx:191
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
MWAWSpreadsheetListenerInternal::State::m_isSheetCellOpened
bool m_isSheetCellOpened
Definition: MWAWSpreadsheetListener.cxx:164
MWAWSpreadsheetListenerInternal::State::m_inSubDocument
bool m_inSubDocument
a stack used to know what is open
Definition: MWAWSpreadsheetListener.cxx:177
MWAWBox2< float >
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:43
MWAWSpreadsheetListener::openLink
void openLink(MWAWLink const &link) final
open a link
Definition: MWAWSpreadsheetListener.cxx:479
MWAWCell
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
MWAWField::addTo
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist (if possible)
Definition: libmwaw_internal.cxx:240
MWAWChart::sendChart
void sendChart(MWAWSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: MWAWChart.cxx:176
MWAWSpreadsheetListener::openFrame
bool openFrame(MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle()) final
tries to open a frame
Definition: MWAWSpreadsheetListener.cxx:1203
MWAWPosition::WParallel
@ WParallel
Definition: MWAWPosition.hxx:53
MWAWSpreadsheetListener::m_documentInterface
librevenge::RVNGSpreadsheetInterface * m_documentInterface
the document interface
Definition: MWAWSpreadsheetListener.hxx:303
libmwaw::DOC_NONE
@ DOC_NONE
Definition: libmwaw_internal.hxx:188
MWAWGraphicStyle::hasSurface
bool hasSurface() const
returns true if the interior surface is defined
Definition: MWAWGraphicStyle.hxx:352
MWAWSpreadsheetListener::m_ps
std::shared_ptr< MWAWSpreadsheetListenerInternal::State > m_ps
the actual local parse state
Definition: MWAWSpreadsheetListener.hxx:297
MWAWSpreadsheetListener::_pushParsingState
std::shared_ptr< MWAWSpreadsheetListenerInternal::State > _pushParsingState()
creates a new parsing state (copy of the actual state)
Definition: MWAWSpreadsheetListener.cxx:2004
MWAWTable::addTablePropertiesTo
void addTablePropertiesTo(librevenge::RVNGPropertyList &propList) const
adds the table properties to propList
Definition: MWAWTable.cxx:131
MWAWParser.hxx
MWAWSpreadsheetListenerInternal::State::m_isSheetColumnOpened
bool m_isSheetColumnOpened
Definition: MWAWSpreadsheetListener.cxx:163
MWAWSpreadsheetListenerInternal::State::m_currentPage
unsigned m_currentPage
Definition: MWAWSpreadsheetListener.cxx:171
MWAWSpreadsheetListener::insertUnicode
void insertUnicode(uint32_t character) final
adds an unicode character.
Definition: MWAWSpreadsheetListener.cxx:340
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:98
MWAWSpreadsheetListener::openSheetCell
void openSheetCell(MWAWCell const &cell, MWAWCellContent const &content, int numRepeated=1)
open a cell
Definition: MWAWSpreadsheetListener.cxx:1706
MWAWGraphicShape::C_Rectangle
@ C_Rectangle
Definition: MWAWGraphicShape.hxx:51
MWAWSpreadsheetListenerInternal::State::m_listOrderedLevels
std::vector< bool > m_listOrderedLevels
Definition: MWAWSpreadsheetListener.cxx:175
MWAWSpreadsheetListener::setFont
void setFont(MWAWFont const &font) final
sets the font
Definition: MWAWSpreadsheetListener.cxx:415
MWAWCell::F_TEXT
@ F_TEXT
Definition: MWAWCell.hxx:56
MWAWSpreadsheetListenerInternal::State::m_isTableRowOpened
bool m_isTableRowOpened
Definition: MWAWSpreadsheetListener.cxx:167