I wonder if what he actually wants to use are footnotes. Won't those
grow in the manner that he desires?
Glen
Jeremias Maerki wrote:
Chapter 6.4.15 (region-after) in XSL 1.0 says:
"The block-progression-dimension of the region-viewport-area is
determined by the extent trait on the fo:region-after formatting object."
That means that the height of the region-after must be fixed and is
given by the extent property. So, there's no way that the region-after
can grow dynamically based on its content.
What you can do however, is render the content for the region-after as
part of the flow and measure its height. You can do that by rendering to
the area tree XML (-at on the command-line) and inspect the generated
XML file. I don't think that will work satisfyingly with 0.20.5. You
would have to upgrade to the latest version for that. Once you have the
dynamic height you can use that value in a second run in the extent
property of region-after. Not a very convenient approach but it can work.
On 17.04.2006 10:47:23 Guenter Bertels wrote:
hallo,
i use fop 0.20.5
and i want that the height of the region-after is dynamic.
I definde the region in this way.
<fo:region-after extent="0.5cm" overflow="auto"/>
I dont know exactly how much content came into the footer
Is ther any way to fit the height of the footer to the content?
Sorry for my bad english, i hope you understand what i want.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]