summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorLaurent BP <laurent.balland-poirier@laposte.net>2021-01-31 19:03:10 +0100
committerLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2021-02-18 18:18:10 +0100
commit22cc13ae083c8c092c657003c27a71a3ab5fea95 (patch)
tree04971c71c3237492be91732d330c25257ba0978d /extras
parent67db5b7c8df4aa0fab08ac2d11b732dbc28c4c62 (diff)
Clearer text to add new Impress template
Change-Id: I291d90795b1b2a6c160bdf20544df73dbb8054c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110209 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins
Diffstat (limited to 'extras')
-rw-r--r--extras/README7
1 files changed, 4 insertions, 3 deletions
diff --git a/extras/README b/extras/README
index 448d0baafa77..8644d990d5d9 100644
--- a/extras/README
+++ b/extras/README
@@ -29,10 +29,11 @@ How-to add a new autotext to an existing category
How-to add a new Impress template
+ clean-up template file as indicated on wiki https://wiki.documentfoundation.org/Documentation/HowTo/Impress/Make_template_language_independent
- + unzip Foo.otp in extras/source/templates/presnt/Foo (no space allowed in any file names)
- + add Foo.otp in Package_tplpresnt.mk
+ + add <dc:title>Foo</dc:title> in meta.xml to make presentation name translatable
+ + unzip Foo.otp file in extras/source/templates/presnt/Foo (no space allowed in any file names)
+ + add "Foo.otp" in Package_tplpresnt.mk
+ in CustomTarget_tplpresnt.mk:
- + add Foo / in extras_TEMPLATES_PRESENTATIONS
+ + add "Foo /" in extras_TEMPLATES_PRESENTATIONS
+ add files names contained in Foo.otp (except mimetype) in extras_PRESENTATIONS_XMLFILES
+ if Foo.otp contains files with other extension than .xml, .svm, .svg, .png and .jpg
+ add a CPY call at the end of file