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 : #include <vcl/button.hxx>
11 : #include <vcl/dialog.hxx>
12 : #include <vcl/fixed.hxx>
13 : #include <svtools/ctrlbox.hxx>
14 : #include <svl/zforlist.hxx>
15 : #include "anyrefdg.hxx"
16 :
17 : struct ScDataBarFormatData;
18 : class ScDocument;
19 :
20 0 : class ScDataBarSettingsDlg : public ModalDialog
21 : {
22 : private:
23 : OKButton* mpBtnOk;
24 : CancelButton* mpBtnCancel;
25 :
26 : ColorListBox* mpLbPos;
27 : ColorListBox* mpLbNeg;
28 : ColorListBox* mpLbAxisCol;
29 :
30 : ListBox* mpLbTypeMin;
31 : ListBox* mpLbTypeMax;
32 : ListBox* mpLbAxisPos;
33 :
34 : Edit* mpEdMin;
35 : Edit* mpEdMax;
36 :
37 : OUString maStrWarnSameValue;
38 : SvNumberFormatter* mpNumberFormatter;
39 :
40 : ScDocument* mpDoc;
41 : ScAddress maPos;
42 :
43 : DECL_LINK(OkBtnHdl, void*);
44 : DECL_LINK(TypeSelectHdl, void*);
45 :
46 : void Init();
47 :
48 : public:
49 : ScDataBarSettingsDlg(Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
50 :
51 : ScDataBarFormatData* GetData();
52 : };
53 :
54 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|