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);
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
We haven't deployed the updated documentation on the web, yet, but you
can find it here in raw format:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/content/xdocs/trunk/accessibility.xml?view=markup
Basically, you have to do:
userAgent.setAccessibility(true);
HTH
On