@types/office-js-preview 1.0.474 → 1.0.476

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
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: Fri, 24 May 2024 23:36:04 GMT
11
+ * Last updated: Fri, 07 Jun 2024 00:25:08 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -11062,6 +11062,10 @@ declare namespace Office {
11062
11062
  *
11063
11063
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
11064
11064
  *
11065
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
11066
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
11067
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
11068
+ *
11065
11069
  * **Errors**:
11066
11070
  *
11067
11071
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -11091,6 +11095,10 @@ declare namespace Office {
11091
11095
  *
11092
11096
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
11093
11097
  *
11098
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
11099
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
11100
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
11101
+ *
11094
11102
  * **Errors**:
11095
11103
  *
11096
11104
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -17242,6 +17250,10 @@ declare namespace Office {
17242
17250
  *
17243
17251
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
17244
17252
  *
17253
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
17254
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
17255
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
17256
+ *
17245
17257
  * **Errors**:
17246
17258
  *
17247
17259
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -17271,6 +17283,10 @@ declare namespace Office {
17271
17283
  *
17272
17284
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
17273
17285
  *
17286
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
17287
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
17288
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
17289
+ *
17274
17290
  * **Errors**:
17275
17291
  *
17276
17292
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -21672,6 +21688,65 @@ declare namespace OfficeCore {
21672
21688
 
21673
21689
 
21674
21690
  declare namespace Excel {
21691
+ /**
21692
+ * Represents the type of cell control.
21693
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21694
+ */
21695
+ enum CellControlType {
21696
+ /**
21697
+ * Type representing an unknown control.
21698
+ * This represents a control that was added in a future version of Excel, and the current version of Excel doesn't know how to display this control.
21699
+ */
21700
+ Unknown = 0,
21701
+ /**
21702
+ * Type representing an empty control.
21703
+ */
21704
+ Empty = 1,
21705
+ /**
21706
+ * Type representing a query that results in a mix of control results.
21707
+ */
21708
+ Mixed = 2,
21709
+ /**
21710
+ * Type representing a checkbox control.
21711
+ */
21712
+ Checkbox = 3
21713
+ }
21714
+ /**
21715
+ * Represents an unknown cell control.
21716
+ * This represents a control that was added in a future version of Excel, and the current version of Excel doesn't know how to display this control.
21717
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21718
+ */
21719
+ interface UnknownCellControl {
21720
+ type: CellControlType.Unknown;
21721
+ }
21722
+ /**
21723
+ * Represents an empty cell control.
21724
+ * This represents the state where a cell does not have a control.
21725
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21726
+ */
21727
+ interface EmptyCellControl {
21728
+ type: CellControlType.Empty;
21729
+ }
21730
+ /**
21731
+ * Represents the result of a query that resulted in multiple cell controls.
21732
+ * If the result has multiple controls, then they can't be represented as a single result.
21733
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21734
+ */
21735
+ interface MixedCellControl {
21736
+ type: CellControlType.Mixed;
21737
+ }
21738
+ /**
21739
+ * Represents a checkbox. This is a cell control that allows a user to toggle the boolean value in a cell.
21740
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21741
+ */
21742
+ interface CheckboxCellControl {
21743
+ type: CellControlType.Checkbox;
21744
+ }
21745
+ /**
21746
+ * Represents an interactable control inside of a cell.
21747
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
21748
+ */
21749
+ type CellControl = UnknownCellControl | EmptyCellControl | MixedCellControl | CheckboxCellControl;
21675
21750
  /**
21676
21751
  * Represents a 2D array of cell values.
21677
21752
  *
@@ -27632,7 +27707,8 @@ declare namespace Excel {
27632
27707
  * Represents the type of this cell value.
27633
27708
  *
27634
27709
  * @remarks
27635
- * [Api set: ExcelApi 1.16]
27710
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
27711
+ * @beta
27636
27712
  */
27637
27713
  type: CellValueType.localImage | "LocalImage";
27638
27714
  /**
@@ -27641,14 +27717,16 @@ declare namespace Excel {
27641
27717
  * When accessed through a `valuesAsJsonLocal` property, this string value aligns with the user's display locale.
27642
27718
  *
27643
27719
  * @remarks
27644
- * [Api set: ExcelApi 1.16]
27720
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
27721
+ * @beta
27645
27722
  */
27646
27723
  basicValue?: "#VALUE!" | string;
27647
27724
  /**
27648
27725
  * Represents the value that would be returned by `Range.valueTypes` for a cell with this value.
27649
27726
  *
27650
27727
  * @remarks
27651
- * [Api set: ExcelApi 1.16]
27728
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
27729
+ * @beta
27652
27730
  */
27653
27731
  basicType?: RangeValueType.error | "Error";
27654
27732
  /**
@@ -29187,6 +29265,35 @@ declare namespace Excel {
29187
29265
  function run<T>(context: OfficeExtension.ClientRequestContext, batch: (context: Excel.RequestContext) => Promise<T>): Promise<T>;
29188
29266
  function postprocessBindingDescriptor(response: any): any;
29189
29267
  function getDataCommonPostprocess(response: any, callArgs: any): any;
29268
+ /**
29269
+ * Provides information about the local image.
29270
+ *
29271
+ * @remarks
29272
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
29273
+ * @beta
29274
+ */
29275
+ class LocalImage extends OfficeExtension.ClientObject {
29276
+ /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
29277
+ context: RequestContext;
29278
+ /**
29279
+ * Gets the base64-encoded image data stored in the shared image cache with the cache unique identifier (UID).
29280
+ *
29281
+ * @remarks
29282
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
29283
+ * @beta
29284
+ *
29285
+ * @param cacheUid Represents the unique identifier (UID) of the image as it appears in the cache. The cache UID can be obtained from JSON representation of the values in the cell.
29286
+ * @returns The base64-encoded image data.
29287
+ */
29288
+ getBase64EncodedImageData(cacheUid: string): OfficeExtension.ClientResult<string>;
29289
+ /**
29290
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
29291
+ * Whereas the original Excel.LocalImage object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Excel.Interfaces.LocalImageData`) that contains shallow copies of any loaded child properties from the original object.
29292
+ */
29293
+ toJSON(): {
29294
+ [key: string]: string;
29295
+ };
29296
+ }
29190
29297
  /**
29191
29298
  * Represents an `AllowEditRange` object found in a worksheet. This object works with worksheet protection properties.
29192
29299
  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.
@@ -30053,7 +30160,7 @@ declare namespace Excel {
30053
30160
  */
30054
30161
  readonly changedBy: Excel.EmailIdentity;
30055
30162
  /**
30056
- * Represents the ID of the `comment` or `commentReply` to which the task change is anchored.
30163
+ * Represents the ID of the comment or comment reply to which the task change is anchored.
30057
30164
  *
30058
30165
  * @remarks
30059
30166
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -32607,6 +32714,44 @@ declare namespace Excel {
32607
32714
  */
32608
32715
  type: "WorkbookAutoSaveSettingChanged";
32609
32716
  }
32717
+ /**
32718
+ * Represents the type of cell control.
32719
+ *
32720
+ * @remarks
32721
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32722
+ * @beta
32723
+ */
32724
+ enum CellControlType {
32725
+ /**
32726
+ * Type representing an unknown control.
32727
+ This represents a control that was added in a future version of Excel, and the current version of Excel doesn't know how to display this control.
32728
+ * @remarks
32729
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32730
+ * @beta
32731
+ */
32732
+ unknown = "Unknown",
32733
+ /**
32734
+ * Type representing an empty control.
32735
+ * @remarks
32736
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32737
+ * @beta
32738
+ */
32739
+ empty = "Empty",
32740
+ /**
32741
+ * Type representing a query that results in a mix of control results.
32742
+ * @remarks
32743
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32744
+ * @beta
32745
+ */
32746
+ mixed = "Mixed",
32747
+ /**
32748
+ * Type representing a checkbox control.
32749
+ * @remarks
32750
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32751
+ * @beta
32752
+ */
32753
+ checkbox = "Checkbox"
32754
+ }
32610
32755
  /**
32611
32756
  * Represents the direction that existing or remaining cells in a worksheet will shift when cells are inserted into or deleted from a worksheet.
32612
32757
  *
@@ -34152,6 +34297,14 @@ declare namespace Excel {
34152
34297
  * [Api set: ExcelApiOnline 1.1]
34153
34298
  */
34154
34299
  readonly linkedWorkbooks: Excel.LinkedWorkbookCollection;
34300
+ /**
34301
+ * Returns the `LocalImage` object associated with the workbook.
34302
+ *
34303
+ * @remarks
34304
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
34305
+ * @beta
34306
+ */
34307
+ readonly localImage: Excel.LocalImage;
34155
34308
  /**
34156
34309
  * Represents a collection of workbook-scoped named items (named ranges and constants).
34157
34310
  *
@@ -34538,7 +34691,7 @@ declare namespace Excel {
34538
34691
  */
34539
34692
  readonly protected: boolean;
34540
34693
  /**
34541
- * Protects a workbook. Fails if the workbook has been protected.
34694
+ * Protects the workbook. Fails if the workbook has been protected.
34542
34695
  *
34543
34696
  * @remarks
34544
34697
  * [Api set: ExcelApi 1.7]
@@ -34547,7 +34700,7 @@ declare namespace Excel {
34547
34700
  */
34548
34701
  protect(password?: string): void;
34549
34702
  /**
34550
- * Unprotects a workbook.
34703
+ * Unprotects the workbook.
34551
34704
  *
34552
34705
  * @remarks
34553
34706
  * [Api set: ExcelApi 1.7]
@@ -34751,7 +34904,7 @@ declare namespace Excel {
34751
34904
  */
34752
34905
  readonly id: string;
34753
34906
  /**
34754
- * The display name of the worksheet.
34907
+ * The display name of the worksheet. The name must be fewer than 32 characters.
34755
34908
  *
34756
34909
  * @remarks
34757
34910
  * [Api set: ExcelApi 1.1]
@@ -35927,6 +36080,15 @@ declare namespace Excel {
35927
36080
  * [Api set: ExcelApi 1.1]
35928
36081
  */
35929
36082
  readonly columnIndex: number;
36083
+ /**
36084
+ * Accesses the cell control applied to this range.
36085
+ If the range has multiple cell controls, this returns `EmptyCellControl`.
36086
+ *
36087
+ * @remarks
36088
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36089
+ * @beta
36090
+ */
36091
+ control: CellControl;
35930
36092
  /**
35931
36093
  * Represents the formula in A1-style notation. If a cell has no formula, its value is returned instead.
35932
36094
  *
@@ -36355,6 +36517,7 @@ declare namespace Excel {
36355
36517
  getColumnsBefore(count?: number): Excel.Range;
36356
36518
  /**
36357
36519
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
36520
+ * Note: This API returns an `ItemNotFound` error if no dependents are found.
36358
36521
  *
36359
36522
  * @remarks
36360
36523
  * [Api set: ExcelApi 1.15]
@@ -36362,6 +36525,7 @@ declare namespace Excel {
36362
36525
  getDependents(): Excel.WorkbookRangeAreas;
36363
36526
  /**
36364
36527
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
36528
+ * Note: This API returns an `ItemNotFound` error if no dependents are found.
36365
36529
  *
36366
36530
  * @remarks
36367
36531
  * [Api set: ExcelApi 1.13]
@@ -36369,6 +36533,7 @@ declare namespace Excel {
36369
36533
  getDirectDependents(): Excel.WorkbookRangeAreas;
36370
36534
  /**
36371
36535
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
36536
+ * Note: This API returns an `ItemNotFound` error if no precedents are found.
36372
36537
  *
36373
36538
  * @remarks
36374
36539
  * [Api set: ExcelApi 1.12]
@@ -36486,6 +36651,7 @@ declare namespace Excel {
36486
36651
  getPivotTables(fullyContained?: boolean): Excel.PivotTableScopedCollection;
36487
36652
  /**
36488
36653
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
36654
+ * Note: This API returns an `ItemNotFound` error if no precedents are found.
36489
36655
  *
36490
36656
  * @remarks
36491
36657
  * [Api set: ExcelApi 1.14]
@@ -36780,6 +36946,16 @@ declare namespace Excel {
36780
36946
  * @returns The number of replacements performed.
36781
36947
  */
36782
36948
  replaceAll(text: string, replacement: string, criteria: Excel.ReplaceCriteria): OfficeExtension.ClientResult<number>;
36949
+ /**
36950
+ * Sets all cells in the range to their default state.
36951
+ Cells with cell controls are set to the default value defined by each control.
36952
+ Cells without cell controls are set to blank.
36953
+ *
36954
+ * @remarks
36955
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36956
+ * @beta
36957
+ */
36958
+ resetContent(): void;
36783
36959
  /**
36784
36960
  * Selects the specified range in the Excel UI.
36785
36961
  *
@@ -44217,6 +44393,13 @@ declare namespace Excel {
44217
44393
  * @param color HTML color code representing the color of the background, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
44218
44394
  */
44219
44395
  setSolidColor(color: string): void;
44396
+ /**
44397
+ * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
44398
+ * Whereas the original Excel.ChartFill object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Excel.Interfaces.ChartFillData`) that contains shallow copies of any loaded child properties from the original object.
44399
+ */
44400
+ toJSON(): {
44401
+ [key: string]: string;
44402
+ };
44220
44403
  }
44221
44404
  /**
44222
44405
  * Represents the border formatting of a chart element.
@@ -52788,6 +52971,17 @@ declare namespace Excel {
52788
52971
  * @param connectorType Represents the connector type. See `Excel.ConnectorType` for details.
52789
52972
  */
52790
52973
  addLine(startLeft: number, startTop: number, endLeft: number, endTop: number, connectorType?: "Straight" | "Elbow" | "Curve"): Excel.Shape;
52974
+ /**
52975
+ * Creates a reference for the local image stored in the cell address and displays it as a floating shape over cells.
52976
+ *
52977
+ * @remarks
52978
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
52979
+ * @beta
52980
+ *
52981
+ * @param address The address of the cell that contains the local image.
52982
+ * @returns The `Shape` object associated with the floating shape.
52983
+ */
52984
+ addLocalImageReference(address: string): Excel.Shape;
52791
52985
  /**
52792
52986
  * Creates a scalable vector graphic (SVG) from an XML string and adds it to the worksheet. Returns a `Shape` object that represents the new image.
52793
52987
  *
@@ -59218,7 +59412,7 @@ declare namespace Excel {
59218
59412
  * @remarks
59219
59413
  * [Api set: ExcelApi 1.7]
59220
59414
  */
59221
- workbookNavigationObjectChanged = "WorkbookNavigationObjectChanged",
59415
+ lineageActivityUpdateAvailable = "LineageActivityUpdateAvailable",
59222
59416
  /**
59223
59417
  * WorksheetRowHeightChanged represents the type of event registered when the height of a worksheet row is changed.
59224
59418
  * @remarks
@@ -66145,7 +66339,7 @@ declare namespace Excel {
66145
66339
  */
66146
66340
  enableCalculation?: boolean;
66147
66341
  /**
66148
- * The display name of the worksheet.
66342
+ * The display name of the worksheet. The name must be fewer than 32 characters.
66149
66343
  *
66150
66344
  * @remarks
66151
66345
  * [Api set: ExcelApi 1.1]
@@ -66224,6 +66418,15 @@ declare namespace Excel {
66224
66418
  * [Api set: ExcelApi 1.2]
66225
66419
  */
66226
66420
  columnHidden?: boolean;
66421
+ /**
66422
+ * Accesses the cell control applied to this range.
66423
+ If the range has multiple cell controls, this returns `EmptyCellControl`.
66424
+ *
66425
+ * @remarks
66426
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66427
+ * @beta
66428
+ */
66429
+ control?: CellControl;
66227
66430
  /**
66228
66431
  * Represents the formula in A1-style notation. If a cell has no formula, its value is returned instead.
66229
66432
  *
@@ -71026,7 +71229,7 @@ declare namespace Excel {
71026
71229
  */
71027
71230
  changedBy?: Excel.EmailIdentity;
71028
71231
  /**
71029
- * Represents the ID of the `Comment` or `CommentReply` to which the task change is anchored.
71232
+ * Represents the ID of the comment or comment reply to which the task change is anchored.
71030
71233
  *
71031
71234
  * @remarks
71032
71235
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -71627,7 +71830,7 @@ declare namespace Excel {
71627
71830
  */
71628
71831
  id?: string;
71629
71832
  /**
71630
- * The display name of the worksheet.
71833
+ * The display name of the worksheet. The name must be fewer than 32 characters.
71631
71834
  *
71632
71835
  * @remarks
71633
71836
  * [Api set: ExcelApi 1.1]
@@ -71816,6 +72019,15 @@ declare namespace Excel {
71816
72019
  * [Api set: ExcelApi 1.1]
71817
72020
  */
71818
72021
  columnIndex?: number;
72022
+ /**
72023
+ * Accesses the cell control applied to this range.
72024
+ If the range has multiple cell controls, this returns `EmptyCellControl`.
72025
+ *
72026
+ * @remarks
72027
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
72028
+ * @beta
72029
+ */
72030
+ control?: CellControl;
71819
72031
  /**
71820
72032
  * Represents the formula in A1-style notation. If a cell has no formula, its value is returned instead.
71821
72033
  *
@@ -78130,7 +78342,7 @@ declare namespace Excel {
78130
78342
  */
78131
78343
  changedBy?: boolean;
78132
78344
  /**
78133
- * Represents the ID of the `comment` or `commentReply` to which the task change is anchored.
78345
+ * Represents the ID of the comment or comment reply to which the task change is anchored.
78134
78346
  *
78135
78347
  * @remarks
78136
78348
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -78243,7 +78455,7 @@ declare namespace Excel {
78243
78455
  */
78244
78456
  changedBy?: boolean;
78245
78457
  /**
78246
- * For EACH ITEM in the collection: Represents the ID of the `comment` or `commentReply` to which the task change is anchored.
78458
+ * For EACH ITEM in the collection: Represents the ID of the comment or comment reply to which the task change is anchored.
78247
78459
  *
78248
78460
  * @remarks
78249
78461
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -78882,7 +79094,7 @@ declare namespace Excel {
78882
79094
  */
78883
79095
  id?: boolean;
78884
79096
  /**
78885
- * The display name of the worksheet.
79097
+ * The display name of the worksheet. The name must be fewer than 32 characters.
78886
79098
  *
78887
79099
  * @remarks
78888
79100
  * [Api set: ExcelApi 1.1]
@@ -79010,7 +79222,7 @@ declare namespace Excel {
79010
79222
  */
79011
79223
  id?: boolean;
79012
79224
  /**
79013
- * For EACH ITEM in the collection: The display name of the worksheet.
79225
+ * For EACH ITEM in the collection: The display name of the worksheet. The name must be fewer than 32 characters.
79014
79226
  *
79015
79227
  * @remarks
79016
79228
  * [Api set: ExcelApi 1.1]
@@ -79206,6 +79418,15 @@ declare namespace Excel {
79206
79418
  * [Api set: ExcelApi 1.1]
79207
79419
  */
79208
79420
  columnIndex?: boolean;
79421
+ /**
79422
+ * Accesses the cell control applied to this range.
79423
+ If the range has multiple cell controls, this returns `EmptyCellControl`.
79424
+ *
79425
+ * @remarks
79426
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
79427
+ * @beta
79428
+ */
79429
+ control?: boolean;
79209
79430
  /**
79210
79431
  * Represents the formula in A1-style notation. If a cell has no formula, its value is returned instead.
79211
79432
  *
@@ -87521,6 +87742,15 @@ declare namespace Excel {
87521
87742
  * [Api set: ExcelApi 1.1]
87522
87743
  */
87523
87744
  columnIndex?: boolean;
87745
+ /**
87746
+ * For EACH ITEM in the collection: Accesses the cell control applied to this range.
87747
+ If the range has multiple cell controls, this returns `EmptyCellControl`.
87748
+ *
87749
+ * @remarks
87750
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
87751
+ * @beta
87752
+ */
87753
+ control?: boolean;
87524
87754
  /**
87525
87755
  * For EACH ITEM in the collection: Represents the formula in A1-style notation. If a cell has no formula, its value is returned instead.
87526
87756
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.474",
3
+ "version": "1.0.476",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "207a31d6442f7bde128055760e127aa9ee6b52918cb1c8b65b88835c47b425ce",
48
+ "typesPublisherContentHash": "ced4e49bf900a0f2bf0b7060f3890add325755da221296fc6453a798c34cd04c",
49
49
  "typeScriptVersion": "4.7",
50
50
  "nonNpm": true
51
51
  }