Wednesday, June 11, 2008

Open XML SDK v1 Released

Mike Ormond's Blog - Installing VS2008 SP1 Beta 1

“Later today you'll be able to download the Open XML SDK v1 (currently the April CTP - make sure it's changed before you download!). This release includes a set of APIs designed for manipulating Open XML format documents at the part level (ie wrapping a lot of the lower level System.IO.Packaging APIs) as well as samples and documentation. There will be a CTP of v2 of the SDK available later in the summer which offers higher level APIs targetted at the specific of WordprocessingML, SpreadsheetML etc” [Post Leached in Full]

Microsoft Downloads - Open XML Format SDK

The 2007 Microsoft® Office system introduces a new file format that is based on XML called Open XML Formats. Microsoft Office Word 2007, Microsoft Office Excel® 2007, and Microsoft Office PowerPoint® 2007 all use these formats as the default file format.

Open XML formats are useful for developers because they are an open standard and are based on well-known technologies: ZIP and XML. Microsoft provides a library for accessing these files as part of the WinFX technologies in the System.IO.Packaging namespace.

The Open XML Format SDK is built on top of the System.IO.Packaging API and provides strongly typed part classes to manipulate Open XML documents.

…”

Open XML SDK Documentation - About the Open XML Format SDK 1.0

“…

The Open XML Format SDK 1.0

The Open XML Format SDK 1.0 simplifies the manipulation of OpenXML packages. The Open XML Application Programming Interface (API) encapsulates many of the common tasks that you typically perform on OpenXML packages, so you can perform complex operations with just a few lines of code. Some common tasks:

  • Search. With a few lines of code, you can search a collection of Excel 2007 worksheets for some arbitrary data.

  • Document assembly. You can create documents by combining the document parts of existing documents programmatically. For example, you can pull slides from various PowerPoint 2007 presentations to create a single presentation.

  • Validation. With a few lines of code, you can validate the document parts in a package or validate an entire package against a schema.

  • Data update. With the Open XML object model, you can easily modify the data in multiple packages.

  • Privacy. With a few lines of code, you can remove comments and other personal information from a document before it is distributed.

You can use the Open XML API in any language supported by the Microsoft .NET Framework®. The help topics presented in this SDK provide code samples in Microsoft Visual C#® and Microsoft Visual Basic® .NET.

Using the code samples in the help topics in this SDK as a starting point, you can take advantage of the OpenXML standards in the 2007 Microsoft Office system. The Open XML API relieves much of the tedium of working with Open Packaging Conventions documents and is well worth your time to explore.

…”

Sigh… I saw this yesterday, but the download cache I was looking at still had the April CTP, so ignored it thinking it was a CTP…ANYWAY… Yeah! v1!

The first “How to” kind of made me laugh, “How to: Accept All Revisions in a Word 2007 Document by Using the Open XML API” (Given some past “issues” with people releasing documents with unaccepted revisions in them… and thereby visible to the recipient… Doh!).

(via Jason Haley - Interesting Finds: June 10, 2008)

 

Related Past Post XRef:
MS SDK for Open XML (June CTP)
Open XML File Format Code Snippets for Visual Studio 2005 (Office 2007 NOT required)

No comments: