Page 1 of 1

Renaming columns breaks joined cells

Posted: Fri May 29, 2015 2:37 pm
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

Re: Renaming columns breaks joined cells

Posted: Fri May 29, 2015 3:09 pm
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

Re: Renaming columns breaks joined cells

Posted: Mon Oct 02, 2017 3:58 pm
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