office-gobmx/extras
Tomaž Vajngerl e9a824dd6c tdf#127028 "bpmn" template should have ext. otg instead of ott
"bpmn" is an template for draw documents and not text documents
(writer) so it should have the extension otg and not ott. This is
also important for the template manager as it categorises the
templates based on the extension, so the bpmn was not categorised
correctly.

Change-Id: I503b972711830dc3c5ab98d9c24f974862ffc540
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116775
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-06-07 12:25:29 +02:00
..
source add & mod words in Korean Autocorrlist 2021-05-31 06:46:21 +02:00
util
AllLangPackage_autotextshare.mk
CustomTarget_autocorr.mk tdf#136951: Add Võro (vro-EE) locale data and rudimentary autocorrect list 2020-10-02 16:39:32 +02:00
CustomTarget_autotextshare.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_autotextuser.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_gallsystem.mk tdf#133788 Missing pieces for Gallery localization 2020-07-15 09:41:59 +02:00
CustomTarget_glade.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_opensymbol.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_tpl_styles.mk Templates: add simple writer template 2020-05-03 13:06:09 +02:00
CustomTarget_tpldraw.mk tdf#127028 "bpmn" template should have ext. otg instead of ott 2021-06-07 12:25:29 +02:00
CustomTarget_tplofficorr.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_tploffimisc.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_tplpersonal.mk GBUILD_TRACE, support for finding out where the build time is spent 2020-02-16 14:49:45 +01:00
CustomTarget_tplpresnt.mk tdf#138097 - Update templates / Freshes 2021-02-27 10:01:24 +01:00
Gallery_backgrounds.mk Area fill bitmap presets invoice paper language fix 2020-05-12 20:38:46 +02:00
Gallery_sound.mk
Makefile gbuildize extras 2012-08-24 13:22:05 +02:00
Module_extras.mk tdf#133788 Missing pieces for Gallery localization 2020-07-15 09:41:59 +02:00
Package_autocorr.mk tdf#136951: Add Võro (vro-EE) locale data and rudimentary autocorrect list 2020-10-02 16:39:32 +02:00
Package_autotextuser.mk
Package_cfgsrvnolang.mk
Package_cfgusr.mk
Package_database.mk
Package_databasebiblio.mk
Package_fonts.mk
Package_gallbullets.mk Revert "tdf#139076 update Bullet icons with sexy .svg icons" 2021-01-20 12:32:17 +01:00
Package_gallmytheme.mk Resolves tdf#132904 and tdf#133788 - Gallery clean-up 2020-06-17 12:35:56 +02:00
Package_gallroot.mk
Package_gallsystem.mk tdf#133788 Missing pieces for Gallery localization 2020-07-15 09:41:59 +02:00
Package_gallsystemstr.mk tdf#140681 Translate Bullets default gallery name 2021-04-27 15:23:05 +02:00
Package_glade.mk
Package_labels.mk
Package_newfiles.mk
Package_palettes.mk Rename mso-highlight color palette to customizatio 2020-04-03 10:03:27 +02:00
Package_resource_fonts.mk
Package_tpl_styles.mk Templates: add simple writer template 2020-05-03 13:06:09 +02:00
Package_tpldraw.mk tdf#127028 "bpmn" template should have ext. otg instead of ott 2021-06-07 12:25:29 +02:00
Package_tplofficorr.mk
Package_tploffimisc.mk
Package_tplpersonal.mk
Package_tplpresnt.mk tdf#138097 - Update templates / Freshes 2021-02-27 10:01:24 +01:00
Package_tplwizagenda.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_tplwizbitmap.mk tdf#40966: convert last used BMPs to PNG; cleanup unused 2019-03-13 12:31:35 +01:00
Package_tplwizdesktop.mk
Package_tplwizfax.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_tplwizletter.mk
Package_tplwizreport.mk
Package_tplwizstyles.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_wordbook.mk tdf#95024 Add user dictionary for hu dict package 2018-01-05 01:58:33 +01:00
Personas.mk
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00

Extra Modules

Contains templates, clipart galleries, palettes, symbol font, autocorrections, autotexts etc.

  • How-to add a new gallery:

    • create a directory extras/source/gallery/foo/
    • create a .str file extras/source/gallery/foo/foo.str
    • add a foo section to extras/source/gallery/share/gallery_names.ulf
    • add a Gallery_foo.mk at the top-level (and mention in Module_extra.mk)
    • add a new GALLERY_FILELIST statement in scp2/
  • How-to add a new autotext category

    • create a directory extras/source/autotext/lang/xx/foo/ where xx is your lang code. xx must exactly fit with an UI lang code.
    • unzip your foo.bau autotext file in this directory (including an empty mimetype file)
    • add xx/foo.bau in extras/AllLangPackage_autotextshare.mk
    • in extras/CustomTarget_autotextshare.mk:
      • add xx/foo in extras_AUTOTEXTSHARE_AUTOTEXTS
      • add all files contained in foo.bau (except mimetype) in extras_AUTOTEXTSHARE_XMLFILES
      • if foo.bau contains files with other extension than .xml, .rdf, .svm and .png
        • add a CPY call at the end of the file
  • How-to add a new autotext to an existing category

    • create a directory extras/source/autotext/lang/xx/standard/FOO/ to add it in category standard of lang xx
    • add files of the autotext (at least FOO.xml for an unformatted autotext)
    • add autotext name in extras/source/autotext/lang/xx/standard/BlockList.xml
    • add all files of autotext in extras/source/autotext/lang/xx/standard/META-INF/manifest.xml
    • in extras/CustomTarget_autotextshare.mk:
      • 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
    • 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 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
  • How-to add a new Writer template

    • clean-up template file as much as possible, and choose a template category <Category>
    • unzip Foo.ott in extras/source/templates/<Category>/Foo (no space allowed in any file names)
    • add Foo.ott in Package_<tplCategory>.mk
    • in CustomTarget_<tplCategory>.mk:
      • add Foo / in extras_TEMPLATES_<CATEGORY>
      • add files names contained in Foo.otp (except mimetype) in extras_<CATEGORY>_XMLFILES
      • if Foo.ott contains files with other extension than .xml, .rdf, .svm, .svg, .png and .jpg
        • add a CPY call at the end of file
  • How-to add a new template category

    • create a directory extras/source/templates/foo/
    • unzip your foo0.ott template files in extras/source/templates/foo/foo0
    • add Package_tplfoo and CustomTarget_tplfoo in Module_extras.mk
    • use other category Package_tplcategory.mk to create Package_tplfoo.mk
    • use other category CustomTarget_tplcategory.mk to create CustomTarget_tplfoo.mk
      • replace all category by foo and CATEGORY by FOO
      • add all files contained in foo0.ott (except mimetype) in extras_FOO_XMLFILES
      • if foo0.ott contains files with other extension than .xml, .rdf, .svm, .svg, .png and .jpg
        • add a CPY call at the end of the file
      • optionally, replace extension ott (4 places)