office-gobmx/extras
Laurent Balland-Poirier bab2c1be6c Help on how-to add autotext
Change-Id: Ia41a3478f5a59b4c13f676eb0e21d3b573456c8f
Reviewed-on: https://gerrit.libreoffice.org/10889
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-12 11:38:09 -05:00
..
source TAB_WIZ_TYPE_SELECT and TAB_WIZ_NAME_MATCHING conversion to .ui 2014-08-06 13:15:04 +00:00
util
AllLangPackage_autotextshare.mk
CustomTarget_autocorr.mk Simplify make file for autocorr and autotext 2014-08-12 11:36:52 -05:00
CustomTarget_autotextshare.mk Simplify make file for autocorr and autotext 2014-08-12 11:36:52 -05:00
CustomTarget_autotextuser.mk
CustomTarget_glade.mk
Gallery_arrows.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
Package_autocorr.mk
Package_autotextuser.mk
Package_cfgsrvnolang.mk
Package_cfgusr.mk
Package_database.mk
Package_databasebiblio.mk
Package_fonts.mk
Package_gallbullets.mk
Package_gallhtmlexpo.mk
Package_gallmytheme.mk
Package_gallroot.mk
Package_gallsystem.mk
Package_gallwwwback.mk
Package_gallwwwgraf.mk
Package_glade.mk
Package_labels.mk
Package_newfiles.mk
Package_palettes.mk
Package_tpllayoutimpr.mk
Package_tplwizagenda.mk
Package_tplwizbitmap.mk
Package_tplwizdesktop.mk
Package_tplwizfax.mk
Package_tplwizletter.mk
Package_tplwizreport.mk
Package_tplwizstyles.mk
Package_wordbook.mk
README Help on how-to add autotext 2014-08-12 11:38:09 -05: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