Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export to wmf (Read 1325 times)
jf2020
Junior Member
**
Offline


I love FlowChart!

Posts: 63
Joined: Feb 23rd, 2006
Export to wmf
Nov 26th, 2010 at 2:01pm
Print Post  
Hi,

I'm trying to use the new export to wmf which is great and will fulfill a long standing requirement from my users. I'm using the clipboard helper mentionned a few threads below in the forum. However when I paste the generated WMF to PowerPoint or Word (Office 2007), I get only part of the diagram visible. If I click edit image in PowerPoint, it converts it and I see that the image actually contains the whole diagram, but that that the bounds of the image are smaller. What am I doing wrong? How can I get to paste the whole diagram?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export to wmf
Reply #1 - Nov 26th, 2010 at 3:11pm
Print Post  
Hi,

WmfExporter passes Diagram.Bounds and MeasureUnit to the Metafile class constructor. Perhaps Word and Powerpoint do not support the diagram's default Millimeter unit.

In my tests Inkscape shows the exported WMFs as expected, but indeed they appeared clipped in Word. Also Word shows the correct width/height ratio, but the image always looks some fixed factor smaller than the original diagram, so perhaps you could try to find what that factor is and multiply diagram.Bounds by it before exporting. E.g. multiplying by 1.4 looked fine in my test, but I haven't checked if it works with very small or very big metafiles.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint