summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-03-01 19:41:47 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-03-01 19:41:47 +0100
commitdb232c041c53265662488531af41b8b70b31f70c (patch)
treeec1553389a10e0f7f9bc53fce903f8b05f636655 /sw
parent61b81961ba3f47d62c320538e93a953e789243e9 (diff)
write also properties of a text node itself (part of bnc#654214)
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index f5fe64353e48..1cd6be0f80c8 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2326,6 +2326,11 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode )
}
}
+ // write attributes of the node itself
+ AttrOutput().StartRunProperties();
+ OutputItemSet( rNode.GetSwAttrSet(), false, true, i18n::ScriptType::LATIN, false);
+ AttrOutput().EndRunProperties( NULL );
+
AttrOutput().EndParagraphProperties();
AttrOutput().EndParagraph( pTextNodeInfoInner );