Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Is there an easy way to take the contents of an SWT StyledText widget and save it as HTML, and then conversely take back the saved HTML to load it into the StyledText?

like image 566
Jean-Philippe Pellet Avatar asked Nov 15 '22 04:11

Jean-Philippe Pellet


1 Answers

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.

like image 142
Jean-Philippe Pellet Avatar answered Dec 07 '22 22:12

Jean-Philippe Pellet