Skip to content

Commit 150cc9c

Browse files
[Word] (1.9) Release (OfficeDev#949)
1 parent 49971e7 commit 150cc9c

File tree

9 files changed

+64
-62
lines changed

9 files changed

+64
-62
lines changed

playlists-prod/word.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,24 @@
111111
group: Content Controls
112112
api_set:
113113
WordApi: '1.7'
114+
- id: word-content-controls-insert-and-change-combo-box-content-control
115+
name: Manage combo box content controls
116+
fileName: insert-and-change-combo-box-content-control.yaml
117+
description: 'Inserts, updates, and deletes combo box content controls.'
118+
rawUrl: >-
119+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
120+
group: Content Controls
121+
api_set:
122+
WordApi: '1.9'
123+
- id: word-content-controls-insert-and-change-dropdown-list-content-control
124+
name: Manage dropdown list content controls
125+
fileName: insert-and-change-dropdown-list-content-control.yaml
126+
description: 'Inserts, updates, and deletes dropdown list content controls.'
127+
rawUrl: >-
128+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
129+
group: Content Controls
130+
api_set:
131+
WordApi: '1.9'
114132
- id: word-content-controls-get-change-tracking-states
115133
name: Get change tracking states of content controls
116134
fileName: get-change-tracking-states.yaml
@@ -535,15 +553,6 @@
535553
group: Scenarios
536554
api_set:
537555
WordApi: '1.3'
538-
- id: word-insert-and-change-combo-box-content-control
539-
name: Manage combo box content controls
540-
fileName: insert-and-change-combo-box-content-control.yaml
541-
description: 'Inserts, updates, and deletes combo box content controls.'
542-
rawUrl: >-
543-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
544-
group: Preview APIs
545-
api_set:
546-
WordApi: '1.9'
547556
- id: word-insert-and-change-content-controls
548557
name: Content control basics
549558
fileName: insert-and-change-content-controls.yaml
@@ -553,15 +562,6 @@
553562
group: Preview APIs
554563
api_set:
555564
WordApi: '1.9'
556-
- id: word-insert-and-change-dropdown-list-content-control
557-
name: Manage dropdown list content controls
558-
fileName: insert-and-change-dropdown-list-content-control.yaml
559-
description: 'Inserts, updates, and deletes dropdown list content controls.'
560-
rawUrl: >-
561-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
562-
group: Preview APIs
563-
api_set:
564-
WordApi: '1.9'
565565
- id: word-manage-comments
566566
name: Manage comments
567567
fileName: manage-comments.yaml

playlists/word.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,24 @@
111111
group: Content Controls
112112
api_set:
113113
WordApi: '1.7'
114+
- id: word-content-controls-insert-and-change-combo-box-content-control
115+
name: Manage combo box content controls
116+
fileName: insert-and-change-combo-box-content-control.yaml
117+
description: 'Inserts, updates, and deletes combo box content controls.'
118+
rawUrl: >-
119+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
120+
group: Content Controls
121+
api_set:
122+
WordApi: '1.9'
123+
- id: word-content-controls-insert-and-change-dropdown-list-content-control
124+
name: Manage dropdown list content controls
125+
fileName: insert-and-change-dropdown-list-content-control.yaml
126+
description: 'Inserts, updates, and deletes dropdown list content controls.'
127+
rawUrl: >-
128+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
129+
group: Content Controls
130+
api_set:
131+
WordApi: '1.9'
114132
- id: word-content-controls-get-change-tracking-states
115133
name: Get change tracking states of content controls
116134
fileName: get-change-tracking-states.yaml
@@ -535,15 +553,6 @@
535553
group: Scenarios
536554
api_set:
537555
WordApi: '1.3'
538-
- id: word-insert-and-change-combo-box-content-control
539-
name: Manage combo box content controls
540-
fileName: insert-and-change-combo-box-content-control.yaml
541-
description: 'Inserts, updates, and deletes combo box content controls.'
542-
rawUrl: >-
543-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
544-
group: Preview APIs
545-
api_set:
546-
WordApi: '1.9'
547556
- id: word-insert-and-change-content-controls
548557
name: Content control basics
549558
fileName: insert-and-change-content-controls.yaml
@@ -553,15 +562,6 @@
553562
group: Preview APIs
554563
api_set:
555564
WordApi: '1.9'
556-
- id: word-insert-and-change-dropdown-list-content-control
557-
name: Manage dropdown list content controls
558-
fileName: insert-and-change-dropdown-list-content-control.yaml
559-
description: 'Inserts, updates, and deletes dropdown list content controls.'
560-
rawUrl: >-
561-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
562-
group: Preview APIs
563-
api_set:
564-
WordApi: '1.9'
565565
- id: word-manage-comments
566566
name: Manage comments
567567
fileName: manage-comments.yaml

samples/word/10-content-controls/get-change-tracking-states.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
order: 9
1+
order: 11
22
id: word-content-controls-get-change-tracking-states
33
name: Get change tracking states of content controls
44
description: Gets change tracking states of content controls.

samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml renamed to samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
id: word-insert-and-change-combo-box-content-control
1+
order: 9
2+
id: word-content-controls-insert-and-change-combo-box-content-control
23
name: Manage combo box content controls
34
description: 'Inserts, updates, and deletes combo box content controls.'
45
host: WORD
@@ -316,8 +317,8 @@ style:
316317
}
317318
language: css
318319
libraries: |-
319-
https://appsforoffice.microsoft.com/lib/beta/hosted/office.js
320-
@types/office-js-preview
320+
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
321+
@types/office-js
321322
322323
[email protected]/dist/css/fabric.min.css
323324
[email protected]/dist/css/fabric.components.min.css

samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml renamed to samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
id: word-insert-and-change-dropdown-list-content-control
1+
order: 10
2+
id: word-content-controls-insert-and-change-dropdown-list-content-control
23
name: Manage dropdown list content controls
34
description: 'Inserts, updates, and deletes dropdown list content controls.'
45
host: WORD
@@ -318,8 +319,8 @@ style:
318319
}
319320
language: css
320321
libraries: |-
321-
https://appsforoffice.microsoft.com/lib/beta/hosted/office.js
322-
@types/office-js-preview
322+
https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js
323+
@types/office-js
323324
324325
[email protected]/dist/css/fabric.min.css
325326
[email protected]/dist/css/fabric.components.min.css
6 Bytes
Binary file not shown.

snippet-extractor-output/snippets.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17204,7 +17204,7 @@
1720417204
'Word.ComboBoxContentControl:class':
1720517205
- >-
1720617206
// Link to full sample:
17207-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
17207+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1720817208

1720917209

1721017210
// Places a combo box content control at the end of the selection.
@@ -17219,7 +17219,7 @@
1721917219
'Word.ComboBoxContentControl#addListItem:member(1)':
1722017220
- >-
1722117221
// Link to full sample:
17222-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
17222+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1722317223

1722417224

1722517225
// Adds the provided list item to the first combo box content control in the
@@ -17260,7 +17260,7 @@
1726017260
'Word.ComboBoxContentControl#deleteAllListItems:member(1)':
1726117261
- >-
1726217262
// Link to full sample:
17263-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
17263+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1726417264

1726517265

1726617266
// Deletes the list items from first combo box content control found in the
@@ -17298,7 +17298,7 @@
1729817298
'Word.ComboBoxContentControl#listItems:member':
1729917299
- >-
1730017300
// Link to full sample:
17301-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
17301+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1730217302

1730317303

1730417304
// Deletes the provided list item from the first combo box content control
@@ -17962,7 +17962,7 @@
1796217962
'Word.ContentControl#comboBoxContentControl:member':
1796317963
- >-
1796417964
// Link to full sample:
17965-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
17965+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1796617966

1796717967

1796817968
// Adds the provided list item to the first combo box content control in the
@@ -18003,7 +18003,7 @@
1800318003
'Word.ContentControl#dropDownListContentControl:member':
1800418004
- >-
1800518005
// Link to full sample:
18006-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
18006+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
1800718007

1800818008

1800918009
// Adds the provided list item to the first dropdown list content control in
@@ -18540,7 +18540,7 @@
1854018540
'Word.ContentControlListItem:class':
1854118541
- >-
1854218542
// Link to full sample:
18543-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
18543+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
1854418544

1854518545

1854618546
// Deletes the provided list item from the first dropdown list content
@@ -18592,7 +18592,7 @@
1859218592
'Word.ContentControlListItem#delete:member(1)':
1859318593
- >-
1859418594
// Link to full sample:
18595-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
18595+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1859618596

1859718597

1859818598
// Deletes the provided list item from the first combo box content control
@@ -18644,7 +18644,7 @@
1864418644
'Word.ContentControlListItem#displayText:member':
1864518645
- >-
1864618646
// Link to full sample:
18647-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
18647+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
1864818648

1864918649

1865018650
// Deletes the provided list item from the first dropdown list content
@@ -18696,7 +18696,7 @@
1869618696
'Word.ContentControlListItemCollection:class':
1869718697
- >-
1869818698
// Link to full sample:
18699-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml
18699+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml
1870018700

