Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


From: Andrew Sayers <andrew-libreoffice.org@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.