Table Porperties management
Posted: Thu Apr 20, 2023 8:21 pm
Hello,
We used the version 25.0.0.0 of oxygen sdk.
We use ro.sync.ecss.extensions.docbook.table.properties.Docbook5CALSShowTablePropertiesOperation to manage table properties, and we face two issues.
First, here is the initial table :
1/ When you want to transform a row into a thead or a tfoot, it added the attribute xmlns on element thead or tfoot and on row element.
This attribute is not xsd compliant.
2/ When you want to transform the last row of your table into a tfoot, it places the tfoot before the tbody and not after
I did not find the content of the Docbook5CALSShowTablePropertiesOperation class.
Can you tell me, how can I avoid the insertion of the xmlns attribute, and how to place the tfoot after the tbody.
Thanks.
Regards,
Isabelle
We used the version 25.0.0.0 of oxygen sdk.
We use ro.sync.ecss.extensions.docbook.table.properties.Docbook5CALSShowTablePropertiesOperation to manage table properties, and we face two issues.
First, here is the initial table :
Code: Select all
<table frame="all" rowsep="1" colsep="1" id="tab-0001">
<title>test</title>
<tgroup cols="2">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>
<tbody>
<row>
<entry>
<para id="par-0001"/>
</entry>
<entry>
<para id="par-0002"/>
</entry>
</row>
<row>
<entry>
<para id="par-0003"/>
</entry>
<entry>
<para id="par-0004"/>
</entry>
</row>
<row>
<entry>
<para id="par-0005"/>
</entry>
<entry>
<para id="par-0006"/>
</entry>
</row>
</tbody>
</tgroup>
</table>
This attribute is not xsd compliant.
Code: Select all
<table frame="all" rowsep="1" colsep="1" id="tab-0001">
<title>test</title>
<tgroup cols="2">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>
<thead xmlns="http://docbook.org/ns/docbook">
<row xmlns="">
<entry>
<para id="par-0001"/>
</entry>
<entry>
<para id="par-0002"/>
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para id="par-0003"/>
</entry>
<entry>
<para id="par-0004"/>
</entry>
</row>
<row>
<entry>
<para id="par-0005"/>
</entry>
<entry>
<para id="par-0006"/>
</entry>
</row>
</tbody>
</tgroup>
</table>
Code: Select all
<table frame="all" rowsep="1" colsep="1" id="tab-0001">
<title>test</title>
<tgroup cols="2">
<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>
<thead xmlns="http://docbook.org/ns/docbook">
<row xmlns="">
<entry>
<para id="par-0001"/>
</entry>
<entry>
<para id="par-0002"/>
</entry>
</row>
</thead>
<tfoot xmlns="http://docbook.org/ns/docbook">
<row xmlns="">
<entry>
<para id="par-0005"/>
</entry>
<entry>
<para id="par-0006"/>
</entry>
</row>
</tfoot>
<tbody>
<row>
<entry>
<para id="par-0003"/>
</entry>
<entry>
<para id="par-0004"/>
</entry>
</row>
</tbody>
</tgroup>
</table>
Can you tell me, how can I avoid the insertion of the xmlns attribute, and how to place the tfoot after the tbody.
Thanks.
Regards,
Isabelle