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 pb...@apache.org on 2002/09/03 05:35:04 UTC

cvs commit: xml-fop/src/org/apache/fop/fo/expr PropertyTriplet.java

pbwest      2002/09/02 20:35:04

  Modified:    src/org/apache/fop/fo/expr Tag: FOP_0-20-0_Alt-Design
                        PropertyTriplet.java
  Log:
  Added stackedBy FONode reference
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +16 -2     xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyTriplet.java
  
  Index: PropertyTriplet.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyTriplet.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- PropertyTriplet.java	27 Aug 2002 15:25:15 -0000	1.1.2.2
  +++ PropertyTriplet.java	3 Sep 2002 03:35:04 -0000	1.1.2.3
  @@ -2,6 +2,7 @@
   
   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 @@
       private String expression;
       private boolean wasSpecified;
   
  +    private FONode stackedBy = null;
  +
       public PropertyTriplet() {
           // PropertyValues and expression are null
       }
  @@ -191,6 +194,14 @@
           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();
  @@ -203,6 +214,9 @@
           else tmpstr += "null";
           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;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org