fo:list-block problem

Subject: fo:list-block problem
From: "Markus Gamperl" <markus.gamperl@xxxxxx>
Date: Tue, 1 Jun 2004 15:54:41 +0200 (MEST)
Hello specialists!

I have got the follwing template:

<xsl:template match="text">
<fo:list-block provisional-distance-between-starts="20mm">
   <fo:list-item-label end-indent="label-end()">
	<fo:block font-size="{$size}">
    	 <xsl:value-of select="number"/>
  <fo:list-item-body start-indent="body-start()">
	<fo:block font-size="{$size}">
         <xsl:value-of select="headline"/>

The following output is generated by this template for example:            Headline of the text

Now to the problem:
When the number is too long the pdf generator (Antennahouse) breaks the line
- but i don't want to size the number column bigger because in most cases 20
mm between number and headline are enough! So is there a way to size the
space between number column and headline dynamically when the number text is
too long???

Or what would you suggest for this problem?


"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter

Current Thread