Hi Markus,
Markus Mohrhard schrieb am 10.08.2025 um 22:55:
Hey all,
I have been playing a bit with an implementation for Calc table style
support including OOXML support. I'm not too happy with some of my
design decisions so wanted to see what other people think before I spend
any more time on this.
The code can be found in the branch feature/calc-table-styles
(A)
It does not build for me. I use Cygwin and VS 2022. I could sent you a
log file.
(B)
I miss in all your descriptions, how you will save it to ODF. Currently
ODF has the element <table:table-template> (16.20, ODF 1.4) to describe
the formatting of a table. The <table:table> element has an attribute
table:template-name (19.737, ODF 1.4) to refer to the table template.
Currently the table template is described to be used on the whole table.
The <table:database-range> has currently no attribute at all for
formatting. I could imagine to introduce that the table:template-name
attribute can be used as attribute in <table:database-range> too, with
precedence over the attribute at the table:table element. Of cause, such
attribute has to be in our own namespace and can only be written in
extended file format.
Kind regards,
Regina