diff options
Diffstat (limited to 'sw/source/filter/ww8/docxexport.cxx')
-rw-r--r-- | sw/source/filter/ww8/docxexport.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx index e434e670378e..7943383a5994 100644 --- a/sw/source/filter/ww8/docxexport.cxx +++ b/sw/source/filter/ww8/docxexport.cxx @@ -839,6 +839,12 @@ void DocxExport::WriteSettings() FSNS( XML_xmlns, XML_w ), OUStringToOString(m_pFilter->getNamespaceURL(OOX_NS(doc)), RTL_TEXTENCODING_UTF8).getStr(), FSEND ); + // View + if (pViewShell && pViewShell->GetViewOptions()->getBrowseMode()) + { + pFS->singleElementNS(XML_w, XML_view, FSNS(XML_w, XML_val), "web", FSEND); + } + // Zoom if (pViewShell) { |