fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / PivotLayoutTreeListLabel.hxx
blob168f6275c8dd570d62a3a8076c80d038a9ddaf5b
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_PIVOTLAYOUTTREELISTLABEL_HXX
12 #define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELISTLABEL_HXX
14 #include "PivotLayoutTreeListBase.hxx"
15 #include <boost/ptr_container/ptr_vector.hpp>
17 class ScPivotLayoutTreeListLabel : public ScPivotLayoutTreeListBase
19 private:
20 boost::ptr_vector<ScItemValue> maItemValues;
21 SCCOL maDataItem;
23 public:
24 ScPivotLayoutTreeListLabel(vcl::Window* pParent, WinBits nBits);
25 virtual ~ScPivotLayoutTreeListLabel();
26 void FillLabelFields(ScDPLabelDataVector& rLabelVector);
27 ScItemValue* GetItem(SCCOL nColumn);
28 bool IsDataElement(SCCOL nColumn);
30 protected:
31 virtual void InsertEntryForSourceTarget(SvTreeListEntry* pSource, SvTreeListEntry* pTarget) SAL_OVERRIDE;
32 virtual void KeyInput(const KeyEvent& rKeyEvent) SAL_OVERRIDE;
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
37 #endif