Author mode - inserting table column fails

Having trouble installing Oxygen? Got a bug to report? Post it all here.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Author mode - inserting table column fails

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Author mode - inserting table column fails

Post 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
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Author mode - inserting table column fails

Post by Radu »

Hi Jan,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply