>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 may be a further improvement ... After further thinking I now believe that the best way solve possible further problem with page size and labels is to add page height and width to the label definitions (/core/officecfg/registry/data/org/openoffice/Office/Labels.xcu). The present definitions can only be used for symmetrical label forms (both vertically and horizontally) and there is no margin for rounding errors (e.g. a page width or height which is some tenths of a milimeter wrong is possible, which in turn can cause problems with some printers). Changing the label definitions is too much of an effort for me (code as well as UI needs to be changed), so I'll stick to my current patch. Winfried _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice