Adding new label's format

Michael Stahl mstahl at redhat.com
Tue Jul 31 13:55:02 PDT 2012


On 27/07/12 09:28, Info Agipa wrote:
> De : Michael Meeks [michael.meeks at suse.com]
> Date d'envoi : vendredi 20 juillet 2012 18:40
> À : Info Agipa; Winfried Donkers
> 
>>> How is the best way to perform this ?
>>> There is a description of this file to give the good informations ?
>>        See:
>>        officecfg/registry/data/org/openoffice/Office/Labels.xcu
>>        Winfried did some lovely work recently to improve label layout which
>> made this more powerful, he'd be the best guy for a documentation
>> pointer here I suspect.
> 
> Yes, I've found it and see it's fields. I think I can prepare a file with our products.
> But how to put this parts in Libreoffice ? Can I send it to someone for adding it in the trunk ?

yes, after checking out the "core" repository via git

  git clone git://anongit.freedesktop.org/libreoffice/core

just edit the file Labels.xcu mentioned above to add your labels, then
commit your change

  git commit -a -m "add labels for my company"

then create a patch file

  git format-patch HEAD~

and you should get some 0001-*.patch file inside "core"; simply write a
mail to the lo-dev list (i.e. this mailing list) with subject "[PATCH]
add labels for my company", attach the patch file and then somebody will
review it.

i don't think it's necessary for you to actually build LO just to add
the labels, a patch that isn't build-tested is good enough.

regards,
 michael


More information about the LibreOffice mailing list