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

Hi Jean-Francois,

Jean-Francois Nifenecker schrieb:

(official LibO 5.x under win7 and Linux Debian 9)

I'm developping in a corporate environment a number of spreadsheets
using Calc. In many of those, I'm using conditional formatting,
sometimes quite heavily.

As I want to precisely document the ins and outs of the spreadsheets for
the users and future maintainers, I'm looking for a way to list those
conditional formattings.

Any hint would be appreciated about a way to do this, which means with
macros, of course, as the UI doesn't seem to give any other way. I
haven't found any hint in the API but might certainly have overlooked

You can get all conditions from the saved file. In case you use "ODF 1.2. extended" the conditions are written in the LO-specific element <calcext:conditional-formats>. In addition some of the conditions are written in <style:map> attributes as defined by ODF 1.2. In case you use ODF 1.2, only <style:map> attributes are used, so that not all kind of conditions are possible.

In the API look for "Condition..." in the com::sun::star::sheet module reference (in the SDK).

For the ODF 1.2 strict way, you can look at

You might consider to write all hints and explanations more human readable into a separate (hidden?) sheet.

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.