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

Re: fo:list-block problem

Subject: Re: fo:list-block problem
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Jun 2004 10:16:34 -0400
fo number
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


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.