xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: [OT] AWTRenderer defaults (Magnification & Zoom)?
Date Mon, 21 Apr 2003 15:14:41 GMT
Oleg,

Oleg Tkachenko wrote:
> Clay Leeds wrote:
>> AWT viewer Defaults I want to change:
>> - Magnification/Zoom: 150%
>> - Window: Maximized
> 
> Well, in the future we might choose how to deal with it - or through
> properties or by saving state on AWT viewer exit.
> And now you can tweak it yourself - see PreviewDialog constructor:
> 
> Change this
> this.setSize(new Dimension(379, 476));
> to whatever size (or maximize).
> 
> Change this:
> scale.setSelectedItem("100");
> renderer.setScaleFactor(100.0);
> to
> scale.setSelectedItem("150");
> renderer.setScaleFactor(150.0);

I haven't done any JAVA programming yet. I've only interacted with FOP
and JAVA through the command line. Forgive my ignorance, but where would
one make these changes?

-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message