fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / colorformat.hxx
blob2a3312ee4b349d7c5fcbbb23685f8c68d808cde0
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/.
8 */
10 #ifndef INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
13 #include <vcl/button.hxx>
14 #include <vcl/dialog.hxx>
15 #include <vcl/fixed.hxx>
16 #include <svtools/ctrlbox.hxx>
17 #include <svl/zforlist.hxx>
18 #include "anyrefdg.hxx"
20 struct ScDataBarFormatData;
21 class ScDocument;
23 class ScDataBarSettingsDlg : public ModalDialog
25 private:
26 VclPtr<OKButton> mpBtnOk;
27 VclPtr<CancelButton> mpBtnCancel;
29 VclPtr<ColorListBox> mpLbPos;
30 VclPtr<ColorListBox> mpLbNeg;
31 VclPtr<ColorListBox> mpLbAxisCol;
33 VclPtr<ListBox> mpLbFillType;
34 VclPtr<ListBox> mpLbTypeMin;
35 VclPtr<ListBox> mpLbTypeMax;
36 VclPtr<ListBox> mpLbAxisPos;
38 VclPtr<Edit> mpEdMin;
39 VclPtr<Edit> mpEdMax;
40 VclPtr<Edit> mpLenMin;
41 VclPtr<Edit> mpLenMax;
43 VclPtr<CheckBox> mpCbOnlyBar;
45 OUString maStrWarnSameValue;
46 OUString maCustomColor;
47 SvNumberFormatter* mpNumberFormatter;
49 ScDocument* mpDoc;
50 ScAddress maPos;
52 DECL_LINK(OkBtnHdl, void*);
53 DECL_LINK(TypeSelectHdl, void*);
54 DECL_LINK(PosSelectHdl, void*);
56 void Init();
58 public:
59 ScDataBarSettingsDlg(vcl::Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
60 virtual ~ScDataBarSettingsDlg();
61 virtual void dispose() SAL_OVERRIDE;
63 ScDataBarFormatData* GetData();
66 #endif // INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */