Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Attached is a patch for bug 36874. It also patches bugs 34271, 35104, 35272 and 41755 which IMHO 
are duplicates.
The old calculaton of page size during the creation of a new document was incorrect, leading to 
misalignment when printing.
I have replaced it with a better (I think) calculation and tested it with all the labels mentioned 
in the above bugs plus some more.

There is one thing that my be a further improvement, but
-I haven't found the proper get-method yet;
-I don't know if this fits in the policy of LibO.
My suggestion is this:
It is possible that the label definition is a little bit off from the standard page size (e.g. 
0.2mm different height or width compared to A4). I propose to use the standard page size (as set by 
the user) when the difference in height or width is less than 1mm.
I'm willing to add this when someone gives a hint for the proper get-method to obtain the 
(standard/current) page size


Winfried

Attachment: fdo36874.diff
Description: fdo36874.diff


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.