Kaydet (Commit) 10d6d0d0 authored tarafından Miklos Vajna's avatar Miklos Vajna

WW8 filter: export zoom factor

Change-Id: I5c64d8311439430e3b21a90381ef51a1061bb0b9
üst 6e9ab7e0
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include <fmtrowsplt.hxx> #include <fmtrowsplt.hxx>
#include <frmatr.hxx> #include <frmatr.hxx>
#include <doc.hxx> #include <doc.hxx>
#include <viewopt.hxx>
#include <docary.hxx> #include <docary.hxx>
#include <pam.hxx> #include <pam.hxx>
#include <ndtxt.hxx> #include <ndtxt.hxx>
...@@ -232,6 +233,10 @@ static void WriteDop( WW8Export& rWrt ) ...@@ -232,6 +233,10 @@ static void WriteDop( WW8Export& rWrt )
DefaultItemGet<SvxTabStopItem>(*rWrt.pDoc, RES_PARATR_TABSTOP); DefaultItemGet<SvxTabStopItem>(*rWrt.pDoc, RES_PARATR_TABSTOP);
rDop.dxaTab = (sal_uInt16)rTabStop[0].GetTabPos(); rDop.dxaTab = (sal_uInt16)rTabStop[0].GetTabPos();
// Zoom factor.
ViewShell *pViewShell(rWrt.pDoc->GetCurrentViewShell());
if (pViewShell && pViewShell->GetViewOptions()->GetZoomType() == SVX_ZOOM_PERCENT)
rDop.wScaleSaved = pViewShell->GetViewOptions()->GetZoom();
// Werte aus der DocStatistik (werden aufjedenfall fuer die // Werte aus der DocStatistik (werden aufjedenfall fuer die
// DocStat-Felder benoetigt!) // DocStat-Felder benoetigt!)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment