Bug 139324 - Table of Contents Not Working Properly
Summary: Table of Contents Not Working Properly
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odt
Depends on:
Blocks:
 
Reported: 2020-12-30 19:19 UTC by W Cole
Modified: 2020-12-30 20:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Technical Document No. 5 w/Problematic ToC (2.71 MB, application/vnd.oasis.opendocument.text)
2020-12-30 19:22 UTC, W Cole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description W Cole 2020-12-30 19:19:01 UTC
Description:
The ToC in a single document (a) does not indent any index items beyond level 2 and (b) allows editing of the styles but does not implement the edits.  The problem seems to be confined to a single document which is attached.

Steps to Reproduce:
1. Insert a Table of Contents
2. Create appropriate index entries
3. Update the Index
4. Edit and save the Style for Title for the Index

Actual Results:
ToC Title format not changed.
Index entries greater than level 2 are not indented.

Expected Results:
ToC Title format is changed.
Index entries are indented based on their assigned index levels.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I have only found this problem on one document which is attached.  I have taken the following steps to attempt to address the problem:

1. I have reset the user profiles on each machine running LO.
2. Have opened this document on other machines running the same version of LO.  The same result was achieved regardless of machine.
2. Have deleted the ToC and all the index entries and then recreated them on the same document.  No change in result.
3. Using other Writer documents have successfully entered, updated and edited the index entries and ToC.

With regard to OpenGL, I do not show and entry under Tools|LibreOffice|View that is titled "Use OpenGL for all rendering".  There is a line for "Use hardware acceleration" but it is grayed-out.
Comment 1 W Cole 2020-12-30 19:22:22 UTC
Created attachment 168583 [details]
Technical Document No. 5 w/Problematic ToC

The ToC in this document exhibits the problems described in the bug report.
Comment 2 Jean-Baptiste Faure 2020-12-30 20:11:25 UTC
The bug is on your side: you did not use header styles in your document.
https://help.libreoffice.org/latest/en-US/text/swriter/guide/indices_toc.html

Closing as WorksForMe.

Best regards. JBF