How to add extra templates to 4.1 windows build

Olivier Hallot olivier.hallot at documentfoundation.org
Mon Sep 2 03:13:02 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Flavio

Em 02-09-2013 05:20, Flavio Moringa escreveu:
> I,
> 
> thanks for the tips, I'm trying it out right now....
> 
> The templates are internal to a company business process, and as such I
> cannot share them.

You don't need to compile LibreOffice just to add new templates to your
installation.

You can add templates with categories to LibreOffice as an extension. It
is not only much easier to solve your demand but also you keep your
templates independent from LO packages and versions.

And extensions can have version itself, so your templates can be
upgraded very easily (just redeploy the new version).

Your extension can be deployed with the same tool you use for the msi
package.

Regards

Olivier




> 
> In the end where will this templates be available? It would be great if
> a new category labeled "Company Name" was created with this templates
> inside...
> 
> Thanks for helping out.
> 
> Cheers
> 
> *Flávio Moringa*
> Project Leader
> 
> 
> 
> Caixa Mágica Software
> Energia Open Source
> Rua Soeiro Pereira Gomes, Lote 1 - 4.º B,
> Edifício Espanha, 1600-196 Lisboa - Portugal
> Tel.: +351 217 921 260 Fax: +351 217 921 261
> http://www.caixamagica.pt
> https://twitter.com/flaviomoringa
> https://www.facebook.com/flaviomoringa
> <https://www.facebook.com/flavio.moringa>
> http://pt.linkedin.com/in/flaviomoringa
> http://people.caixamagica.pt/flaviomoringa
> 
> 
> 
> 2013/8/30 Eike Rathke <erack at redhat.com <mailto:erack at redhat.com>>
> 
>     Hi Flavio,
> 
>     On Tuesday, 2013-08-27 10:19:35 +0100, Flavio Moringa wrote:
> 
>     > I'm trying to add a few extra templates to a 4.1 windows build,
>     but I don't
>     > know where to put them on the source dir so that they are caught
>     in the
>     > final MSI....
>     >
>     > In 3.x I used to put them in
>     "extras/source/premium/templates/lang/en-US/"
>     > but that dir does not exist anymore....
> 
>     extras/source/templates/dirname/ looks like the place to go (of course
>     another new path under extras/source/... would do as well) and then
>     create an extras/Package_dirname.mk file similar to
>     extras/Package_tpllayoutimpr.mk and add that to extras/Module_extras.mk
>     and also add an entry to scp2/source/ooo/file_extra_ooo.scp (look for
>     gid_File_Extra_Tpllayoutimpr) and scp2/source/ooo/module_hidden_ooo.scp
>     (dito, look for gid_File_Extra_Tpllayoutimpr)
> 
>     Or simply publish the templates on http://templates.libreoffice.org/
> 
>     Or if they could be of general interest as default templates, contribute
>     them to the project?
> 
>       Eike
> 
>     --
>     LibreOffice Calc developer. Number formatter stricken i18n
>     transpositionizer.
>     GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7
>     6563 2D3A
>     For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
>     Support the FSFE, care about Free Software!
>     https://fsfe.org/support/?erack
> 
> 
> 
> 
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
> 

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJSJGSuAAoJEJp3R7nH3vLxhtgIAKSmcM+PX1v4ZMC8M2y9CkEh
XPceM47zjKC3b2ar8n5S8+YHTXt4F8Pi3gTwXpKMkD3ARdeldPoCcB2ySDlGWHrd
Atjdxaq0SqsT3lffYbjDVE/ilFIoMpRvNh2xg8efJI1IiFn3Gfgnrz+kO45dkV6Z
xloRQfy5PWBfygaSzGrLOu+hP3P2vf9tr0XU6PNIXKpZiDqWFDfVkkZ7pRqxnU98
TMhgrGKV8wb7c4swQDMUdZiiJnhPXhk9A3UVmsqO8Woa1Uxd6TFU/vx7/a1LrRkl
hY6mPHNx3M5DjRKAh/4ESYyeB5Gt67ge4W5p73MS2ptH3V5OL53n7bdp+67w8mQ=
=nTek
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list