[xep-support] Table width in XEP 4

Jirka Kosek jirka at kosek.cz
Thu Oct 28 07:57:50 PDT 2004


David Tolpin wrote:

> this is done in confromance with the specification.
> By default, table-layout="fixed". For table-layout="fixed",
> table width is determined in the same way as of a block container
> or a block in the same context, that is, 100% (with some reservations).
> The columns are then widened to fill the whole table width.
> 
> What you want is <fo:table table-layout="auto">, then the same.
> Should work.

I thought that this change is related to table-layout="auto" so I tried 
it before posting my message here. If I specify table-layout="auto" and 
omit <fo:table-column column-width="..."/> table and column widths are 
calculated automatically.

But I want explicit column widths, so I used <fo:table-column .../>. But 
when I add table-layout="auto" to such table, table is expanded to 100%. 
See attached FO file. I would expect that the last three tables should 
look same (this result gives me XEP3).

-- 
------------------------------------------------------------------
   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: table-test.fo
Type: text/xml
Size: 2874 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20041028/99f66471/attachment.xml>
-------------- 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/99f66471/attachment.bin>


More information about the Xep-support mailing list