Description: I am using libreoffice for my official documentation purposes. I imported a docx file with table of contents. When i updated the table of contents in libreoffice writer after editing the file and saving in odt file format, the page number goes out of margin. To get the pagenumber in the table of contents inside the border of the document itself, I had to edit the index, and for each level, click the "T" element and set it not aligned right, but explicitly 16 cm. Steps to Reproduce: 1.Create a document in docx with table of contents 2.Import the document to Libreoffice Writer 3.Edit the document and update the Table of contents Actual Results: The page numbers for each heading goes out of the document's page border. Expected Results: The page numbers for each headings,sub-headings of the table of contents should be aligned inside the document's page border. Reproducible: Always User Profile Reset: No Additional Info: Align to border on selecting the option: update table of contents. User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Since you didn't respond, I'll close. If you still repro with new LO version, attach the file and set Unconfirmed.