LibreOffice Module sc (master)  1
bulkdatahint.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef INCLUDED_SC_BULKDATAHINT_HXX
11 #define INCLUDED_SC_BULKDATAHINT_HXX
12 
13 #include <svl/hint.hxx>
14 #include <memory>
15 
16 class ScDocument;
17 
18 namespace sc
19 {
20 class ColumnSpanSet;
21 
22 class BulkDataHint final : public SfxHint
23 {
24  struct Impl;
25  std::unique_ptr<Impl> mpImpl;
26 
27  BulkDataHint(const BulkDataHint&) = delete;
28  BulkDataHint& operator=(const BulkDataHint&) = delete;
29 
30 public:
31  BulkDataHint(ScDocument& rDoc, SfxHintId nHintId);
32  virtual ~BulkDataHint() override;
33 
34  void setSpans(const ColumnSpanSet* pSpans);
35  const ColumnSpanSet* getSpans() const;
36 
37  ScDocument& getDoc();
38 };
39 }
40 
41 #endif
42 
43 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxHintId
BulkDataHint & operator=(const BulkDataHint &)=delete
BulkDataHint(const BulkDataHint &)=delete
ScDocument & getDoc()
void setSpans(const ColumnSpanSet *pSpans)
virtual ~BulkDataHint() override
const ColumnSpanSet * getSpans() const
Structure that stores segments of boolean flags per column, and perform custom action on those segmen...
std::unique_ptr< Impl > mpImpl