Renaming columns breaks joined cells

Oxygen general issues.
DanTemple
Posts: 26
Joined: Tue Oct 28, 2014 1:19 pm

Renaming columns breaks joined cells

Post by DanTemple »

If you have a table where you have joined some row cells, the XML syntax uses the column names to indicate which cells are straddled.

Now if you rename a column in the colspecs, the straddle breaks, because the tool does not also rename all the references to that column name. See below where "newname" has replaced "c3".

Code: Select all


<tgroup cols="3">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1*"/>
<colspec colname="newname" colnum="3" colwidth="1.0*"/>
<thead>
<row>
<entry/>
<entry namest="c2" nameend="c3"/>
</row>
</thead>
<tbody>
<row>
<entry/>
<entry/>
<entry/>
</row>
</tbody>
</tgroup>
best regards
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Renaming columns breaks joined cells

Post by Radu »

Hi Dan,

Thanks for the report, we know about this limitation and we'll update this forum thread when the issue gets fixed.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: Renaming columns breaks joined cells

Post by Radu »

Hi,

Starting with Oxygen 19.1 when you rename a column using the Attributes view in the Author visual editing mode, all references to that column's name will be updated.

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