diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index 9d9cc373bd34..d5a90ade29e0 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -35,6 +35,8 @@ #include <com/sun/star/i18n/ScriptType.hdl> #include <docsh.hxx> +#include <viewsh.hxx> +#include <viewopt.hxx> #include <ndtxt.hxx> #include <fmtpdsc.hxx> #include <section.hxx> @@ -504,6 +506,13 @@ void RtfExport::ExportDocument_Impl() WriteInfo(); // Default TabSize Strm() << m_pAttrOutput->m_aTabStop.makeStringAndClear().getStr() << sNewLine; + // Zoom + ViewShell *pViewShell(pDoc->GetCurrentViewShell()); + if (pViewShell) + { + Strm() << OOO_STRING_SVTOOLS_RTF_VIEWSCALE; + OutULong(pViewShell->GetViewOptions()->GetZoom()); + } // Page description WritePageDescTable(); |