最近在看与OpenXML有关的东西。所谓OpenXML其实就是指Office 2007的一套新的格式,应用于Word,Excel,Powerpoint。了解这个主要想看看如何通过OpenXML的格式更好地进行文档方面的自动化生成。
刚才搜到最新的SDK已经升级到2.0了,请参考下面的链接
Overview
Open XML is an open ECMA 376 standard and is also approved as the ISO/IEC 29500 standard that defines a set of XML schemas for representing spreadsheets, charts, presentations, and word processing documents. Microsoft Office Word 2007, Excel 2007, and PowerPoint 2007 all use Open XML as the default file format.
The Open XML file formats are useful for developers because they use an open standard and are based on well-known technologies: ZIP and XML.
The Open XML Format SDK 2.0 is built on top of the System.IO.Packaging API and provides strongly typed part classes to manipulate Open XML documents. The SDK also uses the .NET Framework Language-Integrated Query (LINQ) technology to provide strongly typed object access to the XML content inside the parts of Open XML documents.
The April 2009 Open XML Format SDK 2.0 CTP release adds support for the validation of Open XML documents.
这里有一些例子
http://www.cnblogs.com/zlgcool/archive/2008/12/31/1365993.html
http://www.cnblogs.com/zlgcool/archive/2009/03/17/1366385.html
回头我自己也会写一些例子出来看看