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
24#ifndef __com_sun_star_text_textfield_GetExpression_idl__
25#define __com_sun_star_text_textfield_GetExpression_idl_
26
27#include <com/sun/star/text/TextField.idl>
28
29//=============================================================================
30
31module com { module sun { module star { module text { module textfield {
32
33//=============================================================================
34/** specifies service of a get expression text field.
35	@see com::sun::star::text::TextField
36*/
37published service GetExpression
38{
39	service  com::sun::star::text::TextField;
40    /** contains the textual content of the field.
41     */
42    [property]string Content;
43    /** contains the current content of the text field.
44		<p> This property is escpecially usefull for import/export purposes. </p>
45	 */
46    [property]string CurrentPresentation;
47    /** this is the number format for this field.
48		@see com::sun::star::util::NumberFormatter
49	*/
50    [property]long NumberFormat;
51    /** specifies the type of the numbering as
52        <type scope="com::sun::star::style">NumberingType</type>
53     */
54    [property]short NumberingType;
55    /** determins whether the content is displayed or evaluated.
56     */
57    [property]boolean IsShowFormula;
58    /** determins the type of the variable as described in
59        <type scope="com::sun::star::text">SetVariableType</type>
60     */
61    [property]short SubType;
62    /** contains the numerical value of the field.
63     */
64    [property]double Value;
65    /** deprecated
66     */
67    [property]short VariableSubtype;
68    /** determines whether changes in language attributes at the position the text field
69        is located also change the number format as appropriate for this language.
70
71	@since OpenOffice 1.1.2
72     */
73    [optional, property] boolean IsFixedLanguage;
74};
75
76//=============================================================================
77
78}; }; }; }; };
79
80#endif
81
82