TextUnderlineControl.hxx (d4aefcae) TextUnderlineControl.hxx (45da7d5e)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4 unchanged lines hidden (view full) ---

13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 4 unchanged lines hidden (view full) ---

13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
21#ifndef _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
22#define _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
23
24#include "svx/sidebar/PopupControl.hxx"
25#include <sfx2/bindings.hxx>
26#include <svtools/ctrlbox.hxx>
27#include <svtools/ctrltool.hxx>
28#include "TextPropertyPanel.hxx"
29#include <vcl/fixed.hxx>
30#include <vcl/button.hxx>
31
32#include <vcl/vclenum.hxx>
33#include <svtools/valueset.hxx>
34
35namespace svx{ namespace sidebar {
36
37class TextUnderlineControl:public svx::sidebar::PopupControl
38{
39public:
22#ifndef _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
23#define _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
24
25#include "svx/sidebar/PopupControl.hxx"
26#include <sfx2/bindings.hxx>
27#include <svtools/ctrlbox.hxx>
28#include <svtools/ctrltool.hxx>
29#include "TextPropertyPanel.hxx"
30#include <vcl/fixed.hxx>
31#include <vcl/button.hxx>
32
33#include <vcl/vclenum.hxx>
34#include <svtools/valueset.hxx>
35
36namespace svx{ namespace sidebar {
37
38class TextUnderlineControl:public svx::sidebar::PopupControl
39{
40public:
40 TextUnderlineControl(Window* pParent, svx::sidebar::TextPropertyPanel& rPanel);
41 TextUnderlineControl (
42 Window* pParent,
43 svx::sidebar::TextPropertyPanel& rPanel,
44 SfxBindings* pBindings);
41 void GetFocus();
42 void Rearrange(FontUnderline eLine);
43 ValueSet& GetValueSet();
44 Control& GetPB();
45private:
46 svx::sidebar::TextPropertyPanel& mrTextPropertyPanel;
47 SfxBindings* mpBindings;
48 ValueSet maVSUnderline;

--- 46 unchanged lines hidden ---
45 void GetFocus();
46 void Rearrange(FontUnderline eLine);
47 ValueSet& GetValueSet();
48 Control& GetPB();
49private:
50 svx::sidebar::TextPropertyPanel& mrTextPropertyPanel;
51 SfxBindings* mpBindings;
52 ValueSet maVSUnderline;

--- 46 unchanged lines hidden ---