diff options
author | Manuel Mall <manuel@apache.org> | 2006-07-10 14:32:07 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2006-07-10 14:32:07 +0000 |
commit | d2eef709227c58e0eb1caa19a69d1ee4501d0f49 (patch) | |
tree | 8733c5a0cdd37920952aa0c46462e90a8f31e6e9 /src/java/org/apache/fop/cli | |
parent | d64831107b61a5cb223cdb18e7a5751cf86cdd9e (diff) | |
download | xmlgraphics-fop-d2eef709227c58e0eb1caa19a69d1ee4501d0f49.tar.gz xmlgraphics-fop-d2eef709227c58e0eb1caa19a69d1ee4501d0f49.zip |
Some config file settings were not correctly set in FOUserAgent when invoked from command line
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@420543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/cli')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index efa3daa18..fb93a060e 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -136,6 +136,9 @@ public class CommandLineOptions { } checkSettings(); createUserConfig(); + if (factory.getUserConfig() != null) { + foUserAgent.configure(factory.getUserConfig()); + } addXSLTParameter("fop-output-format", getOutputFormat()); addXSLTParameter("fop-version", Version.getVersion()); } |