Bug 115881 - Table of Contents gets the page number out of border when the document is imported from docx and edited in odt
Summary: Table of Contents gets the page number out of border when the document is imp...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 13:36 UTC by ignu
Modified: 2018-07-31 16:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ignu 2018-02-20 13:36:27 UTC
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
Comment 1 Xisco Faulí 2018-02-21 23:27:27 UTC
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.
Comment 2 Timur 2018-07-31 16:20:42 UTC
Since you didn't respond, I'll close. 
If you still repro with new LO version, attach the file and set Unconfirmed.