Page 1 of 1

Author mode - inserting table column fails

Posted: Tue Sep 22, 2009 10:04 am
by honyk
Hello,

it is not possible to insert a column into some tables (via the toolbar icon). Two tables are almost the same (in Text mode), but the same operation performed on one of them is succesful while fails on the other one. Here is example:

Code: Select all

<informaltable>
<tgroup cols="2">
<colspec colwidth="1*"/>
<colspec colwidth="1*"/>
<thead>
<row>
<entry/>
<entry>Value</entry>
</row>
</thead>
<tbody>
<row>
<entry>Property</entry>
<entry/>
</row>
</tbody>
</tgroup>
</informaltable>
And here is given error message:
Couldn't execute operation: 'ro.sync.ecss.extensions.commons.table.operations.cals.InsertColumnOperation' for action: 'Insert Column' because of: Could not compute the index of the column to be inserted.

It seems to be connected with colname propertyof colspec element. If it is added, it starts to work. But sometimes it is sufficient to have this property set only to several columns. I don't know logic behind, but it could be improved to work in every case.

Jan

Re: Author mode - inserting table column fails

Posted: Tue Sep 22, 2009 12:30 pm
by sorin_ristache
Thank you for pointing out the problem. We will fix it in a future version. You should be able to insert a new column when the colspec elements do not have the colname attribute.


Regards,
Sorin

Re: Author mode - inserting table column fails

Posted: Fri Nov 26, 2010 11:59 am
by Radu
Hi Jan,

Oxygen 12.1 (available in a couple of weeks) will contain a fix for this issue.

Regards,
Radu