When you say "open" are you trying to have it render in the application or use 
their system default for viewing the file?


Jason Dorsey | Engineering Intern
1233 West Loop South
Houston, TX 77027 USA
[email protected]<mailto:[email protected]>
www.attachmate.com<http://www.attachmate.com>  |  
www.netiq.com<http://www.netiq.com>



From: Camilo Casadiego [mailto:[email protected]]
Sent: Thursday, March 01, 2012 9:34 AM
To: [email protected]
Subject: RE: Pivot pdf viewer

Actually the option were I let the user select the renderer its OK, i want 
something like it works in most webpages that the system asks you if you want 
to open or store the file...any idea how can achieve this on pivot?


Cordialmente,

[::::ADV_Logo_CMYK300_Color.png]

Camilo Casadiego Espitia
Arquitecto de SW
* + 57 1 6393000
* [email protected]<mailto:[email protected]>
* http://www.adv.com.co<http://www.adv.com.co/>
Carrera 11 No. 93 - 53 P7
Bogotá - Colombia



De: Sandro Martini [mailto:[email protected]]
Enviado el: Thursday, March 01, 2012 9:00 AM
Para: [email protected]
Asunto: Re: Pivot pdf viewer

Hi Camilo,
I'm sorry, haven't direct experience on displaying PDF from Java (only 
generating them in many ways :-) ), but I can suggest you some tests:
- PDF-Renderer, from http://java.net/projects/pdf-renderer/
- PDFBox, from Apache: http://pdfbox.apache.org , it should have even the 
ability to transform a PDF in an image (don't know it single page, or even 
multi-page), take a look here: 
http://pdfbox.apache.org/commandlineutilities/PDFToImage.html
- iText ( http://itextpdf.com/ ), everything on PDF but not for display ... but 
maybe it has something to render it to an image ...
  -- wait a moment, maybe the following example could help: 
http://itextpdf.com/examples/iia.php?id=259

- there are many others (most on generation/parsing), but really open-source I 
think not-so-much, take a look even here for a list:
http://java-source.net/open-source/pdf-libraries

- and as last option (but of course not so platform independent), in your 
application let the user set the command to execute the desired PDF Viewer ...


Note that probably all Java libraries use Swing as a graphics backend (amd 
maybe someone even with for SWT), so I think it will be better to handle it in 
a different window.


Keep us updated ...


Bye

2012/3/1 Camilo Casadiego 
<[email protected]<mailto:[email protected]>>
Hi there, I have a doubt...In the server side of my application I generate a 
pdf file and then I sent such file to the client through a webservice 
interface...How can I show this pdf or excel file ebbed into the pivot client


Cordialmente,

[::::ADV_Logo_CMYK300_Color.png]

Camilo Casadiego Espitia
Arquitecto de SW
* + 57 1 6393000<tel:%2B%2057%201%206393000>
* [email protected]<mailto:[email protected]>
* http://www.adv.com.co<http://www.adv.com.co/>
Carrera 11 No. 93 - 53 P7
Bogotá - Colombia




<<inline: image001.png>>

Reply via email to