@types/office-js-preview 1.0.554 → 1.0.555

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: Wed, 05 Feb 2025 23:02:38 GMT
11
+ * Last updated: Fri, 07 Feb 2025 19:32:28 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -24276,8 +24276,9 @@ declare namespace Excel {
24276
24276
  /**
24277
24277
  * Represents an unknown cell control.
24278
24278
  * 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.
24279
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
24280
- * @beta
24279
+ *
24280
+ * @remarks
24281
+ * [Api set: ExcelApi 1.18]
24281
24282
  */
24282
24283
  interface UnknownCellControl {
24283
24284
  type: CellControlType.unknown;
@@ -24285,8 +24286,9 @@ declare namespace Excel {
24285
24286
  /**
24286
24287
  * Represents an empty cell control.
24287
24288
  * This represents the state where a cell does not have a control.
24288
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
24289
- * @beta
24289
+ *
24290
+ * @remarks
24291
+ * [Api set: ExcelApi 1.18]
24290
24292
  */
24291
24293
  interface EmptyCellControl {
24292
24294
  type: CellControlType.empty;
@@ -24294,25 +24296,28 @@ declare namespace Excel {
24294
24296
  /**
24295
24297
  * Represents the result of a query that resulted in multiple cell controls.
24296
24298
  * If the result has multiple controls, then they can't be represented as a single result.
24297
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
24298
- * @beta
24299
+ *
24300
+ * @remarks
24301
+ * [Api set: ExcelApi 1.18]
24299
24302
  */
24300
24303
  interface MixedCellControl {
24301
24304
  type: CellControlType.mixed;
24302
24305
  }
24303
24306
  /**
24304
- * Represents a checkbox. This is a cell control that allows a user to toggle the boolean value in a cell.
24305
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
24306
- * @beta
24307
- */
24307
+ * Represents a checkbox. This is a cell control that allows a user to toggle the boolean value in a cell.
24308
+ *
24309
+ * @remarks
24310
+ * [Api set: ExcelApi 1.18]
24311
+ */
24308
24312
  interface CheckboxCellControl {
24309
24313
  type: CellControlType.checkbox;
24310
24314
  }
24311
24315
  /**
24312
- * Represents an interactable control inside of a cell.
24313
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
24314
- * @beta
24315
- */
24316
+ * Represents an interactable control inside of a cell.
24317
+ *
24318
+ * @remarks
24319
+ * [Api set: ExcelApi 1.18]
24320
+ */
24316
24321
  type CellControl = UnknownCellControl | EmptyCellControl | MixedCellControl | CheckboxCellControl;
24317
24322
  /**
24318
24323
  * Represents a 2D array of cell values.
@@ -32399,7 +32404,7 @@ declare namespace Excel {
32399
32404
  /**
32400
32405
  * Specifies whether to load on the `textRuns` property.
32401
32406
  *
32402
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32407
+ * [Api set: ExcelApi 1.18]
32403
32408
  */
32404
32409
  textRuns?: boolean;
32405
32410
  }
@@ -32602,7 +32607,7 @@ declare namespace Excel {
32602
32607
  /**
32603
32608
  * Represents the `textRuns` property.
32604
32609
  *
32605
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
32610
+ * [Api set: ExcelApi 1.18]
32606
32611
  */
32607
32612
  textRuns?: RangeTextRun[];
32608
32613
  }
@@ -36509,39 +36514,41 @@ declare namespace Excel {
36509
36514
  * Represents the type of cell control.
36510
36515
  *
36511
36516
  * @remarks
36512
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36513
- * @beta
36517
+ * [Api set: ExcelApi 1.18]
36514
36518
  */
36515
36519
  enum CellControlType {
36516
36520
  /**
36517
36521
  * Type representing an unknown control.
36518
36522
  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.
36519
36523
  * @remarks
36520
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36521
- * @beta
36524
+ * [Api set: ExcelApi 1.18]
36522
36525
  */
36523
36526
  unknown = "Unknown",
36524
36527
  /**
36525
36528
  * Type representing an empty control.
36526
36529
  * @remarks
36527
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36528
- * @beta
36530
+ * [Api set: ExcelApi 1.18]
36529
36531
  */
36530
36532
  empty = "Empty",
36531
36533
  /**
36532
36534
  * Type representing a query that results in a mix of control results.
36533
36535
  * @remarks
36534
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36535
- * @beta
36536
+ * [Api set: ExcelApi 1.18]
36536
36537
  */
36537
36538
  mixed = "Mixed",
36538
36539
  /**
36539
36540
  * Type representing a checkbox control.
36540
36541
  * @remarks
36542
+ * [Api set: ExcelApi 1.18]
36543
+ */
36544
+ checkbox = "Checkbox",
36545
+ /**
36546
+ * Type representing a dropdown control.
36547
+ * @remarks
36541
36548
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
36542
36549
  * @beta
36543
36550
  */
36544
- checkbox = "Checkbox"
36551
+ dropdown = "Dropdown"
36545
36552
  }
36546
36553
  /**
36547
36554
  * Represents the direction that existing or remaining cells in a worksheet will shift when cells are inserted into or deleted from a worksheet.
@@ -38107,8 +38114,7 @@ declare namespace Excel {
38107
38114
  * Returns a collection of all the notes objects in the workbook.
38108
38115
  *
38109
38116
  * @remarks
38110
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
38111
- * @beta
38117
+ * [Api set: ExcelApi 1.18]
38112
38118
  */
38113
38119
  readonly notes: Excel.NoteCollection;
38114
38120
  /**
@@ -38634,8 +38640,7 @@ declare namespace Excel {
38634
38640
  * Returns a collection of all the notes objects in the worksheet.
38635
38641
  *
38636
38642
  * @remarks
38637
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
38638
- * @beta
38643
+ * [Api set: ExcelApi 1.18]
38639
38644
  */
38640
38645
  readonly notes: Excel.NoteCollection;
38641
38646
  /**
@@ -39892,8 +39897,7 @@ declare namespace Excel {
39892
39897
  If the range has multiple cell controls, this returns `EmptyCellControl`.
39893
39898
  *
39894
39899
  * @remarks
39895
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
39896
- * @beta
39900
+ * [Api set: ExcelApi 1.18]
39897
39901
  */
39898
39902
  control: CellControl;
39899
39903
  /**
@@ -40158,8 +40162,7 @@ declare namespace Excel {
40158
40162
  Otherwise, this sets the cells with controls to their default value and clears the values of the other cells in the range.
40159
40163
  *
40160
40164
  * @remarks
40161
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
40162
- * @beta
40165
+ * [Api set: ExcelApi 1.18]
40163
40166
  */
40164
40167
  clearOrResetContents(): void;
40165
40168
  /**
@@ -41087,8 +41090,7 @@ declare namespace Excel {
41087
41090
  Otherwise, this sets the cells with controls to their default value and clears the values of the other cells in the ranges.
41088
41091
  *
41089
41092
  * @remarks
41090
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41091
- * @beta
41093
+ * [Api set: ExcelApi 1.18]
41092
41094
  */
41093
41095
  clearOrResetContents(): void;
41094
41096
  /**
@@ -41253,8 +41255,7 @@ declare namespace Excel {
41253
41255
  * Selects the specified range areas in the Excel UI.
41254
41256
  *
41255
41257
  * @remarks
41256
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41257
- * @beta
41258
+ * [Api set: ExcelApi 1.18]
41258
41259
  */
41259
41260
  select(): void;
41260
41261
  /**
@@ -41620,12 +41621,25 @@ declare namespace Excel {
41620
41621
  weight?: boolean;
41621
41622
  }
41622
41623
  /**
41624
+ * Represents a sequence of one or more characters that share the same font attributes in a cell. Can be used as the `textRuns` properties of `getCellProperties` or the `textRuns` input parameter of `setCellProperties`.
41625
+ *
41623
41626
  * @remarks
41624
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41625
- * @beta
41627
+ * [Api set: ExcelApi 1.18]
41626
41628
  */
41627
41629
  interface RangeTextRun {
41630
+ /**
41631
+ * The font attributes (such as font name, font size, and color) applied to this text run.
41632
+ *
41633
+ * @remarks
41634
+ * [Api set: ExcelApi 1.18]
41635
+ */
41628
41636
  font?: Excel.CellPropertiesFont;
41637
+ /**
41638
+ * The text of this text run.
41639
+ *
41640
+ * @remarks
41641
+ * [Api set: ExcelApi 1.18]
41642
+ */
41629
41643
  text: string;
41630
41644
  }
41631
41645
  /**
@@ -61268,8 +61282,7 @@ declare namespace Excel {
61268
61282
  Cells with cell controls are set to the default value defined by each control.
61269
61283
  Cells without cell controls are set to blank.
61270
61284
  * @remarks
61271
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
61272
- * @beta
61285
+ * [Api set: ExcelApi 1.18]
61273
61286
  */
61274
61287
  resetContents = "ResetContents"
61275
61288
  }
@@ -66128,8 +66141,7 @@ declare namespace Excel {
66128
66141
  * Represents a collection of note objects that are part of the workbook.
66129
66142
  *
66130
66143
  * @remarks
66131
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66132
- * @beta
66144
+ * [Api set: ExcelApi 1.18]
66133
66145
  */
66134
66146
  class NoteCollection extends OfficeExtension.ClientObject {
66135
66147
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -66140,8 +66152,7 @@ declare namespace Excel {
66140
66152
  * Adds a new note with the given content on the given cell.
66141
66153
  *
66142
66154
  * @remarks
66143
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66144
- * @beta
66155
+ * [Api set: ExcelApi 1.18]
66145
66156
  *
66146
66157
  * @param cellAddress The cell to which the note is added. This can be a `Range` object or a string such as "A1". If the string is invalid, or the range is not a single cell, an `InvalidCellAddress` error is thrown.
66147
66158
  * @param content The text of the note.
@@ -66151,20 +66162,38 @@ declare namespace Excel {
66151
66162
  * Gets the number of notes in the collection.
66152
66163
  *
66153
66164
  * @remarks
66154
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66155
- * @beta
66165
+ * [Api set: ExcelApi 1.18]
66156
66166
  */
66157
66167
  getCount(): OfficeExtension.ClientResult<number>;
66158
66168
  /**
66159
- * Gets a note object by its index in the collection.
66169
+ * Gets a note by its cell address.
66160
66170
  *
66161
66171
  * @remarks
66162
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66163
- * @beta
66172
+ * [Api set: ExcelApi 1.18]
66173
+ *
66174
+ * @param key The cell address of the note.
66175
+ * @returns The note with the given cell address. If there is no note with the given cell address, then the `ItemNotFound` error is thrown.
66176
+ */
66177
+ getItem(key: string): Excel.Note;
66178
+ /**
66179
+ * Gets a note from the collection based on its position.
66180
+ *
66181
+ * @remarks
66182
+ * [Api set: ExcelApi 1.18]
66164
66183
  *
66165
66184
  * @param index The index value of the note to be retrieved. Zero-indexed.
66166
66185
  */
66167
66186
  getItemAt(index: number): Excel.Note;
66187
+ /**
66188
+ * Gets a note by its cell address. If the note object does not exist, then this method returns an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
66189
+ *
66190
+ * @remarks
66191
+ * [Api set: ExcelApi 1.18]
66192
+ *
66193
+ * @param key The cell address of the note.
66194
+ * @returns The note with the given cell address or null object.
66195
+ */
66196
+ getItemOrNullObject(key: string): Excel.Note;
66168
66197
  /**
66169
66198
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
66170
66199
  *
@@ -66193,8 +66222,7 @@ declare namespace Excel {
66193
66222
  * Represents a note in the workbook or worksheet.
66194
66223
  *
66195
66224
  * @remarks
66196
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66197
- * @beta
66225
+ * [Api set: ExcelApi 1.18]
66198
66226
  */
66199
66227
  class Note extends OfficeExtension.ClientObject {
66200
66228
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
@@ -66203,40 +66231,35 @@ declare namespace Excel {
66203
66231
  * Gets the author of the note.
66204
66232
  *
66205
66233
  * @remarks
66206
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66207
- * @beta
66234
+ * [Api set: ExcelApi 1.18]
66208
66235
  */
66209
66236
  readonly authorName: string;
66210
66237
  /**
66211
- * Gets or sets the text of the note. The string must be fewer than 256 characters.
66238
+ * Gets or sets the text of the note.
66212
66239
  *
66213
66240
  * @remarks
66214
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66215
- * @beta
66241
+ * [Api set: ExcelApi 1.18]
66216
66242
  */
66217
66243
  content: string;
66218
66244
  /**
66219
66245
  * Specifies the height of the note.
66220
66246
  *
66221
66247
  * @remarks
66222
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66223
- * @beta
66248
+ * [Api set: ExcelApi 1.18]
66224
66249
  */
66225
66250
  height: number;
66226
66251
  /**
66227
66252
  * Specifies the visibility of the note. A value of `true` means the note is shown.
66228
66253
  *
66229
66254
  * @remarks
66230
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66231
- * @beta
66255
+ * [Api set: ExcelApi 1.18]
66232
66256
  */
66233
66257
  visible: boolean;
66234
66258
  /**
66235
66259
  * Specifies the width of the note.
66236
66260
  *
66237
66261
  * @remarks
66238
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66239
- * @beta
66262
+ * [Api set: ExcelApi 1.18]
66240
66263
  */
66241
66264
  width: number;
66242
66265
  /**
@@ -66251,16 +66274,14 @@ declare namespace Excel {
66251
66274
  * Deletes the note.
66252
66275
  *
66253
66276
  * @remarks
66254
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66255
- * @beta
66277
+ * [Api set: ExcelApi 1.18]
66256
66278
  */
66257
66279
  delete(): void;
66258
66280
  /**
66259
66281
  * Gets the cell where this note is located.
66260
66282
  *
66261
66283
  * @remarks
66262
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
66263
- * @beta
66284
+ * [Api set: ExcelApi 1.18]
66264
66285
  */
66265
66286
  getLocation(): Excel.Range;
66266
66287
  /**
@@ -70448,8 +70469,7 @@ declare namespace Excel {
70448
70469
  If the range has multiple cell controls, this returns `EmptyCellControl`.
70449
70470
  *
70450
70471
  * @remarks
70451
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
70452
- * @beta
70472
+ * [Api set: ExcelApi 1.18]
70453
70473
  */
70454
70474
  control?: CellControl;
70455
70475
  /**
@@ -75144,35 +75164,31 @@ declare namespace Excel {
75144
75164
  /** An interface for updating data on the `Note` object, for use in `note.set({ ... })`. */
75145
75165
  interface NoteUpdateData {
75146
75166
  /**
75147
- * Gets or sets the text of the note. The string must be fewer than 256 characters.
75167
+ * Gets or sets the text of the note.
75148
75168
  *
75149
75169
  * @remarks
75150
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75151
- * @beta
75170
+ * [Api set: ExcelApi 1.18]
75152
75171
  */
75153
75172
  content?: string;
75154
75173
  /**
75155
75174
  * Specifies the height of the note.
75156
75175
  *
75157
75176
  * @remarks
75158
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75159
- * @beta
75177
+ * [Api set: ExcelApi 1.18]
75160
75178
  */
75161
75179
  height?: number;
75162
75180
  /**
75163
75181
  * Specifies the visibility of the note. A value of `true` means the note is shown.
75164
75182
  *
75165
75183
  * @remarks
75166
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75167
- * @beta
75184
+ * [Api set: ExcelApi 1.18]
75168
75185
  */
75169
75186
  visible?: boolean;
75170
75187
  /**
75171
75188
  * Specifies the width of the note.
75172
75189
  *
75173
75190
  * @remarks
75174
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75175
- * @beta
75191
+ * [Api set: ExcelApi 1.18]
75176
75192
  */
75177
75193
  width?: number;
75178
75194
  }
@@ -75607,8 +75623,7 @@ declare namespace Excel {
75607
75623
  * Returns a collection of all the notes objects in the workbook.
75608
75624
  *
75609
75625
  * @remarks
75610
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75611
- * @beta
75626
+ * [Api set: ExcelApi 1.18]
75612
75627
  */
75613
75628
  notes?: Excel.Interfaces.NoteData[];
75614
75629
  /**
@@ -75841,8 +75856,7 @@ declare namespace Excel {
75841
75856
  * Returns a collection of all the notes objects in the worksheet.
75842
75857
  *
75843
75858
  * @remarks
75844
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75845
- * @beta
75859
+ * [Api set: ExcelApi 1.18]
75846
75860
  */
75847
75861
  notes?: Excel.Interfaces.NoteData[];
75848
75862
  /**
@@ -76104,8 +76118,7 @@ declare namespace Excel {
76104
76118
  If the range has multiple cell controls, this returns `EmptyCellControl`.
76105
76119
  *
76106
76120
  * @remarks
76107
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
76108
- * @beta
76121
+ * [Api set: ExcelApi 1.18]
76109
76122
  */
76110
76123
  control?: CellControl;
76111
76124
  /**
@@ -82164,40 +82177,35 @@ declare namespace Excel {
82164
82177
  * Gets the author of the note.
82165
82178
  *
82166
82179
  * @remarks
82167
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
82168
- * @beta
82180
+ * [Api set: ExcelApi 1.18]
82169
82181
  */
82170
82182
  authorName?: string;
82171
82183
  /**
82172
- * Gets or sets the text of the note. The string must be fewer than 256 characters.
82184
+ * Gets or sets the text of the note.
82173
82185
  *
82174
82186
  * @remarks
82175
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
82176
- * @beta
82187
+ * [Api set: ExcelApi 1.18]
82177
82188
  */
82178
82189
  content?: string;
82179
82190
  /**
82180
82191
  * Specifies the height of the note.
82181
82192
  *
82182
82193
  * @remarks
82183
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
82184
- * @beta
82194
+ * [Api set: ExcelApi 1.18]
82185
82195
  */
82186
82196
  height?: number;
82187
82197
  /**
82188
82198
  * Specifies the visibility of the note. A value of `true` means the note is shown.
82189
82199
  *
82190
82200
  * @remarks
82191
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
82192
- * @beta
82201
+ * [Api set: ExcelApi 1.18]
82193
82202
  */
82194
82203
  visible?: boolean;
82195
82204
  /**
82196
82205
  * Specifies the width of the note.
82197
82206
  *
82198
82207
  * @remarks
82199
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
82200
- * @beta
82208
+ * [Api set: ExcelApi 1.18]
82201
82209
  */
82202
82210
  width?: number;
82203
82211
  }
@@ -83558,8 +83566,7 @@ declare namespace Excel {
83558
83566
  If the range has multiple cell controls, this returns `EmptyCellControl`.
83559
83567
  *
83560
83568
  * @remarks
83561
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
83562
- * @beta
83569
+ * [Api set: ExcelApi 1.18]
83563
83570
  */
83564
83571
  control?: boolean;
83565
83572
  /**
@@ -91890,8 +91897,7 @@ declare namespace Excel {
91890
91897
  If the range has multiple cell controls, this returns `EmptyCellControl`.
91891
91898
  *
91892
91899
  * @remarks
91893
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91894
- * @beta
91900
+ * [Api set: ExcelApi 1.18]
91895
91901
  */
91896
91902
  control?: boolean;
91897
91903
  /**
@@ -94035,8 +94041,7 @@ declare namespace Excel {
94035
94041
  * Represents a collection of note objects that are part of the workbook.
94036
94042
  *
94037
94043
  * @remarks
94038
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94039
- * @beta
94044
+ * [Api set: ExcelApi 1.18]
94040
94045
  */
94041
94046
  interface NoteCollectionLoadOptions {
94042
94047
  /**
@@ -94047,40 +94052,35 @@ declare namespace Excel {
94047
94052
  * For EACH ITEM in the collection: Gets the author of the note.
94048
94053
  *
94049
94054
  * @remarks
94050
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94051
- * @beta
94055
+ * [Api set: ExcelApi 1.18]
94052
94056
  */
94053
94057
  authorName?: boolean;
94054
94058
  /**
94055
- * For EACH ITEM in the collection: Gets or sets the text of the note. The string must be fewer than 256 characters.
94059
+ * For EACH ITEM in the collection: Gets or sets the text of the note.
94056
94060
  *
94057
94061
  * @remarks
94058
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94059
- * @beta
94062
+ * [Api set: ExcelApi 1.18]
94060
94063
  */
94061
94064
  content?: boolean;
94062
94065
  /**
94063
94066
  * For EACH ITEM in the collection: Specifies the height of the note.
94064
94067
  *
94065
94068
  * @remarks
94066
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94067
- * @beta
94069
+ * [Api set: ExcelApi 1.18]
94068
94070
  */
94069
94071
  height?: boolean;
94070
94072
  /**
94071
94073
  * For EACH ITEM in the collection: Specifies the visibility of the note. A value of `true` means the note is shown.
94072
94074
  *
94073
94075
  * @remarks
94074
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94075
- * @beta
94076
+ * [Api set: ExcelApi 1.18]
94076
94077
  */
94077
94078
  visible?: boolean;
94078
94079
  /**
94079
94080
  * For EACH ITEM in the collection: Specifies the width of the note.
94080
94081
  *
94081
94082
  * @remarks
94082
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94083
- * @beta
94083
+ * [Api set: ExcelApi 1.18]
94084
94084
  */
94085
94085
  width?: boolean;
94086
94086
  }
@@ -94088,8 +94088,7 @@ declare namespace Excel {
94088
94088
  * Represents a note in the workbook or worksheet.
94089
94089
  *
94090
94090
  * @remarks
94091
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94092
- * @beta
94091
+ * [Api set: ExcelApi 1.18]
94093
94092
  */
94094
94093
  interface NoteLoadOptions {
94095
94094
  /**
@@ -94100,40 +94099,35 @@ declare namespace Excel {
94100
94099
  * Gets the author of the note.
94101
94100
  *
94102
94101
  * @remarks
94103
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94104
- * @beta
94102
+ * [Api set: ExcelApi 1.18]
94105
94103
  */
94106
94104
  authorName?: boolean;
94107
94105
  /**
94108
- * Gets or sets the text of the note. The string must be fewer than 256 characters.
94106
+ * Gets or sets the text of the note.
94109
94107
  *
94110
94108
  * @remarks
94111
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94112
- * @beta
94109
+ * [Api set: ExcelApi 1.18]
94113
94110
  */
94114
94111
  content?: boolean;
94115
94112
  /**
94116
94113
  * Specifies the height of the note.
94117
94114
  *
94118
94115
  * @remarks
94119
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94120
- * @beta
94116
+ * [Api set: ExcelApi 1.18]
94121
94117
  */
94122
94118
  height?: boolean;
94123
94119
  /**
94124
94120
  * Specifies the visibility of the note. A value of `true` means the note is shown.
94125
94121
  *
94126
94122
  * @remarks
94127
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94128
- * @beta
94123
+ * [Api set: ExcelApi 1.18]
94129
94124
  */
94130
94125
  visible?: boolean;
94131
94126
  /**
94132
94127
  * Specifies the width of the note.
94133
94128
  *
94134
94129
  * @remarks
94135
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
94136
- * @beta
94130
+ * [Api set: ExcelApi 1.18]
94137
94131
  */
94138
94132
  width?: boolean;
94139
94133
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.554",
3
+ "version": "1.0.555",
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",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "8e374d2438112f99d6d8f4e84a978d51d22c77093b103c3289efdff1bb1aaf2e",
49
+ "typesPublisherContentHash": "f812a3a4625066ccd93204cb30dcbd4c8a8e243f2408fb30a479e9173b8af266",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }