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


On 14/11/13 09:21, Thomas Krumbein wrote:
Hey all,

I am looking for an easy way to find out, which product (LibO or AOO) is
installed and currently activ via Basic Macros.

Because in LO 4.1 we have some API-changes, macros should now have a
version-switch.

i hope the API changes are small enough in scope so that you don't have
to re-write everything?  we try to do API changes only after a careful
discussion of the alternatives; please give us feedback in case you
think that you spend too much time and effort on this kind of thing :)

There are different methods to get the internal version-number - that is
not a problem.

But: The version number itself is not suffcient because AOO 4.1.0 will
start soon and this version-number is identical to LO 4.1.0.

So macros must have additional a vendor-switch.

Do somebody have an easy access hint to vendor-name?

There should be a possibility in configuration-data, but I do not know
where?

searching for PRODUCTNAME finds this:

http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Setup.xcu#22

org.openoffice.Setup.Product.ooName

value should be "LibreOffice" at runtime (or "LibreOfficeDev" for a
non-release build).


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.