• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Control Zoom of shown pdf file on client side

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic