@types/office-js 1.0.244 → 1.0.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js/README.md +1 -1
- office-js/index.d.ts +200 -170
- office-js/package.json +2 -2
office-js/index.d.ts
CHANGED
|
@@ -411,6 +411,9 @@ declare namespace Office {
|
|
|
411
411
|
}
|
|
412
412
|
/**
|
|
413
413
|
* Specifies the host Office application in which the add-in is running.
|
|
414
|
+
*
|
|
415
|
+
* @remarks
|
|
416
|
+
* **Important**: In Outlook, this enum is available from Mailbox requirement set 1.5.
|
|
414
417
|
*/
|
|
415
418
|
enum HostType {
|
|
416
419
|
/**
|
|
@@ -448,6 +451,9 @@ declare namespace Office {
|
|
|
448
451
|
}
|
|
449
452
|
/**
|
|
450
453
|
* Specifies the OS or other platform on which the Office host application is running.
|
|
454
|
+
*
|
|
455
|
+
* @remarks
|
|
456
|
+
* **Important**: In Outlook, this enum is available from Mailbox requirement set 1.5.
|
|
451
457
|
*/
|
|
452
458
|
enum PlatformType {
|
|
453
459
|
/**
|
|
@@ -463,7 +469,7 @@ declare namespace Office {
|
|
|
463
469
|
*/
|
|
464
470
|
Mac,
|
|
465
471
|
/**
|
|
466
|
-
* The platform an iOS device.
|
|
472
|
+
* The platform is an iOS device.
|
|
467
473
|
*/
|
|
468
474
|
iOS,
|
|
469
475
|
/**
|
|
@@ -785,6 +791,12 @@ declare namespace Office {
|
|
|
785
791
|
contentLanguage: string;
|
|
786
792
|
/**
|
|
787
793
|
* Gets information about the environment in which the add-in is running.
|
|
794
|
+
*
|
|
795
|
+
* @remarks
|
|
796
|
+
* **Important**: In Outlook, this property is available from Mailbox requirement set 1.5.
|
|
797
|
+
* For all Mailbox requirement sets, you can use the
|
|
798
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
|
|
799
|
+
* property to get similar information.
|
|
788
800
|
*/
|
|
789
801
|
diagnostics: ContextInformation;
|
|
790
802
|
/**
|
|
@@ -825,8 +837,12 @@ declare namespace Office {
|
|
|
825
837
|
/**
|
|
826
838
|
* Contains the Office application host in which the add-in is running.
|
|
827
839
|
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
840
|
+
* @remarks
|
|
841
|
+
* **Important**: In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
|
|
842
|
+
* `Office.context.diagnostics` property to get the host starting with requirement set 1.5. For all
|
|
843
|
+
* Mailbox requirement sets, you can use the
|
|
844
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
|
|
845
|
+
* property to get similar information.
|
|
830
846
|
*/
|
|
831
847
|
host: HostType;
|
|
832
848
|
/**
|
|
@@ -858,8 +874,12 @@ declare namespace Office {
|
|
|
858
874
|
/**
|
|
859
875
|
* Provides the platform on which the add-in is running.
|
|
860
876
|
*
|
|
861
|
-
*
|
|
862
|
-
*
|
|
877
|
+
* @remarks
|
|
878
|
+
* **Important**: In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
|
|
879
|
+
* `Office.context.diagnostics` property to get the platform starting with requirement set 1.5. For all
|
|
880
|
+
* Mailbox requirement sets, you can use the
|
|
881
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
|
|
882
|
+
* property to get similar information.
|
|
863
883
|
*/
|
|
864
884
|
platform: PlatformType;
|
|
865
885
|
/**
|
|
@@ -1472,6 +1492,12 @@ declare namespace Office {
|
|
|
1472
1492
|
}
|
|
1473
1493
|
/**
|
|
1474
1494
|
* Provides information about the environment in which the add-in is running.
|
|
1495
|
+
*
|
|
1496
|
+
* @remarks
|
|
1497
|
+
* **Important**: In Outlook, this object is available from Mailbox requirement set 1.5.
|
|
1498
|
+
* For all Mailbox requirement sets, you can use the
|
|
1499
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
|
|
1500
|
+
* property to get similar information.
|
|
1475
1501
|
*/
|
|
1476
1502
|
interface ContextInformation {
|
|
1477
1503
|
/**
|
|
@@ -12455,6 +12481,10 @@ declare namespace Office {
|
|
|
12455
12481
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
12456
12482
|
*
|
|
12457
12483
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
12484
|
+
*
|
|
12485
|
+
* Starting with Mailbox requirement set 1.5, you can also use the
|
|
12486
|
+
* {@link https://docs.microsoft.com/javascript/api/office/office.context?view=outlook-js-1.5&preserve-view=true#office-office-context-diagnostics-member | Office.context.diagnostics}
|
|
12487
|
+
* property to get similar information.
|
|
12458
12488
|
*/
|
|
12459
12489
|
interface Diagnostics {
|
|
12460
12490
|
/**
|
|
@@ -13281,13 +13311,17 @@ declare namespace Office {
|
|
|
13281
13311
|
* and `ThreeColumns` - displayed when the screen is wide) that correspond to the width of the screen and the window, and the number of columns
|
|
13282
13312
|
* that can be displayed.
|
|
13283
13313
|
*
|
|
13284
|
-
*
|
|
13314
|
+
* More information is under {@link Office.Diagnostics}.
|
|
13285
13315
|
*
|
|
13286
13316
|
* @remarks
|
|
13287
13317
|
*
|
|
13288
13318
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
13289
13319
|
*
|
|
13290
13320
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
13321
|
+
*
|
|
13322
|
+
* Starting with Mailbox requirement set 1.5, you can also use the
|
|
13323
|
+
* {@link https://docs.microsoft.com/javascript/api/office/office.context?view=outlook-js-1.5&preserve-view=true#office-office-context-diagnostics-member | Office.context.diagnostics}
|
|
13324
|
+
* property to get similar information.
|
|
13291
13325
|
*/
|
|
13292
13326
|
diagnostics: Diagnostics;
|
|
13293
13327
|
/**
|
|
@@ -22715,7 +22749,7 @@ declare namespace Excel {
|
|
|
22715
22749
|
* @remarks
|
|
22716
22750
|
* [Api set: ExcelApi 1.9]
|
|
22717
22751
|
*
|
|
22718
|
-
* @param address Optional. A string containing the comma-separated addresses or names of the individual ranges. For example, "A1:B2, A5:B5". If not specified,
|
|
22752
|
+
* @param address Optional. A string containing the comma-separated or semicolon-separated addresses or names of the individual ranges. For example, "A1:B2, A5:B5" or "A1:B2; A5:B5". If not specified, a `RangeAreas` object for the entire worksheet is returned.
|
|
22719
22753
|
*/
|
|
22720
22754
|
getRanges(address?: string): Excel.RangeAreas;
|
|
22721
22755
|
/**
|
|
@@ -23092,7 +23126,7 @@ declare namespace Excel {
|
|
|
23092
23126
|
*/
|
|
23093
23127
|
readonly onFormulaChanged: OfficeExtension.EventHandlers<Excel.WorksheetFormulaChangedEventArgs>;
|
|
23094
23128
|
/**
|
|
23095
|
-
* Occurs when a worksheet is moved
|
|
23129
|
+
* Occurs when a worksheet is moved within a workbook. This event only triggers when a worksheet is directly moved within a workbook. This event doesn't trigger when the position of a worksheet is indirectly changed, such as when a new worksheet is inserted and causes existing worksheets to change positions.
|
|
23096
23130
|
*
|
|
23097
23131
|
* @remarks
|
|
23098
23132
|
* [Api set: ExcelApiOnline 1.1]
|
|
@@ -23172,7 +23206,7 @@ declare namespace Excel {
|
|
|
23172
23206
|
toJSON(): Excel.Interfaces.WorksheetCollectionData;
|
|
23173
23207
|
}
|
|
23174
23208
|
/**
|
|
23175
|
-
* Represents the protection of a
|
|
23209
|
+
* Represents the protection of a worksheet object.
|
|
23176
23210
|
*
|
|
23177
23211
|
* @remarks
|
|
23178
23212
|
* [Api set: ExcelApi 1.2]
|
|
@@ -23716,11 +23750,11 @@ declare namespace Excel {
|
|
|
23716
23750
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
23717
23751
|
set(properties: Excel.Range): void;
|
|
23718
23752
|
/**
|
|
23719
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
23720
|
-
|
|
23721
|
-
|
|
23753
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
23754
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
23755
|
+
Discontiguous ranges are not supported.
|
|
23722
23756
|
|
|
23723
|
-
|
|
23757
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
23724
23758
|
*
|
|
23725
23759
|
* @remarks
|
|
23726
23760
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -23730,11 +23764,11 @@ declare namespace Excel {
|
|
|
23730
23764
|
*/
|
|
23731
23765
|
autoFill(destinationRange?: Range | string, autoFillType?: Excel.AutoFillType): void;
|
|
23732
23766
|
/**
|
|
23733
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
23734
|
-
|
|
23735
|
-
|
|
23767
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
23768
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
23769
|
+
Discontiguous ranges are not supported.
|
|
23736
23770
|
|
|
23737
|
-
|
|
23771
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
23738
23772
|
*
|
|
23739
23773
|
* @remarks
|
|
23740
23774
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -24035,7 +24069,8 @@ declare namespace Excel {
|
|
|
24035
24069
|
*/
|
|
24036
24070
|
getLastRow(): Excel.Range;
|
|
24037
24071
|
/**
|
|
24038
|
-
* Returns a RangeAreas object that represents the merged areas in this range. Note that if the merged areas count in this range is more than 512,
|
|
24072
|
+
* Returns a `RangeAreas` object that represents the merged areas in this range. Note that if the merged areas count in this range is more than 512, then this method will fail to return the result. If the `RangeAreas` object doesn't exist, then this function will return an object with its `isNullObject` property set to `true`.
|
|
24073
|
+
For further information, see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
|
|
24039
24074
|
*
|
|
24040
24075
|
* @remarks
|
|
24041
24076
|
* [Api set: ExcelApi 1.13]
|
|
@@ -26531,7 +26566,7 @@ declare namespace Excel {
|
|
|
26531
26566
|
/**
|
|
26532
26567
|
* Name of the table.
|
|
26533
26568
|
|
|
26534
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
26569
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
26535
26570
|
*
|
|
26536
26571
|
* @remarks
|
|
26537
26572
|
* [Api set: ExcelApi 1.1]
|
|
@@ -33134,7 +33169,7 @@ declare namespace Excel {
|
|
|
33134
33169
|
*/
|
|
33135
33170
|
getRangeOrNullObject(): Excel.Range;
|
|
33136
33171
|
/**
|
|
33137
|
-
* Applies the specified
|
|
33172
|
+
* Applies the specified AutoFilter object currently on the range.
|
|
33138
33173
|
*
|
|
33139
33174
|
* @remarks
|
|
33140
33175
|
* [Api set: ExcelApi 1.9]
|
|
@@ -39916,7 +39951,7 @@ declare namespace Excel {
|
|
|
39916
39951
|
* @remarks
|
|
39917
39952
|
* [Api set: ExcelApi 1.9]
|
|
39918
39953
|
*
|
|
39919
|
-
* @param key
|
|
39954
|
+
* @param key The name or ID of the shape to be retrieved.
|
|
39920
39955
|
*/
|
|
39921
39956
|
getItem(key: string): Excel.Shape;
|
|
39922
39957
|
/**
|
|
@@ -52928,7 +52963,7 @@ declare namespace Excel {
|
|
|
52928
52963
|
/**
|
|
52929
52964
|
* Name of the table.
|
|
52930
52965
|
|
|
52931
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
52966
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
52932
52967
|
*
|
|
52933
52968
|
* @remarks
|
|
52934
52969
|
* [Api set: ExcelApi 1.1]
|
|
@@ -58467,7 +58502,7 @@ declare namespace Excel {
|
|
|
58467
58502
|
/**
|
|
58468
58503
|
* Name of the table.
|
|
58469
58504
|
|
|
58470
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
58505
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
58471
58506
|
*
|
|
58472
58507
|
* @remarks
|
|
58473
58508
|
* [Api set: ExcelApi 1.1]
|
|
@@ -64398,7 +64433,7 @@ declare namespace Excel {
|
|
|
64398
64433
|
visibility?: boolean;
|
|
64399
64434
|
}
|
|
64400
64435
|
/**
|
|
64401
|
-
* Represents the protection of a
|
|
64436
|
+
* Represents the protection of a worksheet object.
|
|
64402
64437
|
*
|
|
64403
64438
|
* @remarks
|
|
64404
64439
|
* [Api set: ExcelApi 1.2]
|
|
@@ -65331,7 +65366,7 @@ declare namespace Excel {
|
|
|
65331
65366
|
/**
|
|
65332
65367
|
* For EACH ITEM in the collection: Name of the table.
|
|
65333
65368
|
|
|
65334
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65369
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65335
65370
|
*
|
|
65336
65371
|
* @remarks
|
|
65337
65372
|
* [Api set: ExcelApi 1.1]
|
|
@@ -65457,7 +65492,7 @@ declare namespace Excel {
|
|
|
65457
65492
|
/**
|
|
65458
65493
|
* For EACH ITEM in the collection: Name of the table.
|
|
65459
65494
|
|
|
65460
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65495
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65461
65496
|
*
|
|
65462
65497
|
* @remarks
|
|
65463
65498
|
* [Api set: ExcelApi 1.1]
|
|
@@ -65584,7 +65619,7 @@ declare namespace Excel {
|
|
|
65584
65619
|
/**
|
|
65585
65620
|
* Name of the table.
|
|
65586
65621
|
|
|
65587
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65622
|
+
The set name of the table must follow the guidelines specified in the {@link https://support.microsoft.com/office/fbf49a4f-82a3-43eb-8ba2-44d21233b114 | Rename an Excel table} article.
|
|
65588
65623
|
*
|
|
65589
65624
|
* @remarks
|
|
65590
65625
|
* [Api set: ExcelApi 1.1]
|
|
@@ -74740,7 +74775,7 @@ declare namespace Word {
|
|
|
74740
74775
|
* @remarks
|
|
74741
74776
|
* [Api set: WordApi 1.3]
|
|
74742
74777
|
*
|
|
74743
|
-
* @param rangeLocation Optional. The range location
|
|
74778
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
74744
74779
|
*/
|
|
74745
74780
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
74746
74781
|
/**
|
|
@@ -74749,7 +74784,7 @@ declare namespace Word {
|
|
|
74749
74784
|
* @remarks
|
|
74750
74785
|
* [Api set: WordApi 1.3]
|
|
74751
74786
|
*
|
|
74752
|
-
* @param rangeLocation Optional. The range location
|
|
74787
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
74753
74788
|
*/
|
|
74754
74789
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
74755
74790
|
/**
|
|
@@ -74759,7 +74794,7 @@ declare namespace Word {
|
|
|
74759
74794
|
* [Api set: WordApi 1.1]
|
|
74760
74795
|
*
|
|
74761
74796
|
* @param breakType Required. The break type to add to the body.
|
|
74762
|
-
* @param insertLocation Required. The value
|
|
74797
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74763
74798
|
*/
|
|
74764
74799
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
74765
74800
|
/**
|
|
@@ -74769,7 +74804,7 @@ declare namespace Word {
|
|
|
74769
74804
|
* [Api set: WordApi 1.1]
|
|
74770
74805
|
*
|
|
74771
74806
|
* @param breakType Required. The break type to add to the body.
|
|
74772
|
-
* @param insertLocation Required. The value
|
|
74807
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74773
74808
|
*/
|
|
74774
74809
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
74775
74810
|
/**
|
|
@@ -74786,7 +74821,7 @@ declare namespace Word {
|
|
|
74786
74821
|
* [Api set: WordApi 1.1]
|
|
74787
74822
|
*
|
|
74788
74823
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
74789
|
-
* @param insertLocation Required. The value
|
|
74824
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74790
74825
|
*/
|
|
74791
74826
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74792
74827
|
/**
|
|
@@ -74796,7 +74831,7 @@ declare namespace Word {
|
|
|
74796
74831
|
* [Api set: WordApi 1.1]
|
|
74797
74832
|
*
|
|
74798
74833
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
74799
|
-
* @param insertLocation Required. The value
|
|
74834
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74800
74835
|
*/
|
|
74801
74836
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74802
74837
|
/**
|
|
@@ -74806,7 +74841,7 @@ declare namespace Word {
|
|
|
74806
74841
|
* [Api set: WordApi 1.1]
|
|
74807
74842
|
*
|
|
74808
74843
|
* @param html Required. The HTML to be inserted in the document.
|
|
74809
|
-
* @param insertLocation Required. The value
|
|
74844
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74810
74845
|
*/
|
|
74811
74846
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74812
74847
|
/**
|
|
@@ -74816,7 +74851,7 @@ declare namespace Word {
|
|
|
74816
74851
|
* [Api set: WordApi 1.1]
|
|
74817
74852
|
*
|
|
74818
74853
|
* @param html Required. The HTML to be inserted in the document.
|
|
74819
|
-
* @param insertLocation Required. The value
|
|
74854
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74820
74855
|
*/
|
|
74821
74856
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74822
74857
|
/**
|
|
@@ -74826,7 +74861,7 @@ declare namespace Word {
|
|
|
74826
74861
|
* [Api set: WordApi 1.2]
|
|
74827
74862
|
*
|
|
74828
74863
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
74829
|
-
* @param insertLocation Required. The value
|
|
74864
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74830
74865
|
*/
|
|
74831
74866
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
74832
74867
|
/**
|
|
@@ -74836,7 +74871,7 @@ declare namespace Word {
|
|
|
74836
74871
|
* [Api set: WordApi 1.2]
|
|
74837
74872
|
*
|
|
74838
74873
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the body.
|
|
74839
|
-
* @param insertLocation Required. The value
|
|
74874
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74840
74875
|
*/
|
|
74841
74876
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
74842
74877
|
/**
|
|
@@ -74846,7 +74881,7 @@ declare namespace Word {
|
|
|
74846
74881
|
* [Api set: WordApi 1.1]
|
|
74847
74882
|
*
|
|
74848
74883
|
* @param ooxml Required. The OOXML to be inserted.
|
|
74849
|
-
* @param insertLocation Required. The value
|
|
74884
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74850
74885
|
*/
|
|
74851
74886
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74852
74887
|
/**
|
|
@@ -74856,7 +74891,7 @@ declare namespace Word {
|
|
|
74856
74891
|
* [Api set: WordApi 1.1]
|
|
74857
74892
|
*
|
|
74858
74893
|
* @param ooxml Required. The OOXML to be inserted.
|
|
74859
|
-
* @param insertLocation Required. The value
|
|
74894
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74860
74895
|
*/
|
|
74861
74896
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74862
74897
|
/**
|
|
@@ -74866,7 +74901,7 @@ declare namespace Word {
|
|
|
74866
74901
|
* [Api set: WordApi 1.1]
|
|
74867
74902
|
*
|
|
74868
74903
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
74869
|
-
* @param insertLocation Required. The value
|
|
74904
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74870
74905
|
*/
|
|
74871
74906
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
74872
74907
|
/**
|
|
@@ -74876,7 +74911,7 @@ declare namespace Word {
|
|
|
74876
74911
|
* [Api set: WordApi 1.1]
|
|
74877
74912
|
*
|
|
74878
74913
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
74879
|
-
* @param insertLocation Required. The value
|
|
74914
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74880
74915
|
*/
|
|
74881
74916
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
74882
74917
|
/**
|
|
@@ -74887,7 +74922,7 @@ declare namespace Word {
|
|
|
74887
74922
|
*
|
|
74888
74923
|
* @param rowCount Required. The number of rows in the table.
|
|
74889
74924
|
* @param columnCount Required. The number of columns in the table.
|
|
74890
|
-
* @param insertLocation Required. The value
|
|
74925
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74891
74926
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
74892
74927
|
*/
|
|
74893
74928
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -74899,7 +74934,7 @@ declare namespace Word {
|
|
|
74899
74934
|
*
|
|
74900
74935
|
* @param rowCount Required. The number of rows in the table.
|
|
74901
74936
|
* @param columnCount Required. The number of columns in the table.
|
|
74902
|
-
* @param insertLocation Required. The value
|
|
74937
|
+
* @param insertLocation Required. The value must be 'Start' or 'End'.
|
|
74903
74938
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
74904
74939
|
*/
|
|
74905
74940
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -74910,7 +74945,7 @@ declare namespace Word {
|
|
|
74910
74945
|
* [Api set: WordApi 1.1]
|
|
74911
74946
|
*
|
|
74912
74947
|
* @param text Required. Text to be inserted.
|
|
74913
|
-
* @param insertLocation Required. The value
|
|
74948
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74914
74949
|
*/
|
|
74915
74950
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
74916
74951
|
/**
|
|
@@ -74920,7 +74955,7 @@ declare namespace Word {
|
|
|
74920
74955
|
* [Api set: WordApi 1.1]
|
|
74921
74956
|
*
|
|
74922
74957
|
* @param text Required. Text to be inserted.
|
|
74923
|
-
* @param insertLocation Required. The value
|
|
74958
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
74924
74959
|
*/
|
|
74925
74960
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
74926
74961
|
/**
|
|
@@ -74947,7 +74982,7 @@ declare namespace Word {
|
|
|
74947
74982
|
* @remarks
|
|
74948
74983
|
* [Api set: WordApi 1.1]
|
|
74949
74984
|
*
|
|
74950
|
-
* @param selectionMode Optional. The selection mode
|
|
74985
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
74951
74986
|
*/
|
|
74952
74987
|
select(selectionMode?: Word.SelectionMode): void;
|
|
74953
74988
|
/**
|
|
@@ -74956,7 +74991,7 @@ declare namespace Word {
|
|
|
74956
74991
|
* @remarks
|
|
74957
74992
|
* [Api set: WordApi 1.1]
|
|
74958
74993
|
*
|
|
74959
|
-
* @param selectionMode Optional. The selection mode
|
|
74994
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
74960
74995
|
*/
|
|
74961
74996
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
74962
74997
|
/**
|
|
@@ -75131,7 +75166,6 @@ declare namespace Word {
|
|
|
75131
75166
|
readonly id: number;
|
|
75132
75167
|
/**
|
|
75133
75168
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
75134
|
-
*
|
|
75135
75169
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
75136
75170
|
*
|
|
75137
75171
|
* @remarks
|
|
@@ -75238,7 +75272,7 @@ declare namespace Word {
|
|
|
75238
75272
|
* @remarks
|
|
75239
75273
|
* [Api set: WordApi 1.3]
|
|
75240
75274
|
*
|
|
75241
|
-
* @param rangeLocation Optional. The range location
|
|
75275
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
75242
75276
|
*/
|
|
75243
75277
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
75244
75278
|
/**
|
|
@@ -75247,7 +75281,7 @@ declare namespace Word {
|
|
|
75247
75281
|
* @remarks
|
|
75248
75282
|
* [Api set: WordApi 1.3]
|
|
75249
75283
|
*
|
|
75250
|
-
* @param rangeLocation Optional. The range location
|
|
75284
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Before', 'Start', 'End', 'After', or 'Content'.
|
|
75251
75285
|
*/
|
|
75252
75286
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
75253
75287
|
/**
|
|
@@ -75267,7 +75301,7 @@ declare namespace Word {
|
|
|
75267
75301
|
* [Api set: WordApi 1.1]
|
|
75268
75302
|
*
|
|
75269
75303
|
* @param breakType Required. Type of break.
|
|
75270
|
-
* @param insertLocation Required. The value
|
|
75304
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
75271
75305
|
*/
|
|
75272
75306
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
75273
75307
|
/**
|
|
@@ -75277,7 +75311,7 @@ declare namespace Word {
|
|
|
75277
75311
|
* [Api set: WordApi 1.1]
|
|
75278
75312
|
*
|
|
75279
75313
|
* @param breakType Required. Type of break.
|
|
75280
|
-
* @param insertLocation Required. The value
|
|
75314
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
75281
75315
|
*/
|
|
75282
75316
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
75283
75317
|
/**
|
|
@@ -75287,7 +75321,7 @@ declare namespace Word {
|
|
|
75287
75321
|
* [Api set: WordApi 1.1]
|
|
75288
75322
|
*
|
|
75289
75323
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75290
|
-
* @param insertLocation Required. The value
|
|
75324
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75291
75325
|
*/
|
|
75292
75326
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75293
75327
|
/**
|
|
@@ -75297,7 +75331,7 @@ declare namespace Word {
|
|
|
75297
75331
|
* [Api set: WordApi 1.1]
|
|
75298
75332
|
*
|
|
75299
75333
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
75300
|
-
* @param insertLocation Required. The value
|
|
75334
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75301
75335
|
*/
|
|
75302
75336
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75303
75337
|
/**
|
|
@@ -75307,7 +75341,7 @@ declare namespace Word {
|
|
|
75307
75341
|
* [Api set: WordApi 1.1]
|
|
75308
75342
|
*
|
|
75309
75343
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
75310
|
-
* @param insertLocation Required. The value
|
|
75344
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75311
75345
|
*/
|
|
75312
75346
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75313
75347
|
/**
|
|
@@ -75317,7 +75351,7 @@ declare namespace Word {
|
|
|
75317
75351
|
* [Api set: WordApi 1.1]
|
|
75318
75352
|
*
|
|
75319
75353
|
* @param html Required. The HTML to be inserted in to the content control.
|
|
75320
|
-
* @param insertLocation Required. The value
|
|
75354
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75321
75355
|
*/
|
|
75322
75356
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75323
75357
|
/**
|
|
@@ -75327,7 +75361,7 @@ declare namespace Word {
|
|
|
75327
75361
|
* [Api set: WordApi 1.2]
|
|
75328
75362
|
*
|
|
75329
75363
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
75330
|
-
* @param insertLocation Required. The value
|
|
75364
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75331
75365
|
*/
|
|
75332
75366
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
75333
75367
|
/**
|
|
@@ -75337,7 +75371,7 @@ declare namespace Word {
|
|
|
75337
75371
|
* [Api set: WordApi 1.2]
|
|
75338
75372
|
*
|
|
75339
75373
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted in the content control.
|
|
75340
|
-
* @param insertLocation Required. The value
|
|
75374
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75341
75375
|
*/
|
|
75342
75376
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
75343
75377
|
/**
|
|
@@ -75347,7 +75381,7 @@ declare namespace Word {
|
|
|
75347
75381
|
* [Api set: WordApi 1.1]
|
|
75348
75382
|
*
|
|
75349
75383
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
75350
|
-
* @param insertLocation Required. The value
|
|
75384
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75351
75385
|
*/
|
|
75352
75386
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75353
75387
|
/**
|
|
@@ -75357,7 +75391,7 @@ declare namespace Word {
|
|
|
75357
75391
|
* [Api set: WordApi 1.1]
|
|
75358
75392
|
*
|
|
75359
75393
|
* @param ooxml Required. The OOXML to be inserted in to the content control.
|
|
75360
|
-
* @param insertLocation Required. The value
|
|
75394
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75361
75395
|
*/
|
|
75362
75396
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75363
75397
|
/**
|
|
@@ -75367,7 +75401,7 @@ declare namespace Word {
|
|
|
75367
75401
|
* [Api set: WordApi 1.1]
|
|
75368
75402
|
*
|
|
75369
75403
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75370
|
-
* @param insertLocation Required. The value
|
|
75404
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
75371
75405
|
*/
|
|
75372
75406
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
75373
75407
|
/**
|
|
@@ -75377,7 +75411,7 @@ declare namespace Word {
|
|
|
75377
75411
|
* [Api set: WordApi 1.1]
|
|
75378
75412
|
*
|
|
75379
75413
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
75380
|
-
* @param insertLocation Required. The value
|
|
75414
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
75381
75415
|
*/
|
|
75382
75416
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
75383
75417
|
/**
|
|
@@ -75388,7 +75422,7 @@ declare namespace Word {
|
|
|
75388
75422
|
*
|
|
75389
75423
|
* @param rowCount Required. The number of rows in the table.
|
|
75390
75424
|
* @param columnCount Required. The number of columns in the table.
|
|
75391
|
-
* @param insertLocation Required. The value
|
|
75425
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
75392
75426
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75393
75427
|
*/
|
|
75394
75428
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -75400,7 +75434,7 @@ declare namespace Word {
|
|
|
75400
75434
|
*
|
|
75401
75435
|
* @param rowCount Required. The number of rows in the table.
|
|
75402
75436
|
* @param columnCount Required. The number of columns in the table.
|
|
75403
|
-
* @param insertLocation Required. The value
|
|
75437
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'. 'Before' and 'After' cannot be used with 'RichTextTable', 'RichTextTableRow' and 'RichTextTableCell' content controls.
|
|
75404
75438
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
75405
75439
|
*/
|
|
75406
75440
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -75411,7 +75445,7 @@ declare namespace Word {
|
|
|
75411
75445
|
* [Api set: WordApi 1.1]
|
|
75412
75446
|
*
|
|
75413
75447
|
* @param text Required. The text to be inserted in to the content control.
|
|
75414
|
-
* @param insertLocation Required. The value
|
|
75448
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75415
75449
|
*/
|
|
75416
75450
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
75417
75451
|
/**
|
|
@@ -75421,7 +75455,7 @@ declare namespace Word {
|
|
|
75421
75455
|
* [Api set: WordApi 1.1]
|
|
75422
75456
|
*
|
|
75423
75457
|
* @param text Required. The text to be inserted in to the content control.
|
|
75424
|
-
* @param insertLocation Required. The value
|
|
75458
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
|
|
75425
75459
|
*/
|
|
75426
75460
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
75427
75461
|
/**
|
|
@@ -75448,7 +75482,7 @@ declare namespace Word {
|
|
|
75448
75482
|
* @remarks
|
|
75449
75483
|
* [Api set: WordApi 1.1]
|
|
75450
75484
|
*
|
|
75451
|
-
* @param selectionMode Optional. The selection mode
|
|
75485
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
75452
75486
|
*/
|
|
75453
75487
|
select(selectionMode?: Word.SelectionMode): void;
|
|
75454
75488
|
/**
|
|
@@ -75457,7 +75491,7 @@ declare namespace Word {
|
|
|
75457
75491
|
* @remarks
|
|
75458
75492
|
* [Api set: WordApi 1.1]
|
|
75459
75493
|
*
|
|
75460
|
-
* @param selectionMode Optional. The selection mode
|
|
75494
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
75461
75495
|
*/
|
|
75462
75496
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
75463
75497
|
/**
|
|
@@ -76435,7 +76469,7 @@ declare namespace Word {
|
|
|
76435
76469
|
* @remarks
|
|
76436
76470
|
* [Api set: WordApi 1.3]
|
|
76437
76471
|
*
|
|
76438
|
-
* @param rangeLocation Optional. The range location
|
|
76472
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
76439
76473
|
*/
|
|
76440
76474
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
76441
76475
|
/**
|
|
@@ -76444,7 +76478,7 @@ declare namespace Word {
|
|
|
76444
76478
|
* @remarks
|
|
76445
76479
|
* [Api set: WordApi 1.3]
|
|
76446
76480
|
*
|
|
76447
|
-
* @param rangeLocation Optional. The range location
|
|
76481
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', or 'End'.
|
|
76448
76482
|
*/
|
|
76449
76483
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
76450
76484
|
/**
|
|
@@ -76454,7 +76488,7 @@ declare namespace Word {
|
|
|
76454
76488
|
* [Api set: WordApi 1.2]
|
|
76455
76489
|
*
|
|
76456
76490
|
* @param breakType Required. The break type to add.
|
|
76457
|
-
* @param insertLocation Required. The value
|
|
76491
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76458
76492
|
*/
|
|
76459
76493
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
76460
76494
|
/**
|
|
@@ -76464,7 +76498,7 @@ declare namespace Word {
|
|
|
76464
76498
|
* [Api set: WordApi 1.2]
|
|
76465
76499
|
*
|
|
76466
76500
|
* @param breakType Required. The break type to add.
|
|
76467
|
-
* @param insertLocation Required. The value
|
|
76501
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76468
76502
|
*/
|
|
76469
76503
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
76470
76504
|
/**
|
|
@@ -76481,7 +76515,7 @@ declare namespace Word {
|
|
|
76481
76515
|
* [Api set: WordApi 1.2]
|
|
76482
76516
|
*
|
|
76483
76517
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76484
|
-
* @param insertLocation Required. The value
|
|
76518
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76485
76519
|
*/
|
|
76486
76520
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76487
76521
|
/**
|
|
@@ -76491,7 +76525,7 @@ declare namespace Word {
|
|
|
76491
76525
|
* [Api set: WordApi 1.2]
|
|
76492
76526
|
*
|
|
76493
76527
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
76494
|
-
* @param insertLocation Required. The value
|
|
76528
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76495
76529
|
*/
|
|
76496
76530
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76497
76531
|
/**
|
|
@@ -76501,7 +76535,7 @@ declare namespace Word {
|
|
|
76501
76535
|
* [Api set: WordApi 1.2]
|
|
76502
76536
|
*
|
|
76503
76537
|
* @param html Required. The HTML to be inserted.
|
|
76504
|
-
* @param insertLocation Required. The value
|
|
76538
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76505
76539
|
*/
|
|
76506
76540
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76507
76541
|
/**
|
|
@@ -76511,7 +76545,7 @@ declare namespace Word {
|
|
|
76511
76545
|
* [Api set: WordApi 1.2]
|
|
76512
76546
|
*
|
|
76513
76547
|
* @param html Required. The HTML to be inserted.
|
|
76514
|
-
* @param insertLocation Required. The value
|
|
76548
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76515
76549
|
*/
|
|
76516
76550
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76517
76551
|
/**
|
|
@@ -76521,7 +76555,7 @@ declare namespace Word {
|
|
|
76521
76555
|
* [Api set: WordApi 1.2]
|
|
76522
76556
|
*
|
|
76523
76557
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
76524
|
-
* @param insertLocation Required. The value
|
|
76558
|
+
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
76525
76559
|
*/
|
|
76526
76560
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
76527
76561
|
/**
|
|
@@ -76531,7 +76565,7 @@ declare namespace Word {
|
|
|
76531
76565
|
* [Api set: WordApi 1.2]
|
|
76532
76566
|
*
|
|
76533
76567
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
76534
|
-
* @param insertLocation Required. The value
|
|
76568
|
+
* @param insertLocation Required. The value must be 'Replace', 'Before', or 'After'.
|
|
76535
76569
|
*/
|
|
76536
76570
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
76537
76571
|
/**
|
|
@@ -76541,7 +76575,7 @@ declare namespace Word {
|
|
|
76541
76575
|
* [Api set: WordApi 1.2]
|
|
76542
76576
|
*
|
|
76543
76577
|
* @param ooxml Required. The OOXML to be inserted.
|
|
76544
|
-
* @param insertLocation Required. The value
|
|
76578
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76545
76579
|
*/
|
|
76546
76580
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76547
76581
|
/**
|
|
@@ -76551,7 +76585,7 @@ declare namespace Word {
|
|
|
76551
76585
|
* [Api set: WordApi 1.2]
|
|
76552
76586
|
*
|
|
76553
76587
|
* @param ooxml Required. The OOXML to be inserted.
|
|
76554
|
-
* @param insertLocation Required. The value
|
|
76588
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76555
76589
|
*/
|
|
76556
76590
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76557
76591
|
/**
|
|
@@ -76561,7 +76595,7 @@ declare namespace Word {
|
|
|
76561
76595
|
* [Api set: WordApi 1.2]
|
|
76562
76596
|
*
|
|
76563
76597
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76564
|
-
* @param insertLocation Required. The value
|
|
76598
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76565
76599
|
*/
|
|
76566
76600
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
76567
76601
|
/**
|
|
@@ -76571,7 +76605,7 @@ declare namespace Word {
|
|
|
76571
76605
|
* [Api set: WordApi 1.2]
|
|
76572
76606
|
*
|
|
76573
76607
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76574
|
-
* @param insertLocation Required. The value
|
|
76608
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76575
76609
|
*/
|
|
76576
76610
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
76577
76611
|
/**
|
|
@@ -76581,7 +76615,7 @@ declare namespace Word {
|
|
|
76581
76615
|
* [Api set: WordApi 1.2]
|
|
76582
76616
|
*
|
|
76583
76617
|
* @param text Required. Text to be inserted.
|
|
76584
|
-
* @param insertLocation Required. The value
|
|
76618
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76585
76619
|
*/
|
|
76586
76620
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
76587
76621
|
/**
|
|
@@ -76591,7 +76625,7 @@ declare namespace Word {
|
|
|
76591
76625
|
* [Api set: WordApi 1.2]
|
|
76592
76626
|
*
|
|
76593
76627
|
* @param text Required. Text to be inserted.
|
|
76594
|
-
* @param insertLocation Required. The value
|
|
76628
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
76595
76629
|
*/
|
|
76596
76630
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
76597
76631
|
/**
|
|
@@ -76600,7 +76634,7 @@ declare namespace Word {
|
|
|
76600
76634
|
* @remarks
|
|
76601
76635
|
* [Api set: WordApi 1.2]
|
|
76602
76636
|
*
|
|
76603
|
-
* @param selectionMode Optional. The selection mode
|
|
76637
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
76604
76638
|
*/
|
|
76605
76639
|
select(selectionMode?: Word.SelectionMode): void;
|
|
76606
76640
|
/**
|
|
@@ -76609,7 +76643,7 @@ declare namespace Word {
|
|
|
76609
76643
|
* @remarks
|
|
76610
76644
|
* [Api set: WordApi 1.2]
|
|
76611
76645
|
*
|
|
76612
|
-
* @param selectionMode Optional. The selection mode
|
|
76646
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
76613
76647
|
*/
|
|
76614
76648
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
76615
76649
|
/**
|
|
@@ -76766,7 +76800,7 @@ declare namespace Word {
|
|
|
76766
76800
|
* [Api set: WordApi 1.3]
|
|
76767
76801
|
*
|
|
76768
76802
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76769
|
-
* @param insertLocation Required. The value
|
|
76803
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76770
76804
|
*/
|
|
76771
76805
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
76772
76806
|
/**
|
|
@@ -76776,7 +76810,7 @@ declare namespace Word {
|
|
|
76776
76810
|
* [Api set: WordApi 1.3]
|
|
76777
76811
|
*
|
|
76778
76812
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
76779
|
-
* @param insertLocation Required. The value
|
|
76813
|
+
* @param insertLocation Required. The value must be 'Start', 'End', 'Before', or 'After'.
|
|
76780
76814
|
*/
|
|
76781
76815
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
76782
76816
|
/**
|
|
@@ -76786,7 +76820,7 @@ declare namespace Word {
|
|
|
76786
76820
|
* [Api set: WordApi 1.3]
|
|
76787
76821
|
*
|
|
76788
76822
|
* @param level Required. The level in the list.
|
|
76789
|
-
* @param alignment Required. The level alignment that
|
|
76823
|
+
* @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
|
|
76790
76824
|
*/
|
|
76791
76825
|
setLevelAlignment(level: number, alignment: Word.Alignment): void;
|
|
76792
76826
|
/**
|
|
@@ -76796,7 +76830,7 @@ declare namespace Word {
|
|
|
76796
76830
|
* [Api set: WordApi 1.3]
|
|
76797
76831
|
*
|
|
76798
76832
|
* @param level Required. The level in the list.
|
|
76799
|
-
* @param alignment Required. The level alignment that
|
|
76833
|
+
* @param alignment Required. The level alignment that must be 'Left', 'Centered', or 'Right'.
|
|
76800
76834
|
*/
|
|
76801
76835
|
setLevelAlignment(level: number, alignment: "Mixed" | "Unknown" | "Left" | "Centered" | "Right" | "Justified"): void;
|
|
76802
76836
|
/**
|
|
@@ -77391,7 +77425,7 @@ declare namespace Word {
|
|
|
77391
77425
|
* @remarks
|
|
77392
77426
|
* [Api set: WordApi 1.3]
|
|
77393
77427
|
*
|
|
77394
|
-
* @param rangeLocation Optional. The range location
|
|
77428
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77395
77429
|
*/
|
|
77396
77430
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
77397
77431
|
/**
|
|
@@ -77400,7 +77434,7 @@ declare namespace Word {
|
|
|
77400
77434
|
* @remarks
|
|
77401
77435
|
* [Api set: WordApi 1.3]
|
|
77402
77436
|
*
|
|
77403
|
-
* @param rangeLocation Optional. The range location
|
|
77437
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77404
77438
|
*/
|
|
77405
77439
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
77406
77440
|
/**
|
|
@@ -77420,7 +77454,7 @@ declare namespace Word {
|
|
|
77420
77454
|
* [Api set: WordApi 1.1]
|
|
77421
77455
|
*
|
|
77422
77456
|
* @param breakType Required. The break type to add to the document.
|
|
77423
|
-
* @param insertLocation Required. The value
|
|
77457
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77424
77458
|
*/
|
|
77425
77459
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
77426
77460
|
/**
|
|
@@ -77430,7 +77464,7 @@ declare namespace Word {
|
|
|
77430
77464
|
* [Api set: WordApi 1.1]
|
|
77431
77465
|
*
|
|
77432
77466
|
* @param breakType Required. The break type to add to the document.
|
|
77433
|
-
* @param insertLocation Required. The value
|
|
77467
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77434
77468
|
*/
|
|
77435
77469
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
77436
77470
|
/**
|
|
@@ -77447,7 +77481,7 @@ declare namespace Word {
|
|
|
77447
77481
|
* [Api set: WordApi 1.1]
|
|
77448
77482
|
*
|
|
77449
77483
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
77450
|
-
* @param insertLocation Required. The value
|
|
77484
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77451
77485
|
*/
|
|
77452
77486
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77453
77487
|
/**
|
|
@@ -77457,7 +77491,7 @@ declare namespace Word {
|
|
|
77457
77491
|
* [Api set: WordApi 1.1]
|
|
77458
77492
|
*
|
|
77459
77493
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
77460
|
-
* @param insertLocation Required. The value
|
|
77494
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77461
77495
|
*/
|
|
77462
77496
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77463
77497
|
/**
|
|
@@ -77467,7 +77501,7 @@ declare namespace Word {
|
|
|
77467
77501
|
* [Api set: WordApi 1.1]
|
|
77468
77502
|
*
|
|
77469
77503
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
77470
|
-
* @param insertLocation Required. The value
|
|
77504
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77471
77505
|
*/
|
|
77472
77506
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77473
77507
|
/**
|
|
@@ -77477,7 +77511,7 @@ declare namespace Word {
|
|
|
77477
77511
|
* [Api set: WordApi 1.1]
|
|
77478
77512
|
*
|
|
77479
77513
|
* @param html Required. The HTML to be inserted in the paragraph.
|
|
77480
|
-
* @param insertLocation Required. The value
|
|
77514
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77481
77515
|
*/
|
|
77482
77516
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77483
77517
|
/**
|
|
@@ -77487,7 +77521,7 @@ declare namespace Word {
|
|
|
77487
77521
|
* [Api set: WordApi 1.1]
|
|
77488
77522
|
*
|
|
77489
77523
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
77490
|
-
* @param insertLocation Required. The value
|
|
77524
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77491
77525
|
*/
|
|
77492
77526
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
77493
77527
|
/**
|
|
@@ -77497,7 +77531,7 @@ declare namespace Word {
|
|
|
77497
77531
|
* [Api set: WordApi 1.1]
|
|
77498
77532
|
*
|
|
77499
77533
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
77500
|
-
* @param insertLocation Required. The value
|
|
77534
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77501
77535
|
*/
|
|
77502
77536
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
77503
77537
|
/**
|
|
@@ -77507,7 +77541,7 @@ declare namespace Word {
|
|
|
77507
77541
|
* [Api set: WordApi 1.1]
|
|
77508
77542
|
*
|
|
77509
77543
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
77510
|
-
* @param insertLocation Required. The value
|
|
77544
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77511
77545
|
*/
|
|
77512
77546
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77513
77547
|
/**
|
|
@@ -77517,7 +77551,7 @@ declare namespace Word {
|
|
|
77517
77551
|
* [Api set: WordApi 1.1]
|
|
77518
77552
|
*
|
|
77519
77553
|
* @param ooxml Required. The OOXML to be inserted in the paragraph.
|
|
77520
|
-
* @param insertLocation Required. The value
|
|
77554
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77521
77555
|
*/
|
|
77522
77556
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77523
77557
|
/**
|
|
@@ -77527,7 +77561,7 @@ declare namespace Word {
|
|
|
77527
77561
|
* [Api set: WordApi 1.1]
|
|
77528
77562
|
*
|
|
77529
77563
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
77530
|
-
* @param insertLocation Required. The value
|
|
77564
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77531
77565
|
*/
|
|
77532
77566
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
77533
77567
|
/**
|
|
@@ -77537,7 +77571,7 @@ declare namespace Word {
|
|
|
77537
77571
|
* [Api set: WordApi 1.1]
|
|
77538
77572
|
*
|
|
77539
77573
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
77540
|
-
* @param insertLocation Required. The value
|
|
77574
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77541
77575
|
*/
|
|
77542
77576
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
77543
77577
|
/**
|
|
@@ -77548,7 +77582,7 @@ declare namespace Word {
|
|
|
77548
77582
|
*
|
|
77549
77583
|
* @param rowCount Required. The number of rows in the table.
|
|
77550
77584
|
* @param columnCount Required. The number of columns in the table.
|
|
77551
|
-
* @param insertLocation Required. The value
|
|
77585
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77552
77586
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
77553
77587
|
*/
|
|
77554
77588
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -77560,7 +77594,7 @@ declare namespace Word {
|
|
|
77560
77594
|
*
|
|
77561
77595
|
* @param rowCount Required. The number of rows in the table.
|
|
77562
77596
|
* @param columnCount Required. The number of columns in the table.
|
|
77563
|
-
* @param insertLocation Required. The value
|
|
77597
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
77564
77598
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
77565
77599
|
*/
|
|
77566
77600
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -77571,7 +77605,7 @@ declare namespace Word {
|
|
|
77571
77605
|
* [Api set: WordApi 1.1]
|
|
77572
77606
|
*
|
|
77573
77607
|
* @param text Required. Text to be inserted.
|
|
77574
|
-
* @param insertLocation Required. The value
|
|
77608
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77575
77609
|
*/
|
|
77576
77610
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
77577
77611
|
/**
|
|
@@ -77581,7 +77615,7 @@ declare namespace Word {
|
|
|
77581
77615
|
* [Api set: WordApi 1.1]
|
|
77582
77616
|
*
|
|
77583
77617
|
* @param text Required. Text to be inserted.
|
|
77584
|
-
* @param insertLocation Required. The value
|
|
77618
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
|
|
77585
77619
|
*/
|
|
77586
77620
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
77587
77621
|
/**
|
|
@@ -77608,7 +77642,7 @@ declare namespace Word {
|
|
|
77608
77642
|
* @remarks
|
|
77609
77643
|
* [Api set: WordApi 1.1]
|
|
77610
77644
|
*
|
|
77611
|
-
* @param selectionMode Optional. The selection mode
|
|
77645
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
77612
77646
|
*/
|
|
77613
77647
|
select(selectionMode?: Word.SelectionMode): void;
|
|
77614
77648
|
/**
|
|
@@ -77617,7 +77651,7 @@ declare namespace Word {
|
|
|
77617
77651
|
* @remarks
|
|
77618
77652
|
* [Api set: WordApi 1.1]
|
|
77619
77653
|
*
|
|
77620
|
-
* @param selectionMode Optional. The selection mode
|
|
77654
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
77621
77655
|
*/
|
|
77622
77656
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
77623
77657
|
/**
|
|
@@ -77975,7 +78009,7 @@ declare namespace Word {
|
|
|
77975
78009
|
* @remarks
|
|
77976
78010
|
* [Api set: WordApi 1.3]
|
|
77977
78011
|
*
|
|
77978
|
-
* @param rangeLocation Optional. The range location
|
|
78012
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77979
78013
|
*/
|
|
77980
78014
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
77981
78015
|
/**
|
|
@@ -77984,7 +78018,7 @@ declare namespace Word {
|
|
|
77984
78018
|
* @remarks
|
|
77985
78019
|
* [Api set: WordApi 1.3]
|
|
77986
78020
|
*
|
|
77987
|
-
* @param rangeLocation Optional. The range location
|
|
78021
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', 'After', or 'Content'.
|
|
77988
78022
|
*/
|
|
77989
78023
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
77990
78024
|
/**
|
|
@@ -78004,7 +78038,7 @@ declare namespace Word {
|
|
|
78004
78038
|
* [Api set: WordApi 1.1]
|
|
78005
78039
|
*
|
|
78006
78040
|
* @param breakType Required. The break type to add.
|
|
78007
|
-
* @param insertLocation Required. The value
|
|
78041
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78008
78042
|
*/
|
|
78009
78043
|
insertBreak(breakType: Word.BreakType, insertLocation: Word.InsertLocation): void;
|
|
78010
78044
|
/**
|
|
@@ -78014,7 +78048,7 @@ declare namespace Word {
|
|
|
78014
78048
|
* [Api set: WordApi 1.1]
|
|
78015
78049
|
*
|
|
78016
78050
|
* @param breakType Required. The break type to add.
|
|
78017
|
-
* @param insertLocation Required. The value
|
|
78051
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78018
78052
|
*/
|
|
78019
78053
|
insertBreak(breakType: "Page" | "Next" | "SectionNext" | "SectionContinuous" | "SectionEven" | "SectionOdd" | "Line", insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): void;
|
|
78020
78054
|
/**
|
|
@@ -78031,7 +78065,7 @@ declare namespace Word {
|
|
|
78031
78065
|
* [Api set: WordApi 1.1]
|
|
78032
78066
|
*
|
|
78033
78067
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78034
|
-
* @param insertLocation Required. The value
|
|
78068
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78035
78069
|
*/
|
|
78036
78070
|
insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78037
78071
|
/**
|
|
@@ -78041,7 +78075,7 @@ declare namespace Word {
|
|
|
78041
78075
|
* [Api set: WordApi 1.1]
|
|
78042
78076
|
*
|
|
78043
78077
|
* @param base64File Required. The base64 encoded content of a .docx file.
|
|
78044
|
-
* @param insertLocation Required. The value
|
|
78078
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78045
78079
|
*/
|
|
78046
78080
|
insertFileFromBase64(base64File: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78047
78081
|
/**
|
|
@@ -78051,7 +78085,7 @@ declare namespace Word {
|
|
|
78051
78085
|
* [Api set: WordApi 1.1]
|
|
78052
78086
|
*
|
|
78053
78087
|
* @param html Required. The HTML to be inserted.
|
|
78054
|
-
* @param insertLocation Required. The value
|
|
78088
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78055
78089
|
*/
|
|
78056
78090
|
insertHtml(html: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78057
78091
|
/**
|
|
@@ -78061,7 +78095,7 @@ declare namespace Word {
|
|
|
78061
78095
|
* [Api set: WordApi 1.1]
|
|
78062
78096
|
*
|
|
78063
78097
|
* @param html Required. The HTML to be inserted.
|
|
78064
|
-
* @param insertLocation Required. The value
|
|
78098
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78065
78099
|
*/
|
|
78066
78100
|
insertHtml(html: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78067
78101
|
/**
|
|
@@ -78071,7 +78105,7 @@ declare namespace Word {
|
|
|
78071
78105
|
* [Api set: WordApi 1.2]
|
|
78072
78106
|
*
|
|
78073
78107
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78074
|
-
* @param insertLocation Required. The value
|
|
78108
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78075
78109
|
*/
|
|
78076
78110
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: Word.InsertLocation): Word.InlinePicture;
|
|
78077
78111
|
/**
|
|
@@ -78081,7 +78115,7 @@ declare namespace Word {
|
|
|
78081
78115
|
* [Api set: WordApi 1.2]
|
|
78082
78116
|
*
|
|
78083
78117
|
* @param base64EncodedImage Required. The base64 encoded image to be inserted.
|
|
78084
|
-
* @param insertLocation Required. The value
|
|
78118
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78085
78119
|
*/
|
|
78086
78120
|
insertInlinePictureFromBase64(base64EncodedImage: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.InlinePicture;
|
|
78087
78121
|
/**
|
|
@@ -78091,7 +78125,7 @@ declare namespace Word {
|
|
|
78091
78125
|
* [Api set: WordApi 1.1]
|
|
78092
78126
|
*
|
|
78093
78127
|
* @param ooxml Required. The OOXML to be inserted.
|
|
78094
|
-
* @param insertLocation Required. The value
|
|
78128
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78095
78129
|
*/
|
|
78096
78130
|
insertOoxml(ooxml: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78097
78131
|
/**
|
|
@@ -78101,7 +78135,7 @@ declare namespace Word {
|
|
|
78101
78135
|
* [Api set: WordApi 1.1]
|
|
78102
78136
|
*
|
|
78103
78137
|
* @param ooxml Required. The OOXML to be inserted.
|
|
78104
|
-
* @param insertLocation Required. The value
|
|
78138
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78105
78139
|
*/
|
|
78106
78140
|
insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78107
78141
|
/**
|
|
@@ -78111,7 +78145,7 @@ declare namespace Word {
|
|
|
78111
78145
|
* [Api set: WordApi 1.1]
|
|
78112
78146
|
*
|
|
78113
78147
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78114
|
-
* @param insertLocation Required. The value
|
|
78148
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78115
78149
|
*/
|
|
78116
78150
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
78117
78151
|
/**
|
|
@@ -78121,7 +78155,7 @@ declare namespace Word {
|
|
|
78121
78155
|
* [Api set: WordApi 1.1]
|
|
78122
78156
|
*
|
|
78123
78157
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
78124
|
-
* @param insertLocation Required. The value
|
|
78158
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78125
78159
|
*/
|
|
78126
78160
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
78127
78161
|
/**
|
|
@@ -78132,7 +78166,7 @@ declare namespace Word {
|
|
|
78132
78166
|
*
|
|
78133
78167
|
* @param rowCount Required. The number of rows in the table.
|
|
78134
78168
|
* @param columnCount Required. The number of columns in the table.
|
|
78135
|
-
* @param insertLocation Required. The value
|
|
78169
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78136
78170
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78137
78171
|
*/
|
|
78138
78172
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -78144,7 +78178,7 @@ declare namespace Word {
|
|
|
78144
78178
|
*
|
|
78145
78179
|
* @param rowCount Required. The number of rows in the table.
|
|
78146
78180
|
* @param columnCount Required. The number of columns in the table.
|
|
78147
|
-
* @param insertLocation Required. The value
|
|
78181
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
78148
78182
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78149
78183
|
*/
|
|
78150
78184
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -78155,7 +78189,7 @@ declare namespace Word {
|
|
|
78155
78189
|
* [Api set: WordApi 1.1]
|
|
78156
78190
|
*
|
|
78157
78191
|
* @param text Required. Text to be inserted.
|
|
78158
|
-
* @param insertLocation Required. The value
|
|
78192
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78159
78193
|
*/
|
|
78160
78194
|
insertText(text: string, insertLocation: Word.InsertLocation): Word.Range;
|
|
78161
78195
|
/**
|
|
@@ -78165,7 +78199,7 @@ declare namespace Word {
|
|
|
78165
78199
|
* [Api set: WordApi 1.1]
|
|
78166
78200
|
*
|
|
78167
78201
|
* @param text Required. Text to be inserted.
|
|
78168
|
-
* @param insertLocation Required. The value
|
|
78202
|
+
* @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
|
|
78169
78203
|
*/
|
|
78170
78204
|
insertText(text: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range;
|
|
78171
78205
|
/**
|
|
@@ -78210,7 +78244,7 @@ declare namespace Word {
|
|
|
78210
78244
|
* @remarks
|
|
78211
78245
|
* [Api set: WordApi 1.1]
|
|
78212
78246
|
*
|
|
78213
|
-
* @param selectionMode Optional. The selection mode
|
|
78247
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
78214
78248
|
*/
|
|
78215
78249
|
select(selectionMode?: Word.SelectionMode): void;
|
|
78216
78250
|
/**
|
|
@@ -78219,7 +78253,7 @@ declare namespace Word {
|
|
|
78219
78253
|
* @remarks
|
|
78220
78254
|
* [Api set: WordApi 1.1]
|
|
78221
78255
|
*
|
|
78222
|
-
* @param selectionMode Optional. The selection mode
|
|
78256
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
78223
78257
|
*/
|
|
78224
78258
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
78225
78259
|
/**
|
|
@@ -78455,7 +78489,7 @@ declare namespace Word {
|
|
|
78455
78489
|
* @remarks
|
|
78456
78490
|
* [Api set: WordApi 1.1]
|
|
78457
78491
|
*
|
|
78458
|
-
* @param type Required. The type of footer to return. This value
|
|
78492
|
+
* @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78459
78493
|
*/
|
|
78460
78494
|
getFooter(type: Word.HeaderFooterType): Word.Body;
|
|
78461
78495
|
/**
|
|
@@ -78464,7 +78498,7 @@ declare namespace Word {
|
|
|
78464
78498
|
* @remarks
|
|
78465
78499
|
* [Api set: WordApi 1.1]
|
|
78466
78500
|
*
|
|
78467
|
-
* @param type Required. The type of footer to return. This value
|
|
78501
|
+
* @param type Required. The type of footer to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78468
78502
|
*/
|
|
78469
78503
|
getFooter(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
|
|
78470
78504
|
/**
|
|
@@ -78473,7 +78507,7 @@ declare namespace Word {
|
|
|
78473
78507
|
* @remarks
|
|
78474
78508
|
* [Api set: WordApi 1.1]
|
|
78475
78509
|
*
|
|
78476
|
-
* @param type Required. The type of header to return. This value
|
|
78510
|
+
* @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78477
78511
|
*/
|
|
78478
78512
|
getHeader(type: Word.HeaderFooterType): Word.Body;
|
|
78479
78513
|
/**
|
|
@@ -78482,7 +78516,7 @@ declare namespace Word {
|
|
|
78482
78516
|
* @remarks
|
|
78483
78517
|
* [Api set: WordApi 1.1]
|
|
78484
78518
|
*
|
|
78485
|
-
* @param type Required. The type of header to return. This value
|
|
78519
|
+
* @param type Required. The type of header to return. This value must be: 'Primary', 'FirstPage', or 'EvenPages'.
|
|
78486
78520
|
*/
|
|
78487
78521
|
getHeader(type: "Primary" | "FirstPage" | "EvenPages"): Word.Body;
|
|
78488
78522
|
/**
|
|
@@ -78803,7 +78837,7 @@ declare namespace Word {
|
|
|
78803
78837
|
* @remarks
|
|
78804
78838
|
* [Api set: WordApi 1.3]
|
|
78805
78839
|
*
|
|
78806
|
-
* @param insertLocation Required. It
|
|
78840
|
+
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
78807
78841
|
* @param columnCount Required. Number of columns to add.
|
|
78808
78842
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78809
78843
|
*/
|
|
@@ -78814,7 +78848,7 @@ declare namespace Word {
|
|
|
78814
78848
|
* @remarks
|
|
78815
78849
|
* [Api set: WordApi 1.3]
|
|
78816
78850
|
*
|
|
78817
|
-
* @param insertLocation Required. It
|
|
78851
|
+
* @param insertLocation Required. It must be 'Start' or 'End', corresponding to the appropriate side of the table.
|
|
78818
78852
|
* @param columnCount Required. Number of columns to add.
|
|
78819
78853
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78820
78854
|
*/
|
|
@@ -78825,7 +78859,7 @@ declare namespace Word {
|
|
|
78825
78859
|
* @remarks
|
|
78826
78860
|
* [Api set: WordApi 1.3]
|
|
78827
78861
|
*
|
|
78828
|
-
* @param insertLocation Required. It
|
|
78862
|
+
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
78829
78863
|
* @param rowCount Required. Number of rows to add.
|
|
78830
78864
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78831
78865
|
*/
|
|
@@ -78836,7 +78870,7 @@ declare namespace Word {
|
|
|
78836
78870
|
* @remarks
|
|
78837
78871
|
* [Api set: WordApi 1.3]
|
|
78838
78872
|
*
|
|
78839
|
-
* @param insertLocation Required. It
|
|
78873
|
+
* @param insertLocation Required. It must be 'Start' or 'End'.
|
|
78840
78874
|
* @param rowCount Required. Number of rows to add.
|
|
78841
78875
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
78842
78876
|
*/
|
|
@@ -78933,7 +78967,7 @@ declare namespace Word {
|
|
|
78933
78967
|
* @remarks
|
|
78934
78968
|
* [Api set: WordApi 1.3]
|
|
78935
78969
|
*
|
|
78936
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
78970
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
78937
78971
|
*/
|
|
78938
78972
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
78939
78973
|
/**
|
|
@@ -78942,7 +78976,7 @@ declare namespace Word {
|
|
|
78942
78976
|
* @remarks
|
|
78943
78977
|
* [Api set: WordApi 1.3]
|
|
78944
78978
|
*
|
|
78945
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
78979
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
78946
78980
|
*/
|
|
78947
78981
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
78948
78982
|
/**
|
|
@@ -78993,7 +79027,7 @@ declare namespace Word {
|
|
|
78993
79027
|
* @remarks
|
|
78994
79028
|
* [Api set: WordApi 1.3]
|
|
78995
79029
|
*
|
|
78996
|
-
* @param rangeLocation Optional. The range location
|
|
79030
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
78997
79031
|
*/
|
|
78998
79032
|
getRange(rangeLocation?: Word.RangeLocation): Word.Range;
|
|
78999
79033
|
/**
|
|
@@ -79002,7 +79036,7 @@ declare namespace Word {
|
|
|
79002
79036
|
* @remarks
|
|
79003
79037
|
* [Api set: WordApi 1.3]
|
|
79004
79038
|
*
|
|
79005
|
-
* @param rangeLocation Optional. The range location
|
|
79039
|
+
* @param rangeLocation Optional. The range location must be 'Whole', 'Start', 'End', or 'After'.
|
|
79006
79040
|
*/
|
|
79007
79041
|
getRange(rangeLocation?: "Whole" | "Start" | "End" | "Before" | "After" | "Content"): Word.Range;
|
|
79008
79042
|
/**
|
|
@@ -79019,7 +79053,7 @@ declare namespace Word {
|
|
|
79019
79053
|
* [Api set: WordApi 1.3]
|
|
79020
79054
|
*
|
|
79021
79055
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79022
|
-
* @param insertLocation Required. The value
|
|
79056
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79023
79057
|
*/
|
|
79024
79058
|
insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph;
|
|
79025
79059
|
/**
|
|
@@ -79029,7 +79063,7 @@ declare namespace Word {
|
|
|
79029
79063
|
* [Api set: WordApi 1.3]
|
|
79030
79064
|
*
|
|
79031
79065
|
* @param paragraphText Required. The paragraph text to be inserted.
|
|
79032
|
-
* @param insertLocation Required. The value
|
|
79066
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79033
79067
|
*/
|
|
79034
79068
|
insertParagraph(paragraphText: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Paragraph;
|
|
79035
79069
|
/**
|
|
@@ -79040,7 +79074,7 @@ declare namespace Word {
|
|
|
79040
79074
|
*
|
|
79041
79075
|
* @param rowCount Required. The number of rows in the table.
|
|
79042
79076
|
* @param columnCount Required. The number of columns in the table.
|
|
79043
|
-
* @param insertLocation Required. The value
|
|
79077
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79044
79078
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79045
79079
|
*/
|
|
79046
79080
|
insertTable(rowCount: number, columnCount: number, insertLocation: Word.InsertLocation, values?: string[][]): Word.Table;
|
|
@@ -79052,7 +79086,7 @@ declare namespace Word {
|
|
|
79052
79086
|
*
|
|
79053
79087
|
* @param rowCount Required. The number of rows in the table.
|
|
79054
79088
|
* @param columnCount Required. The number of columns in the table.
|
|
79055
|
-
* @param insertLocation Required. The value
|
|
79089
|
+
* @param insertLocation Required. The value must be 'Before' or 'After'.
|
|
79056
79090
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79057
79091
|
*/
|
|
79058
79092
|
insertTable(rowCount: number, columnCount: number, insertLocation: "Before" | "After" | "Start" | "End" | "Replace", values?: string[][]): Word.Table;
|
|
@@ -79080,7 +79114,7 @@ declare namespace Word {
|
|
|
79080
79114
|
* @remarks
|
|
79081
79115
|
* [Api set: WordApi 1.3]
|
|
79082
79116
|
*
|
|
79083
|
-
* @param selectionMode Optional. The selection mode
|
|
79117
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79084
79118
|
*/
|
|
79085
79119
|
select(selectionMode?: Word.SelectionMode): void;
|
|
79086
79120
|
/**
|
|
@@ -79089,7 +79123,7 @@ declare namespace Word {
|
|
|
79089
79123
|
* @remarks
|
|
79090
79124
|
* [Api set: WordApi 1.3]
|
|
79091
79125
|
*
|
|
79092
|
-
* @param selectionMode Optional. The selection mode
|
|
79126
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79093
79127
|
*/
|
|
79094
79128
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
79095
79129
|
/**
|
|
@@ -79098,7 +79132,7 @@ declare namespace Word {
|
|
|
79098
79132
|
* @remarks
|
|
79099
79133
|
* [Api set: WordApi 1.3]
|
|
79100
79134
|
*
|
|
79101
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79135
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79102
79136
|
* @param cellPadding Required. The cell padding.
|
|
79103
79137
|
*/
|
|
79104
79138
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79108,7 +79142,7 @@ declare namespace Word {
|
|
|
79108
79142
|
* @remarks
|
|
79109
79143
|
* [Api set: WordApi 1.3]
|
|
79110
79144
|
*
|
|
79111
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79145
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79112
79146
|
* @param cellPadding Required. The cell padding.
|
|
79113
79147
|
*/
|
|
79114
79148
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -79336,7 +79370,7 @@ declare namespace Word {
|
|
|
79336
79370
|
* @remarks
|
|
79337
79371
|
* [Api set: WordApi 1.3]
|
|
79338
79372
|
*
|
|
79339
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79373
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79340
79374
|
*/
|
|
79341
79375
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
79342
79376
|
/**
|
|
@@ -79345,7 +79379,7 @@ declare namespace Word {
|
|
|
79345
79379
|
* @remarks
|
|
79346
79380
|
* [Api set: WordApi 1.3]
|
|
79347
79381
|
*
|
|
79348
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79382
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79349
79383
|
*/
|
|
79350
79384
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
79351
79385
|
/**
|
|
@@ -79368,7 +79402,7 @@ declare namespace Word {
|
|
|
79368
79402
|
* @remarks
|
|
79369
79403
|
* [Api set: WordApi 1.3]
|
|
79370
79404
|
*
|
|
79371
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It
|
|
79405
|
+
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
79372
79406
|
* @param rowCount Required. Number of rows to add
|
|
79373
79407
|
* @param values Optional. Strings to insert in the new rows, specified as a 2D array. The number of cells in each row must not exceed the number of cells in the existing row.
|
|
79374
79408
|
*/
|
|
@@ -79379,7 +79413,7 @@ declare namespace Word {
|
|
|
79379
79413
|
* @remarks
|
|
79380
79414
|
* [Api set: WordApi 1.3]
|
|
79381
79415
|
*
|
|
79382
|
-
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It
|
|
79416
|
+
* @param insertLocation Required. Where the new rows should be inserted, relative to the current row. It must be 'Before' or 'After'.
|
|
79383
79417
|
* @param rowCount Required. Number of rows to add
|
|
79384
79418
|
* @param values Optional. Strings to insert in the new rows, specified as a 2D array. The number of cells in each row must not exceed the number of cells in the existing row.
|
|
79385
79419
|
*/
|
|
@@ -79408,7 +79442,7 @@ declare namespace Word {
|
|
|
79408
79442
|
* @remarks
|
|
79409
79443
|
* [Api set: WordApi 1.3]
|
|
79410
79444
|
*
|
|
79411
|
-
* @param selectionMode Optional. The selection mode
|
|
79445
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79412
79446
|
*/
|
|
79413
79447
|
select(selectionMode?: Word.SelectionMode): void;
|
|
79414
79448
|
/**
|
|
@@ -79417,7 +79451,7 @@ declare namespace Word {
|
|
|
79417
79451
|
* @remarks
|
|
79418
79452
|
* [Api set: WordApi 1.3]
|
|
79419
79453
|
*
|
|
79420
|
-
* @param selectionMode Optional. The selection mode
|
|
79454
|
+
* @param selectionMode Optional. The selection mode must be 'Select', 'Start', or 'End'. 'Select' is the default.
|
|
79421
79455
|
*/
|
|
79422
79456
|
select(selectionMode?: "Select" | "Start" | "End"): void;
|
|
79423
79457
|
/**
|
|
@@ -79426,7 +79460,7 @@ declare namespace Word {
|
|
|
79426
79460
|
* @remarks
|
|
79427
79461
|
* [Api set: WordApi 1.3]
|
|
79428
79462
|
*
|
|
79429
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79463
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79430
79464
|
* @param cellPadding Required. The cell padding.
|
|
79431
79465
|
*/
|
|
79432
79466
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79436,7 +79470,7 @@ declare namespace Word {
|
|
|
79436
79470
|
* @remarks
|
|
79437
79471
|
* [Api set: WordApi 1.3]
|
|
79438
79472
|
*
|
|
79439
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79473
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79440
79474
|
* @param cellPadding Required. The cell padding.
|
|
79441
79475
|
*/
|
|
79442
79476
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -79664,7 +79698,7 @@ declare namespace Word {
|
|
|
79664
79698
|
* @remarks
|
|
79665
79699
|
* [Api set: WordApi 1.3]
|
|
79666
79700
|
*
|
|
79667
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79701
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79668
79702
|
*/
|
|
79669
79703
|
getCellPadding(cellPaddingLocation: Word.CellPaddingLocation): OfficeExtension.ClientResult<number>;
|
|
79670
79704
|
/**
|
|
@@ -79673,7 +79707,7 @@ declare namespace Word {
|
|
|
79673
79707
|
* @remarks
|
|
79674
79708
|
* [Api set: WordApi 1.3]
|
|
79675
79709
|
*
|
|
79676
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79710
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79677
79711
|
*/
|
|
79678
79712
|
getCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right"): OfficeExtension.ClientResult<number>;
|
|
79679
79713
|
/**
|
|
@@ -79696,7 +79730,7 @@ declare namespace Word {
|
|
|
79696
79730
|
* @remarks
|
|
79697
79731
|
* [Api set: WordApi 1.3]
|
|
79698
79732
|
*
|
|
79699
|
-
* @param insertLocation Required. It
|
|
79733
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79700
79734
|
* @param columnCount Required. Number of columns to add.
|
|
79701
79735
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79702
79736
|
*/
|
|
@@ -79707,7 +79741,7 @@ declare namespace Word {
|
|
|
79707
79741
|
* @remarks
|
|
79708
79742
|
* [Api set: WordApi 1.3]
|
|
79709
79743
|
*
|
|
79710
|
-
* @param insertLocation Required. It
|
|
79744
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79711
79745
|
* @param columnCount Required. Number of columns to add.
|
|
79712
79746
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79713
79747
|
*/
|
|
@@ -79718,7 +79752,7 @@ declare namespace Word {
|
|
|
79718
79752
|
* @remarks
|
|
79719
79753
|
* [Api set: WordApi 1.3]
|
|
79720
79754
|
*
|
|
79721
|
-
* @param insertLocation Required. It
|
|
79755
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79722
79756
|
* @param rowCount Required. Number of rows to add.
|
|
79723
79757
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79724
79758
|
*/
|
|
@@ -79729,7 +79763,7 @@ declare namespace Word {
|
|
|
79729
79763
|
* @remarks
|
|
79730
79764
|
* [Api set: WordApi 1.3]
|
|
79731
79765
|
*
|
|
79732
|
-
* @param insertLocation Required. It
|
|
79766
|
+
* @param insertLocation Required. It must be 'Before' or 'After'.
|
|
79733
79767
|
* @param rowCount Required. Number of rows to add.
|
|
79734
79768
|
* @param values Optional 2D array. Cells are filled if the corresponding strings are specified in the array.
|
|
79735
79769
|
*/
|
|
@@ -79740,7 +79774,7 @@ declare namespace Word {
|
|
|
79740
79774
|
* @remarks
|
|
79741
79775
|
* [Api set: WordApi 1.3]
|
|
79742
79776
|
*
|
|
79743
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79777
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79744
79778
|
* @param cellPadding Required. The cell padding.
|
|
79745
79779
|
*/
|
|
79746
79780
|
setCellPadding(cellPaddingLocation: Word.CellPaddingLocation, cellPadding: number): void;
|
|
@@ -79750,7 +79784,7 @@ declare namespace Word {
|
|
|
79750
79784
|
* @remarks
|
|
79751
79785
|
* [Api set: WordApi 1.3]
|
|
79752
79786
|
*
|
|
79753
|
-
* @param cellPaddingLocation Required. The cell padding location
|
|
79787
|
+
* @param cellPaddingLocation Required. The cell padding location must be 'Top', 'Left', 'Bottom', or 'Right'.
|
|
79754
79788
|
* @param cellPadding Required. The cell padding.
|
|
79755
79789
|
*/
|
|
79756
79790
|
setCellPadding(cellPaddingLocation: "Top" | "Left" | "Bottom" | "Right", cellPadding: number): void;
|
|
@@ -81773,7 +81807,6 @@ declare namespace Word {
|
|
|
81773
81807
|
color?: string;
|
|
81774
81808
|
/**
|
|
81775
81809
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
81776
|
-
*
|
|
81777
81810
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
81778
81811
|
*
|
|
81779
81812
|
* @remarks
|
|
@@ -82679,7 +82712,6 @@ declare namespace Word {
|
|
|
82679
82712
|
id?: number;
|
|
82680
82713
|
/**
|
|
82681
82714
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
82682
|
-
*
|
|
82683
82715
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
82684
82716
|
*
|
|
82685
82717
|
* @remarks
|
|
@@ -83949,7 +83981,6 @@ declare namespace Word {
|
|
|
83949
83981
|
id?: boolean;
|
|
83950
83982
|
/**
|
|
83951
83983
|
* Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
83952
|
-
*
|
|
83953
83984
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
83954
83985
|
*
|
|
83955
83986
|
* @remarks
|
|
@@ -84117,7 +84148,6 @@ declare namespace Word {
|
|
|
84117
84148
|
id?: boolean;
|
|
84118
84149
|
/**
|
|
84119
84150
|
* For EACH ITEM in the collection: Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty.
|
|
84120
|
-
*
|
|
84121
84151
|
* **Note**: The set operation for this property is not supported in Word on the web.
|
|
84122
84152
|
*
|
|
84123
84153
|
* @remarks
|