xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Tkachenko <ol...@multiconn.com>
Subject Re: [OT] AWTRenderer defaults (Magnification & Zoom)?
Date Sat, 19 Apr 2003 11:46:58 GMT
Clay Leeds wrote:

> I apologize for this off-topic question, but I spent 5 whole minutes of
> unsuccessful searching (Google came back with 19 results for "java
> awtrenderer default") and figured perhaps someone here might have the
> answer.
> Every time I output FOP to AWT for testing, I have to change the
> magnification to 150% and then Maximize the window. It isn't really a
> big deal, but I'd love to set this as a default and be done with it. Is
> it possible to set AWTRenderer defaults for magnification/zoom and
> window maximization (my guess is that this would be relatively easy if I
> were using a servlet or some other Java App, but I'm working from the
> Command Line)?
> 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:

Oleg Tkachenko
Multiconn Technologies, Israel

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

View raw message