Apache OpenOffice (AOO) Bugzilla – Issue 119477
[From Symphony]PPT Export: Diagram bullet can not be displayed correctly after saved as *.ppt in AOO
Last modified: 2012-10-18 05:46:19 UTC
Created attachment 77668 [details] sample file build info: Rev:1327774 Steps: 1.Open the sample file in AOO and in MS 2.Save it as *.ppt (11.ppt) 3.Open the *.ppt(11.ppt) in AOO and compared the original .ppt file (1.ppt) Defect: Diagram bullet can not be displayed correctly.
Created attachment 77669 [details] after saving sample file
Created attachment 77670 [details] capture.png
Created attachment 78121 [details] another sample file with 3D shape Steps: 1. Launch AOO, open this attachment 2. Save the file as *.ppt 3. Reopen the saved ppt file in MS 2003 Powerpoint. Defects: 1. 3D shape in page1 is not visible. 2. 3D shape in page2 become very large. Notes: If reopen the saved ppt file with AOO, this prb does not exist
confirmed,change its status
This problem can't reproduce on AOo trunk again. (In reply to comment #3) > Created attachment 78121 [details] another sample file with 3D shape Steps: > 1. Launch AOO, open this attachment 2 [details]. Save the file as *.ppt 3. > Reopen the saved ppt file in MS 2003 Powerpoint. Defects: 1. 3D shape in > page1 is not visible. 2. 3D shape in page2 become very large. Notes: If > reopen the saved ppt file with AOO, this prb does not exist
root cause: the "startwith" of numbering bullet has not been set when import, so read startwith var from model in line 2539 \main\sd\source\filter\eppt\epptso.cxx always is 1.
Created attachment 79494 [details] patch for import bullet start with
Created attachment 79495 [details] UT file
solution: set SvxNumberFormat's startwith value at function ImplGetExtNumberFormat() in file /impr/svx/source/svdraw/svdfppt.cxx. It is unnecessary to set rOutliner's StartValue in line 2517 in file /impr/svx/source/svdraw/svdfppt.cxx. The patch in file /main/editeng/source/outliner/outliner.cxx is in order to fix the following defect: steps: 1.Open AOO, and create a presention, 2.add three line text, 3.set the text's bullet is numbering. 4.choose the 2rd line, and reset Start at is 4, find the 2rd line's numbering become 5,refer the attachment "defect screenshot.png".
Created attachment 79497 [details] defect screenshot
Please add more comments for the changes your have made.
Created attachment 79553 [details] patch for import bullet start with
(In reply to comment #11) > Please add more comments for the changes your have made. Hi,Steve, I has add comments for the patch, pls review again,thx!
Review done.
"sunying" committed SVN revision 1387482 into trunk: #119477# fix bullet's start with error when save .ppt fileReported by: Liu Pi...
fixed
Verified pass on windows and linux with r1397404
Update Target Milestone to AOO 3.5.0.