Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] fo:list-block problem

From: "G. Ken Holman" <gkholman@-------------------->
To:
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


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