Bug 107735 - FILESAVE, ODF: element <table:background> in <table:table-template> needs to reference a style of family type table
Summary: FILESAVE, ODF: element <table:background> in <table:table-template> needs to ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odf
Depends on:
Blocks: Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2017-05-09 22:05 UTC by Regina Henschel
Modified: 2022-05-03 11:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-05-09 22:05:44 UTC
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
Comment 1 Buovjaga 2017-05-13 16:35:30 UTC
Confirmed.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.4.0.0.alpha1+
Build ID: c0968aa4673a8ac9a8a09a0e291b58b94bdbb35e
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 13th 2016
Comment 2 QA Administrators 2018-05-14 02:29:02 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-05-14 08:32:35 UTC
The bug exists still in Version: 6.1.0.0.alpha0+ (x64)
Build ID: 55b9706bea5aa9b654ab39bc7d56339422e17087
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-04-18_06:02:46
Locale: de-DE (de_DE); Calc: CL
Comment 4 Regina Henschel 2018-11-06 13:21:33 UTC
The bug still exists in Version: 6.2.0.0.alpha1+ (x64)
Build ID: f825e6d4082c0d0beb1c95b881f6a2ee9bfc9161
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-05_00:20:26
Locale: de-DE (en_US); Calc: CL
Comment 5 QA Administrators 2021-02-02 03:50:05 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2022-05-03 11:33:48 UTC
Dear Balázs Sántha,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assign it back to yourself if you're still working on this.