summaryrefslogtreecommitdiffstats
path: root/sc/inc/bulkdatahint.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-12 22:18:49 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-18 08:31:55 -0500
commit2030b9ac6c68ba6f15b0283e0b4e57ae49bd67b0 (patch)
treedc7ad2b2f890ea0ac614d7820c2e655c84327c3f /sc/inc/bulkdatahint.hxx
parentReduce duplicate broadcasting done when pasting a range of cells from clip. (diff)
downloadcore-2030b9ac6c68ba6f15b0283e0b4e57ae49bd67b0.tar.gz
core-2030b9ac6c68ba6f15b0283e0b4e57ae49bd67b0.zip
Dedicated listener type tailored for formula groups.
Right now, it's only used when loading an xlsx file. But eventually this one should be used everywhere. Change-Id: I216c3a9a33c4b8040e8284d59299e0637471fb50
Diffstat (limited to 'sc/inc/bulkdatahint.hxx')
-rw-r--r--sc/inc/bulkdatahint.hxx43
1 files changed, 43 insertions, 0 deletions
diff --git a/sc/inc/bulkdatahint.hxx b/sc/inc/bulkdatahint.hxx
new file mode 100644
index 000000000000..31c13fb9ea2c
--- /dev/null
+++ b/sc/inc/bulkdatahint.hxx
@@ -0,0 +1,43 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_SC_BULKDATAHINT_HXX
+#define INCLUDED_SC_BULKDATAHINT_HXX
+
+#include <simplehintids.hxx>
+
+class ScDocument;
+
+namespace sc {
+
+class ColumnSpanSet;
+
+class BulkDataHint : public SfxSimpleHint
+{
+ struct Impl;
+ Impl* mpImpl;
+
+ BulkDataHint( const BulkDataHint& );
+ BulkDataHint& operator= ( const BulkDataHint& );
+
+public:
+ BulkDataHint( ScDocument& rDoc, const ColumnSpanSet* pSpans );
+ virtual ~BulkDataHint();
+
+ void setSpans( const ColumnSpanSet* pSpans );
+ const ColumnSpanSet* getSpans() const;
+
+ ScDocument& getDoc();
+};
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */