I have these set in <fo:layout-master-set>
tag
<fo:region-body margin-top="5cm" margin-bottom="2cm"/>
<fo:region-before extent="5cm"/>
<fo:region-after extent="1.5cm"/>
I have a table declared in region-before
. This is to make it repeat across every page when generated in pdf. This table's height is dynamic but the number of rows (5) are fixed. Hence, my margin-top
also needs to be a variable.
How do I get the final height of the table in region-before
, put it in a variable and transfer it over to region-body
's margin-top?