blob: 06543067c6eb19639325d305e041ffbd32f7ab25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
module ooo { module vba { module word {
interface XRange;
interface XFormField
{
interface ooo::vba::XHelperInterface;
interface com::sun::star::script::XDefaultProperty;
/// Default member: returns the field type from WdFieldType
[attribute, readonly] long Type;
/**
* Returns or sets true if references to the specified form field
* are automatically updated whenever the field is exited.
*/
[attribute] boolean CalculateOnExit;
/// Returns or sets a string that represents the result of the specified form field
[attribute] string Result;
/// Returns or sets true if a form field is enabled
[attribute] boolean Enabled;
/// Returns or sets the macro name that runs on keyboard (tab) navigation into the field
[attribute] string EntryMacro;
/// Returns or sets an exit macro name that runs on keyboard (tab) navigation out of the field
[attribute] string ExitMacro;
/**
* Returns or sets the text that's displayed in a message box
* when the form field has the focus and the user presses F1.
*
* When OwnHelp is False, HelpText specifies the name of an AutoText entry
* that contains help text for the form field
*/
[attribute] string HelpText;
/**
* Returns or sets the specifies the source of the F1 text that's displayed in a message box
* If True, the text specified by the HelpText property is displayed.
* If False, the text in the AutoText entry specified by the HelpText property is displayed.
*/
[attribute] boolean OwnHelp;
/// returns or sets the name of the specified object.
[attribute] string Name;
/// Returns or sets the text that is displayed in the status bar when a form field has the focus
[attribute] string StatusText;
/** OwnStatus:
* If True, the text specified by the StatusText property is displayed.
* If False, the text of the AutoText entry specified by the StatusText property is displayed.
*/
[attribute] boolean OwnStatus;
any CheckBox();
any DropDown();
any TextInput();
/// Returns the next form field in the collection.
any Next();
/// returns the previous form field in the collection.
any Previous();
/**
* Represents a contiguous area in a document.
* Each Range object is defined by a starting and ending character position.
*/
XRange Range();
};
}; }; };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|