-
Notifications
You must be signed in to change notification settings - Fork 64
/
word.interfaces.fielddata.yml
110 lines (109 loc) · 5.42 KB
/
word.interfaces.fielddata.yml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
### YamlMime:TSType
name: Word.Interfaces.FieldData
uid: 'word!Word.Interfaces.FieldData:interface'
package: word!
fullName: Word.Interfaces.FieldData
summary: An interface describing the data returned by calling `field.toJSON()`<!-- -->.
remarks: ''
isPreview: false
isDeprecated: false
type: interface
properties:
- name: code
uid: 'word!Word.Interfaces.FieldData#code:member'
package: word!
fullName: code
summary: Specifies the field's code instruction.
remarks: |-
\[ [API set: WordApi 1.4](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]
Note: The ability to set the code was introduced in WordApi 1.5.
isPreview: false
isDeprecated: false
syntax:
content: 'code?: string;'
return:
type: string
- name: data
uid: 'word!Word.Interfaces.FieldData#data:member'
package: word!
fullName: data
summary: >-
Specifies data in an "Addin" field. If the field isn't an "Addin" field, it is `null` and it will throw a general
exception when code attempts to set it.
remarks: '\[ [API set: WordApi 1.5](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'data?: string;'
return:
type: string
- name: kind
uid: 'word!Word.Interfaces.FieldData#kind:member'
package: word!
fullName: kind
summary: Gets the field's kind.
remarks: '\[ [API set: WordApi 1.5](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'kind?: Word.FieldKind | "None" | "Hot" | "Warm" | "Cold";'
return:
type: '<xref uid="word!Word.FieldKind:enum" /> | "None" | "Hot" | "Warm" | "Cold"'
- name: locked
uid: 'word!Word.Interfaces.FieldData#locked:member'
package: word!
fullName: locked
summary: 'Specifies whether the field is locked. `true` if the field is locked, `false` otherwise.'
remarks: '\[ [API set: WordApi 1.5](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'locked?: boolean;'
return:
type: boolean
- name: result
uid: 'word!Word.Interfaces.FieldData#result:member'
package: word!
fullName: result
summary: Gets the field's result data.
remarks: '\[ [API set: WordApi 1.4](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'result?: Word.Interfaces.RangeData;'
return:
type: '<xref uid="word!Word.Interfaces.RangeData:interface" />'
- name: type
uid: 'word!Word.Interfaces.FieldData#type:member'
package: word!
fullName: type
summary: Gets the field's type.
remarks: '\[ [API set: WordApi 1.5](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: >-
type?: Word.FieldType | "Addin" | "AddressBlock" | "Advance" | "Ask" | "Author" | "AutoText" | "AutoTextList" |
"BarCode" | "Bibliography" | "BidiOutline" | "Citation" | "Comments" | "Compare" | "CreateDate" | "Data" |
"Database" | "Date" | "DisplayBarcode" | "DocProperty" | "DocVariable" | "EditTime" | "Embedded" | "EQ" |
"Expression" | "FileName" | "FileSize" | "FillIn" | "FormCheckbox" | "FormDropdown" | "FormText" | "GotoButton"
| "GreetingLine" | "Hyperlink" | "If" | "Import" | "Include" | "IncludePicture" | "IncludeText" | "Index" |
"Info" | "Keywords" | "LastSavedBy" | "Link" | "ListNum" | "MacroButton" | "MergeBarcode" | "MergeField" |
"MergeRec" | "MergeSeq" | "Next" | "NextIf" | "NoteRef" | "NumChars" | "NumPages" | "NumWords" | "OCX" | "Page"
| "PageRef" | "Print" | "PrintDate" | "Private" | "Quote" | "RD" | "Ref" | "RevNum" | "SaveDate" | "Section" |
"SectionPages" | "Seq" | "Set" | "Shape" | "SkipIf" | "StyleRef" | "Subject" | "Subscriber" | "Symbol" | "TA" |
"TC" | "Template" | "Time" | "Title" | "TOA" | "TOC" | "UserAddress" | "UserInitials" | "UserName" | "XE" |
"Empty" | "Others" | "Undefined";
return:
type: >-
<xref uid="word!Word.FieldType:enum" /> | "Addin" | "AddressBlock" | "Advance" | "Ask" | "Author" | "AutoText"
| "AutoTextList" | "BarCode" | "Bibliography" | "BidiOutline" | "Citation" | "Comments" | "Compare" |
"CreateDate" | "Data" | "Database" | "Date" | "DisplayBarcode" | "DocProperty" | "DocVariable" | "EditTime" |
"Embedded" | "EQ" | "Expression" | "FileName" | "FileSize" | "FillIn" | "FormCheckbox" | "FormDropdown" |
"FormText" | "GotoButton" | "GreetingLine" | "Hyperlink" | "If" | "Import" | "Include" | "IncludePicture" |
"IncludeText" | "Index" | "Info" | "Keywords" | "LastSavedBy" | "Link" | "ListNum" | "MacroButton" |
"MergeBarcode" | "MergeField" | "MergeRec" | "MergeSeq" | "Next" | "NextIf" | "NoteRef" | "NumChars" |
"NumPages" | "NumWords" | "OCX" | "Page" | "PageRef" | "Print" | "PrintDate" | "Private" | "Quote" | "RD" |
"Ref" | "RevNum" | "SaveDate" | "Section" | "SectionPages" | "Seq" | "Set" | "Shape" | "SkipIf" | "StyleRef" |
"Subject" | "Subscriber" | "Symbol" | "TA" | "TC" | "Template" | "Time" | "Title" | "TOA" | "TOC" |
"UserAddress" | "UserInitials" | "UserName" | "XE" | "Empty" | "Others" | "Undefined"