fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / PivotLayoutTreeListData.hxx
blobc8c83b4695080a607637280b0e027a7f2c71083e
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/.
9 */
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
19 private:
20 boost::ptr_vector<ScItemValue> maDataItemValues;
22 public:
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);
30 protected:
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: */
41 #endif