Visio 2013 File Formats

Visio 2013 has (at last) brought us the Metro file format, otherwise known as Open Packaging Conventions (OPC) standard (ISO 29500, Part 2)! You can read about Open Packaging Conventions Fundamentals at http://msdn.microsoft.com/en-us/library/windows/desktop/dd742818(v=vs.85).aspx.

Visio file formats were unchanged for versions 2003, 2007 and 2010, except that Visio 2010 saw the addition of the *.vdw format, which is basically the *.vsd with a XAML overlay added. There were two choices of file formats – the Visio binary format or the verbose DataDiagramML Xml format.

image

Visio 2013 has done away with the binary file format, but has provided alternative extensions for those documents that contain macros.

image

So, the process for saving Visio 2013 files is different than before:

image

In the above example. I added the bVisual logo, just to see how the file would be stored in the new Visio 2013 package. You can view the innards of Metro file by changing the extension to zip, and then just opening it. I also added a simple macro to see how it would be stored

image

As you can see, the VBA project that contains the macros are in a file called vbaProject.bin, and the logo is a media file, called image1.png. Of course, the vbaProject file will not be present in any non-macro-enabled files.

It all looks quite enticing to open and manipulate using code!

If you want to find out more, then download [MS-VSDX].pdf from http://www.microsoft.com/en-us/download/details.aspx?id=25255&WT.mc_id=rss_alldownloads_all . This is the preliminary documentation for the Visio Graphics Service VSDX File Format, and an introduction to the new Visio 2013 file format at http://msdn.microsoft.com/en-us/library/office/jj228622(v=office.15).

5 Responses to “Visio 2013 File Formats”

  1. al edlund Says:

    david, I’ll send a note off-line, al

  2. The Office 365 Site » VSDX: the new Visio file format Says:

    [...] Visio 2013 File Formats by David Parker [...]

  3. Anil Says:

    How can we programmatically save visio document in .vsd format in visio 2013


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 184 other followers

%d bloggers like this: