Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : */
9 :
10 : #ifndef INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
11 : #define INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
12 :
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"
19 :
20 : struct ScDataBarFormatData;
21 : class ScDocument;
22 :
23 0 : class ScDataBarSettingsDlg : public ModalDialog
24 : {
25 : private:
26 : OKButton* mpBtnOk;
27 : CancelButton* mpBtnCancel;
28 :
29 : ColorListBox* mpLbPos;
30 : ColorListBox* mpLbNeg;
31 : ColorListBox* mpLbAxisCol;
32 :
33 : ListBox* mpLbTypeMin;
34 : ListBox* mpLbTypeMax;
35 : ListBox* mpLbAxisPos;
36 :
37 : Edit* mpEdMin;
38 : Edit* mpEdMax;
39 :
40 : OUString maStrWarnSameValue;
41 : SvNumberFormatter* mpNumberFormatter;
42 :
43 : ScDocument* mpDoc;
44 : ScAddress maPos;
45 :
46 : DECL_LINK(OkBtnHdl, void*);
47 : DECL_LINK(TypeSelectHdl, void*);
48 :
49 : void Init();
50 :
51 : public:
52 : ScDataBarSettingsDlg(vcl::Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
53 :
54 : ScDataBarFormatData* GetData();
55 : };
56 :
57 : #endif // INCLUDED_SC_SOURCE_UI_INC_COLORFORMAT_HXX
58 :
59 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|