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 je...@apache.org on 2005/01/12 12:55:57 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo/flow BlockContainer.java

jeremias    2005/01/12 03:55:57

  Modified:    src/java/org/apache/fop/fo/flow BlockContainer.java
  Log:
  Provide public access to width/height.
  
  Revision  Changes    Path
  1.34      +16 -6     xml-fop/src/java/org/apache/fop/fo/flow/BlockContainer.java
  
  Index: BlockContainer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/BlockContainer.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- BlockContainer.java	24 Dec 2004 12:06:26 -0000	1.33
  +++ BlockContainer.java	12 Jan 2005 11:55:57 -0000	1.34
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 1999-2004 The Apache Software Foundation.
  + * Copyright 1999-2005 The Apache Software Foundation.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
  @@ -18,9 +18,6 @@
   
   package org.apache.fop.fo.flow;
   
  -// Java
  -import java.util.List;
  -
   import org.apache.fop.apps.FOPException;
   import org.apache.fop.datatypes.Length;
   import org.apache.fop.datatypes.Numeric;
  @@ -32,7 +29,6 @@
   import org.apache.fop.fo.properties.CommonMarginBlock;
   import org.apache.fop.fo.properties.KeepProperty;
   import org.apache.fop.fo.properties.LengthRangeProperty;
  -import org.apache.fop.layoutmgr.BlockContainerLayoutManager;
   
   /**
    * Class modelling the fo:block-container object.
  @@ -183,10 +179,24 @@
       }
   
       /**
  -     * Return the "writing-mode" property.
  +     * @return the "writing-mode" property.
        */
       public int getWritingMode() {
           return writingMode;
  +    }
  +    
  +    /**
  +     * @return the width property
  +     */
  +    public Length getWidth() {
  +        return width;
  +    }
  +
  +    /**
  +     * @return the height property
  +     */
  +    public Length getHeight() {
  +        return height;
       }
   
       /**
  
  
  

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