xsl-list
[Top] [All Lists]

Re: fo:list-block problem

2004-06-01 08:20:09
Hello!

I'm sorry but i don't understand your suggestion - could you please give me
an example? (or change my example template)

thanks!
Markus

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(_at_)CraneSoftwrights(_dot_)com
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


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info



<Prev in Thread] Current Thread [Next in Thread>