Created attachment 79240 [details]
DOCX containing Table of Contents with page numbers
LO opens DOCX that contains table-of-contents, but after saving back to NEW.DOCX - the page numbers in the ToC are cropped outside of the page.
Steps to reproduce:
1. Open attached DOCX in LO
2. Save as NEW.DOCX
3. Open NEW.DOCX in Word
4. Page numbers in ToC are cropped off
After opening NEW.DOCX in Word - page numbers are cropped off.
After opening NEW.DOCX in Word - page numbers should appear aligned correctly.
Operating System: Windows 8
Version: 18.104.22.168 release
I can confirm this using Linux Mint 14 x64 with Version 22.214.171.124 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539). I'll try to compile your patch and retest.
Adam Co committed a patch related to this issue.
It has been pushed to "master":
fdo#64531 : Tab-stops exported to DOCX added too much indentation
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Nice fix/patch over there :)! Looks good when you open the document in Word (2010) afterwards!
But there is a problem with re-opening the document using LibreOffice again, but that was already the case before your patch (so nothing related to your patch). Nice job!
If you aren't going to backport it to 4.0.x we can close this bug as RESOLVED FIXED and after that as VERIFIED FIXED (I verified it).
since I am new here - can you please explain what 'backport to 4.0.x' means ?
(In reply to comment #4)
> Hi @Jorendc,
> since I am new here - can you please explain what 'backport to 4.0.x' means ?
As you can see in the "Whiteboard field" (one of the fields on top of this bug report) the target for this fix is version 4.1.0. With 'backport to 4.0.x' I mean you can push your fix to the libreoffice-4-0 branch as well, so your fix will be included in the next 4.0.4 version too (current is now 4.0.3).
(In reply to comment #5)
you can push your fix to the libreoffice-4-0 branch as well,
> so your fix will be included in the next 4.0.4 version too (current is now
How do I do such a push ? (you can email me instead of writing here)
Lets mark this one as RESOLVED FIXED :-). 4.1 is our stable release right now (almost EOL ;-), so no need to backport it anymore).
Thanks Adam :-)!