Issue 78039

Summary: Import of a powerpoint (PPT) presentation ignores master slide settings
Product: Impress Reporter: klute <klute>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, louqingle
Version: OOo 2.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Sample powerpoint presentation
none
Sample OpenDocument presentation
none
Oops, this one is really the sample OpenDocument presentation - sorry.
none
Improved Report
none
Improved Report
none
OOo3.4
none
wBox1
none
wBox2
none
MasterSlides none

Description klute 2007-06-02 10:06:34 UTC
When importing a powerpoint (PPT) presentation into an OpenDocument
presentation, the master slide settings of the powerpoint presentation are
ignored. The two simple and sample presentations "pure.odp" and "pure.ppt"
attached to this bug report show the buggy behaviour. They can also be used to
easily experience the circumvention described below.

The OpenDocument presentation "pure.odp" is based on a master slide with a grey
background.

The Powerpoint presentation "pure.ppt" is based on a master slide with a white
background and a golden rectangle at the left side. Opening it in OOo seems to
give the expected result.

To reproduce the error, proceed as follows:
1. Open "pure.odp" in OOo.
2. Import "pure.ppt" into "pure.odp".
3. Observe the following problems in "pure.odp":
3.1 The background color of the inserted slides is grey instead of white.
3.2 The golden rectangle is missing.
3.3 The font settings are different.

The reason for this behaviour is obviously that the resulting presentation does
not contain the master slide of the imported presentation.

The reason for this in turn seems to be a master slide name clash. The standard
master slide in OOo is called "Standard", and the standard master slide's name
in a powerpoint presentation is either also "Standard" or OOo falsely takes it
to be "Standard". I guess the latter is the case because I can rename the master
slide in powerpoint, but it is always imported as "Standard".

Okay, these findings give us two options to circumvent the problem:

1. Before importing a powerpoint presentation, rename the "Standard" master
slide in the ODF presentation to something else. This improves the import
considerably. However, not all powerpoint master slide settings are imported
correctly.

2. Open the powerpoint presentation, rename the "Standard" master slide to
something else, save the presentation as an OpenDocument file, and then import
that file into the target presentation. This works fine.

The following bugs should still be fixed:
- When importing a powerpoint file, read the master slide name correctly (in
case it isn't).
- When importing a powerpoint file, detect any master slide name clashes and
take appropriate actions, i.e. automatically rename the imported master slides.
- Correct those master slide settings that are not imported properly.
Comment 1 klute 2007-06-02 10:08:23 UTC
Created attachment 45601 [details]
Sample powerpoint presentation
Comment 2 klute 2007-06-02 10:09:28 UTC
Created attachment 45602 [details]
Sample OpenDocument presentation
Comment 3 klute 2007-06-02 10:10:44 UTC
Created attachment 45603 [details]
Oops, this one is really the sample OpenDocument presentation - sorry.
Comment 4 christian.guenther 2007-07-06 15:30:12 UTC
I can reproduce the behavior but it's an enhancement and not a defect.
Comment 5 klute 2007-07-06 16:38:26 UTC
No, it is still a defect because that's the average user's impression. He'd say:
"Hey, it works in Powerpoint and it does not work in OpenOffice.org - so the
latter is broken." The expectation is that OOo should be able to import M$
documents one to one. Everything else I call a defect.
Comment 6 Monali Patel 2011-09-28 00:00:15 UTC
Created attachment 76841 [details]
Improved Report

Part of the bug is reproduced on Windows-7 & Linux – 32bit, with OOo 2.2 and 3.4
When importing the .ppt file made in PowerPoint to the .odp file made in open office, there is some problem with the original settings of the .ppt file. The slides from .ppt file adopt/change the font and style settings and output in a slight different way. They still maintain their master settings for the background (this is a defect in original report). 
It is a defect because it changes the layout of the presentation made in PowerPoint that means it is not consistent with similar products.
To reproduce the bug, 
•	Open OpenOffice and select the “Presentation”
•	File>Open>Select the “pure.odp” file (this file is attached with the original bug report)
•	Insert>File>Select the “pure.ppt” file (also attached with the original report)
•	The windows box will appear as the picture “wBox1”, click OK
•	Another box will appear as the picture “wBox2”, click YES.
•	I test it with YES/NO both, but in this case, we are not using any objects, so it doesn’t matter. 
•	The file has been inserted and now, check if the slides from pure.ppt adopted pure.odp’s settings. 
•	The error with this import is, the ppt slides have their master background, but they lose their font and style settings  and adopt them from .odp file.

OpenOffice keeps the settings of the .ppt master slide and you can select to apply either of the settings. See image “MasterSlide.jpg”
The another problem is, when you select .odp’s master settings to apply to all slides, the slides from .ppt will become grey and adopt the .odp setting but this time format(style) of the .ppt slides become the original format of .ppt in PowerPoint.  It still loses the font-type setting of .ppt.
Comment 7 Monali Patel 2011-09-28 00:01:29 UTC
Created attachment 76842 [details]
Improved Report

Part of the bug is reproduced on Windows-7 & Linux – 32bit, with OOo 2.2 and 3.4

When importing the .ppt file made in PowerPoint to the .odp file made in open office, there is some problem with the original settings of the .ppt file. The slides from .ppt file adopt/change the font and style settings and output in a slight different way. They still maintain their master settings for the background (this is a defect in original report). 
It is a defect because it changes the layout of the presentation made in PowerPoint that means it is not consistent with similar products.

To reproduce the bug, 
•	Open OpenOffice and select the “Presentation”
•	File>Open>Select the “pure.odp” file (this file is attached with the original bug report)
•	Insert>File>Select the “pure.ppt” file (also attached with the original report)
•	The windows box will appear as the picture “wBox1”, click OK
•	Another box will appear as the picture “wBox2”, click YES.
•	I test it with YES/NO both, but in this case, we are not using any objects, so it doesn’t matter. 
•	The file has been inserted and now, check if the slides from pure.ppt adopted pure.odp’s settings. 
•	The error with this import is, the ppt slides have their master background, but they lose their font and style settings  and adopt them from .odp file.

OpenOffice keeps the settings of the .ppt master slide and you can select to apply either of the settings. See image “MasterSlide.jpg”
The another problem is, when you select .odp’s master settings to apply to all slides, the slides from .ppt will become grey and adopt the .odp setting but this time format(style) of the .ppt slides become the original format of .ppt in PowerPoint.  It still loses the font-type setting of .ppt.
Comment 8 Monali Patel 2011-09-28 00:01:50 UTC
Created attachment 76843 [details]
OOo3.4
Comment 9 Monali Patel 2011-09-28 00:02:44 UTC
Created attachment 76844 [details]
wBox1
Comment 10 Monali Patel 2011-09-28 00:03:11 UTC
Created attachment 76845 [details]
wBox2
Comment 11 Monali Patel 2011-09-28 00:03:32 UTC
Created attachment 76846 [details]
MasterSlides
Comment 12 louqle 2012-09-14 02:49:28 UTC
I can confirm the issue by following Monali Patel's steps: 
the master is adopted, but the font and style settings lost

Build: Aoo_trunk 1376366 on XP