[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Bottom border missing when page breaks in the midd

Subject: RE: Bottom border missing when page breaks in the middle of a row
From: "Esslinger, Andy W" <andy.w.esslinger@xxxxxxxx>
Date: Wed, 05 Apr 2006 08:07:12 -0500
page border
" 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.Kelly@xxxxxxxxxxx] 
Sent: Wednesday, April 05, 2006 7:53 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.