summaryrefslogtreecommitdiff
path: root/offapi
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 /offapi
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 'offapi')
-rw-r--r--offapi/com/sun/star/text/TextTable.idl10
1 files changed, 10 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/TextTable.idl b/offapi/com/sun/star/text/TextTable.idl
index c637fe02d402..9771210095a0 100644
--- a/offapi/com/sun/star/text/TextTable.idl
+++ b/offapi/com/sun/star/text/TextTable.idl
@@ -211,6 +211,16 @@ published service TextTable
*/
[optional, property] boolean CollapsingBorders;
+ /** Grab bag of table properties, used as a string-any map for interim interop purposes.
+
+ @since LibreOffice 4.3
+
+ <p>This property is intentionally not handled by the ODF filter. Any
+ member that should be handled there should be first moved out from this grab
+ bag to a separate property.</p>
+ */
+ [optional, property] sequence<com::sun::star::beans::PropertyValue> TableInteropGrabBag;
+
};