tdf#104816 sw: if non-section content, let all sections hide.
[LibreOffice.git] / sc / inc / bulkdatahint.hxx
blob913019edf3f92c427661c9b0af940ce66032690f
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 #ifndef INCLUDED_SC_BULKDATAHINT_HXX
11 #define INCLUDED_SC_BULKDATAHINT_HXX
13 #include <svl/hint.hxx>
14 #include <memory>
16 class ScDocument;
18 namespace sc {
20 class ColumnSpanSet;
22 class BulkDataHint : public SfxHint
24 struct Impl;
25 std::unique_ptr<Impl> mpImpl;
27 BulkDataHint( const BulkDataHint& ) = delete;
28 BulkDataHint& operator= ( const BulkDataHint& ) = delete;
30 public:
31 BulkDataHint( ScDocument& rDoc, SfxHintId nHintId );
32 virtual ~BulkDataHint() override;
34 void setSpans( const ColumnSpanSet* pSpans );
35 const ColumnSpanSet* getSpans() const;
37 ScDocument& getDoc();
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */