diff options
author | Karen Lease <klease@apache.org> | 2000-11-10 22:04:44 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2000-11-10 22:04:44 +0000 |
commit | 07d8b132b3aa0f7f686e8e8e1cde610c3cc3157b (patch) | |
tree | c0e375d26fe0ebe89f0682fc8ef5abe599ebc8ae | |
parent | 83a0f66fb884afe3a6941102f176ddeea9dc6cfa (diff) | |
download | xmlgraphics-fop-07d8b132b3aa0f7f686e8e8e1cde610c3cc3157b.tar.gz xmlgraphics-fop-07d8b132b3aa0f7f686e8e8e1cde610c3cc3157b.zip |
Add parent FO argument when building property lists
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193767 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/org/apache/fop/fo/FOTreeBuilder.java | 5 | ||||
-rw-r--r-- | src/org/apache/fop/fo/SVGTreeBuilder.java | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/FOTreeBuilder.java b/src/org/apache/fop/fo/FOTreeBuilder.java index 4d25bc546..05b317d12 100644 --- a/src/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/org/apache/fop/fo/FOTreeBuilder.java @@ -264,9 +264,10 @@ public class FOTreeBuilder extends DefaultHandler implements TreeBuilder { PropertyList list = null; if(currentListBuilder != null) { list = currentListBuilder.makeList(fullName, attlist, - (currentFObj == null) ? null : currentFObj.properties); + (currentFObj == null) ? null : currentFObj.properties, + currentFObj); } - fobj = fobjMaker.make(currentFObj, list); + fobj = fobjMaker.make(currentFObj, list); } catch (FOPException e) { throw new SAXException(e); } diff --git a/src/org/apache/fop/fo/SVGTreeBuilder.java b/src/org/apache/fop/fo/SVGTreeBuilder.java index 4a9091c29..efd8e752b 100644 --- a/src/org/apache/fop/fo/SVGTreeBuilder.java +++ b/src/org/apache/fop/fo/SVGTreeBuilder.java @@ -272,7 +272,7 @@ public class SVGTreeBuilder extends DefaultHandler implements TreeBuilder { PropertyList list = null; if(currentListBuilder != null) { list = currentListBuilder.makeList(fullName, attlist, - (currentFObj == null) ? null : currentFObj.properties); + (currentFObj == null) ? null : currentFObj.properties, currentFObj); } fobj = fobjMaker.make(currentFObj, list); } catch (FOPException e) { |