Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display pdf file as individual pages

 
Bhargav N Balasubrahmanya
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Bhargav NB",
Please check your private messages regarding an important administrative matter.
-Ben
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic