Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Control Zoom of shown pdf file on client side

 
sandeep kale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All!
I am showing p.d.f. file in browser.But the zoom percentile is varying for each file.
I want to keep it by default to a fixed size.
Can I do this. Please advise me.
Thanks in advance.
Bye
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there and welcome to Javaranch!

Firstly it is Javaranch policy to have a 'real' firt and last name as your screen name, so please do take time to change this.

Secondly, I can't see how this is a Struts question? Please post questions in the correct forum (A staff member will move this eventually).

Now onto your Q:

Are you simply viewing a PDF from a file system? Loading it from Java?
 
sandeep kale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am showing jasper report in p.d.f. format on browser i.e. am writing pdf
stream to s.e.r.v.l.e.t. Output Stream.Now issue is that stream on client browser is having different zooming percentile.I just want to have a fixed zoom percentage for the stream. Thank you.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I don't know enough about JasperReports and PDF display to help you. Hopefully someone else can chime in. It might be a case of the client dictating what the zoom percentage is, which in that case there is very little you can do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic