1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #include <bulkdatahint.hxx>
14 struct BulkDataHint::Impl
17 const ColumnSpanSet
* mpSpans
;
19 Impl( ScDocument
& rDoc
, const ColumnSpanSet
* pSpans
) :
24 BulkDataHint::BulkDataHint( ScDocument
& rDoc
, const ColumnSpanSet
* pSpans
) :
25 SfxSimpleHint(SC_HINT_BULK_DATACHANGED
), mpImpl(new Impl(rDoc
, pSpans
)) {}
27 BulkDataHint::~BulkDataHint()
32 void BulkDataHint::setSpans( const ColumnSpanSet
* pSpans
)
34 mpImpl
->mpSpans
= pSpans
;
37 const ColumnSpanSet
* BulkDataHint::getSpans() const
39 return mpImpl
->mpSpans
;
42 ScDocument
& BulkDataHint::getDoc()
49 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */