bump product version to 4.1.6.2
[LibreOffice.git] / sc / source / ui / sidebar / CellLineStyleControl.hxx
blobd7d47dad1f18d62cef461280f57eefacb28e3584
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef SC_SIDEBAR_CELL_LINE_STYLE_CONTROL_HXX
19 #define SC_SIDEBAR_CELL_LINE_STYLE_CONTROL_HXX
21 #include <svx/sidebar/PopupControl.hxx>
22 #include <vcl/button.hxx>
23 #include <CellLineStyleValueSet.hxx>
25 namespace sc { namespace sidebar {
27 class CellAppearancePropertyPanel;
29 class CellLineStyleControl : public svx::sidebar::PopupControl
31 private:
32 CellAppearancePropertyPanel& mrCellAppearancePropertyPanel;
33 PushButton maPushButtonMoreOptions;
34 CellLineStyleValueSet maCellLineStyleValueSet;
35 XubString* mpStr;
37 /// bitfield
38 bool mbVSfocus : 1;
40 void Initialize();
41 void SetAllNoSel();
43 DECL_LINK(VSSelectHdl, void*);
44 DECL_LINK(PBClickHdl, PushButton*);
46 public:
47 CellLineStyleControl(Window* pParent, CellAppearancePropertyPanel& rPanel);
48 virtual ~CellLineStyleControl(void);
50 void GetFocus();
51 void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis);
53 ValueSet& GetValueSet()
55 return maCellLineStyleValueSet;
58 Control& GetPushButton()
60 return maPushButtonMoreOptions;
64 } } // end of namespace svx::sidebar
66 #endif // SC_SIDEBAR_CELL_LINE_STYLE_CONTROL_HXX
68 // eof