Download it now!
Bug 94076 - FILEOPEN: ODT - <style:style> Table styles not imported and not preserved after Roundtrip
Summary: FILEOPEN: ODT - <style:style> Table styles not imported and not preserved aft...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-import Writer-Tables-Style
  Show dependency treegraph
 
Reported: 2015-09-09 21:03 UTC by Yousuf Philips (jay) (retired)
Modified: 2020-09-20 07:20 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
sample doc (2.18 KB, application/vnd.oasis.opendocument.text)
2015-09-09 21:03 UTC, Yousuf Philips (jay) (retired)
Details
calligra 2.8.5 vs LO 5.1 master (130.16 KB, image/png)
2015-09-09 21:12 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2015-09-09 21:03:55 UTC
Created attachment 118561 [details]
sample doc

LibreOffice doesnt support the creation of table styles (bug 34391), but that doesnt mean that it should be able to load odf table styles and preserve it as table direct formatting, because the table style doesnt make it through when saving the file (aka Roundtripping).

Open the attached doc in Calligra and compare it with LO.

Version: 5.1.0.0.alpha1+
Build ID: eb2e1ab4651350bffc53f618961a910bd3bbcfd9
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-09-02_23:57:52
Locale: en-US (en_US.UTF-8)
Comment 1 Yousuf Philips (jay) (retired) 2015-09-09 21:12:06 UTC
Created attachment 118562 [details]
calligra 2.8.5 vs LO 5.1 master
Comment 2 Buovjaga 2015-09-18 15:25:13 UTC
Confirmed.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 3 Yousuf Philips (jay) (retired) 2016-08-10 11:13:28 UTC
More table style sample docs can be found here for testing - http://www.vandenoever.info/tmp/2015/sep/table-properties/report.html
Comment 4 Yousuf Philips (jay) (retired) 2017-05-02 00:06:37 UTC
So the work done in GSoC 2016 didnt fix this issue.

Version: 5.4.0.0.alpha0+
Build ID: f0340e3dca1091accdb71e0c566b96cdf9e0f791
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-21_13:34:48
Locale: en-US (en_US.UTF-8); Calc: group
Comment 5 Yousuf Philips (jay) (retired) 2017-05-05 12:44:04 UTC
So ODT table styles are settable in /styles.xml either using <table:table-template> or with <style:style style:family="table">. LibreOffice now support <table:table-template> but doesnt with <style:style>.

@Regina: On import, can/should a <style:style> style be converted into a <table:table-template> style so it can utilized in the future table style editor dialog?
Comment 6 Xisco Faulí 2017-07-13 10:43:01 UTC
Setting Assignee back to default. Please assign it back to yourself if you're
still working on this issue
Comment 7 QA Administrators 2018-07-14 02:47:29 UTC Comment hidden (obsolete, spam)
Comment 8 QA Administrators 2020-07-14 04:03:51 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2020-09-11 18:04:01 UTC
The problem still exists in Version: 7.0.0.2 (x64)
Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL