It would be easier to answer if you were to send an example of what you get and what you would like to get instead. But it looks like you should be able to handle that with table-markers.

On 6/3/15 9:44 PM, Fernando Israel wrote:
Hi All,

Here is the background to my question.

We have been using FOP for a few years to generate PDF output. The FOP stylesheet includes blocks with text and images, and a table. Every block above the table is always absolute positioned. Blocks beneath the table are relative positioned -i.e. space-before and start-indent so that they respect the distance from the bottom of the table.

The number of rows in the table varies, so when the table height is such that it needs to spill over a second page, it does it well, and all the blocks beneath it keep the original distance from the bottom of the table and are also in the second page.

Now we are trying to introduce headers and footers -i.e. region-before and region-after in the simple-page-master, and added corresponding margins top and bottom to the region-body. It works well !

The issue is in situations where the table height pushes the elements beneath (relative positioned) to the second page. In this case, this blocks can appear on the second page, and overlap with the second page header.

Is there an attribute/flag we are missing that will force the blocks spilling over to the second page to respect the header and will not overlap with it ?

Thank you very much in advance !

Fernando


Reply via email to