1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_awt_UnoControlFixedTextModel_idl__
29 #define __com_sun_star_awt_UnoControlFixedTextModel_idl__
31 #include
<com
/sun
/star
/awt
/FontDescriptor.idl
>
32 #include
<com
/sun
/star
/awt
/UnoControlModel.idl
>
33 #include
<com
/sun
/star
/style
/VerticalAlignment.idl
>
34 #include
<com
/sun
/star
/util
/Color.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module awt
{
41 //=============================================================================
43 /** specifies the standard model of an <type>UnoControlFixedText</type>.
45 published service UnoControlFixedTextModel
47 service com
::sun
::star
::awt
::UnoControlModel
;
49 //-------------------------------------------------------------------------
51 /** specifies the horizontal alignment of the text in the control.
59 [property
] short Align
;
61 //-------------------------------------------------------------------------
63 /** specifies the background color (RGB) of the control.
65 [property
] com
::sun
::star
::util
::Color BackgroundColor
;
67 //-------------------------------------------------------------------------
69 /** specifies the border style of the control.
77 [property
] short Border
;
79 //-------------------------------------------------------------------------
81 /** specifies the color of the border, if present
83 <p>Not every border style (see <member>Border</member>) may support coloring.
84 For instance, usually a border with 3D effect will ignore the BorderColor setting.</p>
88 [optional, property
] long BorderColor
;
90 //-------------------------------------------------------------------------
92 /** determines whether the control is enabled or disabled.
94 [property
] boolean Enabled
;
96 //-------------------------------------------------------------------------
98 /** specifies the font attributes of the text in the control.
100 [property
] com
::sun
::star
::awt
::FontDescriptor FontDescriptor
;
102 //-------------------------------------------------------------------------
104 /** specifies the <type scope="com::sun::star::text">FontEmphasis</type>
105 value of the text in the control.
107 [property
] short FontEmphasisMark
;
109 //-------------------------------------------------------------------------
111 /** specifies the <type scope="com::sun::star::text">FontRelief</type>
112 value of the text in the control.
114 [property
] short FontRelief
;
116 //-------------------------------------------------------------------------
118 /** specifies the help text of the control.
120 [property
] string HelpText
;
122 //-------------------------------------------------------------------------
124 /** specifies the help URL of the control.
126 [property
] string HelpURL
;
128 //-------------------------------------------------------------------------
130 /** specifies the label of the control.
132 [property
] string Label
;
134 //-------------------------------------------------------------------------
136 /** specifies that the text may be displayed on more than one line.
138 [property
] boolean MultiLine
;
140 //-------------------------------------------------------------------------
142 /** specifies that the control will be printed with the document.
144 [property
] boolean Printable
;
146 //-------------------------------------------------------------------------
148 /** specifies the text color (RGB) of the control.
150 [property
] com
::sun
::star
::util
::Color TextColor
;
152 //-------------------------------------------------------------------------
154 /** specifies the text line color (RGB) of the control.
156 [property
] com
::sun
::star
::util
::Color TextLineColor
;
158 //-------------------------------------------------------------------------
160 /** specifies the vertical alignment of the text in the control.
164 [optional, property
] com
::sun
::star
::style
::VerticalAlignment VerticalAlign
;
168 //=============================================================================
174 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */