Go to the documentation of this file.
40 #ifndef MWAW_SPREADSHEET_LISTENER_H
41 #define MWAW_SPREADSHEET_LISTENER_H
45 #include <librevenge/librevenge.h>
132 void openSheet(std::vector<float>
const &colWidth, librevenge::RVNGUnit unit,
133 std::vector<int>
const &repeatColWidthNumber=std::vector<int>(), std::string
const &name=
"");
137 void openSheetRow(
float h, librevenge::RVNGUnit unit,
int numRepeated=1);
223 void openTableRow(
float h, librevenge::RVNGUnit unit,
bool headerRow=
false);
295 shared_ptr<MWAWSpreadsheetListenerInternal::DocumentState>
m_ds;
297 shared_ptr<MWAWSpreadsheetListenerInternal::State>
m_ps;
299 std::vector<shared_ptr<MWAWSpreadsheetListenerInternal::State> >
m_psStack;
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist
Definition: libmwaw_internal.cxx:568
void _flushDeferredTabs()
Definition: MWAWSpreadsheetListener.cxx:869
void _endSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1558
@ CharBaseLine
Definition: MWAWPosition.hxx:51
bool m_isHeaderFooterWithoutParagraph
Definition: MWAWSpreadsheetListener.cxx:145
Format const & getFormat() const
returns the cell format
Definition: MWAWCell.hxx:211
void setDocumentLanguage(std::string const &locale)
sets the documents language
Definition: MWAWSpreadsheetListener.cxx:491
@ 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 shared_ptr
Definition: libmwaw_internal.hxx:109
librevenge::RVNGPropertyList m_metaData
the document meta data
Definition: MWAWSpreadsheetListener.cxx:95
int m_currentPageNumber
Definition: MWAWSpreadsheetListener.cxx:163
bool canWriteText() const
returns true if we are in a text zone
Definition: MWAWSpreadsheetListener.cxx:122
MWAWVec2f const & naturalSize() const
returns the natural size (if known)
Definition: MWAWPosition.hxx:124
@ F_BOOLEAN
Definition: MWAWCell.hxx:56
bool m_isParagraphOpened
Definition: MWAWSpreadsheetListener.cxx:148
a note
Definition: libmwaw_internal.hxx:406
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:262
Type m_type
the type
Definition: libmwaw_internal.hxx:382
void closeLink()
close a link
Definition: MWAWSpreadsheetListener.cxx:470
float getInvUnitScale(librevenge::RVNGUnit fromUnit) const
returns a float which can be used to scale some data in object unit
Definition: MWAWPosition.hxx:183
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
void closeSheet()
closes this sheet
Definition: MWAWSpreadsheetListener.cxx:1612
bool m_firstParagraphInPageSpan
Definition: MWAWSpreadsheetListener.cxx:151
DocumentState(std::vector< MWAWPageSpan > const &pageList)
constructor
Definition: MWAWSpreadsheetListener.cxx:78
bool openGroup(MWAWPosition const &pos)
open a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1138
State()
constructor
Definition: MWAWSpreadsheetListener.cxx:178
shared_ptr< MWAWSpreadsheetListenerInternal::State > m_ps
the actual local parse state
Definition: MWAWSpreadsheetListener.hxx:297
@ 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:370
MWAWListManagerPtr m_listManager
the list manager
Definition: MWAWParser.hxx:80
@ F_DATE
Definition: MWAWCell.hxx:56
@ C_Path
Definition: MWAWGraphicShape.hxx:51
@ XFull
Definition: MWAWPosition.hxx:55
int m_smallPictureNumber
number of small picture
Definition: MWAWSpreadsheetListener.cxx:99
MWAWParserState & m_parserState
the parser state
Definition: MWAWSpreadsheetListener.hxx:301
@ DOC_COMMENT_ANNOTATION
Definition: libmwaw_internal.hxx:178
std::vector< MWAWPageSpan > m_pageList
the pages definition
Definition: MWAWSpreadsheetListener.cxx:91
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:1574
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:1625
void _closePageSpan()
does close a page (low level)
Definition: MWAWSpreadsheetListener.cxx:607
int id() const
returns the font id
Definition: MWAWFont.hxx:238
int order() const
returns background/foward order
Definition: MWAWPosition.hxx:243
bool isValueSet() const
returns true if the value has been setted
Definition: MWAWCell.hxx:413
MWAWPageSpan m_pageSpan
the current page span
Definition: MWAWSpreadsheetListener.cxx:93
bool m_isPageSpanOpened
Definition: MWAWSpreadsheetListener.cxx:140
@ Spreadsheet
Definition: MWAWListener.hxx:56
void _openListElement()
open a list level
Definition: MWAWSpreadsheetListener.cxx:724
@ DOC_CHART
Definition: libmwaw_internal.hxx:178
@ DOC_CHART_ZONE
Definition: libmwaw_internal.hxx:178
@ F_UNKNOWN
Definition: MWAWCell.hxx:56
XPos m_xPos
X relative position.
Definition: MWAWPosition.hxx:258
void insertShape(MWAWPosition const &pos, MWAWGraphicShape const &shape, MWAWGraphicStyle const &style)
adds a shape picture in given position
Definition: MWAWSpreadsheetListener.cxx:1025
@ WBackground
Definition: MWAWPosition.hxx:53
bool m_isListElementOpened
Definition: MWAWSpreadsheetListener.cxx:149
a structure used to define a picture shape
Definition: MWAWGraphicShape.hxx:46
shared_ptr< MWAWList > m_list
Definition: MWAWSpreadsheetListener.cxx:138
@ 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:425
bool sendTable(MWAWListenerPtr listener, bool inFrame=true)
try to send the table
Definition: MWAWTable.cxx:465
MWAWSpreadsheetListener(const MWAWSpreadsheetListener &)
copy constructor (unimplemented)
MWAWParagraph m_paragraph
the paragraph
Definition: MWAWSpreadsheetListener.cxx:136
librevenge::RVNGString getString() const
returns a string corresponding to the field (if possible) */
Definition: libmwaw_internal.cxx:287
librevenge::RVNGString m_textBuffer
a buffer to stored the text
Definition: MWAWSpreadsheetListener.cxx:129
void endDocument(bool sendDelayedSubDoc=true)
ends the document
Definition: MWAWSpreadsheetListener.cxx:515
bool insertFooter(MWAWSubDocumentPtr subDocument, librevenge::RVNGPropertyList const &extras)
insert a footer
Definition: MWAWSpreadsheetListener.cxx:637
void closeGroup()
close a group (not implemented)
Definition: MWAWSpreadsheetListener.cxx:1148
int _getListId() const
low level: find a list id which corresponds to actual list and a change of level.
Definition: MWAWSpreadsheetListener.cxx:759
class to store the paragraph properties
Definition: MWAWParagraph.hxx:82
static bool double2Time(double val, int &H, int &M, int &S)
conversion beetween double: second since 0:00 and time
Definition: MWAWCell.cxx:585
@ WDynamic
Definition: MWAWPosition.hxx:53
int m_number
the note number if defined
Definition: libmwaw_internal.hxx:418
void _popParsingState()
resets the previous parsing state
Definition: MWAWSpreadsheetListener.cxx:1965
bool isSubDocumentOpened(libmwaw::SubDocumentType &subdocType) const
returns try if a subdocument is open
Definition: MWAWSpreadsheetListener.cxx:1544
MWAWSection m_section
list of document actually open
Definition: MWAWSpreadsheetListener.cxx:109
bool m_isHeaderFooterOpened
a flag to know if the header footer is started
Definition: MWAWSpreadsheetListener.cxx:141
a link
Definition: libmwaw_internal.hxx:392
void openTableRow(float h, librevenge::RVNGUnit unit, bool headerRow=false)
open a row with given height ( if h < 0.0, set min-row-height = -h )
Definition: MWAWSpreadsheetListener.cxx:1867
MWAWSection const & getSection() const
returns the actual section
Definition: MWAWSpreadsheetListener.cxx:653
bool m_isTableCellOpened
Definition: MWAWSpreadsheetListener.cxx:159
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:561
void _closeSpan()
Definition: MWAWSpreadsheetListener.cxx:855
void startDocument()
starts the document
Definition: MWAWSpreadsheetListener.cxx:502
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:307
@ XCenter
Definition: MWAWPosition.hxx:55
@ Unknown
Definition: MWAWPosition.hxx:51
void _closeParagraph()
Definition: MWAWSpreadsheetListener.cxx:693
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:505
void insertPicture(MWAWPosition const &pos, MWAWEmbeddedObject const &picture, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a picture with potential various representationin given position
Definition: MWAWSpreadsheetListener.cxx:1110
MWAWFont const & getFont() const
returns the actual font
Definition: MWAWSpreadsheetListener.cxx:402
bool canOpenSectionAddBreak() const
returns true if we can add open a section, add page break, ...
Definition: MWAWSpreadsheetListener.hxx:235
bool m_isNote
Definition: MWAWSpreadsheetListener.cxx:169
void closeTableRow()
closes this row
Definition: MWAWSpreadsheetListener.cxx:1888
bool isPageSpanOpened() const
returns true if a page is opened
Definition: MWAWSpreadsheetListener.cxx:548
~State()
destructor
Definition: MWAWSpreadsheetListener.cxx:120
bool openSection(MWAWSection const §ion)
open a section if possible
Definition: MWAWSpreadsheetListener.cxx:659
void insertUnicode(uint32_t character)
adds an unicode character.
Definition: MWAWSpreadsheetListener.cxx:311
MWAWVec2f const & size() const
returns the frame size
Definition: MWAWPosition.hxx:119
bool isDocumentStarted() const
returns true if a document is opened
Definition: MWAWSpreadsheetListener.cxx:497
bool isParagraphOpened() const
returns true if a paragraph or a list is opened
Definition: MWAWSpreadsheetListener.cxx:407
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
int getPageSpan() const
Definition: MWAWPageSpan.hxx:164
Type getType() const
returns the type corresponding to a shape
Definition: MWAWGraphicShape.hxx:167
@ YFull
Definition: MWAWPosition.hxx:57
bool addTo(librevenge::RVNGPropertyList &propList) const
add the link property to proplist (if needed )
Definition: libmwaw_internal.cxx:411
bool isSectionOpened() const
returns true if a section is opened
Definition: MWAWSpreadsheetListener.hxx:240
libmwaw::SubDocumentType m_subDocumentType
Definition: MWAWSpreadsheetListener.cxx:171
void setParagraph(MWAWParagraph const ¶graph)
sets the paragraph
Definition: MWAWSpreadsheetListener.cxx:412
void addEmptyTableCell(MWAWVec2i const &pos, MWAWVec2i span=MWAWVec2i(1, 1))
add empty cell
Definition: MWAWSpreadsheetListener.cxx:1898
SubDocumentType
Definition: libmwaw_internal.hxx:178
std::vector< shared_ptr< MWAWSpreadsheetListenerInternal::State > > m_psStack
stack of local state
Definition: MWAWSpreadsheetListener.hxx:299
librevenge::RVNGString m_anchorCellName
the anchor cell name
Definition: MWAWPosition.hxx:256
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:268
std::vector< FormulaInstruction > m_formula
the formula list of instruction
Definition: MWAWCell.hxx:440
the state of a MWAWSpreadsheetListener
Definition: MWAWSpreadsheetListener.cxx:116
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:66
void closeTable()
closes this table
Definition: MWAWSpreadsheetListener.cxx:1853
@ PageBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
bool m_isSheetRowOpened
a flag to know if a row is open
Definition: MWAWSpreadsheetListener.cxx:102
T y() const
second element
Definition: libmwaw_internal.hxx:620
void sendHeaderFooters(MWAWListener *listener) const
send the page's headers/footers if some exists
Definition: MWAWPageSpan.cxx:278
~DocumentState()
destructor
Definition: MWAWSpreadsheetListener.cxx:86
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:50
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:177
State & operator=(const State &)
@ C_Bad
Definition: MWAWGraphicShape.hxx:51
bool m_isDocumentStarted
a flag to know if the document is open
Definition: MWAWSpreadsheetListener.cxx:100
T x() const
first element
Definition: libmwaw_internal.hxx:615
void _openSpan()
Definition: MWAWSpreadsheetListener.cxx:834
bool m_isSheetOpened
a flag to know if a sheet is open
Definition: MWAWSpreadsheetListener.cxx:101
bool openFrame(MWAWPosition const &pos, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
tries to open a frame
Definition: MWAWSpreadsheetListener.cxx:1152
void insertCharacter(unsigned char c)
insert a character using the font converter to find the utf8 character
Definition: MWAWSpreadsheetListener.cxx:257
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
void insertNote(MWAWNote const ¬e, MWAWSubDocumentPtr &subDocument)
insert a note
Definition: MWAWSpreadsheetListener.cxx:920
double m_value
the cell value
Definition: MWAWCell.hxx:434
void insertField(MWAWField const &field)
adds a field type
Definition: MWAWSpreadsheetListener.cxx:427
Wrapping m_wrapping
Wrapping.
Definition: MWAWPosition.hxx:262
@ DOC_HEADER_FOOTER
Definition: libmwaw_internal.hxx:178
@ DOC_GRAPHIC_GROUP
Definition: libmwaw_internal.hxx:178
a class used to recreate the table structure using cell informations, ....
Definition: MWAWTable.hxx:52
bool isHeaderFooterOpened() const
returns true if the header/footer is open
Definition: MWAWSpreadsheetListener.cxx:619
void openTable(MWAWTable const &table)
open a table
Definition: MWAWSpreadsheetListener.cxx:1829
DocumentState & operator=(const DocumentState &)
float size() const
returns the font size
Definition: MWAWFont.hxx:249
void addTo(librevenge::RVNGPropertyList &propList, shared_ptr< MWAWFontConverter > fontConverter) const
adds to the propList
Definition: MWAWCell.cxx:255
small class use to define a sheet cell content
Definition: MWAWCell.hxx:356
a class which stores section properties
Definition: MWAWSection.hxx:46
Definition: libmwaw_internal.hxx:142
bool insertHeader(MWAWSubDocumentPtr subDocument, librevenge::RVNGPropertyList const &extras)
insert a header
Definition: MWAWSpreadsheetListener.cxx:624
MWAWParagraph const & getParagraph() const
returns the actual paragraph
Definition: MWAWSpreadsheetListener.cxx:419
int page() const
returns the frame page
Definition: MWAWPosition.hxx:109
int m_numPagesRemainingInSpan
Definition: MWAWSpreadsheetListener.cxx:162
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:243
@ C_Polyline
Definition: MWAWGraphicShape.hxx:51
void _closeListElement()
close a list level
Definition: MWAWSpreadsheetListener.cxx:746
@ DOC_SHEET
Definition: libmwaw_internal.hxx:178
void _handleFrameParameters(librevenge::RVNGPropertyList &propList, MWAWPosition const &pos)
Definition: MWAWSpreadsheetListener.cxx:1235
a field
Definition: libmwaw_internal.hxx:369
shared_ptr< MWAWSpreadsheetListenerInternal::State > _pushParsingState()
creates a new parsing state (copy of the actual state)
Definition: MWAWSpreadsheetListener.cxx:1954
void insertUnicodeString(librevenge::RVNGString const &str)
adds a unicode string
Definition: MWAWSpreadsheetListener.cxx:326
@ Char
Definition: MWAWPosition.hxx:51
bool m_isSpanOpened
Definition: MWAWSpreadsheetListener.cxx:147
bool m_isTableOpened
Definition: MWAWSpreadsheetListener.cxx:156
@ DOC_TABLE
Definition: libmwaw_internal.hxx:178
MWAWSpreadsheetListener(MWAWParserState &parserState, std::vector< MWAWPageSpan > const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface)
constructor
Definition: MWAWSpreadsheetListener.cxx:212
void handleSubDocument(MWAWSubDocumentPtr subDocument, libmwaw::SubDocumentType subDocumentType)
function called to add a subdocument
Definition: MWAWSpreadsheetListener.cxx:1479
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
MWAWFontConverterPtr m_fontConverter
the font converter
Definition: MWAWParser.hxx:74
MWAWFont m_font
the font
Definition: MWAWSpreadsheetListener.cxx:134
@ DOC_TEXT_BOX
Definition: libmwaw_internal.hxx:178
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:254
bool m_inLink
Definition: MWAWSpreadsheetListener.cxx:170
bool m_isTableColumnOpened
Definition: MWAWSpreadsheetListener.cxx:158
@ F_NUMBER
Definition: MWAWCell.hxx:56
@ DOC_NOTE
Definition: libmwaw_internal.hxx:178
void insertComment(MWAWSubDocumentPtr &subDocument)
adds comment
Definition: MWAWSpreadsheetListener.cxx:973
MWAWVec2f const & rightBottomClipping() const
returns the right bottom clipping
Definition: MWAWPosition.hxx:134
@ 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:414
bool canWriteText() const
returns true if we can add text data
Definition: MWAWSpreadsheetListener.cxx:237
void _openParagraph()
Definition: MWAWSpreadsheetListener.cxx:674
void setDocumentMetaData(librevenge::RVNGPropertyList const &metadata)
sets the documents metadata
Definition: MWAWSpreadsheetListener.cxx:484
@ C_Ellipse
Definition: MWAWGraphicShape.hxx:51
a class to define the parser state
Definition: MWAWParser.hxx:50
void insertChar(uint8_t character)
adds a basic character, ..
Definition: MWAWSpreadsheetListener.cxx:242
void openTableCell(MWAWCell const &cell)
open a cell
Definition: MWAWSpreadsheetListener.cxx:1917
std::string m_frameNextName
the frame next name (if there is a link)
Definition: MWAWGraphicStyle.hxx:427
void insertTable(MWAWPosition const &pos, MWAWTable &table, MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
adds a table in given position
Definition: MWAWSpreadsheetListener.cxx:1774
bool closeSection()
close a section
Definition: MWAWSpreadsheetListener.cxx:665
Type getType() const
returns the listener type
Definition: MWAWSpreadsheetListener.hxx:78
void _resetParagraphState(const bool isListElement=false)
Definition: MWAWSpreadsheetListener.cxx:714
@ Page
Definition: MWAWPosition.hxx:51
std::map< MWAWCell::Format, int, MWAWCell::CompareFormat > m_numberingIdMap
a map cell's format to id
Definition: MWAWSpreadsheetListener.cxx:106
@ WForeground
Definition: MWAWPosition.hxx:53
bool m_isFrameOpened
Definition: MWAWSpreadsheetListener.cxx:142
MWAWFontManagerPtr m_fontManager
the font manager
Definition: MWAWParser.hxx:76
@ ColumnBreakBit
Definition: MWAWSpreadsheetListener.cxx:74
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:416
void closeFrame()
tries to close a frame
Definition: MWAWSpreadsheetListener.cxx:1224
int m_numDeferredTabs
the number of tabs to add
Definition: MWAWSpreadsheetListener.cxx:131
void setFont(MWAWFont const &font)
sets the font
Definition: MWAWSpreadsheetListener.cxx:386
MWAWVec2f const & origin() const
return the frame origin
Definition: MWAWPosition.hxx:114
std::vector< MWAWSubDocumentPtr > m_subDocuments
Definition: MWAWSpreadsheetListener.cxx:107
Command addTo(MWAWVec2f const &orig, bool asSurface, librevenge::RVNGPropertyList &propList) const
updates the propList to send to an interface
Definition: MWAWGraphicShape.cxx:454
@ YTop
Definition: MWAWPosition.hxx:57
bool m_isTextboxOpened
Definition: MWAWSpreadsheetListener.cxx:143
void _startSubDocument()
Definition: MWAWSpreadsheetListener.cxx:1552
librevenge::RVNGUnit unit() const
returns the unit
Definition: MWAWPosition.hxx:139
YPos m_yPos
Y relative position.
Definition: MWAWPosition.hxx:260
@ XRight
Definition: MWAWPosition.hxx:55
MWAWVec2< T > size() const
the box size
Definition: libmwaw_internal.hxx:1008
@ 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:1804
void closeSheetRow()
closes this row
Definition: MWAWSpreadsheetListener.cxx:1646
std::vector< int > m_sentListMarkers
the list of marker corresponding to sent list
Definition: MWAWSpreadsheetListener.cxx:104
DocumentState(const DocumentState &)
@ WRunThrough
Definition: MWAWPosition.hxx:53
@ FootNote
Definition: libmwaw_internal.hxx:408
int m_footNoteNumber
footnote number
Definition: MWAWSpreadsheetListener.cxx:97
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:100
@ 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:1760
@ 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:776
MWAWVec2f const & leftTopClipping() const
returns the left top clipping
Definition: MWAWPosition.hxx:129
static float getScaleFactor(librevenge::RVNGUnit orig, librevenge::RVNGUnit dest)
Definition: MWAWPosition.hxx:143
virtual ~MWAWSpreadsheetListener()
destructor
Definition: MWAWSpreadsheetListener.cxx:230
shared_ptr< MWAWSpreadsheetListenerInternal::DocumentState > m_ds
the main parse state
Definition: MWAWSpreadsheetListener.hxx:295
AnchorTo m_anchorTo
anchor position
Definition: MWAWPosition.hxx:254
void _flushText()
Definition: MWAWSpreadsheetListener.cxx:889
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
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
MWAWSpreadsheetListener & operator=(const MWAWSpreadsheetListener &)
operator= (unimplemented)
bool m_isSheetCellOpened
Definition: MWAWSpreadsheetListener.cxx:154
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
bool m_inSubDocument
a stack used to know what is open
Definition: MWAWSpreadsheetListener.cxx:167
Class to store font.
Definition: MWAWFont.hxx:44
void insertBreak(BreakType breakType)
inserts a break type: ColumBreak, PageBreak, ..
Definition: MWAWSpreadsheetListener.cxx:377
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:239
void sendChart(MWAWSpreadsheetListenerPtr &listener, librevenge::RVNGSpreadsheetInterface *interface)
send the chart to the listener
Definition: MWAWChart.cxx:173
void insertTextBox(MWAWPosition const &pos, MWAWSubDocumentPtr subDocument, MWAWGraphicStyle const &frameStyle=MWAWGraphicStyle::emptyStyle())
adds a textbox in given position
Definition: MWAWSpreadsheetListener.cxx:1006
@ WParallel
Definition: MWAWPosition.hxx:53
librevenge::RVNGSpreadsheetInterface * m_documentInterface
the document interface
Definition: MWAWSpreadsheetListener.hxx:303
@ DOC_NONE
Definition: libmwaw_internal.hxx:178
bool hasSurface() const
returns true if the interior surface is defined
Definition: MWAWGraphicStyle.hxx:309
void closeTableCell()
close a cell
Definition: MWAWSpreadsheetListener.cxx:1934
void insertTab()
adds a tab
Definition: MWAWSpreadsheetListener.cxx:361
void insertEOL(bool softBreak=false)
adds an end of line ( by default an hard one)
Definition: MWAWSpreadsheetListener.cxx:338
void addTablePropertiesTo(librevenge::RVNGPropertyList &propList) const
adds the table properties to propList
Definition: MWAWTable.cxx:123
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
bool m_isSheetColumnOpened
Definition: MWAWSpreadsheetListener.cxx:153
unsigned m_currentPage
Definition: MWAWSpreadsheetListener.cxx:161
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
void openSheetCell(MWAWCell const &cell, MWAWCellContent const &content, int numRepeated=1)
open a cell
Definition: MWAWSpreadsheetListener.cxx:1656
@ C_Rectangle
Definition: MWAWGraphicShape.hxx:51
std::vector< bool > m_listOrderedLevels
Definition: MWAWSpreadsheetListener.cxx:165
@ F_TEXT
Definition: MWAWCell.hxx:56
void openLink(MWAWLink const &link)
open a link
Definition: MWAWSpreadsheetListener.cxx:450
bool m_isTableRowOpened
Definition: MWAWSpreadsheetListener.cxx:157
MWAWPageSpan const & getPageSpan()
returns the current page span
Definition: MWAWSpreadsheetListener.cxx:553
Generated on Wed Jun 17 2020 06:30:12 for libmwaw by
doxygen 1.8.18