Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - fo:list-block problem >Thread Next - Re: [xsl] fo:list-block problem Re: [xsl] fo:list-block problemTo: Date: 6/1/2004 6:17:00 AM At 2004-06-01 15:54 +0200, Markus Gamperl wrote: I have got the follwing template: <xsl:template match="text"> <fo:list-block provisional-distance-between-starts="20mm"> ... 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 As it is supposed to ... the edges of the label and body are set, not flexible to the size of the content. - 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? Using a side float for the item label and a regular block for the item body, but not use the list construct. You can influence the width of the side float, which impacts on the width of the item body. I hope this helps. ....................... Ken -- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
