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 #pragma once
11 
12 #include <svl/hint.hxx>
13 #include <memory>
14 
15 class ScDocument;
16 
17 namespace sc
18 {
19 class ColumnSpanSet;
20 
21 class BulkDataHint final : public SfxHint
22 {
23     struct Impl;
24     std::unique_ptr<Impl> mpImpl;
25 
26     BulkDataHint(const BulkDataHint&) = delete;
27     BulkDataHint& operator=(const BulkDataHint&) = delete;
28 
29 public:
30     BulkDataHint(ScDocument& rDoc, SfxHintId nHintId);
31     virtual ~BulkDataHint() override;
32 
33     void setSpans(const ColumnSpanSet* pSpans);
34     const ColumnSpanSet* getSpans() const;
35 
36     ScDocument& getDoc();
37 };
38 }
39 
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
41