update credits
[LibreOffice.git] / extras / README
blob9a5ac26d8f26a28fbc13856bb01b1bf204bd6f4e
1 Contains templates, clipart galleries, palettes, symbol font, autocorrections, autotexts etc.
3 How-to add a new gallery:
4         + create a directory extras/source/gallery/foo/
5         + create a .str file extras/source/gallery/foo/foo.str
6         + add a [foo] section to extras/source/gallery/share/gallery_names.ulf
7         + add a Gallery_foo.mk at the top-level (and mention in Module_extra.mk)
8         + add a new GALLERY_FILELIST statement in scp2/
10 How-to add a new autotext category
11         + create a directory extras/source/autotext/lang/xx/foo/ where xx is your lang code
12         + unzip your foo.bau autotext file in this directory (including an empty mimetype file)
13         + add xx/foo.bau in extras/AllLangPackage_autotextshare.mk
14         + in extras/CustomTarget_autotextshare.mk:
15                 + add xx/foo in extras_AUTOTEXTSHARE_AUTOTEXTS
16                 + add all files contained in foo.bau (except mimetype) in extras_AUTOTEXTSHARE_XMLFILES
17                 + if foo.bau contains files with other extension than .xml, .rdf, .svm and .png
18                         + add a CPY call at the end of the file
20 How-to add a new autotext to an existing category
21         + create a directory extras/source/autotext/lang/xx/standard/FOO/ to add it in category standard of lang xx
22         + add files of the autotext (at least FOO.xml for an unformatted autotext)
23         + add autotext name in extras/source/autotext/lang/xx/standard/BlockList.xml
24         + add all files of autotext in extras/source/autotext/lang/xx/standard/META-INF/manifest.xml
25         + in extras/CustomTarget_autotextshare.mk:
26                 + add all files of autotext in extras_AUTOTEXTSHARE_XMLFILES
27                 + if some files have different extension from .xml, .rdf, .svm and .png
28                         + add a CPY call at the end of the file