Article View: adobe.framemaker
Article #2683Re: Visio to Frame 7.1
From: Russ Ward
Date: Wed, 13 Aug 2008 11:21
Date: Wed, 13 Aug 2008 11:21
39 lines
2116 bytes
2116 bytes
sionlane,
I have had generally good success saving Visio diagrams as WMF files then importing by reference. Occasionally something gets screwy and I have to do something different. A few notes:
- There was some bug in the original version of 7.1 (I think) that caused WMFs to render improperly. Make sure you are patched up.
- I've heard numerous recommendations not to use WMFs and to use PDFs instead. In my case, the sheer number of images makes it more convenient to take the risk of occasional problems with WMF
- It is very easy to set up a macro in Visio to automatically save a WMF version. If you do this a lot, it can shave off lots of time from daily work. I've posted a VB subroutine below that I use, note that it also saves a PNG version as well.
Russ
Sub Save_as_PNG_WMF()
Dim path As String
Dim newpath As String
Dim length As Integer
' Get the document path
path = Application.ActiveWindow.Document.FullName
' get the length of the path, to be used for truncation
length = Len(path)
' change our filename to have a wmf extension
newpath = Left(path, length - 4)
newpath = newpath + ".wmf"
' save the wmf
Application.ActiveWindow.Page.Export newpath
' do the same for png
newpath = Left(path, length - 4)
newpath = newpath + ".png"
Application.ActiveWindow.Page.Export newpath
End Sub
Technical Details
Message-ID:
<59b626a2.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!feed.xsnews.nl!border-1.ams.xsnews.nl!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b626a2.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,27543fc500240a6 X-Google-Attributes: gidfd315,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Russ Ward" <russ@weststreetconsulting.com> Newsgroups: adobe.framemaker Subject: Re: Visio to Frame 7.1 Message-ID: <59b626a2.0@webcrossing.la2eafNXanI> Date: Wed, 13 Aug 2008 04:21:53 -0700 References: <59b626a2.-1@webcrossing.la2eafNXanI> Lines: 47 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!feed.xsnews.nl!border-1.ams.xsnews.nl!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing