tree: 9fc069254ad8dddf7a7c0eaabef2cc381343e22a [path history] [tgz]
  1. source/
  2. util/
  3. AllLangPackage_autotextshare.mk
  4. CustomTarget_autocorr.mk
  5. CustomTarget_autotextshare.mk
  6. CustomTarget_autotextuser.mk
  7. CustomTarget_gallsystem.mk
  8. CustomTarget_glade.mk
  9. CustomTarget_opensymbol.mk
  10. CustomTarget_tpl_styles.mk
  11. CustomTarget_tpldraw.mk
  12. CustomTarget_tplofficorr.mk
  13. CustomTarget_tploffimisc.mk
  14. CustomTarget_tplpersonal.mk
  15. CustomTarget_tplpresnt.mk
  16. Gallery_backgrounds.mk
  17. Gallery_sound.mk
  18. Makefile
  19. Module_extras.mk
  20. Package_autocorr.mk
  21. Package_autotextuser.mk
  22. Package_cfgsrvnolang.mk
  23. Package_cfgusr.mk
  24. Package_database.mk
  25. Package_databasebiblio.mk
  26. Package_fonts.mk
  27. Package_gallbullets.mk
  28. Package_gallmytheme.mk
  29. Package_gallroot.mk
  30. Package_gallsystem.mk
  31. Package_gallsystemstr.mk
  32. Package_glade.mk
  33. Package_labels.mk
  34. Package_newfiles.mk
  35. Package_palettes.mk
  36. Package_resource_fonts.mk
  37. Package_tpl_styles.mk
  38. Package_tpldraw.mk
  39. Package_tplofficorr.mk
  40. Package_tploffimisc.mk
  41. Package_tplpersonal.mk
  42. Package_tplpresnt.mk
  43. Package_tplwizagenda.mk
  44. Package_tplwizbitmap.mk
  45. Package_tplwizdesktop.mk
  46. Package_tplwizfax.mk
  47. Package_tplwizletter.mk
  48. Package_tplwizreport.mk
  49. Package_tplwizstyles.mk
  50. Package_wordbook.mk
  51. Personas.mk
  52. README.md
extras/README.md

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)