summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2020-05-03 09:07:48 +0200
committerandreas_kainz <kainz.a@gmail.com>2020-05-03 13:06:09 +0200
commit1411998edbd679c922ffc1cea85656c1298f2d18 (patch)
treeb2abec343a68d447cfb95b760cd091a226b2f6e7
parent72d29798faac7bee311219b48d4a8373e6d50da3 (diff)
Templates: add simple writer template
Change-Id: Idfd6e13ed5d5bfb76a8aed492abcdbb7d15e94aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93336 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
-rw-r--r--extras/CustomTarget_tpl_styles.mk2
-rw-r--r--extras/Package_tpl_styles.mk1
-rw-r--r--include/sfx2/strings.hrc1
-rw-r--r--sfx2/inc/strings.hxx1
4 files changed, 4 insertions, 1 deletions
diff --git a/extras/CustomTarget_tpl_styles.mk b/extras/CustomTarget_tpl_styles.mk
index 7beeaf269de3..60897f38d801 100644
--- a/extras/CustomTarget_tpl_styles.mk
+++ b/extras/CustomTarget_tpl_styles.mk
@@ -27,7 +27,7 @@ extras_STYLES_XMLFILES := \
Simple/META-INF/manifest.xml \
Simple/meta.xml \
Simple/styles.xml \
- Simple /Thumbnails/thumbnail.png \
+ Simple/Thumbnails/thumbnail.png \
extras_STYLES_MIMETYPEFILES := $(foreach atexts,$(extras_TEMPLATES_STYLES),$(atexts)/mimetype)
diff --git a/extras/Package_tpl_styles.mk b/extras/Package_tpl_styles.mk
index c6d740b67ba3..13af8988c14b 100644
--- a/extras/Package_tpl_styles.mk
+++ b/extras/Package_tpl_styles.mk
@@ -12,6 +12,7 @@ $(eval $(call gb_Package_Package,extras_tpl_styles,$(call gb_CustomTarget_get_wo
$(eval $(call gb_Package_add_files,extras_tpl_styles,$(LIBO_SHARE_FOLDER)/template/common/styles,\
Default.ott \
Modern.ott \
+ Simple.ott \
))
# vim: set noet sw=4 ts=4:
diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
index 436c08b09422..e3639c785a4a 100644
--- a/include/sfx2/strings.hrc
+++ b/include/sfx2/strings.hrc
@@ -335,6 +335,7 @@
#define STR_TEMPLATE_NAME28 NC_("STR_TEMPLATE_NAME28", "Modern business letter sans-serif")
#define STR_TEMPLATE_NAME29 NC_("STR_TEMPLATE_NAME29", "Modern business letter serif")
#define STR_TEMPLATE_NAME30 NC_("STR_TEMPLATE_NAME30", "Businesscard with logo")
+#define STR_TEMPLATE_NAME31 NC_("STR_TEMPLATE_NAME31", "Simple")
#define STR_CLEAR_CHAR NC_("STR_CLEAR_CHAR", "Remove")
#define STR_CLEAR_ALL_CHAR NC_("STR_CLEAR_ALL_CHAR", "Clear All")
diff --git a/sfx2/inc/strings.hxx b/sfx2/inc/strings.hxx
index 9bd7f51c37cc..b12e20596f5c 100644
--- a/sfx2/inc/strings.hxx
+++ b/sfx2/inc/strings.hxx
@@ -44,6 +44,7 @@
#define STR_TEMPLATE_NAME28_DEF "Modern business letter sans-serif"
#define STR_TEMPLATE_NAME29_DEF "Modern business letter serif"
#define STR_TEMPLATE_NAME30_DEF "Businesscard with logo"
+#define STR_TEMPLATE_NAME31_DEF "Simple"
#define CMIS_TYPE_STRING "String"
#define CMIS_TYPE_INTEGER "Integer"