Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display pdf file as individual pages

 
Bhargav N Balasubrahmanya
Greenhorn
Posts: 8
  • 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
Posts: 42967
73
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Bhargav NB",
Please check your private messages regarding an important administrative matter.
-Ben
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic