Bug 85973 - FORMATTING: Table of Contents format entry levels not sticking
Summary: FORMATTING: Table of Contents format entry levels not sticking
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
: 90938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-06 17:08 UTC by sgg3
Modified: 2019-02-04 09:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
.docx, .odt of file, .PDF File for reference of original content look (36.32 KB, application/x-gzip)
2014-11-06 17:08 UTC, sgg3
Details
table of contents comparison (32.49 KB, application/zip)
2015-07-02 12:36 UTC, Gordo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sgg3 2014-11-06 17:08:27 UTC
Created attachment 109055 [details]
.docx, .odt of file, .PDF File for reference of original content look

Problem description: 

After creating a table of contents by using Insert -> Indexes and Tables -> Entry and formatting the table of contents for a docx file, then saving and closing the file, when reopening the file, the formatting is changed. Also, the entry level numbers are shifted from original numbers to down 1 or 2 levels.

Steps to reproduce:
1. Make a writer file in .docx
2. Add entries to index for TOC (Insert -> Indexes and Tables -> Entry
3. Generate TOC (Insert -> Indexes and Tables -> Indexes and Tables...)
4. Change Formats of Levels of entries (lv 1 - 14font, lv 2 - 12 font, lv3 -10 font)
5. Change Levels to have Tabs and not tab position to paragraph indent (lv 2 - tabstop .5", lv 3 - tabstop 1")
6. Save and make PDF for reference
7. Close and re-open .docx file

Current behavior:

-Changes formatting to default
-Changes entry numbers to one or two entry levels lower
-only present in docx files, tested with odt format and is okay.

Expected behavior:

-Keep settings as they were before.


CENTOS 7

Also, warnings for submitting bug reports such as "Data not yet loaded. Please press submit again in a few seconds." should be closer to the submit button to make it visible to the reader (using FF31.2). Error message, on top of page where not visible.






1	Thing1 (lv 1 entry)

some words and stuff


1.1	Subsection1 (lv 2 entry)

some words and stuff


1.1.1	Sub-subsection (lv 3 entry)

some other words


2	Thing2 (lv 1 entry)

other words


2.1	Subsection2 ( lv 2 entry)

more words

2.1.1	Sub-subsection (lv 3 entry)

words
Comment 1 sgg3 2014-11-06 17:10:48 UTC
attachment is Test.tar.gz
Comment 2 sgg3 2014-11-06 17:12:48 UTC
Comment on bottom of page for bug reports is exclusively for Libreoffice's implementation of bug reporting on their website
Comment 3 Buovjaga 2014-11-16 15:56:56 UTC
For me, saving the .odt to .docx does not change formatting to default (they still have Contents 1,2,3..).
However, it does bring the sublevels backwards so that the page numbers are also pulled to the left.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 4 Gordo 2015-07-02 12:36:54 UTC
Created attachment 116995 [details]
table of contents comparison

odt -> docx the first tab is taken from the odt tab minus the indent.

Explanations in attachment.

Windows Vista 64
Version: 4.4.4.3
Build ID: 2c39ebcf046445232b798108aa8a7e7d89552ea8
Comment 5 Gordo 2015-07-02 12:40:04 UTC
*** Bug 90938 has been marked as a duplicate of this bug. ***
Comment 6 QA Administrators 2016-09-20 10:14:01 UTC Comment hidden (obsolete)
Comment 7 Timur 2018-07-27 17:08:51 UTC
"FORMATTING:" - no, this is FILESAVE DOCX
"1. Make a writer file in .docx" no, Open new file (and save as ODT to attach here)... later save as DOCX
"4. Change Formats of Levels of entries" how, directly ot change Contents styles?
"5. Change Levels to have Tabs and not tab position to paragraph indent" how?
"7. Close and re-open .docx file" OK, this is RT, save and reopen

Is it enough to save ODT as DOCX and reopen? It should be. 

Since there was no response and more important, bug is not clear, I set back to Needinfo. Please write exact steps and test with master 6.2+.
Comment 8 Timur 2019-02-04 09:05:28 UTC
Since there's no response, I'll close. 
I also didn't reproduce the example from Bug 90938. 

If someone clarifies this one and confirms it's reproducible with current LO and not a duplicate of some other bug, feel free to set back to New, with clear steps.
Except if this is a case of general Bug 118972. 

Notes: 
- please don't attach ZIP but rather separate attachments.  
- for bugs in Needinfo, no purpose to have them in block Bug 104524.