Go to the documentation of this file.
10 #ifndef IWORKTABLERECORDER_H_INCLUDED
11 #define IWORKTABLERECORDER_H_INCLUDED
15 #include <boost/optional.hpp>
34 void setHeaders(
unsigned headerColumns,
unsigned headerRows,
unsigned footerRows);
45 void insertCell(
unsigned column,
unsigned row,
const boost::optional<std::string> &
value,
const std::shared_ptr<IWORKText> &
content,
const boost::optional<IWORKDateTimeData> &dateTime,
unsigned columnSpan,
unsigned rowSpan,
const IWORKFormulaPtr_t &
formula,
const boost::optional<unsigned> &formulaHC,
const IWORKStylePtr_t &
style,
IWORKCellType type);
61 #endif // IWORKTABLERECORDER_H_INCLUDED
void insertCell(unsigned column, unsigned row, const boost::optional< std::string > &value, const std::shared_ptr< IWORKText > &content, const boost::optional< IWORKDateTimeData > &dateTime, unsigned columnSpan, unsigned rowSpan, const IWORKFormulaPtr_t &formula, const boost::optional< unsigned > &formulaHC, const IWORKStylePtr_t &style, IWORKCellType type)
Definition: IWORKTableRecorder.cpp:411
const IWORKOutputElements m_text
Definition: IWORKTableRecorder.cpp:39
@ column
Definition: IWORKToken.h:156
const unsigned m_rowSpan
Definition: IWORKTableRecorder.cpp:169
Definition: IWORKBezierElement.cpp:21
void setStyle(const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:389
Impl()
Definition: IWORKTableRecorder.cpp:342
const unsigned m_row
Definition: IWORKTableRecorder.cpp:38
@ style
Definition: IWORKToken.h:421
const IWORKGridLineMap_t m_verticalRightLines
Definition: IWORKTableRecorder.cpp:141
void setSize(unsigned columns, unsigned rows)
Definition: IWORKTableRecorder.cpp:364
void setHeaders(unsigned headerColumns, unsigned headerRows, unsigned footerRows)
Definition: IWORKTableRecorder.cpp:369
void setSizes(const IWORKColumnSizes_t &columnSizes, const IWORKRowSizes_t &rowSizes)
Definition: IWORKTableRecorder.cpp:394
@ formula
Definition: IWORKToken.h:228
@ columns
Definition: IWORKToken.h:158
@ table
Definition: KEY1Token.h:198
const unsigned m_columnSpan
Definition: IWORKTableRecorder.cpp:168
std::shared_ptr< Impl > m_impl
Definition: IWORKTableRecorder.h:53
const unsigned m_headerRows
Definition: IWORKTableRecorder.cpp:64
IWORKTable & m_table
Definition: IWORKTableRecorder.cpp:330
const unsigned m_footerRows
Definition: IWORKTableRecorder.cpp:65
void setRepeated(bool columns, bool rows)
Definition: IWORKTableRecorder.cpp:379
const IWORKRowSizes_t m_rowSizes
Definition: IWORKTableRecorder.cpp:119
const unsigned m_columns
Definition: IWORKTableRecorder.cpp:50
const IWORKStylePtr_t m_style
Definition: IWORKTableRecorder.cpp:107
void insertCoveredCell(unsigned column, unsigned row)
Definition: IWORKTableRecorder.cpp:416
@ rows
Definition: IWORKToken.h:392
const boost::optional< std::string > m_value
Definition: IWORKTableRecorder.cpp:165
const unsigned m_column
Definition: IWORKTableRecorder.cpp:37
CellType
Definition: IWORKTable.h:54
std::shared_ptr< IWORKFormula > IWORKFormulaPtr_t
Definition: IWORKTypes.h:123
std::deque< Element_t > m_elements
Definition: IWORKTableRecorder.cpp:339
const int m_order
Definition: IWORKTableRecorder.cpp:97
const IWORKGridLineMap_t m_verticalLines
Definition: IWORKTableRecorder.cpp:140
const bool m_banded
Definition: IWORKTableRecorder.cpp:75
@ value
Definition: IWORKToken.h:631
const IWORKGridLineMap_t m_horizontalBottomLines
Definition: IWORKTableRecorder.cpp:143
Definition: IWORKTableRecorder.cpp:336
Definition: IWORKTable.h:32
@ type
Definition: IWORKToken.h:493
const IWORKColumnSizes_t m_columnSizes
Definition: IWORKTableRecorder.cpp:118
const IWORKGridLineMap_t m_horizontalLines
Definition: IWORKTableRecorder.cpp:142
@ text
Definition: IWORKToken.h:472
void setBorders(const IWORKGridLineMap_t &verticalLines, const IWORKGridLineMap_t &horizontalLines)
Definition: IWORKTableRecorder.cpp:399
deque< IWORKShadow > & m_elements
Definition: IWORKPropertyMapElement.cpp:659
IWORKCellType
Definition: IWORKEnum.h:80
void replay(IWORKTable &table) const
Definition: IWORKTableRecorder.cpp:352
const IWORKCellType m_type
Definition: IWORKTableRecorder.cpp:173
boost::optional< unsigned > m_formulaHC
Definition: IWORKTableRecorder.cpp:171
const unsigned m_rows
Definition: IWORKTableRecorder.cpp:51
const std::shared_ptr< IWORKText > m_content
Definition: IWORKTableRecorder.cpp:166
std::deque< IWORKColumnRowSize > IWORKColumnSizes_t
Definition: IWORKTypes_fwd.h:22
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
const IWORKFormulaPtr_t m_formula
Definition: IWORKTableRecorder.cpp:170
@ row
Definition: IWORKToken.h:390
const unsigned m_headerColumns
Definition: IWORKTableRecorder.cpp:63
@ content
Definition: IWORKToken.h:167
void setComment(unsigned column, unsigned row, IWORKOutputElements const &text)
Definition: IWORKTableRecorder.cpp:359
void setDefaultLayoutStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:426
void setBandedRows(bool banded)
Definition: IWORKTableRecorder.cpp:374
std::deque< IWORKColumnRowSize > IWORKRowSizes_t
Definition: IWORKTypes_fwd.h:26
IWORKTableRecorder()
Definition: IWORKTableRecorder.cpp:347
void setOrder(int order)
Definition: IWORKTableRecorder.cpp:384
const boost::optional< IWORKDateTimeData > m_dateTime
Definition: IWORKTableRecorder.cpp:167
void setDefaultCellStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:421
@ order
Definition: PAG1Token.h:43
Definition: IWORKTableRecorder.h:27
std::map< unsigned, IWORKGridLine_t > IWORKGridLineMap_t
Definition: IWORKTypes.h:122
Definition: IWORKOutputElements.h:33
void setDefaultParagraphStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:431
Generated for libetonyek by
doxygen 1.8.20