diff options
Diffstat (limited to 'writerfilter/inc/resourcemodel/TableData.hxx')
-rw-r--r-- | writerfilter/inc/resourcemodel/TableData.hxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/writerfilter/inc/resourcemodel/TableData.hxx b/writerfilter/inc/resourcemodel/TableData.hxx index 50f28d2bc5bf..aca4fce71064 100644 --- a/writerfilter/inc/resourcemodel/TableData.hxx +++ b/writerfilter/inc/resourcemodel/TableData.hxx @@ -208,6 +208,15 @@ public: } /** + Add properties to the last cell of the row. + */ + void insertCellProperties(PropertiesPointer pProps) + { + if (! mCells.empty()) + mCells.back()->insertProperties(pProps); + } + + /** Return number of cells in the row. */ unsigned int getCellCount() @@ -330,17 +339,35 @@ public: mpRow->addCell(start, pProps); } + /** + End the current cell of the current row. + + @parm end end handle of the cell + */ void endCell(const T & end) { mpRow->endCell(end); } + /** + Return if the current cell of the current row is open. + */ bool isCellOpen() const { return mpRow->isCellOpen(); } /** + Insert properties to the current cell of the current row. + + @param pProps the properties to add + */ + void insertCellProperties(PropertiesPointer pProps) + { + mpRow->insertCellProperties(pProps); + } + + /** Add properties to a cell of the current row. @param i index of the cell |