office-gobmx/extras
Rizal Muttaqin a542956c8c tdf#154242 and tdf#154143 Asset images for UI Chooser and ToTD
Change-Id: I9397133c3a1fd939f2ef136dc4b914e9248234f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149186
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-03-21 03:38:29 +00:00
..
source tdf#154242 and tdf#154143 Asset images for UI Chooser and ToTD 2023-03-21 03:38:29 +00:00
util
AllLangPackage_autotextshare.mk Update AutoText for sr 2019-09-24 21:17:46 +02:00
CustomTarget_autocorr.mk Related: tdf#150687 check autocorr DocumentList.xml at build time 2023-01-05 09:56:48 +00:00
CustomTarget_autotextshare.mk simplify autotextshare makefile/only build what's packaged 2022-02-10 11:35:04 +01:00
CustomTarget_autotextuser.mk simplify autotextuser makefile 2022-02-10 11:35:22 +01:00
CustomTarget_gallsystem.mk tdf#140215 Simplify the handling of .ulf files 2022-12-21 16:45:08 +00:00
CustomTarget_glade.mk
CustomTarget_opensymbol.mk
CustomTarget_templates.mk Templates: tdf#86483: Add "Localization" category and add a template for zh_CN 2022-11-04 21:29:33 +01:00
CustomTarget_tplpresnt.mk Fix typos 2022-10-15 17:47:57 +02:00
CustomTarget_tplwizard.mk Fix typo 2022-10-12 06:45:23 +02:00
Gallery_backgrounds.mk
Gallery_sound.mk Further work on the "Mac-like app structure" option 2013-08-18 21:11:16 +03:00
Makefile
Module_extras.mk Merge makefiles of Writer and Draw templates 2022-10-14 10:48:19 +02:00
Package_autocorr.mk
Package_autotextuser.mk Build all l10n AutoText 2014-07-02 11:22:27 +00:00
Package_cfgsrvnolang.mk tdf#99967 Drop Web Wizard 2017-02-17 22:21:57 +00:00
Package_cfgusr.mk
Package_database.mk
Package_databasebiblio.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_fonts.mk
Package_gallbullets.mk
Package_gallmytheme.mk
Package_gallroot.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_gallsystem.mk tdf#133788 Missing pieces for Gallery localization 2020-07-15 09:41:59 +02:00
Package_gallsystemstr.mk
Package_glade.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_labels.mk
Package_newfiles.mk
Package_palettes.mk
Package_resource_fonts.mk
Package_templates.mk Templates: tdf#86483: Add "Localization" category and add a template for zh_CN 2022-11-04 21:29:33 +01:00
Package_tplpresnt.mk tdf#138097 - Update templates / Freshes 2021-02-27 10:01:24 +01:00
Package_tplwizard.mk tdf#143956 Convert all Wizards template to XML 2022-10-11 20:55:19 +02:00
Package_tplwizbitmap.mk
Package_tplwizdesktop.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_wordbook.mk
Personas.mk
README.md Update extras/README 2022-11-01 19:59:31 +01: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 (excluding an empty mimetype file)
    • add xx/foo.bau in extras/AllLangPackage_autotextshare.mk
    • in extras/CustomTarget_autotextshare.mk:
      • add all files contained in foo.bau (except mimetype) in extras_AUTOTEXTSHARE_XMLFILES
  • 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
  • How-to add a new template category

    • add long category name in TEMPLATE_LONG_NAMES_ARY in sfx2/inc/doctempl.hrc
    • add short category name in TEMPLATE_SHORT_NAMES_ARY in sfx2/source/doc/doctemplates.cxx
  • How-to add a new template to an existing category

    • clean-up template file as indicated on wiki https://wiki.documentfoundation.org/Documentation/HowTo/Impress/Make_template_language_independent
    • recommendation for settings.xml are given on wiki https://wiki.documentfoundation.org/Documentation/CompatibilityFlags#Settings_to_include_in_a_new_template
    • add <dc:title>Foo</dc:title> in meta.xml to make presentation name translatable
    • choose a template category <Category>
    • unzip Foo.ot? (? = p, t, s or g) in extras/source/templates/<Category>/Foo (no space allowed in any file names)
    • add <Category>/Foo.ot? / in Package_templates.mk (or Package_tplpresnt.mk if it's a presentation)
    • in CustomTarget_templates.mk (or CustomTarget_tplpresnt.mk if it's a presentation):
      • add <Category>/Foo/meta.xml / and all files which are not automatically added in extras_TEMPLATES_XMLFILES (or extras_PRESENTATIONS_XMLFILES for presentation)
    • for translation of template name
      • define a new STR_TEMPLATE_NAMExx in include/sfx2/strings.hrc
      • define a new STR_TEMPLATE_NAMExx_DEF in sfx2/inc/strings.hxx
      • in sfx2/source/doc/doctempl.cxx
        • add STR_TEMPLATE_NAMExx_DEF to aTemplateNames
        • add STR_TEMPLATE_NAMExx to STR_TEMPLATE_NAME