Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Render HTML
Render HTML [message #692364] Mon, 04 July 2011 05:36 Go to next message
Eclipse UserFriend
Hi,

I'm interested in displaying HTML text in an app I have that doesn't use
SWT. Is there a way I can use SWT's WebKit integration to ask it to
render the text in an image that I can reuse?

TIA,
J.-P.
Re: Render HTML [message #692959 is a reply to message #692364] Tue, 05 July 2011 10:41 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I don't think there's a way to do this, the webkit natives that swt
binds to are those that are needed specifically for its provision of the
Browser control. You can investigate whether webkit provides the
natives that you need, and if so then bind directly to it (not through
swt). I don't remember seeing these, but it's possible that they're
there and I just ignored them if they weren't useful for the Browser
implementation.

Grant


On 7/4/2011 5:36 AM, J.-P. Pellet wrote:
> Hi,
>
> I'm interested in displaying HTML text in an app I have that doesn't use
> SWT. Is there a way I can use SWT's WebKit integration to ask it to
> render the text in an image that I can reuse?
>
> TIA,
> J.-P.
Re: Render HTML [message #693503 is a reply to message #692959] Wed, 06 July 2011 11:23 Go to previous message
Eclipse UserFriend
Hi Grant,

Thanks for your comments. I abandoned this track and went for Flying
Saucer instead: http://code.google.com/p/flying-saucer/

Granted, the capabilities are much more limited, but enough for my use case.

Cheers,
J.-P.

On 05.07.11 16:41, Grant Gayed wrote:
> Hi,
>
> I don't think there's a way to do this, the webkit natives that swt
> binds to are those that are needed specifically for its provision of the
> Browser control. You can investigate whether webkit provides the natives
> that you need, and if so then bind directly to it (not through swt). I
> don't remember seeing these, but it's possible that they're there and I
> just ignored them if they weren't useful for the Browser implementation.
>
> Grant
Previous Topic:Pls help! How to add a checkbox on the tableheader?
Next Topic:Double Scale SWT
Goto Forum:
  


Current Time: Sat Jul 05 05:43:48 EDT 2025

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

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

Back to the top