Implementer Notes Just Make Good Sense

Published 16 January 09 06:46 AM

I am pretty excited about our release of the ECMA-376 Implementer Notes. These notes provide a wealth of information that are very useful to developers who are writing code that interoperates with Office. I have been working with Open XML for quite some time now and there are many days that I look back and wish that I had these notes to help aid me in my development. Here is a quick example.

In this example we will create a simple Excel spreadsheet with one workbook and three worksheets, using the Open XML Format SDK 2.0. We start with some code to create the document.

Before we go write a bunch of code to place values into cells, we can first go to the Document Interop Initiative website to learn about the restrictions that Excel places on values in cells.

We can navigate to the ECMA-376 standard outline by clicking References, then selecting the ECMA-376 1st Edition item from the menu.

We then use the left navigation to expand Part 4, Section 3.3.1.93. v (Cell Value) and click on this node to see the details for this section of the standard. While on that page, we see that there is a View Notes button indicating that there are implementer notes.

We click the View Notes button to open a popup window that displays the notes that implementers have added for this section of the specification. While there, we see a note, from Microsoft, that explains that Office 2007 places value restrictions.

We expand this note, by clicking the blue "..." icon at the end of the note preview. And... voila! We see the restrictions that Excel places on the values of a cell.

This is really great!

This is just a short post to introduce the ECMA-376 Implementer Notes and show how it can help enable implementers to achieve great interoperability with Office. I hope you are having a great day!

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Doug Mahugh : ECMA-376 Implementation Notes for Office 2007 SP2 said on January 16, 2009 10:51 AM:

PingBack from http://blogs.msdn.com/dmahugh/archive/2009/01/16/ecma-376-implementation-notes-for-office-2007-sp2.aspx

# Eric White's Blog said on January 16, 2009 2:54 PM:

Today, Microsoft released ECMA-376 implementation notes for Office 2007 SP2. These notes are an invaluable

# Erika Ehrli said on January 16, 2009 3:32 PM:

We've published today a new set of Open XML implementation notes. The ECMA-376 Implementation Notes helps

# Ray Huger said on January 16, 2009 5:51 PM:

Since many of us program in C#, where in the new documentation would you see a place for a .NET specific note?

In the particular example above it would be helpful to add that to put a DateTime into a cell you should:

1. Turn it into a double with ToOADate().

2. Use ToString(System.Globalization.NumberFormatInfo()).

# ECMA-376 implementation notes for Office 2007 SP2 now published | OSRIN.net said on January 17, 2009 10:26 PM:

PingBack from http://osrin.net/2009/01/ecma-376-implementation-notes-for-office-2007-sp2-now-published/

# Julien Chable said on January 19, 2009 9:41 AM:

La nouvelle n’est pas vraiment nouvelle puisqu’elle avait été anoncée jeudi dernier (ayant été en déplacement

# Stephen Peront Implementer Notes Just Make Good Sense | internet marketing tools said on June 16, 2009 12:08 AM:

PingBack from http://einternetmarketingtools.info/story.php?id=22557

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

This Blog

Tags

No tags have been created or used yet.

Syndication

Page view tracker