@types/office-js-preview 1.0.662 → 1.0.663
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 +1 -1
- office-js-preview/index.d.ts +214 -0
- office-js-preview/package.json +2 -2
office-js-preview/README.md
CHANGED
|
@@ -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, 07 Nov 2025
|
|
11
|
+
* Last updated: Fri, 07 Nov 2025 19:02:11 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -186771,6 +186771,16 @@ declare namespace PowerPoint {
|
|
|
186771
186771
|
* [Api set: PowerPointApi 1.0]
|
|
186772
186772
|
*/
|
|
186773
186773
|
readonly title: string;
|
|
186774
|
+
/**
|
|
186775
|
+
* Returns the current active {@link PowerPoint.Slide} that is visible in the editing area.
|
|
186776
|
+
If there's no active slide, an object with an `isNullObject` property set to `true` is returned.
|
|
186777
|
+
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}.
|
|
186778
|
+
*
|
|
186779
|
+
* @remarks
|
|
186780
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
186781
|
+
* @beta
|
|
186782
|
+
*/
|
|
186783
|
+
getActiveSlideOrNullObject(): PowerPoint.Slide;
|
|
186774
186784
|
/**
|
|
186775
186785
|
* Returns the selected shapes in the current slide of the presentation.
|
|
186776
186786
|
If no shapes are selected, an empty collection is returned.
|
|
@@ -194782,6 +194792,29 @@ declare namespace PowerPoint {
|
|
|
194782
194792
|
* [Api set: PowerPointApi 1.4]
|
|
194783
194793
|
*/
|
|
194784
194794
|
readonly textFrame: PowerPoint.TextFrame;
|
|
194795
|
+
/**
|
|
194796
|
+
* The alt text description of the Shape.
|
|
194797
|
+
|
|
194798
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
194799
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
194800
|
+
*
|
|
194801
|
+
* @remarks
|
|
194802
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
194803
|
+
* @beta
|
|
194804
|
+
*/
|
|
194805
|
+
altTextDescription: string;
|
|
194806
|
+
/**
|
|
194807
|
+
* The alt text title of the Shape.
|
|
194808
|
+
|
|
194809
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
194810
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
194811
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
194812
|
+
*
|
|
194813
|
+
* @remarks
|
|
194814
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
194815
|
+
* @beta
|
|
194816
|
+
*/
|
|
194817
|
+
altTextTitle: string;
|
|
194785
194818
|
/**
|
|
194786
194819
|
* Gets the creation ID of the shape. Returns `null` if the shape has no creation ID.
|
|
194787
194820
|
*
|
|
@@ -194804,6 +194837,17 @@ declare namespace PowerPoint {
|
|
|
194804
194837
|
* [Api set: PowerPointApi 1.3]
|
|
194805
194838
|
*/
|
|
194806
194839
|
readonly id: string;
|
|
194840
|
+
/**
|
|
194841
|
+
* Represents whether the shape is decorative or not.
|
|
194842
|
+
|
|
194843
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
194844
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
194845
|
+
*
|
|
194846
|
+
* @remarks
|
|
194847
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
194848
|
+
* @beta
|
|
194849
|
+
*/
|
|
194850
|
+
isDecorative: boolean;
|
|
194807
194851
|
/**
|
|
194808
194852
|
* The distance, in points, from the left side of the shape to the left side of the slide.
|
|
194809
194853
|
*
|
|
@@ -196551,6 +196595,29 @@ declare namespace PowerPoint {
|
|
|
196551
196595
|
}
|
|
196552
196596
|
/** An interface for updating data on the `Shape` object, for use in `shape.set({ ... })`. */
|
|
196553
196597
|
interface ShapeUpdateData {
|
|
196598
|
+
/**
|
|
196599
|
+
* The alt text description of the Shape.
|
|
196600
|
+
|
|
196601
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
196602
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
196603
|
+
*
|
|
196604
|
+
* @remarks
|
|
196605
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196606
|
+
* @beta
|
|
196607
|
+
*/
|
|
196608
|
+
altTextDescription?: string;
|
|
196609
|
+
/**
|
|
196610
|
+
* The alt text title of the Shape.
|
|
196611
|
+
|
|
196612
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
196613
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
196614
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
196615
|
+
*
|
|
196616
|
+
* @remarks
|
|
196617
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196618
|
+
* @beta
|
|
196619
|
+
*/
|
|
196620
|
+
altTextTitle?: string;
|
|
196554
196621
|
/**
|
|
196555
196622
|
* Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
196556
196623
|
*
|
|
@@ -196558,6 +196625,17 @@ declare namespace PowerPoint {
|
|
|
196558
196625
|
* [Api set: PowerPointApi 1.4]
|
|
196559
196626
|
*/
|
|
196560
196627
|
height?: number;
|
|
196628
|
+
/**
|
|
196629
|
+
* Represents whether the shape is decorative or not.
|
|
196630
|
+
|
|
196631
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
196632
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
196633
|
+
*
|
|
196634
|
+
* @remarks
|
|
196635
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
196636
|
+
* @beta
|
|
196637
|
+
*/
|
|
196638
|
+
isDecorative?: boolean;
|
|
196561
196639
|
/**
|
|
196562
196640
|
* The distance, in points, from the left side of the shape to the left side of the slide.
|
|
196563
196641
|
*
|
|
@@ -197653,6 +197731,29 @@ declare namespace PowerPoint {
|
|
|
197653
197731
|
}
|
|
197654
197732
|
/** An interface describing the data returned by calling `shape.toJSON()`. */
|
|
197655
197733
|
interface ShapeData {
|
|
197734
|
+
/**
|
|
197735
|
+
* The alt text description of the Shape.
|
|
197736
|
+
|
|
197737
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
197738
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
197739
|
+
*
|
|
197740
|
+
* @remarks
|
|
197741
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197742
|
+
* @beta
|
|
197743
|
+
*/
|
|
197744
|
+
altTextDescription?: string;
|
|
197745
|
+
/**
|
|
197746
|
+
* The alt text title of the Shape.
|
|
197747
|
+
|
|
197748
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
197749
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
197750
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
197751
|
+
*
|
|
197752
|
+
* @remarks
|
|
197753
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197754
|
+
* @beta
|
|
197755
|
+
*/
|
|
197756
|
+
altTextTitle?: string;
|
|
197656
197757
|
/**
|
|
197657
197758
|
* Gets the creation ID of the shape. Returns `null` if the shape has no creation ID.
|
|
197658
197759
|
*
|
|
@@ -197675,6 +197776,17 @@ declare namespace PowerPoint {
|
|
|
197675
197776
|
* [Api set: PowerPointApi 1.3]
|
|
197676
197777
|
*/
|
|
197677
197778
|
id?: string;
|
|
197779
|
+
/**
|
|
197780
|
+
* Represents whether the shape is decorative or not.
|
|
197781
|
+
|
|
197782
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
197783
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
197784
|
+
*
|
|
197785
|
+
* @remarks
|
|
197786
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
197787
|
+
* @beta
|
|
197788
|
+
*/
|
|
197789
|
+
isDecorative?: boolean;
|
|
197678
197790
|
/**
|
|
197679
197791
|
* The distance, in points, from the left side of the shape to the left side of the slide.
|
|
197680
197792
|
*
|
|
@@ -199185,6 +199297,29 @@ declare namespace PowerPoint {
|
|
|
199185
199297
|
* [Api set: PowerPointApi 1.4]
|
|
199186
199298
|
*/
|
|
199187
199299
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
199300
|
+
/**
|
|
199301
|
+
* For EACH ITEM in the collection: The alt text description of the Shape.
|
|
199302
|
+
|
|
199303
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
199304
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
199305
|
+
*
|
|
199306
|
+
* @remarks
|
|
199307
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199308
|
+
* @beta
|
|
199309
|
+
*/
|
|
199310
|
+
altTextDescription?: boolean;
|
|
199311
|
+
/**
|
|
199312
|
+
* For EACH ITEM in the collection: The alt text title of the Shape.
|
|
199313
|
+
|
|
199314
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
199315
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
199316
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
199317
|
+
*
|
|
199318
|
+
* @remarks
|
|
199319
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199320
|
+
* @beta
|
|
199321
|
+
*/
|
|
199322
|
+
altTextTitle?: boolean;
|
|
199188
199323
|
/**
|
|
199189
199324
|
* For EACH ITEM in the collection: Gets the creation ID of the shape. Returns `null` if the shape has no creation ID.
|
|
199190
199325
|
*
|
|
@@ -199207,6 +199342,17 @@ declare namespace PowerPoint {
|
|
|
199207
199342
|
* [Api set: PowerPointApi 1.3]
|
|
199208
199343
|
*/
|
|
199209
199344
|
id?: boolean;
|
|
199345
|
+
/**
|
|
199346
|
+
* For EACH ITEM in the collection: Represents whether the shape is decorative or not.
|
|
199347
|
+
|
|
199348
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
199349
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
199350
|
+
*
|
|
199351
|
+
* @remarks
|
|
199352
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199353
|
+
* @beta
|
|
199354
|
+
*/
|
|
199355
|
+
isDecorative?: boolean;
|
|
199210
199356
|
/**
|
|
199211
199357
|
* For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide.
|
|
199212
199358
|
*
|
|
@@ -199785,6 +199931,29 @@ declare namespace PowerPoint {
|
|
|
199785
199931
|
* [Api set: PowerPointApi 1.5]
|
|
199786
199932
|
*/
|
|
199787
199933
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
199934
|
+
/**
|
|
199935
|
+
* For EACH ITEM in the collection: The alt text description of the Shape.
|
|
199936
|
+
|
|
199937
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
199938
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
199939
|
+
*
|
|
199940
|
+
* @remarks
|
|
199941
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199942
|
+
* @beta
|
|
199943
|
+
*/
|
|
199944
|
+
altTextDescription?: boolean;
|
|
199945
|
+
/**
|
|
199946
|
+
* For EACH ITEM in the collection: The alt text title of the Shape.
|
|
199947
|
+
|
|
199948
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
199949
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
199950
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
199951
|
+
*
|
|
199952
|
+
* @remarks
|
|
199953
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199954
|
+
* @beta
|
|
199955
|
+
*/
|
|
199956
|
+
altTextTitle?: boolean;
|
|
199788
199957
|
/**
|
|
199789
199958
|
* For EACH ITEM in the collection: Gets the creation ID of the shape. Returns `null` if the shape has no creation ID.
|
|
199790
199959
|
*
|
|
@@ -199807,6 +199976,17 @@ declare namespace PowerPoint {
|
|
|
199807
199976
|
* [Api set: PowerPointApi 1.3]
|
|
199808
199977
|
*/
|
|
199809
199978
|
id?: boolean;
|
|
199979
|
+
/**
|
|
199980
|
+
* For EACH ITEM in the collection: Represents whether the shape is decorative or not.
|
|
199981
|
+
|
|
199982
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
199983
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
199984
|
+
*
|
|
199985
|
+
* @remarks
|
|
199986
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
199987
|
+
* @beta
|
|
199988
|
+
*/
|
|
199989
|
+
isDecorative?: boolean;
|
|
199810
199990
|
/**
|
|
199811
199991
|
* For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the left side of the slide.
|
|
199812
199992
|
*
|
|
@@ -200033,6 +200213,29 @@ declare namespace PowerPoint {
|
|
|
200033
200213
|
* [Api set: PowerPointApi 1.4]
|
|
200034
200214
|
*/
|
|
200035
200215
|
textFrame?: PowerPoint.Interfaces.TextFrameLoadOptions;
|
|
200216
|
+
/**
|
|
200217
|
+
* The alt text description of the Shape.
|
|
200218
|
+
|
|
200219
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
200220
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
200221
|
+
*
|
|
200222
|
+
* @remarks
|
|
200223
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
200224
|
+
* @beta
|
|
200225
|
+
*/
|
|
200226
|
+
altTextDescription?: boolean;
|
|
200227
|
+
/**
|
|
200228
|
+
* The alt text title of the Shape.
|
|
200229
|
+
|
|
200230
|
+
Alt text provides alternative, text-based representations of the information contained in the Shape.
|
|
200231
|
+
This information is useful for people with vision or cognitive impairments who may not be able to see or understand the shape.
|
|
200232
|
+
A title can be read to a person with a disability and is used to determine whether they wish to hear the description of the content.
|
|
200233
|
+
*
|
|
200234
|
+
* @remarks
|
|
200235
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
200236
|
+
* @beta
|
|
200237
|
+
*/
|
|
200238
|
+
altTextTitle?: boolean;
|
|
200036
200239
|
/**
|
|
200037
200240
|
* Gets the creation ID of the shape. Returns `null` if the shape has no creation ID.
|
|
200038
200241
|
*
|
|
@@ -200055,6 +200258,17 @@ declare namespace PowerPoint {
|
|
|
200055
200258
|
* [Api set: PowerPointApi 1.3]
|
|
200056
200259
|
*/
|
|
200057
200260
|
id?: boolean;
|
|
200261
|
+
/**
|
|
200262
|
+
* Represents whether the shape is decorative or not.
|
|
200263
|
+
|
|
200264
|
+
Decorative objects add visual interest but aren't informative (e.g. stylistic borders).
|
|
200265
|
+
People using screen readers will hear these are decorative so they know they aren't missing any important information.
|
|
200266
|
+
*
|
|
200267
|
+
* @remarks
|
|
200268
|
+
* [Api set: PowerPointApi BETA (PREVIEW ONLY)]
|
|
200269
|
+
* @beta
|
|
200270
|
+
*/
|
|
200271
|
+
isDecorative?: boolean;
|
|
200058
200272
|
/**
|
|
200059
200273
|
* The distance, in points, from the left side of the shape to the left side of the slide.
|
|
200060
200274
|
*
|
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.663",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "c5e1ac292f3160a396fa596dcb0fd454729e70596a6c67b8cd4bce32ac3922ac",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|