-
Notifications
You must be signed in to change notification settings - Fork 66
/
word.interfaces.rangecollectionloadoptions.yml
212 lines (212 loc) · 9.75 KB
/
word.interfaces.rangecollectionloadoptions.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
### YamlMime:TSType
name: Word.Interfaces.RangeCollectionLoadOptions
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions:interface'
package: word!
fullName: Word.Interfaces.RangeCollectionLoadOptions
summary: 'Contains a collection of [Word.Range](xref:word!Word.Range:class) objects.'
remarks: '\[ [API set: WordApi 1.1](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
type: interface
properties:
- name: $all
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#$all:member'
package: word!
fullName: $all
summary: >-
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`<!-- -->) but not
the navigational properties (such as `Range.format.fill.color`<!-- -->).
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: '$all?: boolean;'
return:
type: boolean
- name: font
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#font:member'
package: word!
fullName: font
summary: >-
For EACH ITEM in the collection: Gets the text format of the range. Use this to get and set font name, size,
color, and other properties.
remarks: '\[ [API set: WordApi 1.1](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'font?: Word.Interfaces.FontLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.FontLoadOptions:interface" />'
- name: hyperlink
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#hyperlink:member'
package: word!
fullName: hyperlink
summary: >-
For EACH ITEM in the collection: Gets the first hyperlink in the range, or sets a hyperlink on the range. All
hyperlinks in the range are deleted when you set a new hyperlink on the range. Use a '\#' to separate the address
part from the optional location part.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'hyperlink?: boolean;'
return:
type: boolean
- name: isEmpty
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#isEmpty:member'
package: word!
fullName: isEmpty
summary: 'For EACH ITEM in the collection: Checks whether the range length is zero.'
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'isEmpty?: boolean;'
return:
type: boolean
- name: parentBody
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentBody:member'
package: word!
fullName: parentBody
summary: 'For EACH ITEM in the collection: Gets the parent body of the range.'
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentBody?: Word.Interfaces.BodyLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.BodyLoadOptions:interface" />'
- name: parentContentControl
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentContentControl:member'
package: word!
fullName: parentContentControl
summary: >-
For EACH ITEM in the collection: Gets the currently supported content control that contains the range. Throws an
`ItemNotFound` error if there isn't a parent content control.
remarks: '\[ [API set: WordApi 1.1](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentContentControl?: Word.Interfaces.ContentControlLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.ContentControlLoadOptions:interface" />'
- name: parentContentControlOrNullObject
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentContentControlOrNullObject:member'
package: word!
fullName: parentContentControlOrNullObject
summary: >-
For EACH ITEM in the collection: Gets the currently supported content control that contains the range. If there
isn't a parent content control, then this method will return an object with its `isNullObject` property set to
`true`<!-- -->. For further information, see [*OrNullObject methods and
properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties)<!--
-->.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentContentControlOrNullObject?: Word.Interfaces.ContentControlLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.ContentControlLoadOptions:interface" />'
- name: parentTable
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentTable:member'
package: word!
fullName: parentTable
summary: >-
For EACH ITEM in the collection: Gets the table that contains the range. Throws an `ItemNotFound` error if it
isn't contained in a table.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentTable?: Word.Interfaces.TableLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.TableLoadOptions:interface" />'
- name: parentTableCell
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentTableCell:member'
package: word!
fullName: parentTableCell
summary: >-
For EACH ITEM in the collection: Gets the table cell that contains the range. Throws an `ItemNotFound` error if it
isn't contained in a table cell.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentTableCell?: Word.Interfaces.TableCellLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.TableCellLoadOptions:interface" />'
- name: parentTableCellOrNullObject
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentTableCellOrNullObject:member'
package: word!
fullName: parentTableCellOrNullObject
summary: >-
For EACH ITEM in the collection: Gets the table cell that contains the range. If it isn't contained in a table
cell, then this method will return an object with its `isNullObject` property set to `true`<!-- -->. For further
information, see [*OrNullObject methods and
properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties)<!--
-->.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentTableCellOrNullObject?: Word.Interfaces.TableCellLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.TableCellLoadOptions:interface" />'
- name: parentTableOrNullObject
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#parentTableOrNullObject:member'
package: word!
fullName: parentTableOrNullObject
summary: >-
For EACH ITEM in the collection: Gets the table that contains the range. If it isn't contained in a table, then
this method will return an object with its `isNullObject` property set to `true`<!-- -->. For further information,
see [*OrNullObject methods and
properties](https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties)<!--
-->.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'parentTableOrNullObject?: Word.Interfaces.TableLoadOptions;'
return:
type: '<xref uid="word!Word.Interfaces.TableLoadOptions:interface" />'
- name: style
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#style:member'
package: word!
fullName: style
summary: >-
For EACH ITEM in the collection: Specifies the style name for the range. Use this property for custom styles and
localized style names. To use the built-in styles that are portable between locales, see the "styleBuiltIn"
property.
remarks: '\[ [API set: WordApi 1.1](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'style?: boolean;'
return:
type: boolean
- name: styleBuiltIn
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#styleBuiltIn:member'
package: word!
fullName: styleBuiltIn
summary: >-
For EACH ITEM in the collection: Specifies the built-in style name for the range. Use this property for built-in
styles that are portable between locales. To use custom styles or localized style names, see the "style" property.
remarks: '\[ [API set: WordApi 1.3](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'styleBuiltIn?: boolean;'
return:
type: boolean
- name: text
uid: 'word!Word.Interfaces.RangeCollectionLoadOptions#text:member'
package: word!
fullName: text
summary: 'For EACH ITEM in the collection: Gets the text of the range.'
remarks: '\[ [API set: WordApi 1.1](/javascript/api/requirement-sets/word/word-api-requirement-sets) \]'
isPreview: false
isDeprecated: false
syntax:
content: 'text?: boolean;'
return:
type: boolean