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 ar...@apache.org on 2001/01/04 04:26:55 UTC

cvs commit: xml-fop/src/org/apache/fop/layout BodyAreaContainer.java

arved       01/01/03 19:26:55

  Modified:    src/org/apache/fop/layout BodyAreaContainer.java
  Log:
  Handle basic links in multi-column
  
  Revision  Changes    Path
  1.2       +8 -1      xml-fop/src/org/apache/fop/layout/BodyAreaContainer.java
  
  Index: BodyAreaContainer.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/BodyAreaContainer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BodyAreaContainer.java	2000/12/18 03:31:16	1.1
  +++ BodyAreaContainer.java	2001/01/04 03:26:54	1.2
  @@ -1,4 +1,4 @@
  -/*-- $Id: BodyAreaContainer.java,v 1.1 2000/12/18 03:31:16 arved Exp $ -- 
  +/*-- $Id: BodyAreaContainer.java,v 1.2 2001/01/04 03:26:54 arved Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -373,5 +373,12 @@
   	public boolean isNewSpanArea()
   	{
   		return isNewSpanArea;
  +	}
  +	
  +	public AreaContainer getCurrentColumnArea()
  +	{
  +		Vector spanAreas = this.mainReferenceArea.getChildren();
  +		SpanArea spanArea = (SpanArea)spanAreas.elementAt(spanAreas.size()-1);
  +		return spanArea.getCurrentColumnArea();		
   	}
   }