0

I am testing out XSL-FO with a FO-processor for .NET. The FOP i am using is Ecrion.

If i have a table being populated by dynamic data from a data source on page 1 and beneath that table there is another static table on the same page. I want the dynamic table to continue on the next page if it stretches down to the static one (because of the number of items in the list that populates the table).

The behavior that I'm getting is that the dynamic table pushes down the static one resulting it to be rendered after the last row on the next page.

My question is: How can I make the layout behave so that the dynamic table (placed first on page 1, right before the static table) continues on the next page without pushing the static table down with it?

I have made som mocks that describes what I want and what I actually get:

This picture describes the behavior that I demand: What i want

And this picture describes the behavior that i get: enter image description here

4

2 回答 2

2

另一个答案是好的,但只有当您为此页面与其他页面有不同的页面模板时,页脚才会起作用。如果您有一个用于“first”的区域之后,这没关系,并且这只发生在“first”上。

一个更好的解决方案是将您希望的表格放在脚注的底部。

于 2013-10-12T06:26:46.970 回答
1

您可以将包含静态数据的表格放在页脚区域而不是正文区域。创建一个包含静态数据的页脚,并创建一个使用此页脚的 page-sequence-master。这样您就可以在普通页面(页脚中没有表格)和特殊页面(页脚中有表格)之间切换。

于 2013-10-11T11:43:24.093 回答