@types/office-js-preview 1.0.652 → 1.0.654

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: Tue, 14 Oct 2025 21:32:49 GMT
11
+ * Last updated: Fri, 17 Oct 2025 17:33:42 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -148265,6 +148265,18 @@ declare namespace Word {
148265
148265
  context: RequestContext;
148266
148266
  /** Gets the loaded child items in this collection. */
148267
148267
  readonly items: Word.Bookmark[];
148268
+ /**
148269
+ * Returns a `Bookmark` object that represents a bookmark added to a range.
148270
+ *
148271
+ * @remarks
148272
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
148273
+ * @beta
148274
+ *
148275
+ * @param name The name of the bookmark. The name cannot be more than 40 characters or include more than one word. Also, the name must begin with a letter. It can include both numbers and letters, but not spaces. If you need to separate words, use an underscore.
148276
+ * @param range Optional. The range of text marked by the bookmark. A bookmark can be set to a collapsed range (the insertion point).
148277
+ * @returns A new `Bookmark` object.
148278
+ */
148279
+ add(name: string, range: Word.Range): Word.Bookmark;
148268
148280
  /**
148269
148281
  * Determines whether the specified bookmark exists.
148270
148282
  *
@@ -190835,6 +190847,8 @@ declare namespace Visio {
190835
190847
 
190836
190848
  declare namespace PowerPoint {
190837
190849
  /**
190850
+ * Represents the PowerPoint application that manages the presentation.
190851
+ *
190838
190852
  * @remarks
190839
190853
  * [Api set: PowerPointApi 1.0]
190840
190854
  */
@@ -190854,6 +190868,10 @@ declare namespace PowerPoint {
190854
190868
  };
190855
190869
  }
190856
190870
  /**
190871
+ * The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
190872
+ To learn more about the PowerPoint object model,
190873
+ see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
190874
+ *
190857
190875
  * @remarks
190858
190876
  * [Api set: PowerPointApi 1.0]
190859
190877
  */
@@ -190917,6 +190935,12 @@ declare namespace PowerPoint {
190917
190935
  * [Api set: PowerPointApi 1.5]
190918
190936
  */
190919
190937
  readonly id: string;
190938
+ /**
190939
+ * Returns the title of the presentation.
190940
+ *
190941
+ * @remarks
190942
+ * [Api set: PowerPointApi 1.0]
190943
+ */
190920
190944
  readonly title: string;
190921
190945
  /**
190922
190946
  * Returns the selected shapes in the current slide of the presentation.
@@ -192986,8 +193010,8 @@ declare namespace PowerPoint {
192986
193010
  */
192987
193011
  getCount(): OfficeExtension.ClientResult<number>;
192988
193012
  /**
192989
- * Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
192990
- Throws an `InvalidArgument` exception when the index is out of range.
193013
+ * Gets a hyperlink using its zero-based index in the collection.
193014
+ Throws an `InvalidArgument` exception if the index is out of range.
192991
193015
  *
192992
193016
  * @remarks
192993
193017
  * [Api set: PowerPointApi 1.6]
@@ -198433,8 +198457,8 @@ declare namespace PowerPoint {
198433
198457
  delete(): void;
198434
198458
  /**
198435
198459
  * Exports the slide to its own presentation file, returned as Base64-encoded data.
198436
- *
198437
- * Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
198460
+
198461
+ Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
198438
198462
  *
198439
198463
  * @remarks
198440
198464
  * [Api set: PowerPointApi 1.8]
@@ -200876,6 +200900,12 @@ declare namespace PowerPoint {
200876
200900
  * [Api set: PowerPointApi 1.5]
200877
200901
  */
200878
200902
  id?: string;
200903
+ /**
200904
+ * Returns the title of the presentation.
200905
+ *
200906
+ * @remarks
200907
+ * [Api set: PowerPointApi 1.0]
200908
+ */
200879
200909
  title?: string;
200880
200910
  }
200881
200911
  /** An interface describing the data returned by calling `adjustments.toJSON()`. */
@@ -202052,6 +202082,10 @@ declare namespace PowerPoint {
202052
202082
  items?: PowerPoint.Interfaces.SlideMasterData[];
202053
202083
  }
202054
202084
  /**
202085
+ * The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
202086
+ To learn more about the PowerPoint object model,
202087
+ see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
202088
+ *
202055
202089
  * @remarks
202056
202090
  * [Api set: PowerPointApi 1.0]
202057
202091
  */
@@ -202082,6 +202116,12 @@ declare namespace PowerPoint {
202082
202116
  * [Api set: PowerPointApi 1.5]
202083
202117
  */
202084
202118
  id?: boolean;
202119
+ /**
202120
+ * Returns the title of the presentation.
202121
+ *
202122
+ * @remarks
202123
+ * [Api set: PowerPointApi 1.0]
202124
+ */
202085
202125
  title?: boolean;
202086
202126
  }
202087
202127
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.652",
3
+ "version": "1.0.654",
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": "706ed0786c20fa804360bc9847af94e109da0f4dda99d3704148090d4249625d",
49
+ "typesPublisherContentHash": "5a97a706cad05488969099f25c7dc3a3c2f05d6a5a3db1df45cf4ac59ddc4850",
50
50
  "typeScriptVersion": "5.2",
51
51
  "nonNpm": true
52
52
  }