@types/office-js-preview 1.0.494 → 1.0.496
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 +60 -60
- 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:
|
|
11
|
+
* Last updated: Thu, 08 Aug 2024 16:08:15 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -3140,7 +3140,7 @@ declare namespace Office {
|
|
|
3140
3140
|
* @param actionId The ID of an action that is defined in the manifest.
|
|
3141
3141
|
* @param actionFunction The function that is run when the action is invoked.
|
|
3142
3142
|
*/
|
|
3143
|
-
associate
|
|
3143
|
+
associate(actionId: string, actionFunction: (arg?: any) => void): void;
|
|
3144
3144
|
/**
|
|
3145
3145
|
* Replaces existing add-in shortcuts with custom shortcuts for the user.
|
|
3146
3146
|
*
|
|
@@ -122501,12 +122501,12 @@ declare namespace PowerPoint {
|
|
|
122501
122501
|
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
|
|
122502
122502
|
context: RequestContext;
|
|
122503
122503
|
/**
|
|
122504
|
-
* Create a new instance of PowerPoint.Application object
|
|
122504
|
+
* Create a new instance of the `PowerPoint.Application` object.
|
|
122505
122505
|
*/
|
|
122506
122506
|
static newObject(context: OfficeExtension.ClientRequestContext): PowerPoint.Application;
|
|
122507
122507
|
/**
|
|
122508
122508
|
* 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.)
|
|
122509
|
-
* Whereas the original PowerPoint.Application object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ApplicationData`) that contains shallow copies of any loaded child properties from the original object.
|
|
122509
|
+
* Whereas the original `PowerPoint.Application` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ApplicationData`) that contains shallow copies of any loaded child properties from the original object.
|
|
122510
122510
|
*/
|
|
122511
122511
|
toJSON(): {
|
|
122512
122512
|
[key: string]: string;
|
|
@@ -122623,7 +122623,7 @@ declare namespace PowerPoint {
|
|
|
122623
122623
|
}): PowerPoint.Presentation;
|
|
122624
122624
|
/**
|
|
122625
122625
|
* 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.)
|
|
122626
|
-
* Whereas the original PowerPoint.Presentation object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.PresentationData`) that contains shallow copies of any loaded child properties from the original object.
|
|
122626
|
+
* Whereas the original `PowerPoint.Presentation` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.PresentationData`) that contains shallow copies of any loaded child properties from the original object.
|
|
122627
122627
|
*/
|
|
122628
122628
|
toJSON(): PowerPoint.Interfaces.PresentationData;
|
|
122629
122629
|
}
|
|
@@ -124284,7 +124284,7 @@ declare namespace PowerPoint {
|
|
|
124284
124284
|
}): PowerPoint.SlideLayout;
|
|
124285
124285
|
/**
|
|
124286
124286
|
* 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.)
|
|
124287
|
-
* Whereas the original PowerPoint.SlideLayout object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124287
|
+
* Whereas the original `PowerPoint.SlideLayout` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideLayoutData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124288
124288
|
*/
|
|
124289
124289
|
toJSON(): PowerPoint.Interfaces.SlideLayoutData;
|
|
124290
124290
|
}
|
|
@@ -124422,7 +124422,7 @@ declare namespace PowerPoint {
|
|
|
124422
124422
|
}): PowerPoint.SlideMaster;
|
|
124423
124423
|
/**
|
|
124424
124424
|
* 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.)
|
|
124425
|
-
* Whereas the original PowerPoint.SlideMaster object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124425
|
+
* Whereas the original `PowerPoint.SlideMaster` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideMasterData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124426
124426
|
*/
|
|
124427
124427
|
toJSON(): PowerPoint.Interfaces.SlideMasterData;
|
|
124428
124428
|
}
|
|
@@ -124472,7 +124472,7 @@ declare namespace PowerPoint {
|
|
|
124472
124472
|
}): PowerPoint.Tag;
|
|
124473
124473
|
/**
|
|
124474
124474
|
* 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.)
|
|
124475
|
-
* Whereas the original PowerPoint.Tag object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TagData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124475
|
+
* Whereas the original `PowerPoint.Tag` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TagData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124476
124476
|
*/
|
|
124477
124477
|
toJSON(): PowerPoint.Interfaces.TagData;
|
|
124478
124478
|
}
|
|
@@ -124488,22 +124488,22 @@ declare namespace PowerPoint {
|
|
|
124488
124488
|
/** Gets the loaded child items in this collection. */
|
|
124489
124489
|
readonly items: PowerPoint.Tag[];
|
|
124490
124490
|
/**
|
|
124491
|
-
* Adds a new tag at the end of the collection. If the key already exists in the collection, the value of the existing tag will be replaced with the given `value`.
|
|
124491
|
+
* Adds a new tag at the end of the collection. If the `key` already exists in the collection, the value of the existing tag will be replaced with the given `value`.
|
|
124492
124492
|
*
|
|
124493
124493
|
* @remarks
|
|
124494
124494
|
* [Api set: PowerPointApi 1.3]
|
|
124495
124495
|
*
|
|
124496
|
-
* @param key The unique ID of a tag, which is unique within this `TagCollection`.
|
|
124496
|
+
* @param key The unique ID of a tag, which is unique within this `TagCollection`. 'key' parameter is case-insensitive, but it is always capitalized when saved in the document.
|
|
124497
124497
|
* @param value The value of the tag.
|
|
124498
124498
|
*/
|
|
124499
124499
|
add(key: string, value: string): void;
|
|
124500
124500
|
/**
|
|
124501
|
-
* Deletes the tag with the given key in this collection. Does nothing if the key does not exist.
|
|
124501
|
+
* Deletes the tag with the given `key` in this collection. Does nothing if the `key` does not exist.
|
|
124502
124502
|
*
|
|
124503
124503
|
* @remarks
|
|
124504
124504
|
* [Api set: PowerPointApi 1.3]
|
|
124505
124505
|
*
|
|
124506
|
-
* @param key The unique ID of a tag, which is unique within this `TagCollection`.
|
|
124506
|
+
* @param key The unique ID of a tag, which is unique within this `TagCollection`. `key` parameter is case-insensitive.
|
|
124507
124507
|
*/
|
|
124508
124508
|
delete(key: string): void;
|
|
124509
124509
|
/**
|
|
@@ -124520,7 +124520,7 @@ declare namespace PowerPoint {
|
|
|
124520
124520
|
* @remarks
|
|
124521
124521
|
* [Api set: PowerPointApi 1.3]
|
|
124522
124522
|
*
|
|
124523
|
-
* @param key The ID of the tag.
|
|
124523
|
+
* @param key The ID of the tag.
|
|
124524
124524
|
* @returns The tag with the unique ID. If such a tag does not exist, an error is thrown.
|
|
124525
124525
|
*/
|
|
124526
124526
|
getItem(key: string): PowerPoint.Tag;
|
|
@@ -124540,7 +124540,7 @@ declare namespace PowerPoint {
|
|
|
124540
124540
|
* @remarks
|
|
124541
124541
|
* [Api set: PowerPointApi 1.3]
|
|
124542
124542
|
*
|
|
124543
|
-
* @param key The ID of the tag.
|
|
124543
|
+
* @param key The ID of the tag.
|
|
124544
124544
|
* @returns The tag with the unique ID. If such a tag does not exist, an object with an `isNullObject` property set to true is returned.
|
|
124545
124545
|
*/
|
|
124546
124546
|
getItemOrNullObject(key: string): PowerPoint.Tag;
|
|
@@ -124672,7 +124672,7 @@ declare namespace PowerPoint {
|
|
|
124672
124672
|
}): PowerPoint.Slide;
|
|
124673
124673
|
/**
|
|
124674
124674
|
* 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.)
|
|
124675
|
-
* Whereas the original PowerPoint.Slide object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124675
|
+
* Whereas the original `PowerPoint.Slide` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.SlideData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124676
124676
|
*/
|
|
124677
124677
|
toJSON(): PowerPoint.Interfaces.SlideData;
|
|
124678
124678
|
}
|
|
@@ -124789,7 +124789,7 @@ declare namespace PowerPoint {
|
|
|
124789
124789
|
}): PowerPoint.ShapeFill;
|
|
124790
124790
|
/**
|
|
124791
124791
|
* 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.)
|
|
124792
|
-
* Whereas the original PowerPoint.ShapeFill object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFillData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124792
|
+
* Whereas the original `PowerPoint.ShapeFill` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFillData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124793
124793
|
*/
|
|
124794
124794
|
toJSON(): PowerPoint.Interfaces.ShapeFillData;
|
|
124795
124795
|
}
|
|
@@ -124905,7 +124905,7 @@ declare namespace PowerPoint {
|
|
|
124905
124905
|
}): PowerPoint.ShapeLineFormat;
|
|
124906
124906
|
/**
|
|
124907
124907
|
* 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.)
|
|
124908
|
-
* Whereas the original PowerPoint.ShapeLineFormat object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeLineFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124908
|
+
* Whereas the original `PowerPoint.ShapeLineFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeLineFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
124909
124909
|
*/
|
|
124910
124910
|
toJSON(): PowerPoint.Interfaces.ShapeLineFormatData;
|
|
124911
124911
|
}
|
|
@@ -125024,7 +125024,7 @@ declare namespace PowerPoint {
|
|
|
125024
125024
|
}): PowerPoint.BulletFormat;
|
|
125025
125025
|
/**
|
|
125026
125026
|
* 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.)
|
|
125027
|
-
* Whereas the original PowerPoint.BulletFormat object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.BulletFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125027
|
+
* Whereas the original `PowerPoint.BulletFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.BulletFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125028
125028
|
*/
|
|
125029
125029
|
toJSON(): PowerPoint.Interfaces.BulletFormatData;
|
|
125030
125030
|
}
|
|
@@ -125074,7 +125074,7 @@ declare namespace PowerPoint {
|
|
|
125074
125074
|
}): PowerPoint.ParagraphFormat;
|
|
125075
125075
|
/**
|
|
125076
125076
|
* 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.)
|
|
125077
|
-
* Whereas the original PowerPoint.ParagraphFormat object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ParagraphFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125077
|
+
* Whereas the original `PowerPoint.ParagraphFormat` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ParagraphFormatData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125078
125078
|
*/
|
|
125079
125079
|
toJSON(): PowerPoint.Interfaces.ParagraphFormatData;
|
|
125080
125080
|
}
|
|
@@ -125152,7 +125152,7 @@ declare namespace PowerPoint {
|
|
|
125152
125152
|
}): PowerPoint.ShapeFont;
|
|
125153
125153
|
/**
|
|
125154
125154
|
* 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.)
|
|
125155
|
-
* Whereas the original PowerPoint.ShapeFont object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFontData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125155
|
+
* Whereas the original `PowerPoint.ShapeFont` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeFontData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125156
125156
|
*/
|
|
125157
125157
|
toJSON(): PowerPoint.Interfaces.ShapeFontData;
|
|
125158
125158
|
}
|
|
@@ -125249,7 +125249,7 @@ declare namespace PowerPoint {
|
|
|
125249
125249
|
}): PowerPoint.TextRange;
|
|
125250
125250
|
/**
|
|
125251
125251
|
* 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.)
|
|
125252
|
-
* Whereas the original PowerPoint.TextRange object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextRangeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125252
|
+
* Whereas the original `PowerPoint.TextRange` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextRangeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125253
125253
|
*/
|
|
125254
125254
|
toJSON(): PowerPoint.Interfaces.TextRangeData;
|
|
125255
125255
|
}
|
|
@@ -125362,7 +125362,7 @@ declare namespace PowerPoint {
|
|
|
125362
125362
|
}): PowerPoint.TextFrame;
|
|
125363
125363
|
/**
|
|
125364
125364
|
* 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.)
|
|
125365
|
-
* Whereas the original PowerPoint.TextFrame object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextFrameData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125365
|
+
* Whereas the original `PowerPoint.TextFrame` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TextFrameData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125366
125366
|
*/
|
|
125367
125367
|
toJSON(): PowerPoint.Interfaces.TextFrameData;
|
|
125368
125368
|
}
|
|
@@ -125524,7 +125524,7 @@ declare namespace PowerPoint {
|
|
|
125524
125524
|
}): PowerPoint.Shape;
|
|
125525
125525
|
/**
|
|
125526
125526
|
* 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.)
|
|
125527
|
-
* Whereas the original PowerPoint.Shape object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125527
|
+
* Whereas the original `PowerPoint.Shape` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.ShapeData`) that contains shallow copies of any loaded child properties from the original object.
|
|
125528
125528
|
*/
|
|
125529
125529
|
toJSON(): PowerPoint.Interfaces.ShapeData;
|
|
125530
125530
|
}
|
|
@@ -125907,15 +125907,15 @@ declare namespace PowerPoint {
|
|
|
125907
125907
|
*/
|
|
125908
125908
|
$skip?: number;
|
|
125909
125909
|
}
|
|
125910
|
-
/** An interface for updating data on the ShapeCollection object, for use in `shapeCollection.set({ ... })`. */
|
|
125910
|
+
/** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
|
|
125911
125911
|
interface ShapeCollectionUpdateData {
|
|
125912
125912
|
items?: PowerPoint.Interfaces.ShapeData[];
|
|
125913
125913
|
}
|
|
125914
|
-
/** An interface for updating data on the SlideLayoutCollection object, for use in `slideLayoutCollection.set({ ... })`. */
|
|
125914
|
+
/** An interface for updating data on the `SlideLayoutCollection` object, for use in `slideLayoutCollection.set({ ... })`. */
|
|
125915
125915
|
interface SlideLayoutCollectionUpdateData {
|
|
125916
125916
|
items?: PowerPoint.Interfaces.SlideLayoutData[];
|
|
125917
125917
|
}
|
|
125918
|
-
/** An interface for updating data on the Tag object, for use in `tag.set({ ... })`. */
|
|
125918
|
+
/** An interface for updating data on the `Tag` object, for use in `tag.set({ ... })`. */
|
|
125919
125919
|
interface TagUpdateData {
|
|
125920
125920
|
/**
|
|
125921
125921
|
* Gets the value of the tag.
|
|
@@ -125925,11 +125925,11 @@ declare namespace PowerPoint {
|
|
|
125925
125925
|
*/
|
|
125926
125926
|
value?: string;
|
|
125927
125927
|
}
|
|
125928
|
-
/** An interface for updating data on the TagCollection object, for use in `tagCollection.set({ ... })`. */
|
|
125928
|
+
/** An interface for updating data on the `TagCollection` object, for use in `tagCollection.set({ ... })`. */
|
|
125929
125929
|
interface TagCollectionUpdateData {
|
|
125930
125930
|
items?: PowerPoint.Interfaces.TagData[];
|
|
125931
125931
|
}
|
|
125932
|
-
/** An interface for updating data on the ShapeFill object, for use in `shapeFill.set({ ... })`. */
|
|
125932
|
+
/** An interface for updating data on the `ShapeFill` object, for use in `shapeFill.set({ ... })`. */
|
|
125933
125933
|
interface ShapeFillUpdateData {
|
|
125934
125934
|
/**
|
|
125935
125935
|
* Represents the shape fill foreground color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
|
|
@@ -125946,7 +125946,7 @@ declare namespace PowerPoint {
|
|
|
125946
125946
|
*/
|
|
125947
125947
|
transparency?: number;
|
|
125948
125948
|
}
|
|
125949
|
-
/** An interface for updating data on the ShapeLineFormat object, for use in `shapeLineFormat.set({ ... })`. */
|
|
125949
|
+
/** An interface for updating data on the `ShapeLineFormat` object, for use in `shapeLineFormat.set({ ... })`. */
|
|
125950
125950
|
interface ShapeLineFormatUpdateData {
|
|
125951
125951
|
/**
|
|
125952
125952
|
* Represents the line color in HTML color format, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
|
|
@@ -125991,7 +125991,7 @@ declare namespace PowerPoint {
|
|
|
125991
125991
|
*/
|
|
125992
125992
|
weight?: number;
|
|
125993
125993
|
}
|
|
125994
|
-
/** An interface for updating data on the BulletFormat object, for use in `bulletFormat.set({ ... })`. */
|
|
125994
|
+
/** An interface for updating data on the `BulletFormat` object, for use in `bulletFormat.set({ ... })`. */
|
|
125995
125995
|
interface BulletFormatUpdateData {
|
|
125996
125996
|
/**
|
|
125997
125997
|
* Specifies if the bullets in the paragraph are visible. Returns 'null' if the 'TextRange' includes text fragments with different bullet visibility values.
|
|
@@ -126001,7 +126001,7 @@ declare namespace PowerPoint {
|
|
|
126001
126001
|
*/
|
|
126002
126002
|
visible?: boolean;
|
|
126003
126003
|
}
|
|
126004
|
-
/** An interface for updating data on the ParagraphFormat object, for use in `paragraphFormat.set({ ... })`. */
|
|
126004
|
+
/** An interface for updating data on the `ParagraphFormat` object, for use in `paragraphFormat.set({ ... })`. */
|
|
126005
126005
|
interface ParagraphFormatUpdateData {
|
|
126006
126006
|
/**
|
|
126007
126007
|
* Represents the horizontal alignment of the paragraph. Returns 'null' if the 'TextRange' includes text fragments with different horizontal alignment values. See {@link PowerPoint.ParagraphHorizontalAlignment} for details.
|
|
@@ -126011,7 +126011,7 @@ declare namespace PowerPoint {
|
|
|
126011
126011
|
*/
|
|
126012
126012
|
horizontalAlignment?: PowerPoint.ParagraphHorizontalAlignment | "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed";
|
|
126013
126013
|
}
|
|
126014
|
-
/** An interface for updating data on the ShapeFont object, for use in `shapeFont.set({ ... })`. */
|
|
126014
|
+
/** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
|
|
126015
126015
|
interface ShapeFontUpdateData {
|
|
126016
126016
|
/**
|
|
126017
126017
|
* Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
|
|
@@ -126056,7 +126056,7 @@ declare namespace PowerPoint {
|
|
|
126056
126056
|
*/
|
|
126057
126057
|
underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
|
|
126058
126058
|
}
|
|
126059
|
-
/** An interface for updating data on the TextRange object, for use in `textRange.set({ ... })`. */
|
|
126059
|
+
/** An interface for updating data on the `TextRange` object, for use in `textRange.set({ ... })`. */
|
|
126060
126060
|
interface TextRangeUpdateData {
|
|
126061
126061
|
/**
|
|
126062
126062
|
* Gets or sets the length of the range that this `TextRange` represents.
|
|
@@ -126082,7 +126082,7 @@ declare namespace PowerPoint {
|
|
|
126082
126082
|
*/
|
|
126083
126083
|
text?: string;
|
|
126084
126084
|
}
|
|
126085
|
-
/** An interface for updating data on the TextFrame object, for use in `textFrame.set({ ... })`. */
|
|
126085
|
+
/** An interface for updating data on the `TextFrame` object, for use in `textFrame.set({ ... })`. */
|
|
126086
126086
|
interface TextFrameUpdateData {
|
|
126087
126087
|
/**
|
|
126088
126088
|
* The automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
|
|
@@ -126134,7 +126134,7 @@ declare namespace PowerPoint {
|
|
|
126134
126134
|
*/
|
|
126135
126135
|
wordWrap?: boolean;
|
|
126136
126136
|
}
|
|
126137
|
-
/** An interface for updating data on the Shape object, for use in `shape.set({ ... })`. */
|
|
126137
|
+
/** An interface for updating data on the `Shape` object, for use in `shape.set({ ... })`. */
|
|
126138
126138
|
interface ShapeUpdateData {
|
|
126139
126139
|
/**
|
|
126140
126140
|
* Specifies the height, in points, of the shape. Throws an `InvalidArgument` exception when set with a negative value.
|
|
@@ -126172,19 +126172,19 @@ declare namespace PowerPoint {
|
|
|
126172
126172
|
*/
|
|
126173
126173
|
width?: number;
|
|
126174
126174
|
}
|
|
126175
|
-
/** An interface for updating data on the ShapeScopedCollection object, for use in `shapeScopedCollection.set({ ... })`. */
|
|
126175
|
+
/** An interface for updating data on the `ShapeScopedCollection` object, for use in `shapeScopedCollection.set({ ... })`. */
|
|
126176
126176
|
interface ShapeScopedCollectionUpdateData {
|
|
126177
126177
|
items?: PowerPoint.Interfaces.ShapeData[];
|
|
126178
126178
|
}
|
|
126179
|
-
/** An interface for updating data on the SlideCollection object, for use in `slideCollection.set({ ... })`. */
|
|
126179
|
+
/** An interface for updating data on the `SlideCollection` object, for use in `slideCollection.set({ ... })`. */
|
|
126180
126180
|
interface SlideCollectionUpdateData {
|
|
126181
126181
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
126182
126182
|
}
|
|
126183
|
-
/** An interface for updating data on the SlideScopedCollection object, for use in `slideScopedCollection.set({ ... })`. */
|
|
126183
|
+
/** An interface for updating data on the `SlideScopedCollection` object, for use in `slideScopedCollection.set({ ... })`. */
|
|
126184
126184
|
interface SlideScopedCollectionUpdateData {
|
|
126185
126185
|
items?: PowerPoint.Interfaces.SlideData[];
|
|
126186
126186
|
}
|
|
126187
|
-
/** An interface for updating data on the SlideMasterCollection object, for use in `slideMasterCollection.set({ ... })`. */
|
|
126187
|
+
/** An interface for updating data on the `SlideMasterCollection` object, for use in `slideMasterCollection.set({ ... })`. */
|
|
126188
126188
|
interface SlideMasterCollectionUpdateData {
|
|
126189
126189
|
items?: PowerPoint.Interfaces.SlideMasterData[];
|
|
126190
126190
|
}
|
|
@@ -126565,7 +126565,7 @@ declare namespace PowerPoint {
|
|
|
126565
126565
|
*/
|
|
126566
126566
|
interface PresentationLoadOptions {
|
|
126567
126567
|
/**
|
|
126568
|
-
Specifying `$all` for the
|
|
126568
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126569
126569
|
*/
|
|
126570
126570
|
$all?: boolean;
|
|
126571
126571
|
/**
|
|
@@ -126585,7 +126585,7 @@ declare namespace PowerPoint {
|
|
|
126585
126585
|
*/
|
|
126586
126586
|
interface ShapeCollectionLoadOptions {
|
|
126587
126587
|
/**
|
|
126588
|
-
Specifying `$all` for the
|
|
126588
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126589
126589
|
*/
|
|
126590
126590
|
$all?: boolean;
|
|
126591
126591
|
/**
|
|
@@ -126667,7 +126667,7 @@ declare namespace PowerPoint {
|
|
|
126667
126667
|
*/
|
|
126668
126668
|
interface SlideLayoutLoadOptions {
|
|
126669
126669
|
/**
|
|
126670
|
-
Specifying `$all` for the
|
|
126670
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126671
126671
|
*/
|
|
126672
126672
|
$all?: boolean;
|
|
126673
126673
|
/**
|
|
@@ -126693,7 +126693,7 @@ declare namespace PowerPoint {
|
|
|
126693
126693
|
*/
|
|
126694
126694
|
interface SlideLayoutCollectionLoadOptions {
|
|
126695
126695
|
/**
|
|
126696
|
-
Specifying `$all` for the
|
|
126696
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126697
126697
|
*/
|
|
126698
126698
|
$all?: boolean;
|
|
126699
126699
|
/**
|
|
@@ -126719,7 +126719,7 @@ declare namespace PowerPoint {
|
|
|
126719
126719
|
*/
|
|
126720
126720
|
interface SlideMasterLoadOptions {
|
|
126721
126721
|
/**
|
|
126722
|
-
Specifying `$all` for the
|
|
126722
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126723
126723
|
*/
|
|
126724
126724
|
$all?: boolean;
|
|
126725
126725
|
/**
|
|
@@ -126745,7 +126745,7 @@ declare namespace PowerPoint {
|
|
|
126745
126745
|
*/
|
|
126746
126746
|
interface TagLoadOptions {
|
|
126747
126747
|
/**
|
|
126748
|
-
Specifying `$all` for the
|
|
126748
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126749
126749
|
*/
|
|
126750
126750
|
$all?: boolean;
|
|
126751
126751
|
/**
|
|
@@ -126771,7 +126771,7 @@ declare namespace PowerPoint {
|
|
|
126771
126771
|
*/
|
|
126772
126772
|
interface TagCollectionLoadOptions {
|
|
126773
126773
|
/**
|
|
126774
|
-
Specifying `$all` for the
|
|
126774
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126775
126775
|
*/
|
|
126776
126776
|
$all?: boolean;
|
|
126777
126777
|
/**
|
|
@@ -126797,7 +126797,7 @@ declare namespace PowerPoint {
|
|
|
126797
126797
|
*/
|
|
126798
126798
|
interface SlideLoadOptions {
|
|
126799
126799
|
/**
|
|
126800
|
-
Specifying `$all` for the
|
|
126800
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126801
126801
|
*/
|
|
126802
126802
|
$all?: boolean;
|
|
126803
126803
|
/**
|
|
@@ -126830,7 +126830,7 @@ declare namespace PowerPoint {
|
|
|
126830
126830
|
*/
|
|
126831
126831
|
interface ShapeFillLoadOptions {
|
|
126832
126832
|
/**
|
|
126833
|
-
Specifying `$all` for the
|
|
126833
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126834
126834
|
*/
|
|
126835
126835
|
$all?: boolean;
|
|
126836
126836
|
/**
|
|
@@ -126863,7 +126863,7 @@ declare namespace PowerPoint {
|
|
|
126863
126863
|
*/
|
|
126864
126864
|
interface ShapeLineFormatLoadOptions {
|
|
126865
126865
|
/**
|
|
126866
|
-
Specifying `$all` for the
|
|
126866
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126867
126867
|
*/
|
|
126868
126868
|
$all?: boolean;
|
|
126869
126869
|
/**
|
|
@@ -126917,7 +126917,7 @@ declare namespace PowerPoint {
|
|
|
126917
126917
|
*/
|
|
126918
126918
|
interface BulletFormatLoadOptions {
|
|
126919
126919
|
/**
|
|
126920
|
-
Specifying `$all` for the
|
|
126920
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126921
126921
|
*/
|
|
126922
126922
|
$all?: boolean;
|
|
126923
126923
|
/**
|
|
@@ -126936,7 +126936,7 @@ declare namespace PowerPoint {
|
|
|
126936
126936
|
*/
|
|
126937
126937
|
interface ParagraphFormatLoadOptions {
|
|
126938
126938
|
/**
|
|
126939
|
-
Specifying `$all` for the
|
|
126939
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126940
126940
|
*/
|
|
126941
126941
|
$all?: boolean;
|
|
126942
126942
|
/**
|
|
@@ -126962,7 +126962,7 @@ declare namespace PowerPoint {
|
|
|
126962
126962
|
*/
|
|
126963
126963
|
interface ShapeFontLoadOptions {
|
|
126964
126964
|
/**
|
|
126965
|
-
Specifying `$all` for the
|
|
126965
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
126966
126966
|
*/
|
|
126967
126967
|
$all?: boolean;
|
|
126968
126968
|
/**
|
|
@@ -127016,7 +127016,7 @@ declare namespace PowerPoint {
|
|
|
127016
127016
|
*/
|
|
127017
127017
|
interface TextRangeLoadOptions {
|
|
127018
127018
|
/**
|
|
127019
|
-
Specifying `$all` for the
|
|
127019
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127020
127020
|
*/
|
|
127021
127021
|
$all?: boolean;
|
|
127022
127022
|
/**
|
|
@@ -127065,7 +127065,7 @@ declare namespace PowerPoint {
|
|
|
127065
127065
|
*/
|
|
127066
127066
|
interface TextFrameLoadOptions {
|
|
127067
127067
|
/**
|
|
127068
|
-
Specifying `$all` for the
|
|
127068
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127069
127069
|
*/
|
|
127070
127070
|
$all?: boolean;
|
|
127071
127071
|
/**
|
|
@@ -127140,7 +127140,7 @@ declare namespace PowerPoint {
|
|
|
127140
127140
|
*/
|
|
127141
127141
|
interface ShapeLoadOptions {
|
|
127142
127142
|
/**
|
|
127143
|
-
Specifying `$all` for the
|
|
127143
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127144
127144
|
*/
|
|
127145
127145
|
$all?: boolean;
|
|
127146
127146
|
/**
|
|
@@ -127218,11 +127218,11 @@ declare namespace PowerPoint {
|
|
|
127218
127218
|
* Represents a collection of shapes.
|
|
127219
127219
|
*
|
|
127220
127220
|
* @remarks
|
|
127221
|
-
* [Api set: PowerPointApi 1.
|
|
127221
|
+
* [Api set: PowerPointApi 1.5]
|
|
127222
127222
|
*/
|
|
127223
127223
|
interface ShapeScopedCollectionLoadOptions {
|
|
127224
127224
|
/**
|
|
127225
|
-
Specifying `$all` for the
|
|
127225
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127226
127226
|
*/
|
|
127227
127227
|
$all?: boolean;
|
|
127228
127228
|
/**
|
|
@@ -127304,7 +127304,7 @@ declare namespace PowerPoint {
|
|
|
127304
127304
|
*/
|
|
127305
127305
|
interface SlideCollectionLoadOptions {
|
|
127306
127306
|
/**
|
|
127307
|
-
Specifying `$all` for the
|
|
127307
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127308
127308
|
*/
|
|
127309
127309
|
$all?: boolean;
|
|
127310
127310
|
/**
|
|
@@ -127333,11 +127333,11 @@ declare namespace PowerPoint {
|
|
|
127333
127333
|
* Represents a collection of slides in the presentation.
|
|
127334
127334
|
*
|
|
127335
127335
|
* @remarks
|
|
127336
|
-
* [Api set: PowerPointApi 1.
|
|
127336
|
+
* [Api set: PowerPointApi 1.5]
|
|
127337
127337
|
*/
|
|
127338
127338
|
interface SlideScopedCollectionLoadOptions {
|
|
127339
127339
|
/**
|
|
127340
|
-
Specifying `$all` for the
|
|
127340
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127341
127341
|
*/
|
|
127342
127342
|
$all?: boolean;
|
|
127343
127343
|
/**
|
|
@@ -127370,7 +127370,7 @@ declare namespace PowerPoint {
|
|
|
127370
127370
|
*/
|
|
127371
127371
|
interface SlideMasterCollectionLoadOptions {
|
|
127372
127372
|
/**
|
|
127373
|
-
Specifying `$all` for the
|
|
127373
|
+
Specifying `$all` for the load options loads all the scalar properties (such as `Range.address`) but not the navigational properties (such as `Range.format.fill.color`).
|
|
127374
127374
|
*/
|
|
127375
127375
|
$all?: boolean;
|
|
127376
127376
|
/**
|
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.496",
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "d5ecd4960c5948b82ed630a92f16e14f5e3c4f399694e7e65da54bb62675894f",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|