https://bugs.documentfoundation.org/show_bug.cgi?id=166305

--- Comment #3 from Justin L <[email protected]> ---
At first glance my example document (132149_pgBreak3.odt - which is attachment
164711 from bug 132149 comment 13) is almost identical to this bug's
bigMargins.odt.

However the key difference is the default page style (which is not even used in
both cases). 
-bigMargins.odt has a "Mirrored" default page style, and therefore writes
<w:mirrorMargins/> in settings.xml.
-132149_pgBreak3.odt has a "Right and Left" page layout which doesn't trigger
any settings.xml change.

And indeed, prior to my comment 0 change, when we import the round-tripped
bigMarginsRT.docx, we didn't get a left page with a 7.62cm left margin, we got
a 10cm left margin (from the right-page settings).

With comment 0's commit, the margin is now correctly 7.62 cm - it just got
swapped during import because of that settings flag.

Oliver's code that he reverted in bug 165083 looks mostly correct. I think that
the problem is just that "CurrentSection" does not seem to be very accurate...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to