[xep-support] Re: table column widths correct in FOP but not in XEP

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Wed Jun 15 2011 - 13:15:54 PDT

At 2011-06-15 16:08 -0400, Eric J. Schwarzenbach wrote:
>I was part of that discussion on the DITA list, and I can confirm,
>that at least for the xml where I'm running into this, you are
>right, it is indeed the case that the fo table is being generated
>with width="100%" (and table-layout="fixed", FWIW). It seems to me
>that in this situation, the column-width and the table width in the
>fo are asking for contradictory things. It seems to me that xep is
>honoring the table width at the expense of the column width
>(treating it as proportional and not absolute inches as it
>indicates), whereas fop and antenna house both both honor the
>column-width at the expense of the table width.
>
>I really have no idea which, if either, is right. Can anyone tell if
>the FO spec indicates what should happen in this case? Or is it undefined?

The XSL-FO 1.1 specification cites:

   http://www.w3.org/TR/CSS2/tables.html#fixed-table-layout

... where it says:

   "The width of the table is then the greater of the value of
    the 'width' property for the table element and the sum of
    the column widths (plus cell spacing or borders). If the
    table is wider than the columns, the extra space should be
    distributed over the columns."

I've never had problems with XEP with table column widths.

I hope this helps.

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

--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
!DSPAM:87,4df9130163733038115713!
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Jun 15 13:16:16 2011

This archive was generated by hypermail 2.1.8 : Wed Jun 15 2011 - 13:16:17 PDT