[Libreoffice-ux-advise] [Bug 118274] TABLE: Table styles should include table alignment

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 20 23:23:19 UTC 2018


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #7 from Regina Henschel <rb.henschel at t-online.de> ---
Currently the "table styles" in the Styles&Formatting dialog are not styles in
a technical sense, but they are table-templates. Such table-template is a set
of cell formatting information, each of them for a special group of cells, e.g.
the first row. Such cell formatting information contains a reference to a table
cell style and a reference to a paragraph style. But the table template cannot
have a reference to a table style. And the alignment information belongs to the
element <style:table-properties>, not to the element <table:table-template>.

LibreOffice has only a rudimentary implementation of table-styles. It always
writes the information as automatic-style, that is the way to write hard
formatting. And if a file uses "true" table styles, LibreOffice does not
understand it. The file format allows table styles as "true" styles, including
inheritance and the possibility to use the same style for different tables. But
LibreOffice has not implemented to use it.

The UI will be tricky, because tables refer to two sources for their
formatting, an element <style:style> of family "table" and an element
<table:table-template>. 

So it is a valid request, to implement the use of true table styles.

There exist bug 34391 about "table styles". But in fact the entire comments in
it are about table templates. Therefore I think, it is better to keep this bug
report for "true" table styles. A "true" table style is an element
<style:style> of family table as child element of element <office:styles>, in
contrast to the current implementation as child of element
<office:automatic-styles>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list