When attempting to create a table of contents only the title of the table of contents appears. This works perfect on any other document. When I tried to copy part of this document on an existing document with a table of contents and updating it, it became empty.
I have then asked a friend to generate a table of contents in Word and resend the document, however when I opened the document there was no table of contents, even though that usually works.
Please provide the document, otherwise we can't confirm the problem.
You can sanitize private information first:
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Created attachment 116684 [details]
The file in which the table of contents willl not update properly
I apologize, I have uploaded the document originally, however it seems it didn't save the file.
Confirmed that TOC won't add the headings. I don't have any idea of the cause.
Win 7 Pro 64-bit Version: 126.96.36.199.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
A thing worth noting is that this was originally in .docx format and first 3-4 pages are the ones that were in the original document and it seems that something in those pages is the cause for this.
(In reply to Edi Ćiković from comment #5)
> A thing worth noting is that this was originally in .docx format and first
> 3-4 pages are the ones that were in the original document and it seems that
> something in those pages is the cause for this.
Do you still have the original .docx? Would be nice to have it for testing.
Created attachment 116686 [details]
File which was used to create the previously uploaded file
I have uploaded the original .docx
I have only removed people's names.
I tried to generate a table of contents in this document and it doesn't work again.
Furthermore, it seems that the preview of the table of contents is broken too. There are no headlines in the preview, however when I create a new table of contents on a new file it shows the headlines in the preview.
See also the ODT document from the original reporter of bug 95909 where I can reproduce the disappearing TOC as soon as I try to update it.
I have the same problem. I used the CreateSpace template. I will attach the file.
I used Insert Indexes and Tables, clicked on the Style tab, selected Level 1[Contents 1] entry on the left, selected the "CSP - Chapter Title" entry on the right, and click ed on the <- button to make that assignment.
Then I clicked OK.
The header for the TOC appeared, but no entries.
I remembered a bug report of entries not appearing unless they contained some user text (like a blank space), in addition to the auto-text provided for the chapter numbering. (I confess, I can't see how the text "# CHAPTER NAME" is being provided: I couldn't find it in the Styles and Formatting settings or the paragraph or the bullets and numbering panels.) I did that because that bug certainly affects another file I have. Anyway, after doing that, it didn't help: right-cliking at the empty body of the TOC and doing an Update Index or Table had no effect.
I'll attach the short file. This is the .odt saved by LO after opening the CreateSpace .doc version.
Created attachment 121154 [details]
A document that demonstrates the problem
This is the attachment I said I would add, in my previous comment. I hope it helps.
I should add, this is on Linux, using LibreOffice 188.8.131.52.
I should add perhaps one odd thing I noticed: it took me several tries before my "setting" of the "CSP - Chapter Title" to the Level 1 contents actually "stuck". I think I tried twice, and each time the empty TOC appeared.
So I did Undo, and tried again, and each time the setting for the TOC generation had reverted to "Contents 1". Naturally, if LO was only looking for chapters using that style, it would have found no entries, so the empty table made sense to me.
Not so much sense, once the correct assignment had been made.
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
As for ODT attachment 116684 [details] it's Heading 1 used in text is "Body Text" outline level and that's why it doesn't appear in ToC. Change back to Level 1 and it will. Problem was in previous conversion.
As for DOCX attachment 116686 [details] it's to-be-headings are just "Default Style".
When changed to "Heading 1" style in LO 4.4 that was reported version, it stays "Body Text" outline level. Same with LO 5.3.
But looks fixed with 5.4. and in master 6.1+, it becomes "Level 1" outline level.
Didn't test Luke's attachment 121154 [details], he needs to go back to original.