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
This commit is contained in:
Laurent BP
2021-02-18 18:18:10 +01:00
committed by Laurent Balland-Poirier
parent 67db5b7c8d
commit 22cc13ae08
+4 -3
View File
@@ -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