diff options
author | Katarina Machalkova <kmachalkova@suse.cz> | 2010-10-13 18:12:19 +0200 |
---|---|---|
committer | Katarina Machalkova <kmachalkova@suse.cz> | 2010-10-13 19:51:46 +0200 |
commit | ddc968923061ea26bd5f9a110a3c2d3914325d33 (patch) | |
tree | 7d8456d24f81d7f1a5e81c1e8c611f5c669f12a5 /sc/source/filter/excel/xestream.cxx | |
parent | 87898fe173677902a63ce62574e4e86fe338e738 (diff) |
Merged ooxml-sc-paneexport.cxx from ooo-build
Diffstat (limited to 'sc/source/filter/excel/xestream.cxx')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 35976d7a0fdd..7a2ed32d64e2 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -48,6 +48,7 @@ #include "compiler.hxx" #include <../../ui/inc/docsh.hxx> +#include <../../ui/inc/viewdata.hxx> #include <excdoc.hxx> #include <oox/core/tokens.hxx> @@ -1120,6 +1121,10 @@ bool XclExpXmlStream::exportDocument() throw() pShell->SetError( nError, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) ); } #endif + // Get the viewsettings before processing + if( pShell->GetViewData() ) + pShell->GetViewData()->WriteExtOptions( mpRoot->GetExtDocOptions() ); + OUString const workbook = CREATE_OUSTRING( "xl/workbook.xml" ); PushStream( CreateOutputStream( workbook, workbook, Reference <XOutputStream>(), |