summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-07-28 15:33:17 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-08-01 14:03:07 +0000
commite7ea91f283ce9b96db58087d87d81d29bcb727a4 (patch)
tree5c5f8b1fe17d0eba63d4d180a1b76f02f3e1744a /sw/source/ui
parentd1ffaf5315497140dedbc67c78f14706591b314e (diff)
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 <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/app/app.src16
1 files changed, 14 insertions, 2 deletions
diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src
index 4f8bcdbed691..5ce2a0b872af 100644
--- a/sw/source/ui/app/app.src
+++ b/sw/source/ui/app/app.src
@@ -74,9 +74,9 @@ ImageList RID_DEFAULTIMAGELIST_LC
MaskColor = IMAGE_MASK_COLOR ; \
IdList = \
{ \
- 1; 2; 3; 4; 5; \
+ 1; 2; 3; 4; 5; 6;\
}; \
- IdCount = 5;
+ IdCount = 6;
SfxStyleFamilies DLG_STYLE_DESIGNER
{
@@ -150,6 +150,18 @@ SfxStyleFamilies DLG_STYLE_DESIGNER
};
Text [ en-US ] = "List Styles" ;
};
+ SfxStyleFamilyItem
+ {
+ Text [ en-US ] = "Table Styles" ;
+ StyleFamily = SfxStyleFamily::Table ;
+ FilterList [ en-US ] =
+ {
+ < "All" ; SFXSTYLEBIT_ALL_VISIBLE ; > ;
+ < "Hidden Styles" ; SFXSTYLEBIT_HIDDEN ; > ;
+ < "Applied Styles" ; SFXSTYLEBIT_USED ; > ;
+ < "Custom Styles" ; SFXSTYLEBIT_USERDEF ; > ;
+ };
+ };
};
ImageList 1 // == BMP_COLOR_NORMAL + 1