本文介绍了Open XML SDK适用于Office 2003?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过在XML节点上更改数据并在批处理操作(处理大量文档)中执行此操作来替换或插入具有附加XML架构的Office 2003文档(如Word或Excel),由于VSTO模型需要执行Office应用程序的实例,我认为将文档作为XML流处理更合适。


我之前使用过Office 2007的System.IO.Packaging,但我也听说过现在我们应该使用OpenXML SDK,但是从下载链接来看它是针对Office 2007的,那么如果我们想要处理Office 2003,我们有什么选择?

解决方案


I need to replace or insert data into an Office 2003 document (such as Word or Excel) that has an XML Schema attached by changing data at XML node, and doing it in batch operations (handling a large amount of documents), since the VSTO model requires executing instances of Office app, I think handling the docs as XML streams is more appropriate.


I have used System.IO.Packaging for Office 2007 before, but I also heard that now we should use OpenXML SDK instead, but from the download link it says it is for Office 2007, so what options do we have if we want to handle Office 2003?

解决方案


这篇关于Open XML SDK适用于Office 2003?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 07:41