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


Olivier Hallot wrote (14 februari 2012)

The new schema with the paper size will work with older versions of
LibreOffice and OpenOffice? In other words, if I replace Labels.xcu from
older OOo, with the new one,  is it going to break the label feature or
not of OOo?
It will work with 'old style' custom label definitions (in registrymodifications.xcu)
and update this to 'new style' definition when used.
If you put the new Labels.xcu (and not the associated C++-code changes) in an
older OOo, it should work, as the older OOo (or LibO) reads a fixed numer of values 
from Labels.xcu. So, it will not read the page dimensions, even if they are there.
I have tested with 'old style' custom label definitions (in registrymodifications.xcu)
and the patch; that woks fine.
I have not tested the new Labels.xcu with old OOo or old LibO; IMHO you'll need to 
compile and build first.

I ask that because I have a Label.xcu in an extension, and if I modify
it for tre new schema, I need to know in order to update the version.
I have not tested with extensions. Are the label definitions read in the extension?
If so, I presume you use the class SwLabItem to fill with the label definition. The
patched SwLabItem has been expanded with page dimensions.
(Possibly I don't understand what you mean exactly)

Winfried

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.