From df57f73ff7cfa8a23537d9aa9f50aca1ca7664de Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 18 Dec 2013 16:19:05 -0500 Subject: Handle "refresh on empty line" setting from the UI. With this set, when we detect an empty line, we'll trigger refresh and discard the line. If not set, we'll import an empty line. Change-Id: Ic3ccb1adbd0c7273c3affff82a2d111c378f2af3 --- sc/source/ui/inc/datastream.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sc/source/ui/inc/datastream.hxx') diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx index a593aad5f370..1cde20e69b9a 100644 --- a/sc/source/ui/inc/datastream.hxx +++ b/sc/source/ui/inc/datastream.hxx @@ -78,6 +78,8 @@ public: void StartImport(); void StopImport(); + void SetRefreshOnEmptyLine( bool bVal ); + private: void Refresh(); @@ -91,6 +93,7 @@ private: MoveType meMove; bool mbRunning; bool mbValuesInLine; + bool mbRefreshOnEmptyLine; LinesList* mpLines; size_t mnLinesCount; size_t mnLinesSinceRefresh; -- cgit