|PDF-Documents [message #41545]
||Fri, 10 August 2007 21:50
Originally posted by: u.geerds.t-online.de|
Hi to everyone,
i want to create PDF-Documents (reports) from a RAP based application. In
a normal application I would create a FileDialog to save the report in a
file or save the report in a temporary file and display the document via
Can anybody tell me, how i solve the problem? It is possible to create
PDF-Documents with RAP and display it to the user?
|Re: PDF-Documents - source? [message #43003 is a reply to message #41585]
||Wed, 22 August 2007 18:48
Originally posted by: paulo.b.abreu.criticalsoftware.com|
i am trying to do the same but with no success. Would it be possible for
you to give the source code of your implementation?
Uwe Geerds wrote:
> Hi Benjamin,
> many thanks. It works!
> Excuse me please, but i described my problem very to easy. I used iText
> in a couple of projects - private and at my job - and i made only good
> experiences with this library. In one project my plugin creates a
> documentation with more than 600 pages and more than 20.000 internal
> links. The library is very easy to use, is good documented and i found
> no errors. If you or others need more information, you can buy the book
> "iText in Action".
> Back to my problem. I solved it via brower-widget and a implementation
> of the extension org.eclipse.equinox.http.registry.servlets. In the
> servlet class i set only the return type to "text/pdf" and write the
> document from the session into the servlet stream. That's it. Very simple.
> Greetings and thank's to you. Uwe
Powered by FUDForum
. Page generated in 0.02345 seconds