bump product version to 4.1.6.2
[LibreOffice.git] / sc / source / ui / inc / colorformat.hxx
blob349e337351f15269ed7e342e97a31032e3a3267d
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 #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"
17 struct ScDataBarFormatData;
18 class ScDocument;
20 class ScDataBarSettingsDlg : public ModalDialog
22 private:
23 OKButton maBtnOk;
24 CancelButton maBtnCancel;
25 FixedLine maFlBarColors;
26 FixedLine maFlAxes;
27 FixedLine maFlValues;
29 FixedText maFtMin;
30 FixedText maFtMax;
31 FixedText maFtPositive;
32 FixedText maFtNegative;
33 FixedText maFtPosition;
34 FixedText maFtAxisColor;
36 ColorListBox maLbPos;
37 ColorListBox maLbNeg;
38 ColorListBox maLbAxisCol;
40 ListBox maLbTypeMin;
41 ListBox maLbTypeMax;
42 ListBox maLbAxisPos;
44 Edit maEdMin;
45 Edit maEdMax;
47 OUString maStrWarnSameValue;
48 SvNumberFormatter* mpNumberFormatter;
50 ScDocument* mpDoc;
51 ScAddress maPos;
53 DECL_LINK(OkBtnHdl, void*);
54 DECL_LINK(TypeSelectHdl, void*);
56 void Init();
58 public:
59 ScDataBarSettingsDlg(Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
61 ScDataBarFormatData* GetData();
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */