[xep-support] Table width in XEP 4

Alexander Peshkov peshkov at renderx.com
Mon Nov 15 07:10:28 PST 2004


Hello Greg,

Following structure will create a 100% wide table with two fixed-width
columns and two columns that will stretch in order to accommodate their
content:
  <fo:table border="thin solid black" table-layout="auto" width="100%">
    <fo:table-column/>
    <fo:table-column/>
    <fo:table-column column-width="50pt"/>
    <fo:table-column column-width="50pt"/>
    <fo:table-body>
    ....

Hope this helps.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX


GP> On Oct 28, 2004, at 7:57 AM, Jirka Kosek wrote:

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

GP> i've been playing with similar issues, and can't seem to find the right 
GP> combination to accomplish what i want.  i'm trying to create a table 
GP> with 100% (auto) width, and 4 columns, 2 (or possibly 3) with fixed 
GP> widths.

GP> this worked in XEP 3 by specifying widths on the table-columns for the 
GP> fixed with columns.  in XEP 4 i don't seem to be able to control at all 
GP> which columns get widened to stretch the table.

GP> as it is, XEP spreads the 2 fixed width columns very unattractively.

GP> so I want:

GP> |----|--------------------------|XXXX|XXXXX|

GP> where the "X" columns are fixed with, and the "-" columns would spread 
GP> to fill the width of the table.

GP> is there anyway to accomplish this?

GP> thanks, greg.

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


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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



More information about the Xep-support mailing list