swext/mediawiki/src/filter/odt2mediawiki.xsl |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 4f351515bc4efb72343941f9d97d43572788512a
Author: Robert Antoni Buj Gelonch <robert....@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 <c...@libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@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>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to