Go to the documentation of this file.
40 #ifndef MWAW_SPREADSHEET_LISTENER_H
41 #define MWAW_SPREADSHEET_LISTENER_H
45 #include <librevenge/librevenge.h>
91 void endDocument(
bool sendDelayedSubDoc=true) final;
133 std::vector<
int> const &repeatColWidthNumber=std::vector<
int>(), std::
string const &name="");
172 void insertEOL(
bool softBreak=false) final;
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist
Definition: libmwaw_internal.cxx:579
void _flushDeferredTabs()
Definition: MWAWSpreadsheetListener.cxx:897
void _endSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1608
@ CharBaseLine
Definition: MWAWPosition.hxx:51
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
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
void insertCharacter(unsigned char c) final
insert a character using the font converter to find the utf8 character
Definition: MWAWSpreadsheetListener.cxx:286
bool m_isHeaderFooterWithoutParagraph
Definition: MWAWSpreadsheetListener.cxx:155
Format const & getFormat() const
returns the cell format
Definition: MWAWCell.hxx:237
@ Cell
Definition: MWAWPosition.hxx:51
BreakType
the different break type
Definition: MWAWListener.hxx:58
an noop deleter used to transform a libwpd pointer in a false std::shared_ptr
Definition: libmwaw_internal.hxx:101
librevenge::RVNGPropertyList m_metaData
the document meta data
Definition: MWAWSpreadsheetListener.cxx:103
int m_currentPageNumber
Definition: MWAWSpreadsheetListener.cxx:173
bool canWriteText() const
returns true if we are in a text zone
Definition: MWAWSpreadsheetListener.cxx:130
MWAWVec2f const & naturalSize() const
returns the natural size (if known)
Definition: MWAWPosition.hxx:140
@ F_BOOLEAN
Definition: MWAWCell.hxx:56
bool m_isParagraphOpened
Definition: MWAWSpreadsheetListener.cxx:158
bool isPageSpanOpened() const final
returns true if a page is opened
Definition: MWAWSpreadsheetListener.cxx:577
a note
Definition: libmwaw_internal.hxx:445
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
Type m_type
the type
Definition: libmwaw_internal.hxx:420
float getInvUnitScale(librevenge::RVNGUnit fromUnit) const
returns a float which can be used to scale some data in object unit
Definition: MWAWPosition.hxx:199
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
void closeSheet()
closes this sheet
Definition: MWAWSpreadsheetListener.cxx:1662
bool m_firstParagraphInPageSpan
Definition: MWAWSpreadsheetListener.cxx:161
DocumentState(std::vector< MWAWPageSpan > const &pageList)
constructor
Definition: MWAWSpreadsheetListener.cxx:78
bool isDocumentStarted() const final
returns true if a document is opened
Definition: MWAWSpreadsheetListener.cxx:526
State()
constructor
Definition: MWAWSpreadsheetListener.cxx:188
State(const State &)=delete
@ C_Polygon
Definition: MWAWGraphicShape.hxx:51
void addFrameTo(librevenge::RVNGPropertyList &pList) const
add all the frame parameters to propList: the background and the borders
Definition: MWAWGraphicStyle.cxx:380
MWAWListManagerPtr m_listManager
the list manager
Definition: MWAWParser.hxx:80
@ F_DATE
Definition: MWAWCell.hxx:56
@ C_Path
Definition: MWAWGraphicShape.hxx:51
bool openSection(MWAWSection const §ion) final
open a section if possible
Definition: MWAWSpreadsheetListener.cxx:688
@ XFull
Definition: MWAWPosition.hxx:55
int m_smallPictureNumber
number of small picture
Definition: MWAWSpreadsheetListener.cxx:107
MWAWParserState & m_parserState
the parser state
Definition: MWAWSpreadsheetListener.hxx:301
@ DOC_COMMENT_ANNOTATION
Definition: libmwaw_internal.hxx:188
MWAWSection const & getSection() const final
returns the actual section
Definition: MWAWSpreadsheetListener.cxx:682
std::vector< MWAWPageSpan > m_pageList
the pages definition
Definition: MWAWSpreadsheetListener.cxx:99
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
void insertBreak(BreakType breakType) final
inserts a break type: ColumBreak, PageBreak, ..
Definition: MWAWSpreadsheetListener.cxx:406
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
void setDocumentMetaData(librevenge::RVNGPropertyList const &metadata) final
sets the documents metadata
Definition: MWAWSpreadsheetListener.cxx:513
void _closePageSpan()
does close a page (low level)
Definition: MWAWSpreadsheetListener.cxx:636
int id() const
returns the font id
Definition: MWAWFont.hxx:259
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:259
bool isValueSet() const
returns true if the value has been setted
Definition: MWAWCell.hxx:464
MWAWPageSpan m_pageSpan
the current page span
Definition: MWAWSpreadsheetListener.cxx:101
bool isSubDocumentOpened(libmwaw::SubDocumentType &subdocType) const final
returns try if a subdocument is open
Definition: MWAWSpreadsheetListener.cxx:1594
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style) final
adds a shape picture in given position
Definition: MWAWSpreadsheetListener.cxx:1053
bool m_isPageSpanOpened
Definition: MWAWSpreadsheetListener.cxx:148
@ Spreadsheet
Definition: MWAWListener.hxx:56
void _openListElement()
open a list level
Definition: MWAWSpreadsheetListener.cxx:753
@ DOC_CHART
Definition: libmwaw_internal.hxx:188
@ DOC_CHART_ZONE
Definition: libmwaw_internal.hxx:188
@ F_UNKNOWN
Definition: MWAWCell.hxx:56
void openTableCell(MWAWCell const &cell) final
open a cell
Definition: MWAWSpreadsheetListener.cxx:1967
XPos m_xPos
X relative position.
Definition: MWAWPosition.hxx:274
bool insertHeader(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final
insert a header
Definition: MWAWSpreadsheetListener.cxx:653
@ WBackground
Definition: MWAWPosition.hxx:53
bool m_isListElementOpened
Definition: MWAWSpreadsheetListener.cxx:159
bool isSectionOpened() const final
returns true if a section is opened
Definition: MWAWSpreadsheetListener.hxx:240
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
@ YCenter
Definition: MWAWPosition.hxx:57
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
bool sendTable(MWAWListenerPtr listener, bool inFrame=true)
try to send the table
Definition: MWAWTable.cxx:471
@ ColumnBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
void addEmptyTableCell(MWAWVec2i const &pos, MWAWVec2i span=MWAWVec2i(1, 1)) final
add empty cell
Definition: MWAWSpreadsheetListener.cxx:1948
std::shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:565
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr const &subDocument, MWAWGraphicStyle const &frameStyle=MWAWGraphicStyle::emptyStyle()) final
adds a textbox in given position
Definition: MWAWSpreadsheetListener.cxx:1034
MWAWParagraph m_paragraph
the paragraph
Definition: MWAWSpreadsheetListener.cxx:144
librevenge::RVNGString getString() const
returns a string corresponding to the field (if possible) */
Definition: libmwaw_internal.cxx:294
std::vector< std::shared_ptr< MWAWSpreadsheetListenerInternal::State > > m_psStack
stack of local state
Definition: MWAWSpreadsheetListener.hxx:299
librevenge::RVNGString m_textBuffer
a buffer to stored the text
Definition: MWAWSpreadsheetListener.cxx:137
void closeGroup() final
close a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1192
int _getListId() const
low level: find a list id which corresponds to actual list and a change of level.
Definition: MWAWSpreadsheetListener.cxx:788
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
static bool double2Time(double val, int &H, int &M, int &S)
conversion beetween double: second since 0:00 and time
Definition: MWAWCell.cxx:590
@ WDynamic
Definition: MWAWPosition.hxx:53
int m_number
the note number if defined
Definition: libmwaw_internal.hxx:460
void _popParsingState()
resets the previous parsing state
Definition: MWAWSpreadsheetListener.cxx:2015
void insertChar(uint8_t character) final
adds a basic character, ..
Definition: MWAWSpreadsheetListener.cxx:271
bool isParagraphOpened() const final
returns true if a paragraph or a list is opened
Definition: MWAWSpreadsheetListener.cxx:436
MWAWSection m_section
list of document actually open
Definition: MWAWSpreadsheetListener.cxx:117
#define MWAW_FALLTHROUGH
Definition: libmwaw_internal.hxx:118
bool m_isHeaderFooterOpened
a flag to know if the header footer is started
Definition: MWAWSpreadsheetListener.cxx:149
a link
Definition: libmwaw_internal.hxx:430
void setParagraph(MWAWParagraph const ¶graph) final
sets the paragraph
Definition: MWAWSpreadsheetListener.cxx:441
MWAWFont const & getFont() const final
returns the actual font
Definition: MWAWSpreadsheetListener.cxx:431
bool m_isTableCellOpened
Definition: MWAWSpreadsheetListener.cxx:169
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
void _openPageSpan(bool sendHeaderFooters=true)
does open a new page (low level)
Definition: MWAWSpreadsheetListener.cxx:590
void _closeSpan()
Definition: MWAWSpreadsheetListener.cxx:883
void openTable(MWAWTable const &table) final
open a table
Definition: MWAWSpreadsheetListener.cxx:1879
Internal and low level namespace to define the states of MWAWSpreadsheetListener.
Definition: MWAWSpreadsheetListener.cxx:72
void getPageProperty(librevenge::RVNGPropertyList &pList, bool isPresentation=false) const
add the page properties in pList
Definition: MWAWPageSpan.cxx:310
void startDocument() final
starts the document
Definition: MWAWSpreadsheetListener.cxx:531
@ XCenter
Definition: MWAWPosition.hxx:55
@ Unknown
Definition: MWAWPosition.hxx:51
void _closeParagraph()
Definition: MWAWSpreadsheetListener.cxx:722
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
Defines MWAWCell (cell content and format)
void addTo(librevenge::RVNGPropertyList &propList, std::shared_ptr< MWAWFontConverter > fontConverter) const
adds to the propList
Definition: MWAWCell.cxx:255
~MWAWSpreadsheetListener() final
destructor
Definition: MWAWSpreadsheetListener.cxx:259
bool m_isNote
Definition: MWAWSpreadsheetListener.cxx:179
~State()
destructor
Definition: MWAWSpreadsheetListener.cxx:128
MWAWParagraph const & getParagraph() const final
returns the actual paragraph
Definition: MWAWSpreadsheetListener.cxx:448
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:135
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:178
int getPageSpan() const
Definition: MWAWPageSpan.hxx:170
Type getType() const
returns the type corresponding to a shape
Definition: MWAWGraphicShape.hxx:192
@ YFull
Definition: MWAWPosition.hxx:57
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist (if needed )
Definition: libmwaw_internal.cxx:423
libmwaw::SubDocumentType m_subDocumentType
Definition: MWAWSpreadsheetListener.cxx:181
SubDocumentType
Definition: libmwaw_internal.hxx:188
bool canOpenSectionAddBreak() const final
returns true if we can add open a section, add page break, ...
Definition: MWAWSpreadsheetListener.hxx:235
librevenge::RVNGString m_anchorCellName
the anchor cell name
Definition: MWAWPosition.hxx:272
std::vector< FormulaInstruction > m_formula
the formula list of instruction
Definition: MWAWCell.hxx:491
the state of a MWAWSpreadsheetListener
Definition: MWAWSpreadsheetListener.cxx:124
bool openGroup(MWAWPosition const &pos) final
open a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1166
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:66
bool canWriteText() const final
returns true if we can add text data
Definition: MWAWSpreadsheetListener.cxx:266
bool closeSection() final
close a section
Definition: MWAWSpreadsheetListener.cxx:694
Type getType() const final
returns the listener type
Definition: MWAWSpreadsheetListener.hxx:78
bool m_isSheetRowOpened
a flag to know if a row is open
Definition: MWAWSpreadsheetListener.cxx:110
T y() const
second element
Definition: libmwaw_internal.hxx:673
void sendHeaderFooters(MWAWListener *listener) const
send the page's headers/footers if some exists
Definition: MWAWPageSpan.cxx:283
~DocumentState()
destructor
Definition: MWAWSpreadsheetListener.cxx:94
void insertEOL(bool softBreak=false) final
adds an end of line ( by default an hard one)
Definition: MWAWSpreadsheetListener.cxx:367
void endDocument(bool sendDelayedSubDoc=true) final
ends the document
Definition: MWAWSpreadsheetListener.cxx:544
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:50
DocumentState(const DocumentState &)=delete
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:183
@ C_Bad
Definition: MWAWGraphicShape.hxx:51
void insertComment(MWAWSubDocumentPtr &subDocument) final
adds comment
Definition: MWAWSpreadsheetListener.cxx:1001
bool m_isDocumentStarted
a flag to know if the document is open
Definition: MWAWSpreadsheetListener.cxx:108
T x() const
first element
Definition: libmwaw_internal.hxx:668
void insertUnicodeString(librevenge::RVNGString const &str) final
adds a unicode string
Definition: MWAWSpreadsheetListener.cxx:355
void _openSpan()
Definition: MWAWSpreadsheetListener.cxx:862
bool m_isSheetOpened
a flag to know if a sheet is open
Definition: MWAWSpreadsheetListener.cxx:109
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
void setDocumentLanguage(std::string const &locale) final
sets the documents language
Definition: MWAWSpreadsheetListener.cxx:520
double m_value
the cell value
Definition: MWAWCell.hxx:485
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:278
@ DOC_HEADER_FOOTER
Definition: libmwaw_internal.hxx:188
@ PageBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
@ DOC_GRAPHIC_GROUP
Definition: libmwaw_internal.hxx:188
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:52
void handleSubDocument(MWAWSubDocumentPtr const &subDocument, libmwaw::SubDocumentType subDocumentType) final
function called to add a subdocument
Definition: MWAWSpreadsheetListener.cxx:1527
bool insertFooter(MWAWSubDocumentPtr const &subDocument, librevenge::RVNGPropertyList const &extras) final
insert a footer
Definition: MWAWSpreadsheetListener.cxx:666
float size() const
returns the font size
Definition: MWAWFont.hxx:270
small class use to define a sheet cell content
Definition: MWAWCell.hxx:394
a class which stores section properties
Definition: MWAWSection.hxx:46
Definition: libmwaw_internal.hxx:144
bool isHeaderFooterOpened() const final
returns true if the header/footer is open
Definition: MWAWSpreadsheetListener.cxx:648
std::shared_ptr< MWAWSpreadsheetListenerInternal::DocumentState > m_ds
the main parse state
Definition: MWAWSpreadsheetListener.hxx:295
int page() const
returns the frame page
Definition: MWAWPosition.hxx:125
int m_numPagesRemainingInSpan
Definition: MWAWSpreadsheetListener.cxx:172
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
@ C_Polyline
Definition: MWAWGraphicShape.hxx:51
void _closeListElement()
close a list level
Definition: MWAWSpreadsheetListener.cxx:775
@ DOC_SHEET
Definition: libmwaw_internal.hxx:188
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, MWAWPosition const &pos)
Definition: MWAWSpreadsheetListener.cxx:1286
a field
Definition: libmwaw_internal.hxx:399
@ Char
Definition: MWAWPosition.hxx:51
bool m_isSpanOpened
Definition: MWAWSpreadsheetListener.cxx:157
bool m_isTableOpened
Definition: MWAWSpreadsheetListener.cxx:166
std::shared_ptr< MWAWList > m_list
Definition: MWAWSpreadsheetListener.cxx:146
@ DOC_TABLE
Definition: libmwaw_internal.hxx:188
bool m_isGroupOpened
a flag to know if openGroup was called
Definition: MWAWSpreadsheetListener.cxx:153
void closeTableRow() final
closes this row
Definition: MWAWSpreadsheetListener.cxx:1938
MWAWSpreadsheetListener(MWAWParserState &parserState, std::vector< MWAWPageSpan > const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface)
constructor
Definition: MWAWSpreadsheetListener.cxx:233
void insertTab() final
adds a tab
Definition: MWAWSpreadsheetListener.cxx:390
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWParser.hxx:74
MWAWFont m_font
the font
Definition: MWAWSpreadsheetListener.cxx:142
DocumentState & operator=(const DocumentState &)=delete
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:188
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
bool m_inLink
Definition: MWAWSpreadsheetListener.cxx:180
bool m_isTableColumnOpened
Definition: MWAWSpreadsheetListener.cxx:168
@ F_NUMBER
Definition: MWAWCell.hxx:56
@ DOC_NOTE
Definition: libmwaw_internal.hxx:188
MWAWVec2f const & rightBottomClipping() const
returns the right bottom clipping
Definition: MWAWPosition.hxx:150
@ F_TIME
Definition: MWAWCell.hxx:56
@ Line
Definition: MWAWGraphicShape.hxx:49
Type
the listener type
Definition: MWAWListener.hxx:56
a class to store the document state of a MWAWSpreadsheetListener
Definition: MWAWSpreadsheetListener.cxx:76
Type m_type
the note type
Definition: libmwaw_internal.hxx:456
void _openParagraph()
Definition: MWAWSpreadsheetListener.cxx:703
@ C_Ellipse
Definition: MWAWGraphicShape.hxx:51
a class to define the parser state
Definition: MWAWParser.hxx:50
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:550
void insertTable(MWAWPosition const &pos, MWAWTable &table, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a table in given position
Definition: MWAWSpreadsheetListener.cxx:1824
void insertNote(MWAWNote const ¬e, MWAWSubDocumentPtr &subDocument) final
insert a note
Definition: MWAWSpreadsheetListener.cxx:948
void insertField(MWAWField const &field) final
adds a field type
Definition: MWAWSpreadsheetListener.cxx:456
void _resetParagraphState(const bool isListElement=false)
Definition: MWAWSpreadsheetListener.cxx:743
@ Page
Definition: MWAWPosition.hxx:51
std::map< MWAWCell::Format, int, MWAWCell::CompareFormat > m_numberingIdMap
a map cell's format to id
Definition: MWAWSpreadsheetListener.cxx:114
@ WForeground
Definition: MWAWPosition.hxx:53
bool m_isFrameOpened
Definition: MWAWSpreadsheetListener.cxx:150
MWAWFontManagerPtr m_fontManager
the font manager
Definition: MWAWParser.hxx:76
State & operator=(const State &)=delete
a class used to store a chart associated to a spreadsheet ....
Definition: MWAWChart.hxx:58
librevenge::RVNGString m_label
the note label
Definition: libmwaw_internal.hxx:458
int m_numDeferredTabs
the number of tabs to add
Definition: MWAWSpreadsheetListener.cxx:139
void closeTableCell() final
close a cell
Definition: MWAWSpreadsheetListener.cxx:1984
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:130
std::vector< MWAWSubDocumentPtr > m_subDocuments
Definition: MWAWSpreadsheetListener.cxx:115
Command addTo(MWAWVec2f const &orig, bool asSurface, librevenge::RVNGPropertyList &propList) const
updates the propList to send to an interface
Definition: MWAWGraphicShape.cxx:458
@ YTop
Definition: MWAWPosition.hxx:57
bool m_isTextboxOpened
Definition: MWAWSpreadsheetListener.cxx:151
MWAWPageSpan const & getPageSpan() final
returns the current page span
Definition: MWAWSpreadsheetListener.cxx:582
Defines MWAWSpreadsheetListener: the libmwaw spreadsheet processor listener.
void _startSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1602
librevenge::RVNGUnit unit() const
returns the unit
Definition: MWAWPosition.hxx:155
YPos m_yPos
Y relative position.
Definition: MWAWPosition.hxx:276
@ XRight
Definition: MWAWPosition.hxx:55
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1067
@ Frame
Definition: MWAWPosition.hxx:51
void insertChart(MWAWPosition const &pos, MWAWChart &chart, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a chart in given position
Definition: MWAWSpreadsheetListener.cxx:1854
void closeSheetRow()
closes this row
Definition: MWAWSpreadsheetListener.cxx:1696
std::vector< int > m_sentListMarkers
the list of marker corresponding to sent list
Definition: MWAWSpreadsheetListener.cxx:112
void closeLink() final
close a link
Definition: MWAWSpreadsheetListener.cxx:499
@ WRunThrough
Definition: MWAWPosition.hxx:53
@ FootNote
Definition: libmwaw_internal.hxx:447
int m_footNoteNumber
footnote number
Definition: MWAWSpreadsheetListener.cxx:105
void closeFrame() final
tries to close a frame
Definition: MWAWSpreadsheetListener.cxx:1275
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
@ XLeft
Definition: MWAWPosition.hxx:55
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:51
void closeSheetCell()
close a cell
Definition: MWAWSpreadsheetListener.cxx:1810
@ Paragraph
Definition: MWAWPosition.hxx:51
@ YBottom
Definition: MWAWPosition.hxx:57
void _changeList()
update the list so that it corresponds to the actual level
Definition: MWAWSpreadsheetListener.cxx:804
MWAWVec2f const & leftTopClipping() const
returns the left top clipping
Definition: MWAWPosition.hxx:145
void closeTable() final
closes this table
Definition: MWAWSpreadsheetListener.cxx:1903
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
static float getScaleFactor(librevenge::RVNGUnit orig, librevenge::RVNGUnit dest)
Definition: MWAWPosition.hxx:159
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:270
Definition: MWAWDocument.hxx:57
void _flushText()
Definition: MWAWSpreadsheetListener.cxx:917
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:251
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
bool m_isSheetCellOpened
Definition: MWAWSpreadsheetListener.cxx:164
bool m_inSubDocument
a stack used to know what is open
Definition: MWAWSpreadsheetListener.cxx:177
Class to store font.
Definition: MWAWFont.hxx:44
void openLink(MWAWLink const &link) final
open a link
Definition: MWAWSpreadsheetListener.cxx:479
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist (if possible)
Definition: libmwaw_internal.cxx:240
void sendChart(MWAWSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: MWAWChart.cxx:176
bool openFrame(MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle()) final
tries to open a frame
Definition: MWAWSpreadsheetListener.cxx:1203
@ WParallel
Definition: MWAWPosition.hxx:53
librevenge::RVNGSpreadsheetInterface * m_documentInterface
the document interface
Definition: MWAWSpreadsheetListener.hxx:303
@ DOC_NONE
Definition: libmwaw_internal.hxx:188
bool hasSurface() const
returns true if the interior surface is defined
Definition: MWAWGraphicStyle.hxx:442
std::shared_ptr< MWAWSpreadsheetListenerInternal::State > m_ps
the actual local parse state
Definition: MWAWSpreadsheetListener.hxx:297
std::shared_ptr< MWAWSpreadsheetListenerInternal::State > _pushParsingState()
creates a new parsing state (copy of the actual state)
Definition: MWAWSpreadsheetListener.cxx:2004
void addTablePropertiesTo(librevenge::RVNGPropertyList &propList) const
adds the table properties to propList
Definition: MWAWTable.cxx:131
bool m_isSheetColumnOpened
Definition: MWAWSpreadsheetListener.cxx:163
unsigned m_currentPage
Definition: MWAWSpreadsheetListener.cxx:171
void insertUnicode(uint32_t character) final
adds an unicode character.
Definition: MWAWSpreadsheetListener.cxx:340
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:99
void openSheetCell(MWAWCell const &cell, MWAWCellContent const &content, int numRepeated=1)
open a cell
Definition: MWAWSpreadsheetListener.cxx:1706
@ C_Rectangle
Definition: MWAWGraphicShape.hxx:51
std::vector< bool > m_listOrderedLevels
Definition: MWAWSpreadsheetListener.cxx:175
void setFont(MWAWFont const &font) final
sets the font
Definition: MWAWSpreadsheetListener.cxx:415
@ F_TEXT
Definition: MWAWCell.hxx:56
bool m_isTableRowOpened
Definition: MWAWSpreadsheetListener.cxx:167
Generated on Fri Sep 18 2020 18:14:52 for libmwaw by
doxygen 1.8.20