Hi Jirka,
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.
David
Jirka Kosek:
[ Charset ISO-8859-2 unsupported, converting... ]
> 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.
-------------------
(*) 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:22:09 2004
This archive was generated by hypermail 2.1.8 : Thu Oct 28 2004 - 07:22:10 PDT