[xep-support] Table width in XEP 4

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu Oct 28 2004 - 05:57:39 PDT


I found one difference between XEP 4 and 3 and I wan't to know how to
overcome it.

Let's say that I want table with two columns -- 1st column's width is
2cm and 4cm for second. The table then should have width 6cm. In XEP 3
following worked:

<fo:table width="auto">
   <fo:table-column column-number="1" column-width="2cm"/>
   <fo:table-column column-number="2" column-width="4cm"/>

But the same code in XEP 4 generates table that has same width as its
container, so behaviour is like width="100%". I can correct it for XEP4
by specifying width="6cm" on fo:table, but I would rather don't do it
that way because calculating sum of colums widths is not always easy in
my case.



   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

Received on Thu Oct 28 07:05:53 2004

This archive was generated by hypermail 2.1.8 : Thu Oct 28 2004 - 07:05:53 PDT