Subject: Re: [xsl] block with keep-together.within-line="always" From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Tue, 29 Apr 2008 22:31:54 -0400 |
What should happen when a block with keep-together.within-line="always" has text which is longer than one line?
Should the text wrap?
For example the following flow:
<fo:flow flow-name="xsl-region-body" line-height="1.2em" font-size="10pt" font-family="Times"> <fo:block keep-together.within-line="always"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis ullamcorper fringilla ligula. Donec cursus, justo quis dapibus vehicula, erat lacus faucibus mi, vel accumsan nibh arcu at sem. Sed adipiscing gravida lectus. Suspendisse non nunc id justo consectetuer aliquam. Vivamus. </fo:block> </fo:flow>
The spec says keep-together.within-line "...imposes a keep-condition .... with context consisting of the line-areas". And since a line-area, according to the spec, is a "special type of block-area" it seems to me that the text should wrap.
-- World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and 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 Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] block with keep-together.with, John Cavalieri | Thread | [xsl] Problem using Sum and Groupin, Mike Finch [Wasabeat |
[xsl] Problem using Sum and Groupin, Mike Finch [Wasabeat | Date | Re: [xsl] xsl:element start/end tag, Peter . A . Lom |
Month |