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


Hi Markus,

On Wednesday, 2012-05-16 15:14:54 +0200, Markus Mohrhard wrote:

Disadvantages:
- need to introduce some non style parts into the style section

Um.. why? what? how?

IMHO something like information that the style should only be applied
for the top 10% of a range is nothing that should be written to the
style section. This approach will need to add such information in some
way to the style part. Maybe not directly the range but
above-percent(10) or something like that which in the end indirectly
refers back to the range definition.

I don't see that. In the sample you posted all "for top x%" and such
information could go into the <condFormat> element, as

<condFormat>
    <topPercent value="10" style="...">
</condFormat>

Or did I miss something?


- not easily extendable

I don't see a problem in your sketch to extend things, what would it be?

I think here about all the information that are not really style
related. Color Scales, Data Bars, Conditional Formatting that depend
on a range and not only on one cell. For example the Data Bars know
several different settings which I'm not sure should be added to the
style section.

Put them in the <condFormat> element. Btw, element and attribute names
need to be worked on to match ODF speak, also for background colors we
should use the already existing fo:background-color attribute.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpLdJXu_kwen.pgp
Description: PGP signature


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.