xsl-list
[Top] [All Lists]

Re: [xsl] XSL FO questions

2008-03-22 19:46:50
At 2008-03-23 12:15 +1100, Kamal wrote:
In word, if a table cell breaks across a page, it will put a line after the partial cell and/or before the cell on the next page. This isn't doable in FO is it?

It is ... the table border's width is a length value, and one of the five compound components of a length value is conditionality, and the initial value for conditionality is "discard", which is why you don't see the table border of the cell spanning a column boundary: it has been discarded.

Here is an example of how to retain the border, taken from my XSL-FO class:

<block border="solid"
       border-after-width.conditionality="retain"
       border-before-width.conditionality="retain"
       widows="0" orphans="0">
  This is a test with three longer lines in a block.
</block>

I hope this helps.

. . . . . . . . . . . Ken


--
Upcoming:  UBL Apr.22,24; genericode code lists Apr.23; Rome,Italy
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and 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 Cancer Awareness Nov'07  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>
--~--

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