@types/office-js-preview 1.0.278 → 1.0.282
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-preview/README.md +2 -2
- office-js-preview/index.d.ts +136 -34
- office-js-preview/package.json +7 -2
office-js-preview/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 28 Jan 2022 00:31:28 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT),
|
|
16
|
+
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), [Alison McKay](https://github.com/alison-mk), and [Sam Ramon](https://github.com/samantharamon).
|
office-js-preview/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// Ricky Kirkham <https://github.com/Rick-Kirkham>,
|
|
5
5
|
// Alex Jerabek <https://github.com/AlexJerabek>,
|
|
6
6
|
// Elizabeth Samuel <https://github.com/ElizabethSamuel-MSFT>,
|
|
7
|
-
// Alison McKay <https://github.com/alison-mk
|
|
7
|
+
// Alison McKay <https://github.com/alison-mk>,
|
|
8
|
+
// Sam Ramon <https://github.com/samantharamon>
|
|
8
9
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
9
10
|
// TypeScript Version: 2.4
|
|
10
11
|
|
|
@@ -11904,8 +11905,11 @@ declare namespace Office {
|
|
|
11904
11905
|
/**
|
|
11905
11906
|
* Gets the MIME content type of the attachment.
|
|
11906
11907
|
*
|
|
11907
|
-
* **
|
|
11908
|
-
* If you require specific types, grab the attachment's extension and process accordingly.
|
|
11908
|
+
* **Warning**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained
|
|
11909
|
+
* so this property has been deprecated. If you require specific types, grab the attachment's extension and process accordingly. For details,
|
|
11910
|
+
* refer to the {@link https://devblogs.microsoft.com/microsoft365dev/outlook-javascript-api-deprecation-for-attachmentdetails-contenttype-property/ | related blog post }.
|
|
11911
|
+
*
|
|
11912
|
+
* @deprecated If you require specific content types, grab the attachment's extension and process accordingly.
|
|
11909
11913
|
*/
|
|
11910
11914
|
contentType: string;
|
|
11911
11915
|
/**
|
|
@@ -19741,7 +19745,9 @@ declare namespace Excel {
|
|
|
19741
19745
|
/**
|
|
19742
19746
|
* Represents a `LinkedEntityCellValue`.
|
|
19743
19747
|
*
|
|
19748
|
+
* @remarks
|
|
19744
19749
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19750
|
+
* @beta
|
|
19745
19751
|
*/
|
|
19746
19752
|
linkedEntity = "LinkedEntity",
|
|
19747
19753
|
/**
|
|
@@ -19856,6 +19862,56 @@ declare namespace Excel {
|
|
|
19856
19862
|
licenseText?: string;
|
|
19857
19863
|
}
|
|
19858
19864
|
/**
|
|
19865
|
+
* Represents the value of a cell containing a #BUSY! error.
|
|
19866
|
+
* This type of error is used as a placeholder while the value of a cell is downloaded.
|
|
19867
|
+
*
|
|
19868
|
+
* @remarks
|
|
19869
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19870
|
+
* @beta
|
|
19871
|
+
*/
|
|
19872
|
+
interface PlaceholderErrorCellValue {
|
|
19873
|
+
/**
|
|
19874
|
+
* Represents the type of this cell value.
|
|
19875
|
+
*
|
|
19876
|
+
* @remarks
|
|
19877
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19878
|
+
* @beta
|
|
19879
|
+
*/
|
|
19880
|
+
type: CellValueType.error | "Error";
|
|
19881
|
+
/**
|
|
19882
|
+
* Represents the value that would be returned by `Range.values` for a cell with this value.
|
|
19883
|
+
*
|
|
19884
|
+
* @remarks
|
|
19885
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19886
|
+
* @beta
|
|
19887
|
+
*/
|
|
19888
|
+
basicValue?: "#BUSY!";
|
|
19889
|
+
/**
|
|
19890
|
+
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
|
|
19891
|
+
*
|
|
19892
|
+
* @remarks
|
|
19893
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19894
|
+
* @beta
|
|
19895
|
+
*/
|
|
19896
|
+
basicType?: RangeValueType.error | "Error";
|
|
19897
|
+
/**
|
|
19898
|
+
* Represents the type of `ErrorCellValue`.
|
|
19899
|
+
*
|
|
19900
|
+
* @remarks
|
|
19901
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19902
|
+
* @beta
|
|
19903
|
+
*/
|
|
19904
|
+
errorType?: ErrorCellValueType.placeholder | "Placeholder";
|
|
19905
|
+
/**
|
|
19906
|
+
* `PlaceholderErrorCellValue` is used during processing, while data is downloaded. The `target` property represents the data that is downloading, the data for which the `PlaceholderErrorCellValue` object is a placeholder.
|
|
19907
|
+
*
|
|
19908
|
+
* @remarks
|
|
19909
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
19910
|
+
* @beta
|
|
19911
|
+
*/
|
|
19912
|
+
target: LinkedEntityCellValue | WebImageCellValue;
|
|
19913
|
+
}
|
|
19914
|
+
/**
|
|
19859
19915
|
* The provider attributes object represents the set of details used in card view to provide specified branding information for a `CellValue` type that supports provider attributes.
|
|
19860
19916
|
*
|
|
19861
19917
|
* @remarks
|
|
@@ -20446,6 +20502,14 @@ declare namespace Excel {
|
|
|
20446
20502
|
*/
|
|
20447
20503
|
num = "Num",
|
|
20448
20504
|
/**
|
|
20505
|
+
* Represents a `PlaceholderErrorCellValue`.
|
|
20506
|
+
*
|
|
20507
|
+
* @remarks
|
|
20508
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20509
|
+
* @beta
|
|
20510
|
+
*/
|
|
20511
|
+
placeholder = "Placeholder",
|
|
20512
|
+
/**
|
|
20449
20513
|
* Represents a `RefErrorCellValue`.
|
|
20450
20514
|
*
|
|
20451
20515
|
* @remarks
|
|
@@ -20477,7 +20541,7 @@ declare namespace Excel {
|
|
|
20477
20541
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20478
20542
|
* @beta
|
|
20479
20543
|
*/
|
|
20480
|
-
type ErrorCellValue = BlockedErrorCellValue | BusyErrorCellValue | CalcErrorCellValue | ConnectErrorCellValue | Div0ErrorCellValue | FieldErrorCellValue | GettingDataErrorCellValue | NotAvailableErrorCellValue | NameErrorCellValue | NullErrorCellValue | NumErrorCellValue | RefErrorCellValue | SpillErrorCellValue | ValueErrorCellValue;
|
|
20544
|
+
type ErrorCellValue = BlockedErrorCellValue | BusyErrorCellValue | CalcErrorCellValue | ConnectErrorCellValue | Div0ErrorCellValue | FieldErrorCellValue | GettingDataErrorCellValue | NotAvailableErrorCellValue | NameErrorCellValue | NullErrorCellValue | NumErrorCellValue | PlaceholderErrorCellValue | RefErrorCellValue | SpillErrorCellValue | ValueErrorCellValue;
|
|
20481
20545
|
/**
|
|
20482
20546
|
* Represents types of #FIELD! errors.
|
|
20483
20547
|
*
|
|
@@ -20647,74 +20711,98 @@ declare namespace Excel {
|
|
|
20647
20711
|
/**
|
|
20648
20712
|
* The linked entity ID object represents a set of properties that describes a service and culture for locating this service defined value.
|
|
20649
20713
|
*
|
|
20714
|
+
* @remarks
|
|
20650
20715
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20716
|
+
* @beta
|
|
20651
20717
|
*/
|
|
20652
|
-
|
|
20718
|
+
interface LinkedEntityId {
|
|
20653
20719
|
/**
|
|
20654
20720
|
* Represents which service was used to create the `CellValue`.
|
|
20655
20721
|
*
|
|
20722
|
+
* @remarks
|
|
20656
20723
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20724
|
+
* @beta
|
|
20657
20725
|
*/
|
|
20658
20726
|
serviceId: number;
|
|
20659
20727
|
/**
|
|
20660
20728
|
* Represents a domain specific to a service used to create the `CellValue`.
|
|
20661
20729
|
*
|
|
20730
|
+
* @remarks
|
|
20662
20731
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20732
|
+
* @beta
|
|
20663
20733
|
*/
|
|
20664
20734
|
domainId?: string;
|
|
20665
20735
|
/**
|
|
20666
20736
|
* Represents an identifier specific to a service used to create the `CellValue`.
|
|
20667
20737
|
*
|
|
20738
|
+
* @remarks
|
|
20668
20739
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20740
|
+
* @beta
|
|
20669
20741
|
*/
|
|
20670
20742
|
entityId: string;
|
|
20671
20743
|
/**
|
|
20672
20744
|
* Represents which language culture was used to create this `CellValue`.
|
|
20673
20745
|
*
|
|
20746
|
+
* @remarks
|
|
20674
20747
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20748
|
+
* @beta
|
|
20675
20749
|
*/
|
|
20676
20750
|
culture: string;
|
|
20677
20751
|
}
|
|
20678
20752
|
/**
|
|
20679
20753
|
* Represents a value whose properties derive from a service.
|
|
20680
20754
|
*
|
|
20755
|
+
* @remarks
|
|
20681
20756
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20757
|
+
* @beta
|
|
20682
20758
|
*/
|
|
20683
20759
|
interface LinkedEntityCellValue {
|
|
20684
20760
|
/**
|
|
20685
20761
|
* Represents the type of this cell value.
|
|
20686
20762
|
*
|
|
20763
|
+
* @remarks
|
|
20687
20764
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20765
|
+
* @beta
|
|
20688
20766
|
*/
|
|
20689
20767
|
type: CellValueType.linkedEntity | "LinkedEntity";
|
|
20690
20768
|
/**
|
|
20691
20769
|
* Represents the value that would be returned by `Range.values` for a cell with this value.
|
|
20692
20770
|
*
|
|
20771
|
+
* @remarks
|
|
20693
20772
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20773
|
+
* @beta
|
|
20694
20774
|
*/
|
|
20695
20775
|
basicValue?: "#VALUE!";
|
|
20696
20776
|
/**
|
|
20697
20777
|
* Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
|
|
20698
20778
|
*
|
|
20779
|
+
* @remarks
|
|
20699
20780
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20781
|
+
* @beta
|
|
20700
20782
|
*/
|
|
20701
20783
|
basicType?: RangeValueType.error | "Error";
|
|
20702
20784
|
/**
|
|
20703
20785
|
* Represents the service source that provided the information in this value.
|
|
20704
20786
|
*
|
|
20787
|
+
* @remarks
|
|
20705
20788
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20789
|
+
* @beta
|
|
20706
20790
|
*/
|
|
20707
20791
|
id: LinkedEntityId;
|
|
20708
20792
|
/**
|
|
20709
20793
|
* Represents the text shown when a cell with this value is rendered.
|
|
20710
20794
|
*
|
|
20795
|
+
* @remarks
|
|
20711
20796
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20797
|
+
* @beta
|
|
20712
20798
|
*/
|
|
20713
20799
|
text?: string;
|
|
20714
20800
|
/**
|
|
20715
20801
|
* Represents the properties of this entity and their metadata.
|
|
20716
20802
|
*
|
|
20803
|
+
* @remarks
|
|
20717
20804
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20805
|
+
* @beta
|
|
20718
20806
|
*/
|
|
20719
20807
|
properties?: {
|
|
20720
20808
|
[key: string]: CellValue & {
|
|
@@ -20725,7 +20813,9 @@ declare namespace Excel {
|
|
|
20725
20813
|
* Represents information that describes the service which provided the image.
|
|
20726
20814
|
* This information can be used for branding in entity cards.
|
|
20727
20815
|
*
|
|
20816
|
+
* @remarks
|
|
20728
20817
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20818
|
+
* @beta
|
|
20729
20819
|
*/
|
|
20730
20820
|
provider?: CellValueProviderAttributes;
|
|
20731
20821
|
}
|
|
@@ -20984,13 +21074,17 @@ declare namespace Excel {
|
|
|
20984
21074
|
/**
|
|
20985
21075
|
* An error caused by structured references from the linked workbook. Displays as error type #REF! in Excel.
|
|
20986
21076
|
*
|
|
21077
|
+
* @remarks
|
|
20987
21078
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
21079
|
+
* @beta
|
|
20988
21080
|
*/
|
|
20989
21081
|
externalLinksStructuredRef = "ExternalLinksStructuredRef",
|
|
20990
21082
|
/**
|
|
20991
21083
|
* An error caused by dynamic array references from the linked workbook. Displays as error type #REF! in Excel.
|
|
20992
21084
|
*
|
|
21085
|
+
* @remarks
|
|
20993
21086
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
21087
|
+
* @beta
|
|
20994
21088
|
*/
|
|
20995
21089
|
externalLinksArrayRef = "ExternalLinksArrayRef"
|
|
20996
21090
|
}
|
|
@@ -22244,7 +22338,8 @@ declare namespace Excel {
|
|
|
22244
22338
|
function postprocessBindingDescriptor(response: any): any;
|
|
22245
22339
|
function getDataCommonPostprocess(response: any, callArgs: any): any;
|
|
22246
22340
|
/**
|
|
22247
|
-
* Represents an `AllowEditRange` object found in a worksheet.
|
|
22341
|
+
* Represents an `AllowEditRange` object found in a worksheet. This object works with worksheet protection properties.
|
|
22342
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
22248
22343
|
*
|
|
22249
22344
|
* @remarks
|
|
22250
22345
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -22354,7 +22449,8 @@ declare namespace Excel {
|
|
|
22354
22449
|
toJSON(): Excel.Interfaces.AllowEditRangeData;
|
|
22355
22450
|
}
|
|
22356
22451
|
/**
|
|
22357
|
-
* Represents the set of `AllowEditRange` objects found in a worksheet.
|
|
22452
|
+
* Represents the set of `AllowEditRange` objects found in a worksheet. `AllowEditRange` objects work with worksheet protection properties.
|
|
22453
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
22358
22454
|
*
|
|
22359
22455
|
* @remarks
|
|
22360
22456
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -27537,7 +27633,7 @@ declare namespace Excel {
|
|
|
27537
27633
|
*
|
|
27538
27634
|
* @param linkedEntityCellValueId An identifier that specifies an individual `LinkedEntityCellValue`.
|
|
27539
27635
|
*/
|
|
27540
|
-
|
|
27636
|
+
getLinkedEntityCellValue(linkedEntityCellValueId: LinkedEntityId): OfficeExtension.ClientResult<LinkedEntityCellValue>;
|
|
27541
27637
|
/**
|
|
27542
27638
|
* Gets the currently selected single range from the workbook. If there are multiple ranges selected, this method will throw an error.
|
|
27543
27639
|
*
|
|
@@ -28083,7 +28179,7 @@ declare namespace Excel {
|
|
|
28083
28179
|
* @remarks
|
|
28084
28180
|
* [Api set: ExcelApi 1.9]
|
|
28085
28181
|
*
|
|
28086
|
-
* @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,
|
|
28182
|
+
* @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.
|
|
28087
28183
|
*/
|
|
28088
28184
|
getRanges(address?: string): Excel.RangeAreas;
|
|
28089
28185
|
/**
|
|
@@ -28512,7 +28608,7 @@ declare namespace Excel {
|
|
|
28512
28608
|
*/
|
|
28513
28609
|
readonly onFormulaChanged: OfficeExtension.EventHandlers<Excel.WorksheetFormulaChangedEventArgs>;
|
|
28514
28610
|
/**
|
|
28515
|
-
* Occurs when a worksheet is moved
|
|
28611
|
+
* 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.
|
|
28516
28612
|
*
|
|
28517
28613
|
* @remarks
|
|
28518
28614
|
* [Api set: ExcelApiOnline 1.1]
|
|
@@ -28592,7 +28688,7 @@ declare namespace Excel {
|
|
|
28592
28688
|
toJSON(): Excel.Interfaces.WorksheetCollectionData;
|
|
28593
28689
|
}
|
|
28594
28690
|
/**
|
|
28595
|
-
* Represents the protection of a
|
|
28691
|
+
* Represents the protection of a worksheet object.
|
|
28596
28692
|
*
|
|
28597
28693
|
* @remarks
|
|
28598
28694
|
* [Api set: ExcelApi 1.2]
|
|
@@ -28601,7 +28697,8 @@ declare namespace Excel {
|
|
|
28601
28697
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
28602
28698
|
context: RequestContext;
|
|
28603
28699
|
/**
|
|
28604
|
-
* Specifies the `AllowEditRangeCollection` found in this worksheet.
|
|
28700
|
+
* Specifies the `AllowEditRangeCollection` object found in this worksheet. This is a collection of `AllowEditRange` objects, which work with worksheet protection properties.
|
|
28701
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
28605
28702
|
*
|
|
28606
28703
|
* @remarks
|
|
28607
28704
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -29236,11 +29333,11 @@ declare namespace Excel {
|
|
|
29236
29333
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
29237
29334
|
set(properties: Excel.Range): void;
|
|
29238
29335
|
/**
|
|
29239
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
29240
|
-
|
|
29241
|
-
|
|
29336
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
29337
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
29338
|
+
Discontiguous ranges are not supported.
|
|
29242
29339
|
|
|
29243
|
-
|
|
29340
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
29244
29341
|
*
|
|
29245
29342
|
* @remarks
|
|
29246
29343
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -29250,11 +29347,11 @@ declare namespace Excel {
|
|
|
29250
29347
|
*/
|
|
29251
29348
|
autoFill(destinationRange?: Range | string, autoFillType?: Excel.AutoFillType): void;
|
|
29252
29349
|
/**
|
|
29253
|
-
* Fills range from the current range to the destination range using the specified AutoFill logic.
|
|
29254
|
-
|
|
29255
|
-
|
|
29350
|
+
* Fills a range from the current range to the destination range using the specified AutoFill logic.
|
|
29351
|
+
The destination range can be `null` or can extend the source range either horizontally or vertically.
|
|
29352
|
+
Discontiguous ranges are not supported.
|
|
29256
29353
|
|
|
29257
|
-
|
|
29354
|
+
For more information, see {@link https://support.microsoft.com/office/2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}.
|
|
29258
29355
|
*
|
|
29259
29356
|
* @remarks
|
|
29260
29357
|
* [Api set: ExcelApi 1.9, ExcelApi Preview for null `destinationRange`]
|
|
@@ -29563,7 +29660,8 @@ declare namespace Excel {
|
|
|
29563
29660
|
*/
|
|
29564
29661
|
getLastRow(): Excel.Range;
|
|
29565
29662
|
/**
|
|
29566
|
-
* 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,
|
|
29663
|
+
* 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`.
|
|
29664
|
+
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}.
|
|
29567
29665
|
*
|
|
29568
29666
|
* @remarks
|
|
29569
29667
|
* [Api set: ExcelApi 1.13]
|
|
@@ -32104,7 +32202,7 @@ declare namespace Excel {
|
|
|
32104
32202
|
/**
|
|
32105
32203
|
* Name of the table.
|
|
32106
32204
|
|
|
32107
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
32205
|
+
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.
|
|
32108
32206
|
*
|
|
32109
32207
|
* @remarks
|
|
32110
32208
|
* [Api set: ExcelApi 1.1]
|
|
@@ -38753,7 +38851,7 @@ declare namespace Excel {
|
|
|
38753
38851
|
*/
|
|
38754
38852
|
getRangeOrNullObject(): Excel.Range;
|
|
38755
38853
|
/**
|
|
38756
|
-
* Applies the specified
|
|
38854
|
+
* Applies the specified AutoFilter object currently on the range.
|
|
38757
38855
|
*
|
|
38758
38856
|
* @remarks
|
|
38759
38857
|
* [Api set: ExcelApi 1.9]
|
|
@@ -39550,7 +39648,8 @@ declare namespace Excel {
|
|
|
39550
39648
|
*/
|
|
39551
39649
|
delete(): void;
|
|
39552
39650
|
/**
|
|
39553
|
-
* Returns the string representation of the data source for the PivotTable. This method currently supports string representations for table and range objects.
|
|
39651
|
+
* Returns the string representation of the data source for the PivotTable. This method currently supports string representations for table and range objects.
|
|
39652
|
+
Otherwise, it returns an empty string.
|
|
39554
39653
|
*
|
|
39555
39654
|
* @remarks
|
|
39556
39655
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -45705,7 +45804,7 @@ declare namespace Excel {
|
|
|
45705
45804
|
* @remarks
|
|
45706
45805
|
* [Api set: ExcelApi 1.9]
|
|
45707
45806
|
*
|
|
45708
|
-
* @param key
|
|
45807
|
+
* @param key The name or ID of the shape to be retrieved.
|
|
45709
45808
|
*/
|
|
45710
45809
|
getItem(key: string): Excel.Shape;
|
|
45711
45810
|
/**
|
|
@@ -59386,7 +59485,7 @@ declare namespace Excel {
|
|
|
59386
59485
|
/**
|
|
59387
59486
|
* Name of the table.
|
|
59388
59487
|
|
|
59389
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
59488
|
+
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.
|
|
59390
59489
|
*
|
|
59391
59490
|
* @remarks
|
|
59392
59491
|
* [Api set: ExcelApi 1.1]
|
|
@@ -64595,7 +64694,8 @@ declare namespace Excel {
|
|
|
64595
64694
|
/** An interface describing the data returned by calling `worksheetProtection.toJSON()`. */
|
|
64596
64695
|
interface WorksheetProtectionData {
|
|
64597
64696
|
/**
|
|
64598
|
-
* Specifies the `AllowEditRangeCollection` found in this worksheet.
|
|
64697
|
+
* Specifies the `AllowEditRangeCollection` object found in this worksheet. This is a collection of `AllowEditRange` objects, which work with worksheet protection properties.
|
|
64698
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
64599
64699
|
*
|
|
64600
64700
|
* @remarks
|
|
64601
64701
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -65316,7 +65416,7 @@ declare namespace Excel {
|
|
|
65316
65416
|
/**
|
|
65317
65417
|
* Name of the table.
|
|
65318
65418
|
|
|
65319
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
65419
|
+
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.
|
|
65320
65420
|
*
|
|
65321
65421
|
* @remarks
|
|
65322
65422
|
* [Api set: ExcelApi 1.1]
|
|
@@ -70698,7 +70798,8 @@ declare namespace Excel {
|
|
|
70698
70798
|
value?: T;
|
|
70699
70799
|
}
|
|
70700
70800
|
/**
|
|
70701
|
-
* Represents an `AllowEditRange` object found in a worksheet.
|
|
70801
|
+
* Represents an `AllowEditRange` object found in a worksheet. This object works with worksheet protection properties.
|
|
70802
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
70702
70803
|
*
|
|
70703
70804
|
* @remarks
|
|
70704
70805
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -70740,7 +70841,8 @@ declare namespace Excel {
|
|
|
70740
70841
|
title?: boolean;
|
|
70741
70842
|
}
|
|
70742
70843
|
/**
|
|
70743
|
-
* Represents the set of `AllowEditRange` objects found in a worksheet.
|
|
70844
|
+
* Represents the set of `AllowEditRange` objects found in a worksheet. `AllowEditRange` objects work with worksheet protection properties.
|
|
70845
|
+
When worksheet protection is enabled, an `AllowEditRange` object can be used to allow editing of a specific range, while maintaining protection on the rest of the worksheet.
|
|
70744
70846
|
*
|
|
70745
70847
|
* @remarks
|
|
70746
70848
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -71949,7 +72051,7 @@ declare namespace Excel {
|
|
|
71949
72051
|
visibility?: boolean;
|
|
71950
72052
|
}
|
|
71951
72053
|
/**
|
|
71952
|
-
* Represents the protection of a
|
|
72054
|
+
* Represents the protection of a worksheet object.
|
|
71953
72055
|
*
|
|
71954
72056
|
* @remarks
|
|
71955
72057
|
* [Api set: ExcelApi 1.2]
|
|
@@ -72968,7 +73070,7 @@ declare namespace Excel {
|
|
|
72968
73070
|
/**
|
|
72969
73071
|
* For EACH ITEM in the collection: Name of the table.
|
|
72970
73072
|
|
|
72971
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
73073
|
+
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.
|
|
72972
73074
|
*
|
|
72973
73075
|
* @remarks
|
|
72974
73076
|
* [Api set: ExcelApi 1.1]
|
|
@@ -73102,7 +73204,7 @@ declare namespace Excel {
|
|
|
73102
73204
|
/**
|
|
73103
73205
|
* For EACH ITEM in the collection: Name of the table.
|
|
73104
73206
|
|
|
73105
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
73207
|
+
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.
|
|
73106
73208
|
*
|
|
73107
73209
|
* @remarks
|
|
73108
73210
|
* [Api set: ExcelApi 1.1]
|
|
@@ -73237,7 +73339,7 @@ declare namespace Excel {
|
|
|
73237
73339
|
/**
|
|
73238
73340
|
* Name of the table.
|
|
73239
73341
|
|
|
73240
|
-
The set name of the table must follow the guidelines specified in the {@link https://support.
|
|
73342
|
+
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.
|
|
73241
73343
|
*
|
|
73242
73344
|
* @remarks
|
|
73243
73345
|
* [Api set: ExcelApi 1.1]
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.282",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
"name": "Alison McKay",
|
|
30
30
|
"url": "https://github.com/alison-mk",
|
|
31
31
|
"githubUsername": "alison-mk"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Sam Ramon",
|
|
35
|
+
"url": "https://github.com/samantharamon",
|
|
36
|
+
"githubUsername": "samantharamon"
|
|
32
37
|
}
|
|
33
38
|
],
|
|
34
39
|
"main": "",
|
|
@@ -40,6 +45,6 @@
|
|
|
40
45
|
},
|
|
41
46
|
"scripts": {},
|
|
42
47
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "df5cbca664f8884b236cdd7756b709b91b666cd3f507fc9c19c2c5e82822b3ad",
|
|
44
49
|
"typeScriptVersion": "3.8"
|
|
45
50
|
}
|