[Libreoffice-commits] core.git: swext/mediawiki
Robert Antoni Buj Gelonch
robert.buj at gmail.com
Mon Apr 27 06:22:17 PDT 2015
swext/mediawiki/src/filter/odt2mediawiki.xsl | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 4f351515bc4efb72343941f9d97d43572788512a
Author: Robert Antoni Buj Gelonch <robert.buj at gmail.com>
Date: Mon Apr 20 23:14:29 2015 +0200
tdf#75531 failed to convert the margins
Change-Id: I025c4c14bcae9c925809f44425fabb6bc3d66806
Reviewed-on: https://gerrit.libreoffice.org/15451
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl
index 88354e3..dab745b 100644
--- a/swext/mediawiki/src/filter/odt2mediawiki.xsl
+++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl
@@ -755,6 +755,14 @@
<with-param name="style-name" select="'color'"/>
<with-param name="style-property" select="$style-element/style:text-properties/@fo:color"/>
</call-template>
+ <call-template name="translate-style-property">
+ <with-param name="style-name" select="'margin-left'"/>
+ <with-param name="style-property" select="$style-element/style:paragraph-properties/@fo:margin-left"/>
+ </call-template>
+ <call-template name="translate-style-property">
+ <with-param name="style-name" select="'margin-right'"/>
+ <with-param name="style-property" select="$style-element/style:paragraph-properties/@fo:margin-right"/>
+ </call-template>
</if>
</when>
<otherwise>
More information about the Libreoffice-commits
mailing list