If you mean convert the content of the screen to PDF, basically you
can not, but perhaps you can use this  workaround
1.- Convert the content of the document to text: String content =
Document.getBody.toString();
2.- Send the content to the server
3.- Convert Html to Pdf in the server
4.- Return the file setting the adequate content-type to the response

There is another problem to receive the file and ask the user to
save/open it, so you need a html anchor with a src set to a hidden
iframe.


-Manolo



On Wed, Jun 2, 2010 at 10:10 PM, Anky <[email protected]> wrote:
> Hi All,
>
> Is there any way to download a GWT widget in PDF format?
>
> Thanks,
> Anky
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to