如何使用c#.net 4.0将word文档的开放xml表示转换为RTF格式? [英] how to convert open xml representation of word document into RTF format using c#.net 4.0?
问题描述
老问题,但也许我的回答可能对某人有用。
Open XML sdk不允许您自行转换为其他文档格式,因此您必须使用其他选项才能执行此操作。
明显的替代方法是使用Word本身。 Word允许您将文档保存为RTF,您可以轻松地使用C#自动化。
如果您需要一个不包含Word的选项,也许您需要运行服务器端,那么您可以使用 Word自动化服务(但是你需要Sharepoint我想),或者你可以使用第三方选项,如 Aspose 。
I want to convert Open xml representation of Word Documents in to RTF Format using C#.net.Please Guide me to Get out of this problem...
Old question, but maybe my reply can be useful for someone.
The Open XML sdk doesn't allow you to convert to other document formats itself so you will have to use an other option to do this.
The obvious alternative is to use Word itself. Word allows you to save a document as RTF and you can easily automate it using C#.
If you need an option that does not include Word, maybe you need to run server-side, then you can either use the Word Automation Services (but then you need Sharepoint I think) or you can use third-party options like Aspose.
这篇关于如何使用c#.net 4.0将word文档的开放xml表示转换为RTF格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!