]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #48376:
authorChris Bowditch <cbowditch@apache.org>
Thu, 7 Jan 2010 12:07:23 +0000 (12:07 +0000)
committerChris Bowditch <cbowditch@apache.org>
Thu, 7 Jan 2010 12:07:23 +0000 (12:07 +0000)
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

src/java/org/apache/fop/render/afp/extensions/AFPExtensionHandler.java
status.xml

index c487b18258c24d1d5d71c7efefd6de9b99206c82..254b68f1f8858ba6fd73148e976fce9117016d5f 100644 (file)
@@ -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)) {
index 88827e8d34ae33fbb9a015a7f2045d250ea7e6a6..c0833f405fe975a1851bdee130c74fe66f2fd121 100644 (file)
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
-      <action context="Renderers" dev="CB" type="fix" fixes-bug="48456">
+      <action context="Renderers" dev="CB" type="fix" fixes-bug="48376" due-to="Venkat Reddy">
+        Bugfix: AFP Renderer: Page Overlays not generated when using Intermediate Format
+      </action>          
+         <action context="Renderers" dev="CB" type="fix" fixes-bug="48456">
         Bugfix: AFP Renderer: Underline is incorrectly placed when reference-orientation != 0
       </action>
       <action context="Renderers" dev="CB" type="fix" fixes-bug="48453">