xsl-list
[Top] [All Lists]

[xsl] Bottom border missing when page breaks in the middle of a row

2006-04-05 05:53:08
Greetings,

I am creating tables that have fairly deep rows and am allowing rows to
break across a page border.  The bottom border of a broken cell
disappears when the row breaks across a page.  

This is most apparent when a cell in one column spans several rows, but
cells in other columns are only one row deep.  If the page break occurs
between two of the spanned rows, there is a border beneath the
non-broken, unspanned cells, but no border beneath the broken cell that
spans the page break.  But it is also true that if all cells of a single
row are broken, all of them are missing their bottom border.

The pertinent parts of my XSL:FO look like this:

<fo:table border-end-precedence="force" border-collapse="collapse"
border-style="solid" border-width="1pt">
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell  number-columns-spanned="" number-rows-spanned="5"
border-style="solid" border-width="1pt">
        <fo:block>A bunch of text here <fo:block>
      </fo:table-cell>
      <fo:table-cell number-columns-spanned="" number-rows-spanned=""
border-style="solid" border-width="1pt">various other text
here<fo:block>
        Hostname</fo:block>
      </fo:table-cell>
    </fo:table-row>

[four other rows follow with no data in the first cell for each row.]

  </fo:table-body>
</fo:table>


I have played with collapse-with-precedence and border precedences
between the table and the table-cells to no effect.

I am using xalan-j_2_6_0, xerces-2_6_2, and Antennhouse 3.3.  Is there a
setting or strategy to keep the bottom table border present in a broken
row, or is this a formatting engine issue?

Any help, clues, or suggestions would be appreciated.

Regards,
David Kelly

--~------------------------------------------------------------------
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>