开发者

How can I save the contents of an SWT StyledText widget as HTML?

开发者 https://www.devze.com 2023-02-01 12:06 出处:网络
Is there an easy way to take the contents of an SWT StyledText widget and save it as HTML, and then conversely take ba开发者_如何学Gock the saved HTML to load it into the StyledText?It looks like this

Is there an easy way to take the contents of an SWT StyledText widget and save it as HTML, and then conversely take ba开发者_如何学Gock the saved HTML to load it into the StyledText?


It looks like this SWT RichTextEditor does it. Source code is not available, however; it also does not seem to support multiple fonts in the same StyleText widget.

0

精彩评论

暂无评论...
验证码 换一张
取 消