https://bugs.documentfoundation.org/show_bug.cgi?id=156685
--- Comment #21 from Regina Henschel <[email protected]> --- (In reply to Mike Kaganski from comment #20) > (In reply to Maxim Monastirsky from comment #19) > > Hmm, of course that would be a reasonable workaround. But what that property > is for, then? > > In Writer, there is a drop-down on the Background tab for table (why not > Area btw?), allowing to set, if the setting is for table, row, or for cell. In Writer, a table is on same level as paragraphs. In Writer a table is not a graphic object. In Draw/Writer a table is child element of a <draw:frame> element. > > So there's an inconsistency. What does ODF has to say here? Is table > background has any meaning for Impress? The table in Draw/Impress is a <draw:frame><table:table>...<table:table></draw:frame>. The <draw:frame> element has a style which has a <style:graphic-properties> child element. That means, that it has all of the fill and stroke properties. If a setting is missing in the frame style, the setting of the <style:default-style> element of style:family="graphic" is used. That is the place were the properties of the "Default Drawing Style" of the UI are stored. So yes, there exists always a fill property for the shape object in addition to the fill properties of the table. The fill of a table cell can have different origins: The <table:table> element has a style which has a <style:table-properties> child element. Table rows have the <style:table-row-properties> and table cells have <style:table-cell-properties>. All these have fill with color and bitmap fill in ODF 1.3. That will be extended to all kind of filling in ODF 1.4. Such styles can be in <office:automatic-styles> (direct formatting) or in <office:styles> (user defined styles). A table can in addition have a reference to a <table:table-template> element and rules, which parts of the template to use. A table template is a set of references to table cell styles. They are use for a style as long as no style is set in the individual table. The fill of the <draw:frame> parent element is behind the table and should be visible if the table fill is "transparent". Only a small part of the possibilities of ODF is actually implemented in LibreOffice. -- You are receiving this mail because: You are the assignee for the bug.
