Issue 115611

Summary: Metfile translation on export to powerpoint format
Product: Impress Reporter: pancont <archie>
Component: save-exportAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, rpihlgren
Version: OOO330m9Keywords: needmoreinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Metafile referred to in comments. none

Description pancont 2010-11-16 13:10:05 UTC
If a metafile image is imported in a presentation project, and exported in
powerpoint format, the image is not fully scaleable when the file is opened with
microsoft powerpoint.  It works OK when opened with presentation, but there is
something not correct when openeit with powerpoint.
Comment 1 wolframgarten 2010-11-16 14:14:15 UTC
Please attach a document for testing.
Comment 2 pancont 2010-11-16 14:43:00 UTC
The metafile image is imported by pasting using <ctrl>V, and the file format is
converted to powerpoint (ppt) using the "save as" option.  This ppt file can now
be re-opened with open office, and the metafile images are pefectly scaleable,
whereas if the same file is opened using MS powerpoint, the images cannot be
zoomed to more than 100%.  If the same pasting is performed owind MS powerpoint,
and the resulting ppt file can be opened with powerpoint, and the images are
fulle scaleable.
Comment 3 scottallman 2011-02-20 18:14:24 UTC
Using Impress OOo-dev-3.4.0 DEV300m99 (Build:9570), on Windows 7 Home Premium, 
and MSPowerPoint 2007 I could not replicate this behavior.  Attached is the 
metafile.  The image is a five point star filled in blue on a blank background.

The steps I followed were:
Import a metafile image into a presentation project
1. Open Impress
2. When the Presentation Wizard appears, press Create.
3. Center the cursor in the body of the default slide and left click.  The 
default text disappears.
4. Copy an image with CTRL-C and paste it into the slide with CTRL-V.
5. Save the file as type .ppt.  A warning appears.  I selected “Keep Current 
Format”.
6. Close the file in Impress.


Check scalability in MS Power Point
1. Open the file with MS Power Point.
2. Grab the top drag handle.  Sliding to the bottom right scales the image 
smaller.  Sliding to the top left increases its size.

As a variation, I created the presentation from a metafile file
1. In a blank Impress document,from the menu, select Insert -> Picture -> From 
File; In the file open dialog select the attached file. BlueStar.wmf
2. The image appears with green drag handles at each corner and at the midpoints 
of the edges.
3. Save the file as type .ppt.  A warning appears.  I selected “Keep Current 
Format”
4. When the .ppt file was opened with MS Power Point the image scaled larger and 
smaller.

Comment 4 scottallman 2011-02-20 18:45:37 UTC
Created attachment 75894 [details]
Metafile referred to in comments.
Comment 5 rpihlgren 2011-05-29 06:35:10 UTC
I was not able to replicate this behavior using the following Impress builds:

OOO320m18 Build:9502 & PowerPoint 2010 on Windows 7 Ultimate x64
OOO330m20 Build:9567 & PowerPoint 2010 on Windows Vista Ultimate x64
OOO340m0 Build:9583 & PowerPoint 2010 on Windows 7 Ultimate x64

The repro steps I used:

Initial:
1) Started Impress
2) Copied a metafile into the clipboard. (I used BlueStar.wmf that another tester who tried to repro the bug attached)
3) Clicked on the "Click to add text" section of the first slide
4) Ctrl+V to paste the metafile
5) Save as \ PowerPoint file (.ppt). In the warning dialog, I chose to keep the current format (necessary to save as .ppt)
6) Close Impress
7) Open PowerPoint
8) Open the presentation I just created in Impress

Result: The file opens and the metafile is visible. I can resize the metafile to be both larger and smaller than its initial size.

Follow-up tests:
1) I attempted the repro using a more complex metafile (.wmf)
2) I attempted the repro using an enhanced metafile (.emf)
3) I attempted the repro inserting the picture via the Insert\Picture\From File Impress menu command
Comment 6 rpihlgren 2011-05-29 08:53:07 UTC
One more update: I was able to find OOO330m9 and tried my repro on that build. Still no repro...
Comment 7 Rob Weir 2013-02-02 02:55:06 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please provide feedback as requested and re-test with the the latest version of OpenOffice - the problem(s) may already be addressed. 

You can download Apache OpenOffice 3.4.1 from http://www.openoffice.org/download

Please report back the outcome of your testing, so this Issue may be closed or
progressed as necessary - otherwise the issue may be Resolved as Invalid in the
future.