https://bugs.documentfoundation.org/show_bug.cgi?id=173510

--- Comment #12 from Regina Henschel <[email protected]> ---
(In reply to Eyal Rozenberg from comment #10)
> Regina, are we _supposed_ to be able to create no-style tables?
>
Whether a "style" is required, you can see in the schema. I have not examined
all, but as far as I see, table related styles are optional.

ODF has default styles, whose settings are used, if not determined more
directly to the object: <style:default-style> (16.4). LibreOffice uses
currently only family="table" and family="table-row" (19.480).

ODF has means to provide more default settings for tables, but LibreOffice does
not use it.

The styling of a table is specified by the elements <style:table-properties>
(17.15), <style:table-column-properties>(17.16), <style:table-row-properties
(17.17), and <style:table-cell-properties> (17.18). LibreOffice has currently
all of these as children of <style:style> elements in <office:automatic-styles>
for tables in Writer. That means, they are stored as direct formatting. It
seems to me, currently LibreOffice writes them always and thus settings from
default-style would not be used.

Another concept is the <table:table-template> (16.20). The template used for
creating a table can be remembered as attribute table:template-name (19.737) in
each table. Notice, that this is not a "style" but a template used when
creating a table. However, an application could reuse it, when the structure of
a table changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to