- A Table of Contents (ToC) can be created only for the entire document or for a chapter (means document part belonging to a Heading 1).
- The Table of Contents for a chapter contains entries for the content of the chapter but I haven't found a way to place an entry (link) pointing to the main ToC.
- When in a document is created more than one ToC every ToC must be updated separately, because in the Popup menu exists only the item "Update index".
- ToC can be be created also for subchapters, means parts of the document belonging to lower headings (Heading 2, 3 etc.).
- (Optionally) one can define in a ToC for a chapter or subchapter also entries for "father index/indices" and/or main ToC. This woluld be useful especially when index entries are built as hyperlinks.
- In the Popup Menu for indices will inserted a menu item "Update all indces" to easier handle the indices when in a document is created more than one index.
Workaround is probably using a master-document.
Bug 112301 - Set outline level for chapters
Bug 94218 - footnote numbering per chapter: define outline level that resets numbering
It seems this cannot be done because of limitations in the ODT file format.
I have looked into the ODF documentation "Open Document Format for Office Applications (OpenDocument) Version 1.2, Part 1: OpenDocument Schema, OASIS Standard, 29 September 2011" and there I have found what Regina Henschel has written in Comment 4 of Bug 112301: For the attribute text:index-scope are defined only the both values "chapter" and "document".
The problem would not be to create an index on the level of a lower heading but to save it in the document - nearly like the problem with "Add value for Optimal Row Height" in Calc: It is defined and used in LO but not saved in the document (Bug 108601).
A great pity!
But also when the enhancement of TOC can't be realized my last proposal (insert a menu item "Update all indces" in the Popup Menu for indices) could be useful and I think it is not affected from ODF standard.
Correction to Commnt 3:
Not Comment 4 of Bug 112301, but Comment 2 of Bug 112301!
Could imagine a command/menu entry to update all indices. That includes not only the ToC (don't see a use case for more than one, btw.) but also the alphabetical index and list of figures etc. Would that be sufficient, Stefan?
(In reply to Heiko Tietze from comment #5)
> Could imagine a command/menu entry to update all indices. That includes not
> only the ToC (don't see a use case for more than one, btw.) but also the
> alphabetical index and list of figures etc. Would that be sufficient, Stefan?
Absolutely! This was my itentiion´, when I have proposed to insert a menu item "Update all indces".
So let's do it. Could be an easyhack since we do update before printing, hopefully we do.
It exists already. The command is ".uno:UpdateAllIndexes". It is available via menu Tools > Update > Indexes and Tables.
(In reply to Regina Henschel from comment #8)
> It exists already. The command is ".uno:UpdateAllIndexes". It is available
> via menu Tools > Update > Indexes and Tables.
Oups, that works (not easy to find, though).
Many thanks for the help! My problem related to update (many) indices is resolved, even if the function is good hidden in the Standard User Interface.
But in the new Tabbed User Interface exists an icon for the wider working function "Update All" in the tab "References" - easy to find and not hidden!