[xep-support] Table width in XEP 4

Jirka Kosek jirka at kosek.cz
Thu Oct 28 05:57:39 PDT 2004


Hi,

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.

Thanks,

				Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka at 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/
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3158 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20041028/84cdcea8/attachment.bin>


More information about the Xep-support mailing list