summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/datastream.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-12-18 16:19:05 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-12-18 18:15:33 -0500
commitdf57f73ff7cfa8a23537d9aa9f50aca1ca7664de (patch)
tree9976bad0a357b3aabefed09de577151f49074ef4 /sc/source/ui/inc/datastream.hxx
parentb8e85af1eddb58ff60d93f64e157b31a904683b2 (diff)
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
Diffstat (limited to 'sc/source/ui/inc/datastream.hxx')
-rw-r--r--sc/source/ui/inc/datastream.hxx3
1 files changed, 3 insertions, 0 deletions
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;