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 a get expression text field.
24 @see com::sun::star::text::TextField
26 published service GetExpression
28 service com
::sun
::star
::text
::TextField
;
29 /** contains the textual content of the field.
31 [property
]string Content
;
32 /** contains the current content of the text field.
33 <p> This property is especially useful for import/export purposes. </p>
35 [property
]string CurrentPresentation
;
36 /** this is the number format for this field.
37 @see com::sun::star::util::NumberFormatter
39 [property
]long NumberFormat
;
41 /** determines whether the content is displayed or evaluated.
43 [property
]boolean IsShowFormula
;
44 /** determines the type of the variable as described in
45 com::sun::star::text::SetVariableType
47 [property
]short SubType
;
48 /** contains the numerical value of the field.
50 [property
, readonly] double Value
;
54 [property
]short VariableSubtype
;
55 /** determines whether changes in language attributes at the position the text field
56 is located also change the number format as appropriate for this language.
60 [optional, property
] boolean IsFixedLanguage
;
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */