office-gobmx/extras
Laurent BP afb4db7184 tdf#125010 No compression to mimetype in all embded files
same change as change https://gerrit.libreoffice.org/71473/
for :
- autocorrection files .DAT
- autotext share files .BAU
- autotext user file .BAU
- Writer templates: OfficeCorr, OfficeMisc, Personal, Styles .OTT
- Impress templates .OTP

Change-Id: Ie467b19bc833006fdfef45a72b9cb4a0eba8e7bd
Reviewed-on: https://gerrit.libreoffice.org/71830
Tested-by: Jenkins
Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2019-05-14 20:42:01 +02:00
..
source weld conditional formatting 2019-05-11 18:34:23 +02:00
util
AllLangPackage_autotextshare.mk
CustomTarget_autocorr.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_autotextshare.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_autotextuser.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_glade.mk
CustomTarget_opensymbol.mk add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
CustomTarget_tpl_styles.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_tplofficorr.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_tploffimisc.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_tplpersonal.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
CustomTarget_tplpresnt.mk tdf#125010 No compression to mimetype in all embded files 2019-05-14 20:42:01 +02:00
Gallery_arrows.mk
Gallery_backgrounds.mk
Gallery_computers.mk
Gallery_diagrams.mk
Gallery_education.mk
Gallery_environment.mk
Gallery_finance.mk
Gallery_people.mk
Gallery_sound.mk
Gallery_symbols.mk
Gallery_transportation.mk
Gallery_txtshapes.mk
Makefile
Module_extras.mk simplify personas generation by using a single template 2018-10-27 18:09:11 +02:00
Package_autocorr.mk tdf#121726 add Lower and Upper Sorbian autocorrect files (emoji input) 2018-12-19 19:14:07 +01:00
Package_autotextuser.mk
Package_cfgsrvnolang.mk
Package_cfgusr.mk
Package_database.mk
Package_databasebiblio.mk
Package_fonts.mk add --enable-build-opensymbol option to build opens___.ttf from source 2018-05-29 15:33:05 +02:00
Package_gallbullets.mk
Package_gallhtmlexpo.mk
Package_gallmytheme.mk
Package_gallroot.mk
Package_gallsystem.mk
Package_gallwwwgraf.mk
Package_glade.mk
Package_labels.mk
Package_newfiles.mk
Package_palettes.mk
Package_tpl_styles.mk Writer templates: built from XML code 2018-08-19 11:52:41 +02:00
Package_tplofficorr.mk Writer templates: built from XML code 2018-08-19 11:52:41 +02:00
Package_tploffimisc.mk Writer templates: built from XML code 2018-08-19 11:52:41 +02:00
Package_tplpersonal.mk Writer templates: built from XML code 2018-08-19 11:52:41 +02:00
Package_tplpresnt.mk
Package_tplwizagenda.mk
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
Package_tplwizletter.mk
Package_tplwizreport.mk
Package_tplwizstyles.mk
Package_wordbook.mk
Personas.mk Fix typos 2018-10-28 04:00:32 +01:00
README Fix typos 2018-08-21 22:49:29 +02:00

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
	+ 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
	+ 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

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)