Set column width based on its content in a Table.

65 views
Skip to first unread message

Aishwarya Laddha

unread,
Jul 22, 2020, 2:28:48 AM7/22/20
to DITA-OT Users
Hi Team,

I am new to the DITA world.
I am having one table with 5 columns and while generating its pdf output it is assigning equal width to every column.
Is there any way that it takes the column width based on the content it has.

Thanks.

Jarno Elovirta

unread,
Jul 22, 2020, 4:07:11 PM7/22/20
to DITA-OT Users
Hi,

Yes, but it requires a XSL-FO formatter that supports table-layout=auto. The formatter DITA-OT comes with, FOP, doesn’t support this. So you’d have to go with a commercial formatter, like AntennaHouse Formatter.

J

--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dita-ot-users/3cd6709f-554e-498a-9741-20d2a71df5d9o%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages