diff options
Diffstat (limited to 'writerfilter/inc/resourcemodel/TableData.hxx')
-rw-r--r-- | writerfilter/inc/resourcemodel/TableData.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/writerfilter/inc/resourcemodel/TableData.hxx b/writerfilter/inc/resourcemodel/TableData.hxx index 407395a46de1..c86826feed01 100644 --- a/writerfilter/inc/resourcemodel/TableData.hxx +++ b/writerfilter/inc/resourcemodel/TableData.hxx @@ -276,6 +276,11 @@ class WRITERFILTER_DLLPUBLIC TableData typedef ::std::vector<RowPointer_t> Rows; /** + the table properties + */ + PropertiesPointer mpTableProps; + + /** the data of the rows of the table */ Rows mRows; @@ -349,6 +354,22 @@ public: mpRow->insertCellProperties(i, pProps); } + void insertTableProperties( PropertiesPointer pProps ) + { + if ( mpTableProps.get( ) ) + mpTableProps->insert( pProps ); + else + mpTableProps = pProps; + } + + /** + Return the table properties. + */ + PropertiesPointer getTableProperties( ) + { + return mpTableProps; + } + /** Return number of rows in the table. */ |