打开旧版MS文档? [英] Opening older versions of MS documents?

查看:237
本文介绍了打开旧版MS文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个实用程序,可以读取任何版本的MS Office文档(如果可能的话,Word,PowerPoint,Excel和Project)将数据转换为OpenXML并使用SDK处理数据开放XML格式。此功能是否仅包含在此SDK和.Net3.0中,还是我需要其他API?请原谅我的天真,因为我在使用MS office API进行开发时非常环保。如果有其他论坛可以指出我可以找到这些信息的地方,那也很好。

I'd like to develop a utility application that can read in any version of MS Office document (Word, PowerPoint, Excel, and Project if possible) convert the data to OpenXML and process the data using the SDK for Open XML formats. Is this functionality contained solely within this SDK and .Net3.0 or are there other APIs that I would need?  Please forgive my naivete as I'm fairly green when it comes to developing with MS office APIs.  If there are other forums that you could point me to where I might find this information, that would be good as well.

提前致谢。

- 凯文

推荐答案

你好Kevin,

Hi Kevin,

好吧,你可以构建一些应用程序来验证指定的目录,并查找二进制文件,如(.doc,.ppt) ...)如果发现您的应用程序基本上将此文件转换为新的文件格式,则有很多转换可能性(您可以将应用程序设置为使用Office 2007打开所选文件并将其另存为Open XML文件,你可以直接使用二进制文件)。您可以使用WinFX API来构建此应用程序,.NET Framework 3.0和Open XML SDK。有一些网站可以解释这种转换,在Office开发人员中心有关于XML的walthrough和白皮书。

      Well, you can build some application that will verify the specified directory and will look for binary files like (.doc, .ppt...) and if found your application will basically convert this files to the new file format, there's a lot of conversions possibilities (you can set your application to open the choosed files with the Office 2007 an save it as an Open XML file, you can work with binary files directly). You can youse the WinFX API's to build this application, .NET Framework 3.0 and the Open XML SDK. There's some sites that explain this conversions, there's walthrough and whitepapers on XML in Office developer center.

www.openxmldeveloper.org - 有很多文章描述了这种转换和某些类型的应用程序。

www.openxmldeveloper.org - There's a lot of articles that describe better this convertions and some type of applications.

PS :如果你想我可以发给你一个我开发的应用程序(它是一个转换器)。给我发电子邮件: campos_daniel@atlantico.com.br

PS: if you want i can send you one application that i developed ( it's a converter). Send me an e-mail : campos_daniel@atlantico.com.br

最好的问候

------------------ --------------------------

--------------------------------------------

Daniel Campos - 微软创新中心(巴西)

Daniel Campos - Microsoft Innovation Center (Brazil)


这篇关于打开旧版MS文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