diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-08-24 14:15:41 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-08-24 21:01:05 +0200 |
commit | e2bf234e63c1ecf7971c2be2e50cfe0c7baa5dcf (patch) | |
tree | a3ecaec4a2174f0da13eb21f000f85af242e2121 /help3xsl/online_transform.xsl | |
parent | 6ebdc6aaf37393e5366d8836c0e9d05f29bae5ee (diff) |
Honor colspan and rowspan in tablecells
Previously not implemented
Change-Id: I8867d82bc12a6c4312fcc6aa49c6b31e360a524e
Reviewed-on: https://gerrit.libreoffice.org/59580
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index dc57f07720..a22c384eb6 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -723,10 +723,10 @@ <xsl:template match="tablecell"> <xsl:choose> <xsl:when test="paragraph[@role='tablehead']"> - <td class='tableheadcell'><xsl:apply-templates /></td> + <td rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates /></td> </xsl:when> <xsl:otherwise> - <td><xsl:apply-templates /></td> + <td rowspan="{@rowspan}" colspan="{@colspan}"><xsl:apply-templates /></td> </xsl:otherwise> </xsl:choose> </xsl:template> @@ -735,10 +735,10 @@ <xsl:template match="tablecell" mode="embedded"> <xsl:choose> <xsl:when test="paragraph[@role='tablehead']"> - <td class='tableheadcell'><xsl:apply-templates mode="embedded"/></td> + <td rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates mode="embedded"/></td> </xsl:when> <xsl:otherwise> - <td><xsl:apply-templates mode="embedded"/></td> + <td rowspan="{@rowspan}" colspan="{@colspan}"><xsl:apply-templates mode="embedded"/></td> </xsl:otherwise> </xsl:choose> </xsl:template> |