TextUnderlineControl.hxx (900fdb6d) TextUnderlineControl.hxx (6469a737)
1/**************************************************************
1/**************************************************************
2 *
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
9 * with the License. You may obtain a copy of the License at
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
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
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.
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 *
19 *
20 *************************************************************/
21
20 *************************************************************/
21
22
23
22#ifndef _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
23#define _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
24#ifndef _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
25#define _SVX_SIDEBAR_UNDERLINE_CONTROL_HXX_
24
26
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:
27#include "svx/sidebar/PopupControl.hxx"
28#include <sfx2/bindings.hxx>
29#include <svtools/ctrlbox.hxx>
30#include <svtools/ctrltool.hxx>
31#include "TextPropertyPanel.hxx"
32#include <vcl/fixed.hxx>
33#include <vcl/button.hxx>
34
35#include <vcl/vclenum.hxx>
36#include <svtools/valueset.hxx>
37
38namespace svx{ namespace sidebar {
39
40class TextUnderlineControl:public svx::sidebar::PopupControl
41{
42public:
41 TextUnderlineControl (
42 Window* pParent,
43 svx::sidebar::TextPropertyPanel& rPanel,
44 SfxBindings* pBindings);
45 void Rearrange(FontUnderline eLine);
43 TextUnderlineControl (
44 Window* pParent,
45 svx::sidebar::TextPropertyPanel& rPanel,
46 SfxBindings* pBindings);
47 void Rearrange(FontUnderline eLine);
46
47private:
48
49private:
48 svx::sidebar::TextPropertyPanel& mrTextPropertyPanel;
50 svx::sidebar::TextPropertyPanel& mrTextPropertyPanel;
49 SfxBindings* mpBindings;
50 ValueSet maVSUnderline;
51 PushButton maPBOptions;
52
53 Image maIMGSingle;
54 Image maIMGDouble;
55 Image maIMGBold;
56 Image maIMGDot;
57 Image maIMGDotBold;
58 Image maIMGDash;
59 Image maIMGDashLong;
60 Image maIMGDashDot;
61 Image maIMGDashDotDot;
62 Image maIMGWave;
63
51 SfxBindings* mpBindings;
52 ValueSet maVSUnderline;
53 PushButton maPBOptions;
54
55 Image maIMGSingle;
56 Image maIMGDouble;
57 Image maIMGBold;
58 Image maIMGDot;
59 Image maIMGDotBold;
60 Image maIMGDash;
61 Image maIMGDashLong;
62 Image maIMGDashDot;
63 Image maIMGDashDotDot;
64 Image maIMGWave;
65
64 //add for high contract
66 //add for high contract
65 Image maIMGSingleH;
66 Image maIMGDoubleH;
67 Image maIMGBoldH;
68 Image maIMGDotH;
69 Image maIMGDotBoldH;
70 Image maIMGDashH;
71 Image maIMGDashLongH;
72 Image maIMGDashDotH;

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

88
89 DECL_LINK( PBClickHdl, PushButton *);
90 DECL_LINK(VSSelectHdl, void *);
91};
92}}
93
94
95#endif
67 Image maIMGSingleH;
68 Image maIMGDoubleH;
69 Image maIMGBoldH;
70 Image maIMGDotH;
71 Image maIMGDotBoldH;
72 Image maIMGDashH;
73 Image maIMGDashLongH;
74 Image maIMGDashDotH;

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

90
91 DECL_LINK( PBClickHdl, PushButton *);
92 DECL_LINK(VSSelectHdl, void *);
93};
94}}
95
96
97#endif
96