Manuel Mall wrote:
If we want to use the
encryption within FOP we would need to be able to set the owner password
before each individual run. Is that possible?

Roughly like Renderer renderer=new PDFRenderer(); HashMap options = new HashMap(); options.put("ownerPassword","secret"); renderer.setOptions(options); Driver driver = new Driver( new InputSource(new FileInputStream("foo.fo")), httpres.getOutputStream()); driver.setRenderer(renderer); driver.run();

(Untested, beware)

Youcan find the options names in CommandLineOptions.java in the source
distribution.

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]



Reply via email to