From 3e9d9b073f1b8fd934e00c8cff69fb0f9ef40781 Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde PĂ©rez Date: Wed, 2 Apr 2014 16:39:06 +0200 Subject: 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 --- offapi/com/sun/star/text/TextTable.idl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'offapi') 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 + +

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.

+ */ + [optional, property] sequence TableInteropGrabBag; + }; -- cgit