[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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)
fo list block
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.