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

Re: FOP formatting tables inside a list

Subject: Re: FOP formatting tables inside a list
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 23 Aug 2002 23:54:31 +0200
fop table border
Danny Vint wrote:
I have a document in which a table is inside a list. The table borders format as if the list indent is not there (flush with the left margin), but the text in the table obeys the indents of the list (first column of text is in line with where the text of the list item would appear and the other columns are pushed outside the table borders, but the are formatted for the widths that I specified for the table).

One of the problems is that the spec is so convoluted at this point that I never found out whether this is actually a bug, though it is certainly unexpected. One of the interesting points was that Netscape 4.0 behaved similarly, and nobody could tell me wehther this was just a problem with the CSS implementation or intentional (FO is to a large part modelled after CSS). The indentation of the table cells is due to inheriting it form the list (which may be a bug too).

Is there some trick to getting the table borders to be properly set in regards to the current indent level?

The trick is to add a column with the desired width and no border and empty cells at the left, and add start-indent="0" or whatever is desired to the fo:table.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.