summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2022-11-22 14:07:12 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2022-11-29 09:39:22 +0100
commitdaab698b346e5e40b67f1e15c796c4e399ccaf8a (patch)
tree7483cd08e13613e9ff27086cf17d94bbb658e8d1 /sd/inc
parent7830ecc2e4e5dd264517c6554078fa807ff1fceb (diff)
sd: replace hardcoded table styles with xml file
Including a new set of default styles, provided by Rafael Lima. Some ui tests had to be modified, because the new borders are thicker. If you intend to edit the xml file, please keep in mind the following requirements: 1) There should be a table template called "default". It's applied to newly inserted tables. 2) There should be a cell style called "default". It's used for new table styles. 3) Please make all cell styles inherit from "default" (directly or indirectly), unless you intend to specify font names in them. "default" has its font names filled programmatically based on officecfg/registry/data/org/openoffice/VCL.xcu. 4) Whenever possible please use <style:table-cell-properties> for cell properties, instead of the incorrect <style:paragraph-properties> and <loext:graphic-properties> we currently use for export. See tdf#72238 and tdf#72239. Change-Id: I73dd4492fefb65b1870238aec7dc64f8076f6e95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141825 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/app.hrc7
-rw-r--r--sd/inc/strings.hrc5
2 files changed, 0 insertions, 12 deletions
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index 875dc0cc3e75..dcd09a8c7e46 100644
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -67,13 +67,6 @@
#define HID_PSEUDOSHEET_NOTES (HID_SD_START + 98)
#define HID_PSEUDOSHEET_SUBTITLE (HID_SD_START + 101)
-#define HID_SD_CELL_STYLE_DEFAULT (HID_SD_START + 194)
-#define HID_SD_CELL_STYLE_BANDED (HID_SD_START + 195)
-#define HID_SD_CELL_STYLE_HEADER (HID_SD_START + 196)
-#define HID_SD_CELL_STYLE_TOTAL (HID_SD_START + 197)
-#define HID_SD_CELL_STYLE_FIRST_COLUMN (HID_SD_START + 198)
-#define HID_SD_CELL_STYLE_LAST_COLUMN (HID_SD_START + 199)
-
#define SID_PAGESETUP (SID_SD_START+2)
// FREE
#define SID_COPYOBJECTS (SID_SD_START+4)
diff --git a/sd/inc/strings.hrc b/sd/inc/strings.hrc
index 662acd59db12..c9a48bfe3574 100644
--- a/sd/inc/strings.hrc
+++ b/sd/inc/strings.hrc
@@ -360,11 +360,6 @@
#define STR_PSEUDOSHEET_NOTES NC_("STR_PSEUDOSHEET_NOTES", "Notes" )
#define STR_POWERPOINT_IMPORT NC_("STR_POWERPOINT_IMPORT", "PowerPoint Import")
#define STR_SAVE_DOC NC_("STR_SAVE_DOC", "Save Document" )
-#define STR_POOLSHEET_BANDED_CELL NC_("STR_POOLSHEET_BANDED_CELL", "Banding cell" )
-#define STR_POOLSHEET_HEADER NC_("STR_POOLSHEET_HEADER", "Header" )
-#define STR_POOLSHEET_TOTAL NC_("STR_POOLSHEET_TOTAL", "Total line" )
-#define STR_POOLSHEET_FIRST_COLUMN NC_("STR_POOLSHEET_FIRST_COLUMN", "First column" )
-#define STR_POOLSHEET_LAST_COLUMN NC_("STR_POOLSHEET_LAST_COLUMN", "Last column" )
#define STR_SHRINK_FONT_SIZE NC_("STR_SHRINK_FONT_SIZE", "Shrink font size")
#define STR_GROW_FONT_SIZE NC_("STR_GROW_FONT_SIZE", "Grow font size")