diff options
author | Jeremias Maerki <jeremias@apache.org> | 2009-02-20 14:18:58 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2009-02-20 14:18:58 +0000 |
commit | 863f9e143a65ce4f4335d9dcde55bbbb90bc4502 (patch) | |
tree | be82125a88d82542823c2d5c6fed351fc3061e25 /src/java/org/apache/fop/apps/Fop.java | |
parent | 223eb5df1f7597ac5269eb8dce45b6a7450144b8 (diff) | |
download | xmlgraphics-fop-863f9e143a65ce4f4335d9dcde55bbbb90bc4502.tar.gz xmlgraphics-fop-863f9e143a65ce4f4335d9dcde55bbbb90bc4502.zip |
JavaBeanified FOUserAgent.accessibilityEnabled().
Moved accessibility initialization out of PDFRenderingUtil because PDFRenderer doesn't support accessibility and both the new and old implementation use this class.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@746248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/Fop.java')
-rw-r--r-- | src/java/org/apache/fop/apps/Fop.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/apps/Fop.java b/src/java/org/apache/fop/apps/Fop.java index e5927fdba..9dfa70325 100644 --- a/src/java/org/apache/fop/apps/Fop.java +++ b/src/java/org/apache/fop/apps/Fop.java @@ -111,7 +111,7 @@ public class Fop { if (foTreeBuilder == null) { createDefaultHandler(); } - if (this.foUserAgent.accessibilityEnabled()) { + if (this.foUserAgent.isAccessibilityEnabled()) { return AccessibilityUtil.decorateDefaultHandler(this.foTreeBuilder, foUserAgent); } else { return this.foTreeBuilder; |