xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MARTIN Franck" <franck.mar...@c-s.fr>
Subject Awt for print preview
Date Tue, 14 May 2002 15:21:06 GMT
I'm trying to use the awt rendering in order to provide the user with a
print preview but i can't figure out how fop works with awt.

I have stumble upon a sample code but i don't understand what is
"translator":

driver.setRenderer(new
org.apache.fop.render.awt.AWTRenderer(translator));
driver.buildFOTree(parser, fileInputSource(args[0]));
driver.format();
driver.render();

Please help!

Franck


Mime
View raw message