[PATCH]bug 44516 improved label and business card document creation

Olivier Hallot olivier.hallot at documentfoundation.org
Thu Feb 9 01:24:47 PST 2012


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

Hello Winfried

I wrote a Label.xcu file for a local label manufacturer (Pimaco) [1]. To
update it to your new schema, I just need to add the page size ( in
1/100 of mm) at the end of the Measure <value>, right?

<prop oor:name="Measure">
<value>S;5000;14000;5000;14000;500;850;4;2;21000;29700</value>
</prop>

Thank you

Olivier

[1] http://extensions.services.openoffice.org/project/PimacoLabels, but
the site is out of service...

Em 09-02-2012 05:03, Winfried Donkers escreveu:
> The patch itself is not attached to this mail (size 1.2MB), but attached
> to the bug itself.
> 
> The patch file is so large because the file labels.xcu has almost all
> lines changed.
> 
> This patch addresses problems that were not solved with patch 36874.
> 
>  
> 
> Changes made in the patch:
> 
> -added page width and page height to label definitions, as the
> definitions were
> 
> not complete (page size could not be determined from definitions).
> Removed some
> 
> obsolete label definitions after consulting the manufacturer. Also added a
> 
> legend (should anyone wish to add new current label defintions) and made
> layout
> 
> consistent throughout the file (Labels.xcu);
> 
> -added page width and page size to label wizard and business card wizard and
> 
> label dimension dialog (all files);
> 
> -added conversion of old-style custom label definitions (labelcfg.cxx);
> 
> -improved frame calculation - because of rounding off, situations were
> possible
> 
> for the labels not to fit on the paper (e.g. 3 labels 70mm wide on a row
> of A4
> 
> paper (210mm wide)resulted in 3 frames of 3969TWIPs (totals 11907TWIPs) on a
> 
> paper onlt 11906TWIPs wide (applab.cxx);
> 
> -improved frame space handling - the gaps between labels are right/lower
> spaces
> 
> of the frame, so that frames can be put on the document next to each
> other when
> 
> creating the document. However, when the gap between labels is larger
> than the
> 
> right/lower margin of the page, the labels will not fit on the page. I
> removed
> 
> the right space for the right colum of labels and the lower space for the
> 
> bottom row of labels. I used 4 different drames for this as I could not
> make it
> 
> work with one frame and changing left/lower space attribute. (applab.cxx);
> 
> -removed fix24445 as i could not determine any positive effect of this code
> 
> (applab.cxx).
> 
>  
> 
>  
> 
>  
> 
> Winfried
> 
>  
> 
> 
> 
> _______________________________________________
> 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
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPM5DeAAoJEJp3R7nH3vLxPB4H/j0BsILPloYJsmzjpK3m8PmU
p3l9bt+LhfRin/34IpBSJijvPGi00YsuMJVkGRsaaCZ9LJoZSmzm/CC9QSTtUfXm
9qYyxaSQd0ayDIPryI6DaWH7x63/r5D3owBKNK5qjv5ECKQX93pKu/lsNiQ5lzy4
5hb5DC/17M5s+Cxga2w4/LlB8v9iQkLj2tj2dUHO9SnRCZjRb1QMjCQ7Z+gT+nuX
j4QFOfkckYA8CFfaEQIUG1MBjT+x0VLBV/7Jm9AQj7p8CQO20rZ+Fk3bJ2JAQWO0
vzC2gv4O0eyy7IKnizws9CYxeDKC650xpg4WVCSVMPC12cwpoFG+mu/9h+Phmno=
=YlB/
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list