Hi everyone !!!
I have been trying all day long to place a block at the end of the region
before, but I haven't acieved it... I've read the FOP manual and FAQs, but
there's nothing that seems to help me...
Here is what I want to do:
+--------------------+
| region-before |
| |
|+----------+ |
|| | |
|| block_1 | |
|+----------+ |
| |
| |
|+----------+ |
|| | |
|| block_2 | |
|+----------+ |
+--------------------+
The block_1 block, is not a fix one, it can change the number of lines in it,
and I must let de block_2 block fixed whatever happens in the region...
And here is a sample of my code:
...
<fo:simple-page-master master-name="invoice"
page-height="29.7cm" page-width="21cm"
margin-top="0.5cm"
margin-bottom="0.5cm" margin-left="0.5cm" margin-right="0.5cm">
<fo:region-body margin-top="10.8cm"
margin-bottom="5.2cm" region-name="body"/>
<fo:region-before extent="10cm"
region-name="header"/>
<fo:region-after extent="4.9cm"
region-name="footer"/>
</fo:simple-page-master>
...
<fo:block font-size="9pt" position="absolute" left="4cm"
top="8cm" width="12cm" height="2cm">
<fo:table table-layout="fixed" border-style="solid">
<fo:table-column column-width="2.1cm"/>
...
And what gives me the code above is:
+--------------------+
| region-before |
| |
|+----------+ |
|| | |
|| block_1 | |
|+----------+ |
|+----------+ |
|| | |
|| block_2 | |
|+----------+ |
| |
| |
+--------------------+
Can somebody help me. If I have not seen what I want and it's in the docs,
please let me know...
TIA
TY:
Emmanuel Cuevas
Senior Developer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]