Apache OpenOffice (AOO) Bugzilla – Issue 21703
Table of contents (TOC) has to be updated twice
Last modified: 2017-05-20 11:25:55 UTC
I have attached a document where you should be able to reproduce following problem: The directoy is not yet updated. Please update it. (Thats only possible using the navigator because the directory is within a table. Maybe that's another bug.) You will see that there is the page number 2 behind the last entry, although it is on page 3. Update the diurectory again. Now correct "3" is displayed. The problem here is that the first update here makes the directoy larger and so the chart is put to the next page, making the whole document 3 pages large. This fact is ignored by the directory-update-function. I think this should be fixed.
Created attachment 10635 [details] document
I can´t confirm this. The table of contents displays the right page numbers, esp. number 3 for the last entry. But how do you "update"? I do it by replacing the TOC by a new TOC, i.e. by placing the cursor into the TOC, then > Insert > Indexes and tables ...
I don't mean inserting a new TOC, I mean updating the existing one. Thats only possible by right-clicking it in the navigator, because the writer does not show the correct conten-menu because its in a table. (I think thats another bug.)
I can confirm now. So I will set it to New. When the TOC isn´t within a table the problem doesn´t occur.
Reassigned to ES
ES->OS: as described. But this is a very special document -> P3
Looks like a layout problem. To prevent the influence of the index size to the page numbers the creation of indexes is a two-stage process. The first stage creates the index with placeholders for the page numbers and the second fills in the numbers. This doesn't seem to work in this case probably because the graphic is formatted too late.
Accepted.
In 2.0.1 this is a WORKSFORME.
I just have repoduce this bug on OOo 2.0.1. Please watch the last page number of the TOC that changes from "2" to "3" after the second TOC-update. @thing: Please be morer careful when closing already confirmed issues!
If you use Navigator, right-click the index name and choose update, the defect is still present. If you (as I did) use Tools - Update - Current Index (or All Indexes) it works as expected. Resetting to STARTED.
@ norbert2 Pls try in 2.3 For me (new document), choosing update in Navigator, the TOC placed in a table, updates correct immediately
cornouws: Why "new document"? I know that not all documents are affected by this bug. But some, like the one attached, are. I still see the bug with the attached document. (SO8 PU8 Linux, shich is equal to OOo 2.3)
(The with the context menu is Issue 82152.)
typo: "The bug with the..."
@ norbert2 Sorry for my misunderstanding (just read to fast). Thought the table was essential, but both are.
Created attachment 74043
Reset assigne to the default "issues@openoffice.apache.org".