Dynamic Table Width in PDF

Here should go questions about transforming XML with XSLT and FOP.
cbgarcia
Posts: 10
Joined: Tue Apr 23, 2013 11:48 pm

Dynamic Table Width in PDF

Post by cbgarcia »

How do I make keep the table of width dynamic in PDF using the setting below in the table:

<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>

The table in the webhelp output using the above setting works perfectly.

Thank you.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Dynamic Table Width in PDF

Post by sorin_ristache »

Hello,

Adding the attribute table/@pgwide=0 should be enough for marking a dynamic table but unfortunately the PDF output does not honor this attribute. You will need to customize the XSLT part of the DITA PDF transformation as described in this post.


Regards,
Sorin
Post Reply