Apache OpenOffice (AOO) Bugzilla – Issue 120573
[From Symphony]Page number in footer alignment changed after saved
Last modified: 2012-12-26 08:36:41 UTC
Created attachment 78942 [details] sample Build: AOO 3.4.1 rev 1372282 OS: All Steps: 1. Open attached sample file 2. Page number in footer is align to right 3. Save sample to another doc file 4. Reload saved doc file Defect: Page number alignment changed to left
I am working on it
Find the root cause. This is a sw text frame export position info error. The page number is a text frame in the page footer. The page Margins is set as "Mirrored" and the text frame's horizontal is "Outside". Indirecty fix this type frame position at function "WinwordAnchoring::ConvertPosition", don't convert horizontal info and fix the text::HoriOrietation::RIGHT to OUTSIDE.
The fix just impact the doc export and the margin is mirrored and the horizontal info is text::HoriOrietation::RIGHT.
Created attachment 78968 [details] patch for the issue
I am volunteering to review this patch. patch looks good and solves the problem. It is OK for me
"leidb" committed SVN revision 1374892 into trunk: #120573# fix the export issue for the text box in header&footer with the marg...
thx for zuo jun's review.
verified on the build 1377620