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 SC_COLORFORMAT_HXX
11 #define SC_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
27 CancelButton maBtnCancel
;
28 FixedLine maFlBarColors
;
34 FixedText maFtPositive
;
35 FixedText maFtNegative
;
36 FixedText maFtPosition
;
37 FixedText maFtAxisColor
;
41 ColorListBox maLbAxisCol
;
50 OUString maStrWarnSameValue
;
51 SvNumberFormatter
* mpNumberFormatter
;
56 DECL_LINK(OkBtnHdl
, void*);
57 DECL_LINK(TypeSelectHdl
, void*);
62 ScDataBarSettingsDlg(Window
* pParent
, const ScDataBarFormatData
& rData
, ScDocument
* pDoc
, const ScAddress
& rPos
);
64 ScDataBarFormatData
* GetData();
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */