[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: Rendering accessible PDF from Java
From: Simon Pepping <spepping () leverkruid ! eu>
Date: 2009-12-11 7:39:27
Message-ID: 20091211073927.GD3825 () leverkruid ! eu
[Download RAW message or body]
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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic