I am rendering a document that has FO links such as:
<basic-link external-destination="url('http://www.preplogic.com')">
If I use the basic org.apache.fop.apps.Fop conversion, the
resulting document has a working link - cool!
If instead I try to configure a driver like this:
Driver driver = new Driver(); // org.apache.fop.apps.Driver
driver.setRenderer(Driver.RENDER_PDF);
Map rendererOptions = new java.util.HashMap();
rendererOptions.put("allowCopyContent", "FALSE");
rendererOptions.put("allowEditContent", "FALSE");
rendererOptions.put("allowPrint", "TRUE");
driver.getRenderer().setOptions(rendererOptions);
The document looks ok but the links are now gibberish!!
With the same program but without setOptions( rendererOptions )
the links are correct.
Is there any way I can set options for the final PDF document
while still having working links?
Bill
--
Java Goodies at http://www.wbrogden.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]