]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added stackedBy FONode reference
authorPeter Bernard West <pbwest@apache.org>
Tue, 3 Sep 2002 03:35:04 +0000 (03:35 +0000)
committerPeter Bernard West <pbwest@apache.org>
Tue, 3 Sep 2002 03:35:04 +0000 (03:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195146 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/fo/expr/PropertyTriplet.java

index 661890624dd25d0c6415b81991d86412573e2cad..e395537308b569613934d884b00162365304659a 100644 (file)
@@ -2,6 +2,7 @@ package org.apache.fop.fo.expr;
 
 import org.apache.fop.fo.PropertyConsts;
 import org.apache.fop.fo.PropNames;
+import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.expr.PropertyException;
 
 /**
@@ -34,6 +35,8 @@ public class PropertyTriplet {
     private String expression;
     private boolean wasSpecified;
 
+    private FONode stackedBy = null;
+
     public PropertyTriplet() {
         // PropertyValues and expression are null
     }
@@ -191,6 +194,14 @@ public class PropertyTriplet {
         return actual.getProperty();
     }
 
+    public FONode getStackedBy() {
+        return stackedBy;
+    }
+
+    public void setStackedBy(FONode stackedBy) {
+        this.stackedBy = stackedBy;
+    }
+
     public String toString() {
         String tmpstr = "Specified: ";
         if (specified != null) tmpstr += specified.toString();
@@ -204,6 +215,9 @@ public class PropertyTriplet {
         tmpstr += "\nActual: ";
         if (actual != null) tmpstr += actual.toString();
         else tmpstr += "null";
+        tmpstr += "\nStacked by: ";
+        if (stackedBy != null) tmpstr+= stackedBy.id;
+        else tmpstr += "null";
         tmpstr += "\n";
         return tmpstr;
     }