Apache OpenOffice (AOO) Bugzilla – Issue 119551
[From Symphony]Can't open by MS Office correctly when save sample file contain line with text to ppt format file
Last modified: 2012-12-26 08:11:56 UTC
Created attachment 77761 [details] sample file build: AOO3.4 r1327774 steps: 1.Open the attached sample file in AOO3.4 2.Save it ppt format file 3.Open the ppt format file in MS Office 2003 SP3 Defect: Prompt a warning dialog. After click ok, slides contain connector can't display. sample file and screenshot of warning dialog are in attachment
Created attachment 77762 [details] screenshot of error dialog
Created attachment 78256 [details] Fix patch for this issue Line, poly line, etc with additional text in AOO is one object, but MS Powerpoint did not support this feature. So the additional text will be separated as one text object and grouped with shape object after exporting to ppt. But Microsoft patch (KB2289187) breaks Impress/PowerPoint compatibility for grouped objects. So, we do not group text object and shape object now.
ALG: Looks good, but bAdditionalText is also used for "drawing.Ellipse", so to take out the LeaveGroup() inside the if(bAdditionalText) all places where bAdditionalText is set to true need to be handled. All of these are for polygon graphics, so it is possible. Added all places where bAdditionalText is set to true, checking.
ALG: Setting nGroupLevel when not entering groups is probably also not needed, removing, too. This leads to SetGroupSnapRect and SetGroupLogicRect to be also not needed, also nGroupLevel itself may be no longer needed. Checking and testing...
Created attachment 78404 [details] Extended patch for fixing
ALG: Added extended patch, please have a look.
patch(In reply to comment #5) > Created attachment 78404 [details] > Extended patch for fixing it works well, thanks for your patch.
Both of you are happy with the current patch and ALG is on vacation. Shall I commit the patch?
Taking ownership.
ALG: Andre, thanks, please go ahead!
Comment on attachment 78404 [details] Extended patch for fixing Reviewed and committed in SVN revision 1358979.
Comment on attachment 78256 [details] Fix patch for this issue Superseded by an extended patch.
Resolving issue as fixed.
Build: AOO trunk r1374181 Result: Can be opened by MS Office after save sample file to ppt. But there are some connectors with text will lose text in slide5 after save to ppt. (not all in slide5, part of connectors in slide5)