Created attachment 163705 [details] Zip file containing files showing a TOC issue Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-GB Calc: threaded One issue that does not appear to be solvable using the TOC "Edit Index" dialogue is the problem of text overlapping the page number area on the right. This can happens when the text entry is long and breaks onto a new line. The problem is shown in the attached file "toc_text_overlap". This is solved in published books by adding appropriate line breaks to long entries, as shown by the attached file: "index_excerpt". SUGGESTION: Provide a new property on the "Entries" page to allow the user to set a minimum right margin between the end of the text lines and the page numbers.
BTW, the "right margin" only affects text, not the tab fill characters.
Created attachment 163708 [details] how I see the document I see NO overlaping in your document. See my screenshot. What exacly is the problem you get?
(In reply to BogdanB from comment #2) > I see NO overlaping in your document. See my screenshot. > What exacly is the problem you get? Yes, while the text is not overlapping the page number characters, it IS too close to them. The TOCs of publshed books, in the great majority of cases, have a clear minimum space between the text and the page numbers. The obvious answer is to have an adjustable property on the Entries page which forces lines to break if they reach a critical length.
This is WontFix in my view. We see no problem. And I guess ToC may be modified and tab added if needed. Please explain of you tried that.
I've tried adding another tab, left-aligned, AFTER the right aligned tab, but that simply moves the page number onto a new line. What is really needed is something that keeps the page number right-aligned to the page margin, but allows an INDEPENDENT right-margin for the text. That way you can ensure, if desired, that there is a minimum spacing between all the text entries and their respective page numbers. A workaround is to use a table with the chap. nos. and text in one column and page nos. in another. However this can be tricky to set up and maintain—especially for long TOCs.
I don't think this is feasible and I remain at WontFix (with an alternative to use manual line breaks - Bug 70451), but let's ask UX.
You can always change the style for each entry. For example Content 4: Indent after text = 0.3cm makes the line break only after "this". Sure, the dots (Fill Characters) are missing. But this is perfectly okay for me. Does this work for you?
No response, so I close.. Anyway, this never was justified.