Bug 77846 - FILESAVE: ODF 1.1 does not retain list alignment/indentation
Summary: FILESAVE: ODF 1.1 does not retain list alignment/indentation
Status: RESOLVED NOTABUG
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: odf
Keywords: filter:odt
Depends on:
Blocks: ODF-1_1
  Show dependency treegraph
 
Reported: 2014-04-24 02:12 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-09-30 09:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
showing the opening of the file in odf 1.1 and 1.2 (47.71 KB, image/jpg)
2014-04-24 02: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) 2014-04-24 02:12:55 UTC
Created attachment 97845 [details]
showing the opening of the file in odf 1.1 and 1.2

I downloaded the .docx file found at < http://download.microsoft.com/documents/rus/microsoft4you/How_to_license_the_operating_system_Windows_8_new.docx > and saved it as a odf 1.1 file. Then i opened the file in LibO and on all pages with number and bullet lists, the lists havent retained their 'align at' and 'indent at' values. Tested in LibO 4.0+.
Comment 1 Jorendc 2014-07-18 19:38:29 UTC
Reproducible, tested using Mac OSX 10.9 with LibreOffice Version: 4.4.0.0.alpha0+
Build ID: eddd7646d672ea9b0561dacb09da224d098e531e
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-07-18_06:13:47

What I did:
* Open document
* Tools > Options > Load/Save > General
* ODF format version -> 1.0/1.1
* OK

* File > Save as > odt
* Reopen saved file

The list on the first page does indeed lose its indent and alignement.

Kind regards,
Joren
Comment 2 Michael Stahl (allotropia) 2014-12-10 23:25:50 UTC
this is the relevant element in ODF 1.2:

 "17.20 <style:list-level-label-alignment>
  The <style:list-level-label-alignment> element specifies the position and
  spacing of a list label and its list item."

... and it turns out this element doesn't exist in ODF 1.1

in particular there is a tab after the list label
(text:label-followed-by="listtab")
and the position of the tab stop is taken from the paragraph style
where the list is applied, not from the list style.

so i guess we can't do better than that, not in general.
Comment 3 Michael Stahl (allotropia) 2014-12-11 12:35:20 UTC
just for the record, the OASIS proposal that introduced the feature:

"proposal for new position and space attributes for the list level"
https://lists.oasis-open.org/archives/office/200701/msg00063.html
Comment 4 Robinson Tryon (qubit) 2015-12-17 05:52:44 UTC Comment hidden (obsolete)