Debian Codegraph @

oovbaapi/ooo/vba/word/XTextInput.idl

raw
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 */
9
10 module ooo { module vba { module word {
11
12 interface XTextInput
13 {
14 interface ooo::vba::XHelperInterface;
15 interface com::sun::star::script::XDefaultProperty;
16
17 /// Default member: True if the specified form field object is a valid text input form field.
18 [attribute, readonly] boolean Valid;
19
20 /// Returns and sets the default text.
21 [attribute] string Default;
22 /// Returns the string that specifies how the text should be formatted (like date/time, currency)
23 [attribute, readonly] string Format;
24 /// Returns the type of content: oovbaapi/ooo/vba/word/WdTextFormFieldType.idl
25 [attribute, readonly] long Type;
26 /// Returns and sets the width, in points, of the specified text input field.
27 [attribute] long Width;
28
29 /// Deletes the text from the text form field.
30 void Clear();
31 /// Sets options for the specified text form field.
32 void EditType( [in] long Type, [in] /*optional string*/ any Default,
33 [in] /*optional string*/ any Format, [in] /*optional boolean*/ any Enabled);
34 };
35
36 }; }; };
37
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */