Here's the thing, Andreas: the spec says display-align is available on
region-after, but it may be that FOP doesn't support it. Am I reading
the compliance page right?


Eric Amick
Legislative Computer Systems
Office of the Clerk

-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2008 15:13
To: [email protected]
Subject: Re: region-after set size to auto

On Jun 19, 2008, at 21:02, bonekrusher wrote:

Just FYI:

> Thanks but that didn't work. I ended up calculating the extend size 
> based on the length of the content:
>
>                       <!-- Calculate page footer size-->
>               <xsl:variable name="content-size">
>                       <xsl:value-of
select="string-length(//notices)"/>
>               </xsl:variable>

Better, in XSLT terms would be:

<xsl:variable name="content-size" select="string-length(//notices)" />

And if you don't need the content-size variable further on, just make
it:

<xsl:variable name="footer-size" select="(string-length(//notices) div
450)" />

> <snip />
> I just thought there was an easier way.

Unfortunately not. OTOH, I can't tell if this would be a feasible
alternative for you, but you might be able to achieve the same using
fo:footnotes and no region-after... If the footer information needs to
be preceded by some form of static-content, then this could be done by
means of fo:footnote-separator (?)

Maybe worth a try...

HTH!

Andreas

---------------------------------------------------------------------
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]

Reply via email to