summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-02-15 13:44:36 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-15 18:31:27 +0100
commit92dae379f9e9da3a515216a95a820032e895eafe (patch)
treefd196ae7c4728a3b059927e91af046be24ac923c /sw/source/filter/ww8
parentf858994c989091e3d4d5f9ea9169802583be2fe9 (diff)
RTF filter: handle mirrored margins
Change-Id: I122f5f23e510ae42664d2b69504f4722aa05597e
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 068e59d416ef..a8b991bcfd67 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -512,6 +512,9 @@ void RtfExport::ExportDocument_Impl()
// Record changes?
if (nsRedlineMode_t::REDLINE_ON & mnRedlineMode)
Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_REVISIONS);
+ // Mirror margins?
+ if ((nsUseOnPage::PD_MIRROR & pDoc->GetPageDesc(0).ReadUseOn()) == nsUseOnPage::PD_MIRROR)
+ Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_MARGMIRROR);
// Init sections
m_pSections = new MSWordSections(*this);