Bug 143871 - Long chapter headings/illustration captions are in the table of contents/table of illustrations at the far right margin of the page at the level of the page numbers. Unclear.
Summary: Long chapter headings/illustration captions are in the table of contents/tabl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.6.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2021-08-14 14:11 UTC by omadood
Modified: 2023-01-24 14:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
That's it (124.83 KB, image/png)
2021-08-19 13:51 UTC, omadood
Details
this is how it should be (137.11 KB, image/jpeg)
2021-08-19 13:53 UTC, omadood
Details
Only numbers should be positioned below each other on the right page margin. (13.98 KB, application/vnd.oasis.opendocument.text)
2021-08-19 14:47 UTC, omadood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description omadood 2021-08-14 14:11:56 UTC
Description:
Hello,
In my Writer document, I often have long chapter headings/illustration captions. Long chapter headings/illustration captions are in the table of contents/table of illustrations at the far right edge of the page at the level of the page numbers. Unclear. Need a right page indent for the chapter headings/illustration captions so that there is a line break before the right end of the page.

That's it: https://ibb.co/vknX9cZ
And this is how it should be: https://ibb.co/ssnfVcn

Only numbers should be positioned below each other on the right page margin. If I specify a right page distance in the paragraph style sheet, the page numbers move in with it. The page numbers must remain on the right. Here I would like to have a function in the table of contents/table of illustrations. With this it is much clearer.

Many thanks and greetings from Germany

Steps to Reproduce:
1.create a long headings/illustration caption
2.create a table of contents/table of illustrations
3.Long chapter headings/illustration captions are in the table of contents/table of illustrations at the far right margin of the page at the level of the page numbers.

Actual Results:
Long chapter headings/illustration captions are in the table of contents/table of illustrations at the far right margin of the page at the level of the page numbers.

Expected Results:
line break before the right end of the page


Reproducible: Always


User Profile Reset: No



Additional Info:
So there it is: https://ibb.co/vknX9cZ
And so it should be: https://ibb.co/MgjCrbn
Comment 1 Jean-Baptiste Faure 2021-08-14 15:14:33 UTC
Please, could you:
1/ Attach you screencopies to this bug report instead of linking them on temporary storage.
2/ Attach a test file showing the problem.

Status has been set to NEEDINFO, please set it back to UNCONFIRMED once requested information has been provided.

Best regards. JBF
Comment 2 omadood 2021-08-19 13:51:53 UTC
Created attachment 174415 [details]
That's it

In my Writer document, I often have long chapter headings/illustration captions. Long chapter headings/illustration captions are in the table of contents/table of illustrations at the far right edge of the page at the level of the page numbers. Unclear. Need a right page indent for the chapter headings/illustration captions so that there is a line break before the right end of the page.Only numbers should be positioned below each other on the right page margin.
Comment 3 omadood 2021-08-19 13:53:33 UTC
Created attachment 174416 [details]
this is how it should be
Comment 4 omadood 2021-08-19 14:47:58 UTC
Created attachment 174419 [details]
Only numbers should be positioned below each other on the right page margin.
Comment 5 Jean-Baptiste Faure 2021-08-24 21:26:39 UTC
Reproducible. Valid enhancement.

Best regards. JBF
Comment 6 Jean-Baptiste Faure 2021-08-24 21:32:43 UTC
Workaround: use non-breaking spaces between last words of long headings to force Writer to break the heading before the end of line in the ToC.

Best regards. JBF
Comment 7 omadood 2021-08-26 08:05:20 UTC
Hello,

thank you very much for the help. This workaround works when I have text written by myself. However, I use the add-on program Zotero to insert source information at the end of an illustration caption. My sources are then inserted as a field function in Writer, which I cannot change manually. In this case with the field functions, the workaround does not work. I actually need a function to create a line break before the right margin in table of contents/table of illustrations. I hope this is possible. Thanks for the effort.

Best regards Tobias