10 #ifndef IWORKTABLERECORDER_H_INCLUDED
11 #define IWORKTABLERECORDER_H_INCLUDED
15 #include <boost/optional.hpp>
34 void setHeaders(
unsigned headerColumns,
unsigned headerRows,
unsigned footerRows);
44 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.h:27
void setDefaultParagraphStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:405
void setSizes(const IWORKColumnSizes_t &columnSizes, const IWORKRowSizes_t &rowSizes)
Definition: IWORKTableRecorder.cpp:368
void setDefaultCellStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:395
void setBorders(const IWORKGridLineMap_t &verticalLines, const IWORKGridLineMap_t &horizontalLines)
Definition: IWORKTableRecorder.cpp:373
void setHeaders(unsigned headerColumns, unsigned headerRows, unsigned footerRows)
Definition: IWORKTableRecorder.cpp:343
void replay(IWORKTable &table) const
Definition: IWORKTableRecorder.cpp:331
void setBandedRows(bool banded)
Definition: IWORKTableRecorder.cpp:348
void setStyle(const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:363
void setSize(unsigned columns, unsigned rows)
Definition: IWORKTableRecorder.cpp:338
void insertCoveredCell(unsigned column, unsigned row)
Definition: IWORKTableRecorder.cpp:390
void setDefaultLayoutStyle(IWORKTable::CellType type, const IWORKStylePtr_t &style)
Definition: IWORKTableRecorder.cpp:400
std::shared_ptr< Impl > m_impl
Definition: IWORKTableRecorder.h:52
void setOrder(int order)
Definition: IWORKTableRecorder.cpp:358
IWORKTableRecorder()
Definition: IWORKTableRecorder.cpp:326
void setRepeated(bool columns, bool rows)
Definition: IWORKTableRecorder.cpp:353
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:385
Definition: IWORKTable.h:30
CellType
Definition: IWORKTable.h:52
@ column
Definition: IWORKToken.h:152
@ value
Definition: IWORKToken.h:624
@ row
Definition: IWORKToken.h:383
@ content
Definition: IWORKToken.h:163
@ rows
Definition: IWORKToken.h:385
@ type
Definition: IWORKToken.h:486
@ style
Definition: IWORKToken.h:414
@ formula
Definition: IWORKToken.h:224
@ columns
Definition: IWORKToken.h:154
@ table
Definition: KEY1Token.h:198
@ order
Definition: PAG1Token.h:43
Definition: IWORKBezierElement.cpp:21
IWORKCellType
Definition: IWORKEnum.h:80
std::map< unsigned, IWORKGridLine_t > IWORKGridLineMap_t
Definition: IWORKTypes.h:122
std::deque< IWORKColumnRowSize > IWORKColumnSizes_t
Definition: IWORKTypes_fwd.h:22
std::shared_ptr< IWORKFormula > IWORKFormulaPtr_t
Definition: IWORKTypes.h:123
std::deque< IWORKColumnRowSize > IWORKRowSizes_t
Definition: IWORKTypes_fwd.h:26
std::shared_ptr< IWORKStyle > IWORKStylePtr_t
Definition: IWORKStyle_fwd.h:21
Definition: IWORKTableRecorder.cpp:315