Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » HTML RTF Editor
HTML RTF Editor [message #465386] Mon, 12 December 2005 13:29 Go to next message
Eclipse UserFriend
Originally posted by: davidyoung_2001.yahoo.co.uk

I want to be able to use a "styled text" type input and then be able to
output the text as either RTF or HTML format - are there any standard SWT
widgets to do this or am I going to have to code myself.

I basically want to support bold, italic, underline, bullet (normal and
numbered), indent, justify, center etc.

Is there anything out there I can use?
Re: HTML RTF Editor [message #465392 is a reply to message #465386] Mon, 12 December 2005 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hsk2840.gmail.com

> Is there anything out there I can use?

Couldn't find one either, so I coded my own that supports font, bold,
italics, underline, strikethrough, forecolor and backcolor. Let me know if
you would like to see an example.
Re: HTML RTF Editor [message #465397 is a reply to message #465392] Mon, 12 December 2005 18:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: davidyoung_2001.yahoo.co.uk

would like to see an example, I couls always add the extra support I need
Re: HTML RTF Editor [message #465417 is a reply to message #465392] Mon, 12 December 2005 22:49 Go to previous messageGo to next message
Lorenz Maierhofer is currently offline Lorenz MaierhoferFriend
Messages: 88
Registered: July 2009
Member
Hi,

> Couldn't find one either, so I coded my own that supports font, bold,
> italics, underline, strikethrough, forecolor and backcolor. Let me know if
> you would like to see an example.

This is something I was looking for a long time.
Recently I was playing with open office integration for rich text
editing, but since my requirements are not high, a pure SWT/JFace
solution would be perfect.

Where could I get more information?

regards,
Lorenz
Re: HTML RTF Editor [message #465423 is a reply to message #465386] Tue, 13 December 2005 04:24 Go to previous message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
See bug 54426
and also:
http://www.eclipse.org/articles/StyledText%201/article1.html
http://www.eclipse.org/articles/StyledText%202/article2.html
http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/swt/custom/StyledText.html
http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.h tml
Previous Topic:ErrorDialog and IStatus
Next Topic:KTABLE Too Slow - Any Alternative?
Goto Forum:
  


Current Time: Tue Aug 20 14:42:06 GMT 2019

Powered by FUDForum. Page generated in 0.02188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top