LibreOffice Module sc (master) 1
PivotLayoutTreeListLabel.hxx
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
11#pragma once
12
14#include <vector>
15#include <memory>
16
18{
19private:
20 std::vector<std::unique_ptr<ScItemValue>> maItemValues;
22
23 DECL_LINK(KeyInputHdl, const KeyEvent&, bool);
24
25public:
26 ScPivotLayoutTreeListLabel(std::unique_ptr<weld::TreeView> xControl);
27 virtual ~ScPivotLayoutTreeListLabel() override;
28 void FillLabelFields(ScDPLabelDataVector& rLabelVector);
29 ScItemValue* GetItem(SCCOL nColumn);
30 bool IsDataElement(SCCOL nColumn);
31 virtual void InsertEntryForSourceTarget(weld::TreeView& rSource, int nTarget) override;
32};
33
34/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void FillLabelFields(ScDPLabelDataVector &rLabelVector)
virtual void InsertEntryForSourceTarget(weld::TreeView &rSource, int nTarget) override
ScItemValue * GetItem(SCCOL nColumn)
std::vector< std::unique_ptr< ScItemValue > > maItemValues
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
virtual ~ScPivotLayoutTreeListLabel() override
ScPivotLayoutTreeListLabel(std::unique_ptr< weld::TreeView > xControl)
std::vector< std::unique_ptr< ScDPLabelData > > ScDPLabelDataVector
Definition: pivot.hxx:113
sal_Int16 SCCOL
Definition: types.hxx:21