View PDF [message #14843] |
Fri, 30 March 2007 16:03 |
Eclipse User |
|
|
|
Originally posted by: rhernandez_64.hotmail.com
I use iText for write PDF's and JPedal to view, How i can do to view PDF
into a Dialog, i use Browser widget and setData(pdfDecoder) and not show
pdf.
Which widget can i use
|
|
|
Re: View PDF [message #14872 is a reply to message #14843] |
Fri, 30 March 2007 20:37 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Rafael,
Rafael Hernandez schrieb:
> I use iText for write PDF's and JPedal to view, How i can do to view PDF
> into a Dialog, i use Browser widget and setData(pdfDecoder) and not show
> pdf. Which widget can i use
I guess no one of us has tried this yet, but actually you can watch PDFs
in the RWT browser widget, given that your browser has PDF support. You
can try it out in the controls demo. Just enter a URL that links to a
PDF file, such as http://www.cs.umanitoba.ca/~eclipse/11-JFace.pdf.
However, setData() will never make a widget do anything. It's just there
to store application-specific data in a widget. You should use the
setUrl() method to point the browser widget to the PDF file. You will
probably have to provide another servlet that delivers the PDF.
Ralf
|
|
|
Re: View PDF [message #14900 is a reply to message #14872] |
Fri, 30 March 2007 21:05 |
Eclipse User |
|
|
|
Originally posted by: rhernandez_64.hotmail.com
Thanks a lot
Where put my pdf file in rap directory and how config that directory to
view in my browser
|
|
|
|
Powered by
FUDForum. Page generated in 0.03039 seconds