LibreOffice Module sc (master)  1
bulkdatahint.cxx
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 #include <bulkdatahint.hxx>
11 
12 namespace sc {
13 
15 {
18 
19  explicit Impl( ScDocument& rDoc ) :
20  mrDoc(rDoc),
21  mpSpans(nullptr) {}
22 };
23 
25  SfxHint( nHintId ), mpImpl(new Impl(rDoc)) {}
26 
28 {
29 }
30 
32 {
33  mpImpl->mpSpans = pSpans;
34 }
35 
37 {
38  return mpImpl->mpSpans;
39 }
40 
42 {
43  return mpImpl->mrDoc;
44 }
45 
46 }
47 
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxHintId
const ColumnSpanSet * mpSpans
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
Impl(ScDocument &rDoc)