We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
查看关于 XHTML2RTF 的 CodeProject 文章。
Check out this CodeProject article on XHTML2RTF.
扩展斯巴达科的答案,我暗示了以下内容,效果很好!
Expanding on Spartaco's answer I implimented the following which works GREAT!
当然它并不完美,但这是我用来将 HTML 转换为纯文本的代码。
(我不是原作者,是根据网上找到的代码改编的)
It is not perfect of course, but here is the code I use to convert HTML to plain text.
(I was not the original author, I adapted it from code found on the web)
我推荐一个名为 Pandoc 的控制台工具。 它不是一个组件,而是一个相当大的转换包。 我用它在 HTML 和 LaTeX 之间进行转换。 太棒了。
您可以在计划页面找到支持格式的完整列表。
为了将 HTML 文档转换为 RTF 格式,您可以在控制台上编写:
I recommend a console tool named Pandoc. It is not a component, it is rather huge conversion pack. I am using it to convert between HTML and LaTeX. It is just awesome.
The full list of supported formats you can find on the program page.
In order to convert an HTML document to RTF format you write on the console:
也许您需要的是编辑 HTML 的控件?
Maybe what you need is a control to edit the HTML?
实际上有一个简单且免费的解决方案:使用浏览器,好吧,这就是我使用的技巧:
这可能比其他方法慢,但至少它是免费的并且有效!
Actually there is a simple and free solution: use your browser, ok this is the trick I used:
This could be slower than other methods but at least it's free and works!