Apache OpenOffice (AOO) Bugzilla – Issue 120039
[From Symphony]the background of the file create from template 'blue_floral.otp' changed after save as the ppt or pot file
Last modified: 2012-12-26 08:35:14 UTC
Created attachment 78399 [details] sample file Description: 1.launch AOO3.4 app 2.import the template file into AOO 3.click main menu 'file->new->from template->presentation', select 'blue_floral.otp', click OK button 4.save as the ppt or pot file 5.reopen the ppt or pot file ***the background changed, pls see attachment
It can be reproduced in AOO 3.4, change status to "CONFIRMED"
The problem is that the feature is different between AOO and MSO about background fill type. Choose Fortmat -> Page, in Background tab, There are many parameters about background graphic on right side. From the result of my investigation, MSO doesn't support all these parameters in AOO. MSO 2003 support two kinds of background graphic: tile fill and area fill, MSO 2010 support more parameter but still cannot be completely mapping to those parameters in AOO. There is one kind of special graphic background when you insert a picture background, and set the parameters as follows: graphic size Relative, both Width and Height 100% position X offset 0%, Y offset 0% row offset 0%, column offset 0% then the background looks like a area fill type graphic, whether or not you choose the "Tile" check box. Considering the lack of background graphic parameter support in MSO, this special background should be area fill type not tiled fill type when export it into ppt file from my point of view.
Created attachment 78500 [details] patch for bug 120039
ALG: You can use GraphicExporter with property "ExportOnlyBackground" to get the MasterPage fill as bitmap for all cases which ppt cannot directly export.
(In reply to comment #4) > ALG: You can use GraphicExporter with property "ExportOnlyBackground" to get > the MasterPage fill as bitmap for all cases which ppt cannot directly export. -> ALG: Maybe I missed something. I thought the root cause of this issue is that a special tile fill background graphic need export as area fill type because MSO ppt only handle the background fill type property but ignore related parameters which can be modified in AOO. so I add a case to handle this special background fill type exporting process, and will not change the original bitmap. Could you give a little background to explain your idea? Thx in advance
ALG->zjchen: Yes, this was no comment for fixing this single case. I just thought all other cases (e.g. gradient, hatch, ...) are currently not exported correctly, so this would be a good occasion to fix that, too. To do so, I would: - detect if it can be exported - if not, create bitmap for MasterPage background and setup export to use this created bitmap as replacement This would not be perfect for the roundtrip, but all exports would look file at least.
"af" committed SVN revision 1359129: "#i120039# Export more bitmap fill style parameters. Reported by: Du Jing Patch by: zjchen Review by: Andre Fischer"
Comment on attachment 78500 [details] patch for bug 120039 Reviewed and tested: OK
Changed status to fixed.
*** Issue 119633 has been marked as a duplicate of this issue. ***
Verified pass on WindowsXP, Redhat 32bit,Mac with AOO trunk r1374181