HTML到RTF转换为.NET [英] HTML to RTF Converter for .NET

查看:353
本文介绍了HTML到RTF转换为.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到很多网站上的职位RTF HTML和一些其他职位谈论一些HTML到RTF转换器,但我真的想要得到什么被认为是最广泛使用的商用全击穿产品,开源产品或者推荐人回家种植。道歉,如果你认为这是一个重复的问题,但我想创造一个产品矩阵,看看什么是最可行的我们的应用程序。我也认为这将是对他人有帮助的。

I've already seen lots of posts on the site for RTF to HTML and some other posts talking about some HTML to RTF converters, but I'm really trying to get a full breakdown of what is considered the most widely used commercial product, open source product or if people recommend going home grown. Apologies if you consider this a duplicate question, but I'm trying to create a product matrix to see what is the most viable for our application. I also think this would be helpful for others.

该转换器将在ASP.NET 2.0应用程序中使用(我们升级到3.5,但短期内与的WebForms还在坚持)使用SQLServer的2005年(2008年不久)为DB。

The converter would be used in an ASP.NET 2.0 application (we're upgrading to 3.5 shortly but still sticking with WebForms) using SQLServer 2005 (soon 2008) as the DB.

从阅读几个帖子,的 SautinSoft 似乎是流行的一种商业部分。在那里,你会推荐为HTML转换为RTF其他商业组件?价格的确很重要,但即使它有点偏贵,请列出来。

From reading a few posts, SautinSoft appears to be popular as a commercial component. Are there other commercial components that you'd recommend for converting HTML to RTF? Price does matter, but even if it's a little on the expensive side, please list it.

有关开源的,我读了 OpenOffice.org 可以作为服务运行,以便它可以转换文件。然而,这似乎基于Java是只。我想,我需要某种形式的互操作来使用呢?什么.NET开源组件,如果有的话,是在那里转换HTML为RTF?

For open source, I read that OpenOffice.org can be run as a service so that it can convert files. However, this appears to be only Java based. I imagine, I'd need some kind of interop to use this? What .NET open source components, if any, are out there for converting HTML to RTF?

有关土生土长的,是一个XSLT去与XHTML的方式吗?如果是这样,你推荐产生XHTML什么成分?否则,还有什么其他的本土avenuses你推荐。

For home grown, is an XSLT the way to go with XHTML? If so, what component do you recommend for generating XHTML? Otherwise, what other home grown avenuses do you recommend.

另外,请注意,我现在不那么在乎RTF到HTML。如果商业组件提供这个和价格仍然是相同的,精细的,否则请不要客气。

Also, please note that I currently don't care so much about RTF to HTML. If a commercial component offers this and the price is still the same, fine, otherwise please don't mention it.

推荐答案

我会建议做自己的工作是不是真的那么复杂。首先,最简单的方式转换成一种XML格式转换成另一个XML格式是使用XSLT。在C#转换XML文档是超级容易。

I would recommend doing it yourself as the task is not really that complex. Firstly, the easiest way convert one Xml format into another Xml format is with an Xslt. Converting Xml documents in C# is super easy.

下面是一个不错的MSDN博客文章,让您开始。迈克甚至提到,这是比较容易的手,要对付第三方做到这一点。

Here is a good msdn blog post to get you started. Mike even mentions that it was easier to do this by hand that to deal with a third party.

链接

其实,我已经回答了这个问题<一href=\"http://stackoverflow.com/questions/150208/how-do-i-convert-html-to-rtf-rich-text-in-net-without-paying-for-a-component\">here.猜猜这使这是一个重复的。

Actually, I already answered this question here. Guess that makes this a duplicate.

这篇关于HTML到RTF转换为.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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