File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Display pdf file as individual pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Display pdf file as individual pages" Watch "Display pdf file as individual pages" New topic
Author

Display pdf file as individual pages

Bhargav N Balasubrahmanya
Greenhorn

Joined: May 28, 2008
Posts: 8
Hi, i'm using a faces portlet and i want to display a pdf file in the page.
This is accomplished using an iframe and getting the pdf. When i use an iframe, i get all the usuall options of save, print, search etc all of which was not required and i removed them using styles so that the jsf page would contain only the 'actuall content' of the pdf.

But now, i want the pdf contents to be displayed to the user one page at a time with the Next and Prev options provided by me somewhere in the jsf page, so that he can view the rest of the pages.

How do i read and display the contents of the pdf one page at a time in java?

Thanks
Bhargav
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
Did you check out what I suggested in this thread? If it doesn't do what you need done, tell us about it.

Also, please check your private messages like you were asked to do. Accounts without valid display names are generally closed.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Bhargav NB",
Please check your private messages regarding an important administrative matter.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display pdf file as individual pages