summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-04-12 22:25:51 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-12 22:30:53 +0200
commit426ab2eb7ea4e744947ef9d2ec5c72cca2d81da6 (patch)
treef5e6452335871b281eb3d32d03fd2fb812775177 /sw/source/filter/ww8
parentc3d8b06f0058d808aa62c27d06f77e2a25747dd2 (diff)
RTF export: fix position of at-character-anchored textframes
Our importer could deal with the frames without these, but not Word. Change-Id: I6f7d13aba45129357fcf8c11e60d5a9dbc7a8ca2
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index bc13224aadc0..2a463b0dcfd1 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -2800,6 +2800,7 @@ void RtfAttributeOutput::FormatVertOrientation( const SwFmtVertOrient& rFlyVert
break;
default:
m_aFlyProperties.push_back(std::make_pair<OString, OString>("posrelv", OString::number(2)));
+ m_rExport.Strm() << OOO_STRING_SVTOOLS_RTF_SHPBYPARA << OOO_STRING_SVTOOLS_RTF_SHPBYIGNORE;
break;
}
@@ -2850,6 +2851,7 @@ void RtfAttributeOutput::FormatHorizOrientation( const SwFmtHoriOrient& rFlyHori
break;
default:
m_aFlyProperties.push_back(std::make_pair<OString, OString>("posrelh", OString::number(2)));
+ m_rExport.Strm() << OOO_STRING_SVTOOLS_RTF_SHPBXCOLUMN << OOO_STRING_SVTOOLS_RTF_SHPBXIGNORE;
break;
}