[Libreoffice-bugs] [Bug 107735] New: FILESAVE, ODF: element <table:background> in <table: table-template> needs to reference a style of family type table

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 9 22:05:44 UTC 2017


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

            Bug ID: 107735
           Summary: FILESAVE, ODF: element <table:background> in
                    <table:table-template> needs to reference a style of
                    family type table
           Product: LibreOffice
           Version: 5.3.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Generate a table in a Writer document and assign any of the new table templates
from the Style&Formatting pane in the sidebar. Save it.
Unpack it and look into the file styles.xml.
Find the node <table:table-template> and therein the child node
<table:background>.
Read the value of its table:style-name attribute.
Find the <style:style> element with the style:name attribute with this value.
Read the value of the style:family attribute at the same node. It should be the
word 'table', but it is 'table-cell'. And in consequence the node has the wrong
child elements.

The <table:table-template> element is in section 16.18.
Its child element <table:background> is in section 16.20.
The description of its table:style-name attribute is in section 19.726.2.
Notice, that the style family for the <table:background> child element is
different from the other child elements.
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-table_style-name_element-table_background

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170509/0d3ecf81/attachment.html>


More information about the Libreoffice-bugs mailing list