Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


fo:list-block problem

From: "Markus Gamperl" <markus.gamperl@------>
To:
Date: 6/1/2004 5:55:00 PM
Hello specialists!

I have got the follwing template:

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

The following output is generated by this template for example:

1.1.1.1.1            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?

Thanks
Markus

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent