xsl-list
[Top] [All Lists]

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

2006-04-05 06:07:45
 
" if all cells of a single row are broken, all of them are missing their
bottom border "

This would be correct operation for table formatting.  If the bottom
border is present when the table breaks across a page then it would be
incorrect. The purpose of the open border is to indicate to the user
that the row is not complete.

-Andy
    \    /     Andy Esslinger  Lockheed Martin Aeronautics Co. 
_____-/\-_____ (817) 777 3047  LM Aero Ft. Worth  F/A-22 TOD
    \_\/_/     Box 748, Mail Zone 4285, Ft. Worth, TX 76101


-----Original Message-----
From: Kelly, David [mailto:David(_dot_)Kelly(_at_)tekelec(_dot_)com] 
Sent: Wednesday, April 05, 2006 7:53 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Bottom border missing when page breaks in the middle of a
row

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



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