diff options
author | Laurent BP <laurent.balland-poirier@laposte.net> | 2017-12-31 16:13:48 +0100 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-02-20 11:26:54 +0100 |
commit | 659acfbb7d588e2fd965fcddf7593e7f7bc76d84 (patch) | |
tree | fda6f5d79186131bb79d173931dabc110717feaf /extras/README | |
parent | e42cce6be36b82bf92ed04af275ff1d4703d982b (diff) |
Impress templates: build from XML code
Mainting XML code is easier if we need to change a font name
or font size for asian and complex. See tdf#114749 or tdf#114746
For Classy_red.otp, Object 1 was renamed Object1, as no space are
allowed in file names.
Change-Id: I6ed0b4df20943396640a9d9b749b77d5ba16ed2d
Update: as suggested by Mark, add indentation with xmllint --format
Reviewed-on: https://gerrit.libreoffice.org/47221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'extras/README')
-rw-r--r-- | extras/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/README b/extras/README index 9a5ac26d8f26..52c6d67cf1b8 100644 --- a/extras/README +++ b/extras/README @@ -26,3 +26,13 @@ How-to add a new autotext to an existing category + add all files of autotext in extras_AUTOTEXTSHARE_XMLFILES + if some files have different extension from .xml, .rdf, .svm and .png + add a CPY call at the end of the file + +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 + + in CustomTarget_tplpresnt.mk: + + 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 |