From: Andrew Sayers <andrew-libreoffice....@pileofstuff.org> --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 6f3e980..fc018c4 100644 --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -2023,6 +2023,16 @@ <xsl:text>;min-width:</xsl:text> <xsl:value-of select="$listLabelWidth"/> <xsl:text>cm;</xsl:text> + <xsl:variable name="fontFamilyContent"> + <xsl:value-of select="$listLevelStyle/style:text-properties/@fo:font-family"/> + </xsl:variable> + <xsl:choose> + <xsl:when test="$fontFamilyContent != ''"> + <xsl:text>font-family:</xsl:text> + <xsl:value-of select="$fontFamilyContent"/> + <xsl:text>;</xsl:text> + </xsl:when> + </xsl:choose> </xsl:attribute> <xsl:variable name="labelContent"> <xsl:choose> -- 1.8.5.1 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice