You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by jo...@locus.apache.org on 2000/07/05 22:26:22 UTC
cvs commit: xml-fop/src/org/apache/fop/fo FONode.java
jordan 00/07/05 13:26:20
Modified: src/org/apache/fop/fo FONode.java
Log:
now recursively sets the linkSet so that simple-links can contain embedded children
Revision Changes Path
1.10 +6 -2 xml-fop/src/org/apache/fop/fo/FONode.java
Index: FONode.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/FONode.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- FONode.java 2000/06/18 21:05:06 1.9
+++ FONode.java 2000/07/05 20:26:19 1.10
@@ -1,4 +1,4 @@
-/*-- $Id: FONode.java,v 1.9 2000/06/18 21:05:06 fotis Exp $ --
+/*-- $Id: FONode.java,v 1.10 2000/07/05 20:26:19 jordan Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -191,7 +191,11 @@
}
public void setLinkSet(LinkSet linkSet) {
- this.linkSet = linkSet;
+ this.linkSet = linkSet;
+ for (int i = 0; i < this.children.size(); i++) {
+ FONode child = (FONode) this.children.elementAt(i);
+ child.setLinkSet(linkSet);
+ }
}
public LinkSet getLinkSet() {