[Libreoffice-commits] core.git: sw/source
Miklos Vajna
vmiklos at suse.cz
Fri Apr 12 13:31:13 PDT 2013
sw/source/filter/ww8/rtfattributeoutput.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 426ab2eb7ea4e744947ef9d2ec5c72cca2d81da6
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Fri Apr 12 22:25:51 2013 +0200
RTF export: fix position of at-character-anchored textframes
Our importer could deal with the frames without these, but not Word.
Change-Id: I6f7d13aba45129357fcf8c11e60d5a9dbc7a8ca2
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index bc13224..2a463b0 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;
}
More information about the Libreoffice-commits
mailing list