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


Hi Abhishek,

On Tuesday, 2018-02-27 14:30:32 +0100, Eike Rathke wrote:

One data table style would be quite similar to a conditional format in
the sense of how it could be handled at the document, keeping a list of
data table styles, each having one SfxItemSet for the various properties
each, such as top row, banded rows/column, column stripes, row stripes,
leftmost column, rightmost column, total row, ...

One thing I forgot to mention is that within one data table style there
are hierarchical relations between some areas, such as the whole table
has one style, which is the parent of other styles if a feature of
a table style is activated, such as if banded rows are activated there
will be two row style alternating, of which each row style is a child of
the whole table style; or the header row style will be a child of the
whole table style, and the first header cell and last header cell will
each be a child of the header row style.

Class ScStyleSheet provides such relations with SetParent()

Independent of that, if you do
git grep TableStyle sd
you'll find some of the Draw/Impress implementation that may give you
some additional ideas. It is most likely not applicable to Calc though.

If you're interested and plan to work on this I can come up with a more
detailed definition of what properties / region attributes a data table
style for Calc must have and how they relate hierarchically.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack

Attachment: signature.asc
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.