1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 module com
{ module sun
{ module star
{ module text
{ module textfield
{
23 /** specifies service of an expression text field.
24 @see com::sun::star::text::TextField
26 published service SetExpression
28 service com
::sun
::star
::text
::DependentTextField
;
30 /** contains the textual content of the field.
32 [property
] string Content
;
34 /** contains the current content of the text field.
35 <p>This property is especially useful for import/export purposes.</p>
37 [property
] string CurrentPresentation
;
39 /** this is the number format for this field.
40 @see com::sun::star::util::NumberFormatter
42 [property
] long NumberFormat
;
44 /** specifies the type of the numbering as
45 com::sun::star::style::NumberingType
47 [property
] short NumberingType
;
49 /** determines whether the content is displayed or evaluated.
51 [property
] boolean IsShowFormula
;
53 /** contains an informational text that is displayed at the user
54 interface if it's an input field.
56 [property
] string Hint
;
58 /** determines whether this field is an input field.
60 [property
] boolean IsInput
;
62 /** determines whether the field is visible.
64 [property
] boolean IsVisible
;
66 /** contains the sequence value when this field is used as sequence field.
68 [property
] short SequenceValue
;
70 /** determines the type of the variable as described in
71 com::sun::star::text::SetVariableType
73 [property
] short SubType
;
75 /** contains the numerical value of the field.
77 [property
]double Value
;
79 /** contains the name of the set expression field master this field is
82 [property
, readonly] string VariableName
;
84 /** determines whether changes in language attributes at the position
85 the text field is located also change the number format as appropriate
90 [optional, property
] boolean IsFixedLanguage
;
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */