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 #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
;
20 class ScDataBarSettingsDlg
: public ModalDialog
24 CancelButton maBtnCancel
;
25 FixedLine maFlBarColors
;
31 FixedText maFtPositive
;
32 FixedText maFtNegative
;
33 FixedText maFtPosition
;
34 FixedText maFtAxisColor
;
38 ColorListBox maLbAxisCol
;
47 OUString maStrWarnSameValue
;
48 SvNumberFormatter
* mpNumberFormatter
;
53 DECL_LINK(OkBtnHdl
, void*);
54 DECL_LINK(TypeSelectHdl
, void*);
59 ScDataBarSettingsDlg(Window
* pParent
, const ScDataBarFormatData
& rData
, ScDocument
* pDoc
, const ScAddress
& rPos
);
61 ScDataBarFormatData
* GetData();
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */