Renaming columns breaks joined cells

<oXygen/> general issues.
DanTemple
Posts: 26

Renaming columns breaks joined cells

Fri May 29, 2015 2:37 pm

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: 5088

Re: Renaming columns breaks joined cells

Fri May 29, 2015 3:09 pm

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: 5088

Re: Renaming columns breaks joined cells

Mon Oct 02, 2017 3:58 pm

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest