diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-19 10:31:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-19 15:33:09 -0500 |
commit | 8fe1f12459b451ab99f814d50d494ce6e5528a70 (patch) | |
tree | 63ee4a1b117894d6c70654cd7de20cfafa42f856 /sc/source/ui/docshell/datastream.cxx | |
parent | a0577b43f2b9e07231f68ba8ebb3d8b813a2da94 (diff) |
Save the data stream settings to ODS but only for 1.2 extended.
And only when the experimental mode is turned on.
Change-Id: I49dc8a2588cae5ee4a987a47d882672efb93e1c2
Diffstat (limited to 'sc/source/ui/docshell/datastream.cxx')
-rw-r--r-- | sc/source/ui/docshell/datastream.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx index a68d338643a5..edd0e2a87db3 100644 --- a/sc/source/ui/docshell/datastream.cxx +++ b/sc/source/ui/docshell/datastream.cxx @@ -208,6 +208,7 @@ DataStream::DataStream(ScDocShell *pShell, const OUString& rURL, const ScRange& mpDocShell(pShell), mpDoc(mpDocShell->GetDocument()), maDocAccess(*mpDoc), + meOrigMove(NO_MOVE), meMove(NO_MOVE), mbRunning(false), mbValuesInLine(false), @@ -268,9 +269,14 @@ ScRange DataStream::GetRange() const return aRange; } +bool DataStream::IsRefreshOnEmptyLine() const +{ + return mbRefreshOnEmptyLine; +} + DataStream::MoveType DataStream::GetMove() const { - return meMove; + return meOrigMove; } void DataStream::Decode(const OUString& rURL, const ScRange& rRange, @@ -279,6 +285,7 @@ void DataStream::Decode(const OUString& rURL, const ScRange& rRange, msURL = rURL; mnLimit = nLimit; meMove = eMove; + meOrigMove = eMove; mnSettings = nSettings; mbValuesInLine = mnSettings & VALUES_IN_LINE; |