[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-cvs
Subject:    cvs commit: xml-fop/src/java/org/apache/fop/area BorderRectangle.java
From:       pbwest () apache ! org
Date:       2004-07-24 16:56:00
Message-ID: 20040724165600.68850.qmail () minotaur ! apache ! org
[Download RAW message or body]

pbwest      2004/07/24 09:56:00

  Modified:    src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design
                        BorderRectangle.java
  Log:
  Override setContenst() to trigger update of spaces
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.7   +9 -2      xml-fop/src/java/org/apache/fop/area/Attic/BorderRectangle.java
  
  Index: BorderRectangle.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/Attic/BorderRectangle.java,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- BorderRectangle.java	10 Jul 2004 16:34:15 -0000	1.1.2.6
  +++ BorderRectangle.java	24 Jul 2004 16:56:00 -0000	1.1.2.7
  @@ -22,6 +22,8 @@
   import java.awt.geom.Point2D;
   import java.awt.geom.Rectangle2D;
   
  +import org.apache.fop.area.Area.AreaGeometry;
  +
   /**
    * @author pbw
    * @version $Revision$ $Name$
  @@ -55,6 +57,11 @@
   
       public SpacesRectangle getSpaces() {
           return spaces;
  +    }
  +
  +    public void setContents(AreaGeometry contents) {
  +        super.setContents(contents);
  +        spaces.setContents(this);
       }
   
       /**
  
  
  

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic