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/.
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
;
23 class ScDataBarSettingsDlg
: public ModalDialog
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
;
40 VclPtr
<Edit
> mpLenMin
;
41 VclPtr
<Edit
> mpLenMax
;
43 VclPtr
<CheckBox
> mpCbOnlyBar
;
45 OUString maStrWarnSameValue
;
46 OUString maCustomColor
;
47 SvNumberFormatter
* mpNumberFormatter
;
52 DECL_LINK(OkBtnHdl
, void*);
53 DECL_LINK(TypeSelectHdl
, void*);
54 DECL_LINK(PosSelectHdl
, void*);
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: */