cell in a table overflew to the next cell
Posted: Thu May 05, 2016 9:41 am
Hi,
Oxygen version is 17.0 DITA-OT version is 1.8.5
My problem is some of the content in a cell of a table overflew to the next cell.
The part which overflew to next cell is tagged by <codeph> or <apiname> in <entry>,for example: <coddph> SYSTEM.QSG.TRANSMIT.QUEUE</codeph> or <codeph>SYSTEM_QSG_TRANSMIT_QUEUE</codeph>
I have added the hyphenate="true" and wrap-option="wrap" in table-attr.xsl,please see the code below.
How could I force them to break two lines?
Thanks
Oxygen version is 17.0 DITA-OT version is 1.8.5
My problem is some of the content in a cell of a table overflew to the next cell.
The part which overflew to next cell is tagged by <codeph> or <apiname> in <entry>,for example: <coddph> SYSTEM.QSG.TRANSMIT.QUEUE</codeph> or <codeph>SYSTEM_QSG_TRANSMIT_QUEUE</codeph>
I have added the hyphenate="true" and wrap-option="wrap" in table-attr.xsl,please see the code below.
How could I force them to break two lines?
Thanks
Code: Select all
<xsl:attribute-set name="table.tgroup">
<xsl:attribute name="table-layout">fixed</xsl:attribute>
<xsl:attribute name="writing-mode">lr-tb</xsl:attribute>
<xsl:attribute name="inline-progression-dimension">auto</xsl:attribute>
<xsl:attribute name="width">auto</xsl:attribute>
<xsl:attribute name="space-before">5pt</xsl:attribute>
<xsl:attribute name="space-after">5pt</xsl:attribute>
<xsl:attribute name="table-omit-header-at-break">false</xsl:attribute>
<xsl:attribute name="table-omit-footer-at-break">false</xsl:attribute>
<xsl:attribute name="border-collapse">collapse</xsl:attribute>
<!--xsl:attribute name="end-indent"><xsl:value-of select="$side-col-width"/></xsl:attribute-->
<xsl:attribute name="overflow">hidden</xsl:attribute>
<xsl:attribute name="orphans">3</xsl:attribute>
<!--It is a table-->
<!--xsl:attribute name="table-layout">fixed</xsl:attribute-->
<!--xsl:attribute name="width">auto</xsl:attribute-->
<!--xsl:attribute name="inline-progression-dimension">auto</xsl:attribute-->
<!-- <xsl:attribute name="background-color">white</xsl:attribute>-->
<!--xsl:attribute name="space-before">5pt</xsl:attribute-->
<!--xsl:attribute name="space-after">5pt</xsl:attribute-->
</xsl:attribute-set>
<xsl:attribute-set name="common.table.body.entry">
<xsl:attribute name="space-before">3pt</xsl:attribute>
<xsl:attribute name="space-before.conditionality">retain</xsl:attribute>
<xsl:attribute name="space-after">3pt</xsl:attribute>
<xsl:attribute name="space-after.conditionality">retain</xsl:attribute>
<xsl:attribute name="start-indent">3pt</xsl:attribute>
<xsl:attribute name="end-indent">3pt</xsl:attribute>
[color=#FF4000]<xsl:attribute name="hyphenate">true</xsl:attribute>[/color]
[color=#FF8000]<xsl:attribute name="wrap-option">wrap</xsl:attribute>[/color]
<xsl:attribute name="overflow">visible</xsl:attribute>
</xsl:attribute-set>
[Codebox=html4strict file=Untitled.html][/Codebox]
<xsl:attribute-set name="tbody.row.entry__content" use-attribute-sets="common.table.body.entry">
<xsl:attribute name="margin-top">5pt</xsl:attribute>
<xsl:attribute name="margin-bottom">5pt</xsl:attribute>
<xsl:attribute name="space-before">3pt</xsl:attribute>
<xsl:attribute name="space-before.conditionality">retain</xsl:attribute>
<xsl:attribute name="space-after">3pt</xsl:attribute>
<xsl:attribute name="space-after.conditionality">retain</xsl:attribute>
<xsl:attribute name="keep-together.within-column">always</xsl:attribute>
<!-- have to condensed the letter of the entry /JY -->
<!--xsl:attribute name="font-size">6pt</xsl:attribute-->
<!--body cell contents-->
</xsl:attribute-set>