Friday, April 1, 2011

Open XML SDK 2.0 for Microsoft Office

,
Welcome to the Open XML SDK 2.0 for Microsoft Office. The Open XML Formats is an ISO/IEC 29500 standard and open ECMA 376 standard. Microsoft Office 2007 documents and Microsoft Office 2010 documents, specifically Microsoft Office Word® 2010, Microsoft Office Word® 2007, Microsoft Office Excel® 2010, Microsoft Office Excel® 2007, and Microsoft Office PowerPoint® 2010, and Microsoft Office PowerPoint® 2007, use these file formats with some extensions. Open XML formats are useful for developers because they are an open standard and are based on well-known technologies: ZIP and XML. This SDK is built on top of the System.IO.Packaging API and provides strongly-typed part classes to manipulate Open XML documents. More supported is added specifically for Microsoft Office 2007 documents and Microsoft Office 2010 documents. This SDK also leverages the .NET Language-Integrated Query (LINQ) technology to provide strongly-typed object access to the XML content inside the parts of Open XML documents.

1.System Requirement
The system requirements for the SDK are:

- Supported Operating Systems: Windows 7, Windows Server 2008 R2, Windows Server 2008 Service Pack 2, Windows Server 2003 Service Pack 2, Windows Vista Service Pack 2, and Windows XP Service Pack 3
- .NET Framework 3.5 SP1
- Up to 20 MB of available disk space

2.Installation Instructions
To install the SDK:

- Download and save OpenXMLSDKv2.msi to your computer and run it to start the setup wizard or click ‘Run’ on the download dialog box to initiate the Setup wizard.
- Click through the wizard pages to install the SDK.
If .NET Framework 3.5 SP1 is not already installed on the computer, the Setup wizard asks you to install .NET Framework 3.5 SP1 first.
The default path of the SDK is %programfiles%\Open XML SDK\V2.0\. You can change the path.
- Click through the wizard and click ‘Finish’ to complete the installation.
3.Uninstalling the SDK
To uninstall the SDK, go to Control Panel and click Add or Remove Programs.

4.Registry Key
The installation process will create two registry keys so Windows Control Panel and other applications could verify that the SDK 2.0 is installed. The following registry kes are created:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\OpenXmlApiV2
Default Value -- type REG_ZA; data is the installed path of the binary dll.
Note: for 64bit system, the actual key path could be: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\OpenXmlApiV2 ; see MSDN article in accessing the registry key in 64bit system.

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\OpenXmlSDK
Sub key: the version of the SDK being installed on the box, for example "2.0.4725.0"
Default Value -- type REG_ZA; data is the installed path of the binary dll.
Note: for 64bit system, the actual key path could be: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\OpenXmlSDK ; see MSDN article in accessing the registry key in 64bit system

5.Content in the SDK
The SDK contains the following:

- Readme.htm (this file)
- API: (DocumentFormat.OpenXml.dll)
- Intellisense: (DocumentFormat.OpenXML.xml)

6.Other resources
You can join the MSDN Forum at http://social.msdn.microsoft.com/forums/en-US/oxmlsdk/
You can also join the Connect site at https://connect.microsoft.com/site/sitehome.aspx?SiteID=589;Open XML SDK 2.0 for Microsoft Office

Welcome to the Open XML SDK 2.0 for Microsoft Office. The Open XML Formats is an ISO/IEC 29500 standard and open ECMA 376 standard. Microsoft Office 2007 documents and Microsoft Office 2010 documents, specifically Microsoft Office Word® 2010, Microsoft Office Word® 2007, Microsoft Office Excel® 2010, Microsoft Office Excel® 2007, and Microsoft Office PowerPoint® 2010, and Microsoft Office PowerPoint® 2007, use these file formats with some extensions. Open XML formats are useful for developers because they are an open standard and are based on well-known technologies: ZIP and XML. This SDK is built on top of the System.IO.Packaging API and provides strongly-typed part classes to manipulate Open XML documents. More supported is added specifically for Microsoft Office 2007 documents and Microsoft Office 2010 documents. This SDK also leverages the .NET Language-Integrated Query (LINQ) technology to provide strongly-typed object access to the XML content inside the parts of Open XML documents.

1.System Requirement
The system requirements for the SDK are:

- Supported Operating Systems: Windows 7, Windows Server 2008 R2, Windows Server 2008 Service Pack 2, Windows Server 2003 Service Pack 2, Windows Vista Service Pack 2, and Windows XP Service Pack 3
- .NET Framework 3.5 SP1
- Up to 20 MB of available disk space

2.Installation Instructions
To install the SDK:

- Download and save OpenXMLSDKv2.msi to your computer and run it to start the setup wizard or click ‘Run’ on the download dialog box to initiate the Setup wizard.
- Click through the wizard pages to install the SDK.
If .NET Framework 3.5 SP1 is not already installed on the computer, the Setup wizard asks you to install .NET Framework 3.5 SP1 first.
The default path of the SDK is %programfiles%\Open XML SDK\V2.0\. You can change the path.
- Click through the wizard and click ‘Finish’ to complete the installation.

3.Uninstalling the SDK
To uninstall the SDK, go to Control Panel and click Add or Remove Programs.

4.Registry Key
The installation process will create two registry keys so Windows Control Panel and other applications could verify that the SDK 2.0 is installed. The following registry kes are created:

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\OpenXmlApiV2
Default Value -- type REG_ZA; data is the installed path of the binary dll.
Note: for 64bit system, the actual key path could be: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\OpenXmlApiV2 ; see MSDN article in accessing the registry key in 64bit system.

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\OpenXmlSDK
Sub key: the version of the SDK being installed on the box, for example "2.0.4725.0"
Default Value -- type REG_ZA; data is the installed path of the binary dll.
Note: for 64bit system, the actual key path could be: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\OpenXmlSDK ; see MSDN article in accessing the registry key in 64bit system

5.Content in the SDK
The SDK contains the following:

- API: (DocumentFormat.OpenXml.dll)
- Intellisense: (DocumentFormat.OpenXML.xml)

6.Other resources
You can join the MSDN Forum at http://social.msdn.microsoft.com/forums/en-US/oxmlsdk/
You can also join the Connect site at https://connect.microsoft.com/site/sitehome.aspx?SiteID=589;