富文本格式是否已弃用?
从关于富文本格式的维基百科页面 (http://en.wikipedia.org/wiki/Rich_Text_Format):
截至 2008 年 3 月,当前版本为 1.9.1。根据微软的Office 2010 资源工具包文档,Microsoft 将停止对 RTF 的增强 规格。此外,Word 2010及更高版本中的一些新功能将不会保存 正确转换为 RTF 格式。[11]
参考资料是这里: http://technet.microsoft.com/en-us/library/cc179199.aspx#BKMK_Changed< /a>
我正在努力添加一些静态的格式化文本,这些文本将从本地数据库中提取,并由仅在内部使用的应用程序显示。
我应该通过 .NET 的内置 RichTextBox 使用富文本格式吗? Microsoft 新的 OpenXML 格式在不久的将来会弃用吗?
完全跳过 Rich Text 并使用 HTML 格式会更好吗?如果是这样,您会推荐什么 .NET 控件?
显然,我不想为这样一个微不足道的问题设计自己的文本格式化控件,但我不想浪费开发时间来实现几乎已弃用的技术。
谢谢!
From the Wikipedia page on Rich Text Format (http://en.wikipedia.org/wiki/Rich_Text_Format):
As of March 2008, the current version is 1.9.1. According to Microsoft's Office 2010
resource kit documentation, Microsoft is discontinuing enhancements to the RTF
specification. Further, some new features in Word 2010 and later versions will not save
properly to the RTF format.[11]
The reference is to here:
http://technet.microsoft.com/en-us/library/cc179199.aspx#BKMK_Changed
I'm working on including some static, formatted text which will be pulled from a local database and will be displayed by an app that is only being used internally.
Should I use the Rich Text Format via .NET's built-in RichTextBox? Will it be deprecated in the near future for Microsoft's new OpenXML format?
Would it be better to skip Rich Text altogether and go with HTML formatting? If so, what .NET control would you recommend?
Obviously I don't want to design my own text formatting control for such a trivial problem, but I don't want to waste development time implementing a nearly deprecated technology.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
RTF 控件可以让您在很长一段时间内保持良好的状态。它不会去任何地方。将来可能会有更好的替代方案,但 RTF 控件不会被弃用。正如 Boldewyn 在评论中所说,RTF 并未得到增强以使其与 Microsoft Word 中的功能保持同步。但 RTF 格式本身不会消失。
You're going to be fine for a long long time with the RTF control. It's not going anywhere. There may be better alternatives in the future, but the RTF control won't get deprecated. As Boldewyn said in the comment, enhancements aren't being made to RTF to keep it up to date with the features in Microsoft Word. But the RTF format itself is isn't going anywhere.