Bug 239799

Summary: WMF: kpresenter:openoffice:Kpresenter is not showing the graphs properly
Product: [Applications] calligracommon Reporter: Lassi Nieminen <lassi.ta.nieminen>
Component: flake-pluginsAssignee: Inge Wallin <inge>
Status: VERIFIED FIXED    
Severity: normal CC: inge, swathi.vegesna999
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Open Office document to be open in Kpresenter
Screenshot of the document in Open Office
Screenshot of the document in Kpresenter
Screenshot in MS Powerpoint

Description David Faure 2010-05-28 03:33:37 UTC


---- Reported by lassi.ta.nieminen@nokia.com 2010-05-14 10:21:38 +0300 ----

Created an attachment
Open Office document to be open in Kpresenter

SOFTWARE VERSION:
 Kubuntu 9.10
 Koffice (svn revision 1124781)
 Test document (Open Office): oop_graph.odp

STEPS LEADING TO PROBLEM: 
 1.Open the attached document in Open Office .
 2.Open the same document in Kpresenter.
 3.Observe the graph in the first slide.

EXPECTED OUTCOME:
 Kpresenter should be able to display the graph.

ACTUAL OUTCOME:
 Kpresenter is not displaying the graph.

FREQUENCY:
Always



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-05-14 10:24:07 +0300 ----

Created an attachment
Screenshot of the document in Open Office



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-05-14 10:24:55 +0300 ----

Created an attachment
Screenshot of the document in Kpresenter



---- Additional Comments From lassi.ta.nieminen@nokia.com 2010-05-16 22:57:37 +0300 ----

WMF problem.  Reassign to ingwa



--- Bug imported by faure@kde.org 2010-05-28 03:33  ---

This bug was previously known as _bug_ 168792.

Imported an attachment (id=47346)
Imported an attachment (id=47347)
Imported an attachment (id=47348)

Unknown bug field "example" encountered while moving bug
   <example>2010-05-16 22:57:37</example>

Comment 1 Inge Wallin 2010-11-23 10:28:21 UTC
Note that the OOo rendering is also wrong.  The graphics part should go down all the way to the bottom, not be bunched up at the top. Check the wmf2x utility to see what it really should look like.

The status right now is that the graphics part is shown correctly, but the text is upside down. All the text seems to be in the right position, though.
Comment 2 T Zachmann 2011-03-17 04:30:43 UTC
The vectorshape is displayed now but it is mirrored and not in the correct size
Comment 3 swathi 2011-03-22 09:41:05 UTC
Created attachment 58244 [details]
Screenshot in MS Powerpoint
Comment 4 Inge Wallin 2011-03-24 10:53:18 UTC
Move to calligra-common, as this is now a vectorshape issue.
Comment 5 Inge Wallin 2011-05-10 17:08:34 UTC
Git commit 82ea4db3f86faae5759636874fa7fa4bf4667344 by Inge Wallin.
Committed on 10/05/2011 at 17:06.
Pushed by ingwa into branch 'master'.

WMF: Make text using font size < 0 work.

This means that when a picture is upside down due to some
transformation, the text output will use so called 'device
coordinates' which means that the text will be written correctly
anyway.

This solves a number of irritating bugs.

BUG: 244823
BUG: 239799

M  +3    -1    filters/karbon/wmf/wmfimportparser.cc     
M  +1    -1    filters/karbon/wmf/wmfimportparser.h     
M  +19   -4    filters/libkowmf/kowmfpaint.cc     
M  +3    -1    filters/libkowmf/kowmfpaint.h     
M  +1    -1    filters/libkowmf/kowmfread.h     
M  +4    -4    filters/libkowmf/kowmfreadprivate.cc     
M  +1    -1    filters/libkowmf/kowmfstack.cc     
M  +1    -0    filters/libkowmf/kowmfstack.h     

http://commits.kde.org/calligra/82ea4db3f86faae5759636874fa7fa4bf4667344
Comment 6 swathi 2011-06-16 11:05:42 UTC
Verified in  418b733f49c666c5204b0576f1c33c5587496a7e.