Welcome to MSDN Blogs Sign in | Join | Help

Accessing the Office Documents (ZIP package)

I've had a few questions from folks asking how people will be able to access and program against these files. As I've said (and I'm sure you're all aware by now), in it's simplest form it's just XML and ZIP. Most of the questions have been specifically around what OM support will be provided for opening the ZIP files. If you read the developer whitepaper, you'll see that there is actually a convention we use for storing the different XML parts within the ZIP and relating them to each other. It's a pretty simple concept, and there will be plenty of documentation around it.

The conventions used for storing parts, creating relationships, and addressing other parts via relationships is actually part of a shared convention that we use in Office, and it also used by the folks that created the new Metro format (I think it's called the open XML Paper Format). If you look at part 1 of the latest Metro spec, you can see how the relationships are created, how parts are addressed, etc. This leads me into how you can program against these files. Since it's just ZIP and XML, you can of course read the specs and navigate the files yourselves. Another option is to install WinFx (currently available in it's beta form), which will allow you to use System.IO.Packaging in the WinFX SDK to open and manipulate the format.  I'll be showing a bit of this at my TechEd session this week (Tuesday @3:15).

-Brian

Published Monday, June 06, 2005 1:21 PM by BrianJones
Filed under:

Comments

Wednesday, June 08, 2005 12:07 PM by Brian Jones: Office XML Formats

# First presentation on the new XML formats

Yesterday was the first presentation I gave on the new file formats since we made our announcement...
Wednesday, June 15, 2005 6:44 PM by Tim Sneath

# Exploring Metro: the Longhorn Document and Print Model

Metro is a suite of new document and print infrastructure technologies that are embedded in Longhorn...
Monday, February 13, 2006 7:15 PM by Office Development

# Getting Started with OpenXML and WinFX


Some of you may recall Brian discussed the System.IO.Packaging assembly from the Windows...
Sunday, June 01, 2008 2:04 AM by Dating

# Brian Jones: Open XML Formats : Accessing the Office Documents (ZIP package)

I've had a few questions from folks asking how people will be able to access and program against these files. As I've said (and I'm sure you're all aware by now), in it's simplest form it's just XML and ZIP. Most of the questions have been specificall

Thursday, June 05, 2008 12:33 PM by Weddings

# Brian Jones: Open XML Formats : Accessing the Office Documents (ZIP package)

I've had a few questions from folks asking how people will be able to access and program against these files. As I've said (and I'm sure you're all aware by now), in it's simplest form it's just XML and ZIP. Most of the questions have been specificall

New Comments to this post are disabled
 
Page view tracker