Author mode - inserting table column fails
Posted: Tue Sep 22, 2009 10:04 am
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:
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
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>
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