Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / sc / inc / bulkdatahint.hxx
blobe77ef317ef72b017601102352db148d7b86629e5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #include <svl/hint.hxx>
14 class ScDocument;
16 namespace sc
18 class ColumnSpanSet;
20 class BulkDataHint final : public SfxHint
22 ScDocument& mrDoc;
23 const ColumnSpanSet* mpSpans;
25 public:
26 BulkDataHint(ScDocument& rDoc, SfxHintId nHintId)
27 : SfxHint(nHintId)
28 , mrDoc(rDoc)
29 , mpSpans(nullptr)
33 void setSpans(const ColumnSpanSet* pSpans) { mpSpans = pSpans; }
34 const ColumnSpanSet* getSpans() const { return mpSpans; }
36 ScDocument& getDoc() { return mrDoc; }
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */