You can look in org.apache.fop.cli.CommandLineOptions.parseOptions() and its caller parse() to see what the command line does with the option. The relevant lines here are probably:
this.renderingOptions.put(Accessibility.ACCESSIBILITY, Boolean.TRUE); foUserAgent.getRendererOptions().putAll(renderingOptions); which is something which you can do in your own code as well. Simon On Wed, Dec 09, 2009 at 09:59:51AM -0700, Gregory Buchenberger wrote: > I am working on a Java desktop app that uses FOP trunk. Using the > command line I can run FOP with the -a option to render an accessible > (tagged) PDF. How do I set the option in Java? I've looked at the > methods of FopFactory and FOUserAgent, but can't find one. Any help > would be greatly appreciated. -- Simon Pepping home page: http://www.leverkruid.eu --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org