From: Andrew Sayers <andrew-libreoffice.org@pileofstuff.org>
---
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index 6af404c..98ee59b 100644
--- filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
+++ filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
@@ -128,9 +128,11 @@
</xsl:if>
</xsl:for-each>
- <!-- Otherwise all styles have been processed and the empty styles have to
be given out -->
+ <xsl:if test="$debugEnabled">
+ <!-- Otherwise all styles have been processed and the empty styles
have to be given out -->
<xsl:comment> ODF styles with no properties representable as CSS
</xsl:comment><xsl:text>
- </xsl:text><xsl:for-each select="$globalData/all-styles/style[final-properties =
'']"><xsl:value-of select="concat('.', @style:name, ' ')"/></xsl:for-each> { }
+ </xsl:text><xsl:comment><xsl:for-each
select="$globalData/all-styles/style[final-properties = '']"><xsl:value-of select="concat('.',
@style:name, ' ')"/></xsl:for-each> { }</xsl:comment>
+ </xsl:if>
</xsl:template>
<!-- Creating CSS page layout based on first office master style -->
--
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.