Erika Ehrli - Adventures with Office Products & Technologies
MSDN & TechNet: Releasing Office, SharePoint, Exchange & Lync Centers and content for developers and IT professionals.

Open XML SDK 2.0 April CTP Live & Silverlight DeepZoom Class Architecture Diagrams

Open XML SDK 2.0 April CTP Live & Silverlight DeepZoom Class Architecture Diagrams

  • Comments 7

For all of those fans of Open XML and followers of updates done to the Open XML Format SDK 2.0, one more happy day has arrived. The Office Client Developer Content team and the Open XML SDK product team released the Open XML Format SDK 2.0 April CTP on MSDN! Zeyad has a great blog post where he explains in detail what’s new with the latest version of the SDK.

Brief Class Architecture Overview

The Open XML Format SDK 1.0 is a licensed version of the Open XML SDK that allows you to manipulate Open XML package parts. However, you need to create your own code to manipulate XML content in each part. The Open XML SDK Format SDK 2.0 provides a set of strongly typed classes and objects that allow you to manipulate packages and XML content in each part. Here’s a list of the namespaces that you can find in the latest version of the SDK:

  • DocumentFormat.OpenXml
  • DocumentFormat.OpenXml.AdditionalCharacteristics
  • DocumentFormat.OpenXml.Bibliography
  • DocumentFormat.OpenXml.CustomProperties
  • DocumentFormat.OpenXml.CustomXmlDataProperties
  • DocumentFormat.OpenXml.CustomXmlSchemaReferences
  • DocumentFormat.OpenXml.Drawing
  • DocumentFormat.OpenXml.Drawing.ChartDrawing
  • DocumentFormat.OpenXml.Drawing.Charts
  • DocumentFormat.OpenXml.Drawing.Diagrams
  • DocumentFormat.OpenXml.Drawing.LegacyCompatibility
  • DocumentFormat.OpenXml.Drawing.LockedCanvas
  • DocumentFormat.OpenXml.Drawing.Pictures
  • DocumentFormat.OpenXml.Drawing.Spreadsheet
  • DocumentFormat.OpenXml.Drawing.Wordprocessing
  • DocumentFormat.OpenXml.ExtendedProperties
  • DocumentFormat.OpenXml.Internal.SchemaValidation
  • DocumentFormat.OpenXml.Math
  • DocumentFormat.OpenXml.Office.ContentType
  • DocumentFormat.OpenXml.Office.CoverPageProps
  • DocumentFormat.OpenXml.Office.CustomDocumentInformationPanel
  • DocumentFormat.OpenXml.Office.CustomUi
  • DocumentFormat.OpenXml.Office.CustomXsn
  • DocumentFormat.OpenXml.Office.Excel
  • DocumentFormat.OpenXml.Office.LongProperties
  • DocumentFormat.OpenXml.Office.MetaAttributes
  • DocumentFormat.OpenXml.Office.Word
  • DocumentFormat.OpenXml.Packaging
  • DocumentFormat.OpenXml.Presentation
  • DocumentFormat.OpenXml.Spreadsheet
    DocumentFormat.OpenXml.VariantTypes
  • DocumentFormat.OpenXml.Vml
  • DocumentFormat.OpenXml.Vml.Office
  • DocumentFormat.OpenXml.Vml.Presentation
  • DocumentFormat.OpenXml.Vml.Spreadsheet
  • DocumentFormat.OpenXml.Vml.Wordprocessing
  • DocumentFormat.OpenXml.Wordprocessing

You can find documentation on MSDN for each of the previous namespaces here: http://msdn.microsoft.com/en-us/library/dd608815(office.14).aspx

Also, if you are into graphical content, I have created a couple more Silverlight DeepZoom Class Diagrams. Spent some time experimenting with Silverlight 2.0 to please everyone who asked me to update my previous Silverlight DeepZoom Class Explorer. As you can see from the list above, the entire OM is huge! I only created diagrams for the namespaces bolded above.

A few notes about the diagrams:

  1. The second diagram is a large image, so rendering quality is not always the best. Looks great on my local computer, but sometimes I’ve noticed that images and rendering are blurry on the version I made available on my personal Web site. Some F5s and a good network connection make it better.
  2. If you want to run them locally, I attached to this blog entry copies of both VS projects.

Download: DocumentFormat.OpenXML

Download: Document.Format.OpenXML.Packaging

To view the diagrams locally, download and extract the zip files and locate the \…\…\DeepZoomProjectWeb\ClientBin\*.html file on each project.  DocumentFormatOpenXML_CD.html is the preview file for the first project and DocumentFormatOpenXMLPackaging_CD.html is the preview file for the second project.

3. Make sure you download VS2008 SP1 + Silverlight 2 Tools for VS 2008 SP1 if you want to open the source code in VS 2008.

Open XML SDK 2.0 resources:

  • Download the SDK
  • Online Documentation
  • Ask a Question- MSDN Forum: Open XML Format SDK
  • Latest MSDN articles
    1. Creating Documents by Using the Open XML Format SDK 2.0 CTP, Part 1
    2. Creating Documents by Using the Open XML Format SDK 2.0 CTP, Part 2
    3. Creating Documents by Using the Open XML Format SDK 2.0 CTP, Part 3

    We have about 10 articles + videos, and 50~ code samples coming soon!

  • Great bloggers to follow:
    1. Brian Jones / Zeyad Rajabi
    2. Eric White
    3. Doug Mahugh
    4. Stephen Peront

    Enjoy!

  • Bookmark and Share
    Leave a Comment
    • Please add 6 and 5 and type the answer here:
    • Post
    • PingBack from http://asp-net-hosting.simplynetdev.com/open-xml-sdk-20-april-ctp-live-silverlight-deepzoom-class-architecture-diagrams/

    • Am I allowed to use this version for production-code? There's no Go-Live licence yet, right? Do we have to wait for that for Office 2010 to go RTM?

    • I would like to get an answer because I'm creating a product which uses the SDK (http://flexdoc.codeplex.com).

    • Hi, I was looking for an option where I could create the ouput in excel (Data is selected from MS sql SERVER ) and lay out the data in invoice format using OPENXML. is it possible to convert the above output saved in excel format into PDF format using OPENXML?

    • Hi Robert,

      At this moment you can use the Open XML Format SDK 1.0 for production code. However, the Open XML Format SDK 2.0 is still a CTP and is not supported for production code.

      Mehul,

      It is possible to generate the output you need using OpenXML. However, you can't "Save AS PDF" using Open XML. You need to use the OM to do so. See the following article for reference:

      http://msdn.microsoft.com/en-us/library/bb407651.aspx

      Keep in mind automation is not supported on the server.

    • Hi,

      I've created a solution using the sdk 2.0 to create documents on a sharepoint server in a workflow running on the sharepoint server.  The solution worked fine in my local box with sharepoint and the sdk installed.  

      Do I have to install the sdk on the sharepoint server when I deploy the solution?

      Thanks,

      Ham.

    • Hi Robert,

      i have got a very similar requirement as you. I am trying to save the file as a pdf , could you please tell me if you have managed to figure a way out of it. it would be kind of you to get back to me.Many thanks

      My email is nenuravishankar@gmail.com

      Thanks and Kind regards

      Ravi

    Page 1 of 1 (7 items)