SWT中是否有RTF显示小部件 [英] Is there an RTF display widget in SWT

查看:68
本文介绍了SWT中是否有RTF显示小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在SWT(实际上是Eclipse RCP)应用程序中显示RTF文档.

I would like to display an RTF document in an SWT (actually Eclipse RCP) application.

我知道有一个用于显示和编辑RTF文本的Swing小部件,但是在其他平台上使用时,它是Swing且外观和感觉都非常陌生(更不用说我不知道​​它没有显示图像)并且仅对格式提供了有限的支持)

I know there is a Swing widget for displaying and editing RTF text, but it is Swing and quite alien in look and feel when used in the otherwise platform (not to mention that to the last of my knowledge it did not display images and had only limited support for formatting)

其他选项是在Windows上使用COM接口,但是仅在Windows平台上有效,并且需要在客户计算机上安装ActiveX RichEdit contol ...这可能会使应用程序的部署变得非常糟糕...

Other options is to use COM interface on windows, but that works only on the windows platform and requires that an ActiveX RichEdit contol be installed on the customer machine... which can make the deployment of the application quite horrendous...

在Eclipse/SWT应用程序中显示丰富文档的其他选项是什么?

What are the other options for displaying rich documents inside Eclipse/SWT application?

推荐答案

Actuall,我刚刚发现了另一个非常有前途的atm部件:

Actuall, I've just found another widget that is quite promising atm:

http://onpositive.com/richtext

这篇关于SWT中是否有RTF显示小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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