summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Antoni Buj Gelonch <robert.buj@gmail.com>2015-04-20 23:14:29 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-04-27 13:21:57 +0000
commit4f351515bc4efb72343941f9d97d43572788512a (patch)
tree6735c3eebfeb8600ffd1745db31fd4524ceac148
parent26b9122e7861906337c260d233910ed5ebf19dfa (diff)
tdf#75531 failed to convert the margins
Change-Id: I025c4c14bcae9c925809f44425fabb6bc3d66806 Reviewed-on: https://gerrit.libreoffice.org/15451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--swext/mediawiki/src/filter/odt2mediawiki.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl
index 88354e30801b..dab745b22a88 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>