From e7ea91f283ce9b96db58087d87d81d29bcb727a4 Mon Sep 17 00:00:00 2001 From: Jakub Trzebiatowski Date: Thu, 28 Jul 2016 15:33:17 +0200 Subject: GSoC Writer Table Styles; Table Styles Panel Table styles panel: + Added simple table style panel tab icon. icon-themes/galaxy/sw/imglst/sf06.png + Listing table styles (hierarchical, same order as in container) + Listing all table styles (sorted by name). + Listing applied table styles. + Listing custom styles. + Listing hidden styles. + Hide/show style. + Applying style by double clicking. + Highlight current table style. Everything else yet to be done. Table styles (SwTableAutoFormat): + "hidden" property. + "userDefined" property. "Default style" is not user defined. Styles loaded from tblauto.fmt are also not user defined. Styles loaded from .odt are user defined. Styles created manually (before binary load/save roundtrip) are user defined. Change-Id: I739a48ae1d7ae66f4f8c08076871437ca491bd4e Reviewed-on: https://gerrit.libreoffice.org/27638 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- sw/sdi/_basesh.sdi | 5 +++++ sw/sdi/_docsh.sdi | 6 ++++++ sw/sdi/annotsh.sdi | 5 +++++ 3 files changed, 16 insertions(+) (limited to 'sw/sdi') diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi index 87de4941bc8e..1d3d1ae0f15f 100644 --- a/sw/sdi/_basesh.sdi +++ b/sw/sdi/_basesh.sdi @@ -361,6 +361,11 @@ interface BaseTextSelection StateMethod = StateStyle ; ] + SID_STYLE_FAMILY6 // status(fina|play) + [ + StateMethod = StateStyle ; + ] + SID_CLASSIFICATION_APPLY [ ExecMethod = Execute ; diff --git a/sw/sdi/_docsh.sdi b/sw/sdi/_docsh.sdi index 263dc15b7b64..3bb9b7fb2fce 100644 --- a/sw/sdi/_docsh.sdi +++ b/sw/sdi/_docsh.sdi @@ -109,6 +109,12 @@ interface BaseTextDocument StateMethod = StateStyleSheet ; ] + SID_STYLE_FAMILY6 + [ + Export = FALSE ; + StateMethod = StateStyleSheet ; + ] + SID_ATTR_YEAR2000 [ ExecMethod = Execute ; diff --git a/sw/sdi/annotsh.sdi b/sw/sdi/annotsh.sdi index fbefb5e5e127..802024692a2a 100644 --- a/sw/sdi/annotsh.sdi +++ b/sw/sdi/annotsh.sdi @@ -303,6 +303,11 @@ interface Annotation : _Annotation StateMethod = StateDisableItems ; ] + SID_STYLE_FAMILY6 + [ + StateMethod = StateDisableItems ; + ] + SID_STYLE_WATERCAN // status() [ StateMethod = StateDisableItems ; -- cgit