xref: /AOO41X/main/offapi/com/sun/star/awt/UnoControlFixedHyperlinkModel.idl (revision d1e7efc3a14909e0a68c915b160c0a3adcc02b1f)
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
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
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.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_awt_UnoControlFixedHyperlinkModel_idl__
24#define __com_sun_star_awt_UnoControlFixedHyperlinkModel_idl__
25
26#ifndef __com_sun_star_awt_FontDescriptor_idl__
27#include <com/sun/star/awt/FontDescriptor.idl>
28#endif
29
30#ifndef __com_sun_star_awt_UnoControlModel_idl__
31#include <com/sun/star/awt/UnoControlModel.idl>
32#endif
33
34#ifndef __com_sun_star_style_VerticalAlignment_idl__
35#include <com/sun/star/style/VerticalAlignment.idl>
36#endif
37
38#ifndef __com_sun_star_util_Color_idl__
39#include <com/sun/star/util/Color.idl>
40#endif
41
42
43//=============================================================================
44
45 module com {  module sun {  module star {  module awt {
46
47//=============================================================================
48
49/** specifies the standard model of an <type>UnoControlFixedHyperlink</type>.
50 */
51service UnoControlFixedHyperlinkModel
52{
53    service com::sun::star::awt::UnoControlModel;
54
55    //-------------------------------------------------------------------------
56
57    /** specifies the horizontal alignment of the text in the control.
58
59        <pre>
60        0: left
61        1: center
62        2: right
63        </pre>
64     */
65    [property] short Align;
66
67    //-------------------------------------------------------------------------
68
69    /** specifies the background color (RGB) of the control.
70     */
71    [property] com::sun::star::util::Color BackgroundColor;
72
73    //-------------------------------------------------------------------------
74
75    /** specifies the border style of the control.
76
77        <pre>
78        0: No border
79        1: 3D border
80        2: simple border
81        </pre>
82     */
83    [property] short Border;
84
85    //-------------------------------------------------------------------------
86
87    /** specifies the color of the border, if present
88
89        <p>Not every border style (see <member>Border</member>) may support coloring.
90        For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
91
92        @since OpenOffice 2.0
93     */
94    [optional, property] long BorderColor;
95
96    //-------------------------------------------------------------------------
97
98    /** determines whether the control is enabled or disabled.
99     */
100    [property] boolean Enabled;
101
102    //-------------------------------------------------------------------------
103
104    /** specifies the font attributes of the text in the control.
105     */
106    [property] com::sun::star::awt::FontDescriptor FontDescriptor;
107
108    //-------------------------------------------------------------------------
109
110    /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
111        value of the text in the control.
112     */
113    [property] short FontEmphasisMark;
114
115    //-------------------------------------------------------------------------
116
117    /** specifies the <type scope="com::sun::star::text">FontRelief</type>
118        value of the text in the control.
119     */
120    [property] short FontRelief;
121
122    //-------------------------------------------------------------------------
123
124    /** specifies the help text of the control.
125     */
126    [property] string HelpText;
127
128    //-------------------------------------------------------------------------
129
130    /** specifies the help URL of the control.
131     */
132    [property] string HelpURL;
133
134    //-------------------------------------------------------------------------
135
136    /** specifies the label of the control.
137     */
138    [property] string Label;
139
140    //-------------------------------------------------------------------------
141
142    /** specifies that the text may be displayed on more than one line.
143     */
144    [property] boolean MultiLine;
145
146    //-------------------------------------------------------------------------
147
148    /** specifies that the control will be printed with the document.
149     */
150    [property] boolean Printable;
151
152    //-------------------------------------------------------------------------
153
154    /** specifies the text color (RGB) of the control.
155     */
156    [property] com::sun::star::util::Color TextColor;
157
158    //-------------------------------------------------------------------------
159
160    /** specifies the text line color (RGB) of the control.
161     */
162    [property] com::sun::star::util::Color TextLineColor;
163
164        //-------------------------------------------------------------------------
165
166        /** specifies the URL.
167         */
168        [property] string URL;
169
170    //-------------------------------------------------------------------------
171
172        /** specifies the vertical alignment of the text in the control.
173
174            @since OpenOffice 2.0
175         */
176        [optional, property] com::sun::star::style::VerticalAlignment VerticalAlign;
177};
178
179//=============================================================================
180
181}; }; }; };
182
183#endif
184
185