diff options
author | Chris Bowditch <cbowditch@apache.org> | 2010-01-07 12:07:23 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2010-01-07 12:07:23 +0000 |
commit | 6001e940eef4e6e3ded00baef6e323d1e269041a (patch) | |
tree | 761b2a8a4ecf34e726fc827e9cb4eed2d1de3b00 /src | |
parent | 59cf5844fee1fc289eefa96ca86c5e59aa7ca98a (diff) | |
download | xmlgraphics-fop-6001e940eef4e6e3ded00baef6e323d1e269041a.tar.gz xmlgraphics-fop-6001e940eef4e6e3ded00baef6e323d1e269041a.zip |
Bugzilla #48376:
Bugfix in AFP output: Page Overlay not generated when using IF
Submitted by: Venkat Reddy <dvanukuri.venkat.at.googlemail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@896856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java | 6 |
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)) { |