Apache OpenOffice (AOO) Bugzilla – Issue 119660
[From Symphony]Page number lost if save template to doc format
Last modified: 2012-10-18 06:12:23 UTC
Created attachment 77885 [details] sample Build: AOO3.4 Steps: 1. Open sample dot file 2. Save it as doc file 3. Re-load doc file Defect: page number lost
This issue has the same root cause as 119620. *** This issue has been marked as a duplicate of issue 119620 ***
wrong msg: This issue has the same root cause as 119620. *** This bug has been marked as a duplicate of bug 119620 ***
The problem is that the headers and footers in a section with different first page may get a different page style. But AOO checks if the page style's header and footer margins is different, then would not export the page as first page. So the follow page inherit the improper default page style from fist page, and then they will lost the footer which is including page number field. Notice that page descriptors and follow styles is not easily mapped to word sections. So add a special case for first page export when document is from MS Word.
Created attachment 79493 [details] patch for i119660
The patch is workable and reasonable. Reviewed pass.
"zjchen" committed SVN revision 1387109 into trunk: #i119660# Doc file saved by AOO, header and footer in continuous section with...
mark as resolved @Lei Debin Thanks for your review
verified on the build AOO3.5_r1391367
Update Target Milestone to AOO 3.5.0.