1870118701

1870218702
// Gets the list items from the first combo box content control found in the
@@ -20470,7 +20470,7 @@
2047020470
'Word.DropDownListContentControl:class':
2047120471
- >-
2047220472
// Link to full sample:
20473-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
20473+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
2047420474

2047520475

2047620476
// Places a dropdown list content control at the end of the selection.
@@ -20485,7 +20485,7 @@
2048520485
'Word.DropDownListContentControl#addListItem:member(1)':
2048620486
- >-
2048720487
// Link to full sample:
20488-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
20488+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
2048920489

2049020490

2049120491
// Adds the provided list item to the first dropdown list content control in
@@ -20526,7 +20526,7 @@
2052620526
'Word.DropDownListContentControl#deleteAllListItems:member(1)':
2052720527
- >-
2052820528
// Link to full sample:
20529-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
20529+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
2053020530

2053120531

2053220532
// Deletes the list items from first dropdown list content control found in
@@ -20566,7 +20566,7 @@
2056620566
'Word.DropDownListContentControl#listItems:member':
2056720567
- >-
2056820568
// Link to full sample:
20569-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
20569+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
2057020570

2057120571

2057220572
// Deletes the provided list item from the first dropdown list content
@@ -22817,7 +22817,7 @@
2281722817
'Word.Range#getRange:member(1)':
2281822818
- >-
2281922819
// Link to full sample:
22820-
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml
22820+
https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml
2282122821

2282222822

2282322823
// Places a dropdown list content control at the end of the selection.

view-prod/word.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"word-content-controls-content-control-onexited-event": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/content-control-onexited-event.yaml",
1111
"word-content-controls-content-control-ondeleted-event": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/content-control-ondeleted-event.yaml",
1212
"word-content-controls-insert-and-change-checkbox-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-checkbox-content-control.yaml",
13+
"word-content-controls-insert-and-change-combo-box-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml",
14+
"word-content-controls-insert-and-change-dropdown-list-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml",
1315
"word-content-controls-get-change-tracking-states": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/get-change-tracking-states.yaml",
1416
"word-images-insert-and-get-pictures": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/15-images/insert-and-get-pictures.yaml",
1517
"word-lists-insert-list": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/20-lists/insert-list.yaml",
@@ -53,8 +55,6 @@
5355
"word-document-compare-documents": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/50-document/compare-documents.yaml",
5456
"word-scenarios-doc-assembly": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/90-scenarios/doc-assembly.yaml",
5557
"word-scenarios-multiple-property-set": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/90-scenarios/multiple-property-set.yaml",
56-
"word-insert-and-change-combo-box-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml",
5758
"word-insert-and-change-content-controls": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-content-controls.yaml",
58-
"word-insert-and-change-dropdown-list-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml",
5959
"word-manage-comments": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/99-preview-apis/manage-comments.yaml"
6060
}

view/word.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"word-content-controls-content-control-onexited-event": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/content-control-onexited-event.yaml",
1111
"word-content-controls-content-control-ondeleted-event": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/content-control-ondeleted-event.yaml",
1212
"word-content-controls-insert-and-change-checkbox-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/insert-and-change-checkbox-content-control.yaml",
13+
"word-content-controls-insert-and-change-combo-box-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/insert-and-change-combo-box-content-control.yaml",
14+
"word-content-controls-insert-and-change-dropdown-list-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/insert-and-change-dropdown-list-content-control.yaml",
1315
"word-content-controls-get-change-tracking-states": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/10-content-controls/get-change-tracking-states.yaml",
1416
"word-images-insert-and-get-pictures": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/15-images/insert-and-get-pictures.yaml",
1517
"word-lists-insert-list": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/20-lists/insert-list.yaml",
@@ -53,8 +55,6 @@
5355
"word-document-compare-documents": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/50-document/compare-documents.yaml",
5456
"word-scenarios-doc-assembly": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/90-scenarios/doc-assembly.yaml",
5557
"word-scenarios-multiple-property-set": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/90-scenarios/multiple-property-set.yaml",
56-
"word-insert-and-change-combo-box-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/insert-and-change-combo-box-content-control.yaml",
5758
"word-insert-and-change-content-controls": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/insert-and-change-content-controls.yaml",
58-
"word-insert-and-change-dropdown-list-content-control": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/insert-and-change-dropdown-list-content-control.yaml",
5959
"word-manage-comments": "https://raw.githubusercontent.com/OfficeDev/office-js-snippets/main/samples/word/99-preview-apis/manage-comments.yaml"
6060
}

0 commit comments

Comments
 (0)