Apache OpenOffice (AOO) Bugzilla – Issue 119872
[From Symphony]all drawing objects lost aftering saving to another ppt by AOO
Last modified: 2012-10-02 09:51:58 UTC
Created attachment 78120 [details] sample file build: AOO3.4 r1327774 steps: 1. Launch AOO, open the attached .ppt. 2. Save the file as *.ppt 3. Reopen the saved ppt file in MS 2003 Powerpoint. Defects: all drawing objects lost Notes: If reopen the saved ppt file with AOO, this problem does not exist
I am investigating this issue.
Root cause: When import, incorrect resolving for custom shape "pSegmentInfo" causes incorrect "command" and "count" is set into document model. When export, incorrect content from import is exported. For example, there is a pSegmentInfo with value "0xB000". According to the incorrect logic, path escape command will be resolved as "msopathEscapeExtension(0x00)". But actually it is "msopathEscapeSmoothLine(0x10)". Solution: Resolve the pSegmentInfo according to specification[MS-ODRAW].pdf. See the detail analysis for pSegmentInfo in attachment "root cause.odt".
Created attachment 78604 [details] root cause analysis for this issue
Created attachment 78605 [details] UT file for this issue
Created attachment 78606 [details] Another UT file for this issue
Created attachment 78611 [details] Patch for this issue
"af" committed SVN revision 1359598: #i119872# Fixed import of custom shapes from PPT.
Comment on attachment 78611 [details] Patch for this issue Reviewed and tested: OK
Setting status to fixed.
Thanks Andre.
verified on XP SP3 and Ubuntu 12.04 against trunk build 1374181
verified in xp, Ubuntu, win7,mac,win7-64,Vista,suse,redhat, SLED 11 SP1 64 bit, all pass. Close this bug.
*** Issue 119879 has been marked as a duplicate of this issue. ***
*** Issue 119778 has been marked as a duplicate of this issue. ***
Set Target Milestone to AOO 3.5.0 for PM purpose.