Cell widths in tables

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bobr
Posts: 1
Joined: Fri Apr 11, 2014 4:08 am

Cell widths in tables

Post by bobr »

I imported some Confluence pages into Oxygen and transformed them to DITA topics. Many of the topics contain tables that have imported with some "bad" default properties: no theads, equal cell widths regardless of content, bad page breaks for long tables. Can I convert these tables into a format that has proportional cell width, theads, etc.? Or do I need to correct each table manually? For example, is there a way to set all of the cells in a given table (or all cells in all tables) to proportional cell width?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Cell widths in tables

Post by sorin_ristache »

Hello,

There is no action or feature for modifying several tables at the same time. Each table must be modified individually. For a batch modification of all tables, especially if the modifications applied to all tables are identical or very similar, I recommend an XSLT transformation that goes through each DITA file and modifies each table in the same way.

Version 16.0 which we will release in about a month will add a mini configuration tool for tables in Author editing mode but unfortunately it will not allow the configuration of the colspec elements, which is where the proportional cell width should be set in a DITA table. It will allow the configuration of many features (all in the same dialog box) at table, row, column and cell levels, in DITA tables, in Docbook tables, etc., which will hopefully ease editing tables in Author mode.

What version of Oxygen do you use? In recent versions (14.x or later) all the colspec values are editable in Author mode, so you can just set the same proportional width in each colspec element, as in the following screenshot. However it would still require manually editing each table in Author mode.

Image


Regards,
Sorin
Post Reply