You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Aelxander <su...@mail.ru> on 2008/02/04 20:04:53 UTC
fop-0.94 default config file
Hello.
What configuration file fop is using by default?
I want to avoid -c option usage, when i running fop.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fop-0.94 default config file
Posted by Andreas Delmelle <an...@telenet.be>.
On Feb 4, 2008, at 20:04, Aelxander wrote:
Hi
> What configuration file fop is using by default?
None. FOP loads no config file, unless when you tell it to.
> I want to avoid -c option usage, when i running fop.
If you want to avoid the -c command-line option *and* override
default settings, you have only little options.
Either hack FOP and change the defaults in
org.apache.fop.apps.FOUserAgent and .FopFactory (bad!),
or write a very simple Java wrapper around the FOP process, based on
one of the examples referenced at
http://xmlgraphics.apache.org/fop/0.94/embedding.html#examples.
You can then configure FOP programmatically to override the default
values, as described at
http://xmlgraphics.apache.org/fop/0.94/embedding.html#config-internal
HTH!
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org