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> <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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Java and XSLT 2.0, Steve Muench | Thread | Re: [xsl] fo:list-block problem, G. Ken Holman |
Re: [xsl] Java and XSLT 2.0, xptm | Date | Re: [xsl] fo:list-block problem, G. Ken Holman |
Month |