diff options
Diffstat (limited to 'src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java')
-rw-r--r-- | src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java b/src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java index 699fd0549..c0060ab8e 100644 --- a/src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java +++ b/src/java/org/apache/fop/render/intermediate/IFSerializerMaker.java @@ -31,6 +31,9 @@ public class IFSerializerMaker extends AbstractIFDocumentHandlerMaker { public IFDocumentHandler makeIFDocumentHandler(FOUserAgent ua) { IFSerializer handler = new IFSerializer(); handler.setContext(new IFContext(ua)); + if (ua.isAccessibilityEnabled()) { + ua.setStructureTreeEventHandler(handler.getStructureTreeEventHandler()); + } return handler; } |