https://bugs.documentfoundation.org/show_bug.cgi?id=130318
--- Comment #28 from Andreas Heinisch <andreas.heini...@yahoo.de> --- Created attachment 176453 --> https://bugs.documentfoundation.org/attachment.cgi?id=176453&action=edit Result after the first WIP commit WIP Patch for this enhancement: https://gerrit.libreoffice.org/c/core/+/125727 Above you have the current status of the implementation for this enhancement request. There are still some presentation and implementation issues. For instance, the ToC should not be intended if there is no top level entry for the current index (see ToC of Paragraph H4 and others). Then, do we take into account the level of evaluation ("Evaluate up to level" in th UI)? Last but not least, I do not have enough insight in the ToC creation. For instance, how does the SwRootFrame const*const pLayout influence the generation of the ToC? How are other ToCs (UpdateTemplate, UpdateContent, UpdateTable, ...) influenced with this change? Maybe a developer with more insight could give some advice in order to proceed because I will sureley miss many points making this work :) Thanks to Emanuele for the support! -- You are receiving this mail because: You are the assignee for the bug.