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

Reply via email to