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/.
11 #ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX
12 #define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTDATA_HXX
14 #include "PivotLayoutTreeListBase.hxx"
15 #include <boost/ptr_container/ptr_vector.hpp>
17 class ScPivotLayoutTreeListData
: public ScPivotLayoutTreeListBase
20 boost::ptr_vector
<ScItemValue
> maDataItemValues
;
23 ScPivotLayoutTreeListData(vcl::Window
* pParent
, WinBits nBits
);
24 virtual ~ScPivotLayoutTreeListData();
25 virtual bool DoubleClickHdl() SAL_OVERRIDE
;
27 void FillDataField(ScPivotFieldVector
& rDataFields
);
28 void PushDataFieldNames(std::vector
<ScDPName
>& rDataFieldNames
);
31 virtual void InsertEntryForSourceTarget(SvTreeListEntry
* pSource
, SvTreeListEntry
* pTarget
) SAL_OVERRIDE
;
32 virtual void InsertEntryForItem(ScItemValue
* pItemValue
, sal_uLong nPosition
) SAL_OVERRIDE
;
34 void AdjustDuplicateCount(ScItemValue
* pInputItemValue
);
36 virtual void KeyInput(const KeyEvent
& rKeyEvent
) SAL_OVERRIDE
;
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */