summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/PropertyIds.cxx
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-02 16:39:06 +0200
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-04-03 09:59:18 +0200
commit3e9d9b073f1b8fd934e00c8cff69fb0f9ef40781 (patch)
tree69dabaae819794676cf757e397ca169704e91702 /writerfilter/source/dmapper/PropertyIds.cxx
parenta3efbb5d33f5c6928141fd3e7aa7c6d3bdc6a087 (diff)
oox: Preserve table style.
Table style is a property that defines a set of background and line attributes for cells. These attributes depend on theme settings (e.g. theme colors). We added a grabbag to the table object to save the table style name. We detect that name on export and write it back to the document. Finally, modified an existing unit test to check this attribute too. TODO: To get the table style working properly after a roundtrip, we must preserve it and also check that its values are not being overwritten by different cell or table properties. Change-Id: Id0e022a389561960c21ab874db33649499735024
Diffstat (limited to 'writerfilter/source/dmapper/PropertyIds.cxx')
-rw-r--r--writerfilter/source/dmapper/PropertyIds.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/dmapper/PropertyIds.cxx b/writerfilter/source/dmapper/PropertyIds.cxx
index 24e523be35de..1aa4252a21f8 100644
--- a/writerfilter/source/dmapper/PropertyIds.cxx
+++ b/writerfilter/source/dmapper/PropertyIds.cxx
@@ -389,6 +389,7 @@ OUString PropertyNameSupplier::GetName( PropertyIds eId ) const
case PROP_CHAR_CNTXTALTS_TEXT_EFFECT : sName = "CharCntxtAltsTextEffect"; break;
case PROP_SDTPR : sName = "SdtPr"; break;
case PROP_CELL_INTEROP_GRAB_BAG : sName = "CellInteropGrabBag"; break;
+ case PROP_TABLE_INTEROP_GRAB_BAG : sName = "TableInteropGrabBag"; break;
}
::std::pair<PropertyNameMap_t::iterator,bool> aInsertIt =
m_pImpl->aNameMap.insert( PropertyNameMap_t::value_type( eId, sName ));