You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Harshini Madurapperuma <ha...@ifs.lk> on 2007/05/08 12:59:16 UTC

How to get the spaceLeft in the foFlow area??

Hi all;
 
I have this whole page height, after deducting the page footer and the page
header heights the remaining part will be the foFlow area. After adding data
to the foFlow area is there a way to calculate the remaining part in the
foFlow. I need to know this because some of my data in the foFlow is
propagating into the pageFooter.

 

In fop Area.java class there is a method to calculate the space left.

 

public int spaceLeft() {

        return maxHeight - currentHeight ;

    }

 

How can I use this to calculate the space left in FoFlow?

 

Regards 
/ Harshini.