aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java b/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java
index c487b1825..254b68f1f 100644
--- a/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java
+++ b/src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java
@@ -90,6 +90,12 @@ public class AFPExtensionHandler extends DefaultHandler
throw new SAXException("Invalid URI: " + src, e);
}
this.returnedObject = formMap;
+ } else if (AFPElementMapping.INCLUDE_PAGE_OVERLAY.equals(localName)) {
+ this.returnedObject = new AFPPageOverlay();
+ String name = lastAttributes.getValue("name");
+ if (name != null) {
+ returnedObject.setName(name);
+ }
} else {
AFPPageSetup pageSetupExtn = null;
if (AFPElementMapping.INVOKE_MEDIUM_MAP.equals(localName)) {