@types/office-js-preview 1.0.547 → 1.0.549

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, 21 Jan 2025 20:02:16 GMT
11
+ * Last updated: Wed, 29 Jan 2025 23:02:16 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -104143,6 +104143,14 @@ declare namespace Word {
104143
104143
  * @beta
104144
104144
  */
104145
104145
  readonly body: Word.Body;
104146
+ /**
104147
+ * Gets the top-level parent group shape of this child shape. It will be null if it isn't a child shape.
104148
+ *
104149
+ * @remarks
104150
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
104151
+ * @beta
104152
+ */
104153
+ readonly parentGroup: Word.Shape;
104146
104154
  /**
104147
104155
  * Gets the shape group associated with the shape. An object with its `isNullObject` property set to `true` will be returned if the shape type isn't "GroupShape". 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}.
104148
104156
  *
@@ -104175,6 +104183,14 @@ declare namespace Word {
104175
104183
  * @beta
104176
104184
  */
104177
104185
  readonly id: number;
104186
+ /**
104187
+ * Check whether this shape is a child of a group shape or a canvas shape.
104188
+ *
104189
+ * @remarks
104190
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
104191
+ * @beta
104192
+ */
104193
+ readonly isChild: boolean;
104178
104194
  /**
104179
104195
  * The distance, in points, from the left side of the shape to the horizontal relative position, see {@link Word.RelativeHorizontalPosition}. For an inline shape, it will return 0 and can't be set.
104180
104196
  *
@@ -104361,7 +104377,7 @@ declare namespace Word {
104361
104377
  * [Api set: WordApi BETA (PREVIEW ONLY)]
104362
104378
  * @beta
104363
104379
  */
104364
- unGroup(): Word.ShapeCollection;
104380
+ ungroup(): Word.ShapeCollection;
104365
104381
  /**
104366
104382
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
104367
104383
  *
@@ -104449,6 +104465,16 @@ declare namespace Word {
104449
104465
  * @param ids Required. An array of shape identifiers.
104450
104466
  */
104451
104467
  getByIds(ids: number[]): Word.ShapeCollection;
104468
+ /**
104469
+ * Gets the shapes that have the specified names.
104470
+ *
104471
+ * @remarks
104472
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
104473
+ * @beta
104474
+ *
104475
+ * @param names Required. An array of shape names.
104476
+ */
104477
+ getByNames(names: string[]): Word.ShapeCollection;
104452
104478
  /**
104453
104479
  * Gets the shapes that have the specified types.
104454
104480
  *
@@ -111447,13 +111473,21 @@ declare namespace Word {
111447
111473
  /** An interface for updating data on the `Shape` object, for use in `shape.set({ ... })`. */
111448
111474
  interface ShapeUpdateData {
111449
111475
  /**
111450
- * Represents the body object of the shape. Only applies to text boxes and geometric shapes.
111451
- *
111452
- * @remarks
111453
- * [Api set: WordApi BETA (PREVIEW ONLY)]
111454
- * @beta
111455
- */
111476
+ * Represents the body object of the shape. Only applies to text boxes and geometric shapes.
111477
+ *
111478
+ * @remarks
111479
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
111480
+ * @beta
111481
+ */
111456
111482
  body?: Word.Interfaces.BodyUpdateData;
111483
+ /**
111484
+ * Gets the top-level parent group shape of this child shape. It will be null if it isn't a child shape.
111485
+ *
111486
+ * @remarks
111487
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
111488
+ * @beta
111489
+ */
111490
+ parentGroup?: Word.Interfaces.ShapeUpdateData;
111457
111491
  /**
111458
111492
  * Gets the shape group associated with the shape. An object with its `isNullObject` property set to `true` will be returned if the shape type isn't "GroupShape". 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}.
111459
111493
  *
@@ -113799,6 +113833,14 @@ declare namespace Word {
113799
113833
  * @beta
113800
113834
  */
113801
113835
  body?: Word.Interfaces.BodyData;
113836
+ /**
113837
+ * Gets the top-level parent group shape of this child shape. It will be null if it isn't a child shape.
113838
+ *
113839
+ * @remarks
113840
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
113841
+ * @beta
113842
+ */
113843
+ parentGroup?: Word.Interfaces.ShapeData;
113802
113844
  /**
113803
113845
  * Gets the shape group associated with the shape. An object with its `isNullObject` property set to `true` will be returned if the shape type isn't "GroupShape". 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}.
113804
113846
  *
@@ -113831,6 +113873,14 @@ declare namespace Word {
113831
113873
  * @beta
113832
113874
  */
113833
113875
  id?: number;
113876
+ /**
113877
+ * Check whether this shape is a child of a group shape or a canvas shape.
113878
+ *
113879
+ * @remarks
113880
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
113881
+ * @beta
113882
+ */
113883
+ isChild?: boolean;
113834
113884
  /**
113835
113885
  * The distance, in points, from the left side of the shape to the horizontal relative position, see {@link Word.RelativeHorizontalPosition}. For an inline shape, it will return 0 and can't be set.
113836
113886
  *
@@ -118311,13 +118361,21 @@ declare namespace Word {
118311
118361
  */
118312
118362
  $all?: boolean;
118313
118363
  /**
118314
- * Represents the body object of the shape. Only applies to text boxes and geometric shapes.
118315
- *
118316
- * @remarks
118317
- * [Api set: WordApi BETA (PREVIEW ONLY)]
118318
- * @beta
118319
- */
118364
+ * Represents the body object of the shape. Only applies to text boxes and geometric shapes.
118365
+ *
118366
+ * @remarks
118367
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118368
+ * @beta
118369
+ */
118320
118370
  body?: Word.Interfaces.BodyLoadOptions;
118371
+ /**
118372
+ * Gets the top-level parent group shape of this child shape. It will be null if it isn't a child shape.
118373
+ *
118374
+ * @remarks
118375
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118376
+ * @beta
118377
+ */
118378
+ parentGroup?: Word.Interfaces.ShapeLoadOptions;
118321
118379
  /**
118322
118380
  * Gets the shape group associated with the shape. An object with its `isNullObject` property set to `true` will be returned if the shape type isn't "GroupShape". 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}.
118323
118381
  *
@@ -118350,6 +118408,14 @@ declare namespace Word {
118350
118408
  * @beta
118351
118409
  */
118352
118410
  id?: boolean;
118411
+ /**
118412
+ * Check whether this shape is a child of a group shape or a canvas shape.
118413
+ *
118414
+ * @remarks
118415
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118416
+ * @beta
118417
+ */
118418
+ isChild?: boolean;
118353
118419
  /**
118354
118420
  * The distance, in points, from the left side of the shape to the horizontal relative position, see {@link Word.RelativeHorizontalPosition}. For an inline shape, it will return 0 and can't be set.
118355
118421
  *
@@ -118449,13 +118515,21 @@ declare namespace Word {
118449
118515
  */
118450
118516
  $all?: boolean;
118451
118517
  /**
118452
- * For EACH ITEM in the collection: Represents the body object of the shape. Only applies to text boxes and geometric shapes.
118453
- *
118454
- * @remarks
118455
- * [Api set: WordApi BETA (PREVIEW ONLY)]
118456
- * @beta
118457
- */
118518
+ * For EACH ITEM in the collection: Represents the body object of the shape. Only applies to text boxes and geometric shapes.
118519
+ *
118520
+ * @remarks
118521
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118522
+ * @beta
118523
+ */
118458
118524
  body?: Word.Interfaces.BodyLoadOptions;
118525
+ /**
118526
+ * For EACH ITEM in the collection: Gets the top-level parent group shape of this child shape. It will be null if it isn't a child shape.
118527
+ *
118528
+ * @remarks
118529
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118530
+ * @beta
118531
+ */
118532
+ parentGroup?: Word.Interfaces.ShapeLoadOptions;
118459
118533
  /**
118460
118534
  * For EACH ITEM in the collection: Gets the shape group associated with the shape. An object with its `isNullObject` property set to `true` will be returned if the shape type isn't "GroupShape". 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}.
118461
118535
  *
@@ -118488,6 +118562,14 @@ declare namespace Word {
118488
118562
  * @beta
118489
118563
  */
118490
118564
  id?: boolean;
118565
+ /**
118566
+ * For EACH ITEM in the collection: Check whether this shape is a child of a group shape or a canvas shape.
118567
+ *
118568
+ * @remarks
118569
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
118570
+ * @beta
118571
+ */
118572
+ isChild?: boolean;
118491
118573
  /**
118492
118574
  * For EACH ITEM in the collection: The distance, in points, from the left side of the shape to the horizontal relative position, see {@link Word.RelativeHorizontalPosition}. For an inline shape, it will return 0 and can't be set.
118493
118575
  *
@@ -130979,47 +131061,47 @@ declare namespace PowerPoint {
130979
131061
  /** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
130980
131062
  context: RequestContext;
130981
131063
  /**
130982
- * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
131064
+ * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
130983
131065
  *
130984
131066
  * @remarks
130985
131067
  * [Api set: PowerPointApi 1.4]
130986
131068
  */
130987
- bold: boolean;
131069
+ bold: boolean | null;
130988
131070
  /**
130989
- * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
131071
+ * Specifies the HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` contains text fragments with different colors.
130990
131072
  *
130991
131073
  * @remarks
130992
131074
  * [Api set: PowerPointApi 1.4]
130993
131075
  */
130994
- color: string;
131076
+ color: string | null;
130995
131077
  /**
130996
- * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
131078
+ * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
130997
131079
  *
130998
131080
  * @remarks
130999
131081
  * [Api set: PowerPointApi 1.4]
131000
131082
  */
131001
- italic: boolean;
131083
+ italic: boolean | null;
131002
131084
  /**
131003
- * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
131085
+ * Specifies the font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name. Returns `null` if the `TextRange` contains text fragments with different font names.
131004
131086
  *
131005
131087
  * @remarks
131006
131088
  * [Api set: PowerPointApi 1.4]
131007
131089
  */
131008
- name: string;
131090
+ name: string | null;
131009
131091
  /**
131010
- * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
131092
+ * Specifies the font size in points (e.g., 11). Returns `null` if the `TextRange` contains text fragments with different font sizes.
131011
131093
  *
131012
131094
  * @remarks
131013
131095
  * [Api set: PowerPointApi 1.4]
131014
131096
  */
131015
- size: number;
131097
+ size: number | null;
131016
131098
  /**
131017
- * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
131099
+ * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
131018
131100
  *
131019
131101
  * @remarks
131020
131102
  * [Api set: PowerPointApi 1.4]
131021
131103
  */
131022
- underline: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
131104
+ underline: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble" | null;
131023
131105
  /**
131024
131106
  * Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
131025
131107
  *
@@ -133492,47 +133574,47 @@ declare namespace PowerPoint {
133492
133574
  /** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
133493
133575
  interface ShapeFontUpdateData {
133494
133576
  /**
133495
- * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
133577
+ * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
133496
133578
  *
133497
133579
  * @remarks
133498
133580
  * [Api set: PowerPointApi 1.4]
133499
133581
  */
133500
- bold?: boolean;
133582
+ bold?: boolean | null;
133501
133583
  /**
133502
- * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
133584
+ * Specifies the HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` contains text fragments with different colors.
133503
133585
  *
133504
133586
  * @remarks
133505
133587
  * [Api set: PowerPointApi 1.4]
133506
133588
  */
133507
- color?: string;
133589
+ color?: string | null;
133508
133590
  /**
133509
- * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
133591
+ * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
133510
133592
  *
133511
133593
  * @remarks
133512
133594
  * [Api set: PowerPointApi 1.4]
133513
133595
  */
133514
- italic?: boolean;
133596
+ italic?: boolean | null;
133515
133597
  /**
133516
- * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
133598
+ * Specifies the font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name. Returns `null` if the `TextRange` contains text fragments with different font names.
133517
133599
  *
133518
133600
  * @remarks
133519
133601
  * [Api set: PowerPointApi 1.4]
133520
133602
  */
133521
- name?: string;
133603
+ name?: string | null;
133522
133604
  /**
133523
- * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
133605
+ * Specifies the font size in points (e.g., 11). Returns `null` if the `TextRange` contains text fragments with different font sizes.
133524
133606
  *
133525
133607
  * @remarks
133526
133608
  * [Api set: PowerPointApi 1.4]
133527
133609
  */
133528
- size?: number;
133610
+ size?: number | null;
133529
133611
  /**
133530
- * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
133612
+ * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
133531
133613
  *
133532
133614
  * @remarks
133533
133615
  * [Api set: PowerPointApi 1.4]
133534
133616
  */
133535
- underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
133617
+ underline?: ShapeFontUnderlineStyle | null;
133536
133618
  }
133537
133619
  /** An interface for updating data on the `ShapeCollection` object, for use in `shapeCollection.set({ ... })`. */
133538
133620
  interface ShapeCollectionUpdateData {
@@ -133918,47 +134000,47 @@ declare namespace PowerPoint {
133918
134000
  /** An interface describing the data returned by calling `shapeFont.toJSON()`. */
133919
134001
  interface ShapeFontData {
133920
134002
  /**
133921
- * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
134003
+ * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
133922
134004
  *
133923
134005
  * @remarks
133924
134006
  * [Api set: PowerPointApi 1.4]
133925
134007
  */
133926
- bold?: boolean;
134008
+ bold?: boolean | null;
133927
134009
  /**
133928
- * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
134010
+ * Specifies the HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` contains text fragments with different colors.
133929
134011
  *
133930
134012
  * @remarks
133931
134013
  * [Api set: PowerPointApi 1.4]
133932
134014
  */
133933
- color?: string;
134015
+ color?: string | null;
133934
134016
  /**
133935
- * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
134017
+ * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
133936
134018
  *
133937
134019
  * @remarks
133938
134020
  * [Api set: PowerPointApi 1.4]
133939
134021
  */
133940
- italic?: boolean;
134022
+ italic?: boolean | null;
133941
134023
  /**
133942
- * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
134024
+ * Specifies the font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name. Returns `null` if the `TextRange` contains text fragments with different font names.
133943
134025
  *
133944
134026
  * @remarks
133945
134027
  * [Api set: PowerPointApi 1.4]
133946
134028
  */
133947
- name?: string;
134029
+ name?: string | null;
133948
134030
  /**
133949
- * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
134031
+ * Specifies the font size in points (e.g., 11). Returns `null` if the `TextRange` contains text fragments with different font sizes.
133950
134032
  *
133951
134033
  * @remarks
133952
134034
  * [Api set: PowerPointApi 1.4]
133953
134035
  */
133954
- size?: number;
134036
+ size?: number | null;
133955
134037
  /**
133956
- * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
134038
+ * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
133957
134039
  *
133958
134040
  * @remarks
133959
134041
  * [Api set: PowerPointApi 1.4]
133960
134042
  */
133961
- underline?: PowerPoint.ShapeFontUnderlineStyle | "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble";
134043
+ underline?: ShapeFontUnderlineStyle | null;
133962
134044
  }
133963
134045
  /** An interface describing the data returned by calling `shapeCollection.toJSON()`. */
133964
134046
  interface ShapeCollectionData {
@@ -134603,42 +134685,42 @@ declare namespace PowerPoint {
134603
134685
  */
134604
134686
  $all?: boolean;
134605
134687
  /**
134606
- * Represents the bold status of font. Returns `null` if the `TextRange` includes both bold and non-bold text fragments.
134688
+ * Specifies the bold status of font. Returns `null` if the `TextRange` contains both bold and non-bold text fragments.
134607
134689
  *
134608
134690
  * @remarks
134609
134691
  * [Api set: PowerPointApi 1.4]
134610
134692
  */
134611
134693
  bold?: boolean;
134612
134694
  /**
134613
- * HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` includes text fragments with different colors.
134695
+ * Specifies the HTML color code representation of the text color (e.g., "#FF0000" represents red). Returns `null` if the `TextRange` contains text fragments with different colors.
134614
134696
  *
134615
134697
  * @remarks
134616
134698
  * [Api set: PowerPointApi 1.4]
134617
134699
  */
134618
134700
  color?: boolean;
134619
134701
  /**
134620
- * Represents the italic status of font. Returns 'null' if the 'TextRange' includes both italic and non-italic text fragments.
134702
+ * Specifies the italic status of font. Returns 'null' if the 'TextRange' contains both italic and non-italic text fragments.
134621
134703
  *
134622
134704
  * @remarks
134623
134705
  * [Api set: PowerPointApi 1.4]
134624
134706
  */
134625
134707
  italic?: boolean;
134626
134708
  /**
134627
- * Represents font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name.
134709
+ * Specifies the font name (e.g., "Calibri"). If the text is a Complex Script or East Asian language, this is the corresponding font name; otherwise it is the Latin font name. Returns `null` if the `TextRange` contains text fragments with different font names.
134628
134710
  *
134629
134711
  * @remarks
134630
134712
  * [Api set: PowerPointApi 1.4]
134631
134713
  */
134632
134714
  name?: boolean;
134633
134715
  /**
134634
- * Represents font size in points (e.g., 11). Returns null if the TextRange includes text fragments with different font sizes.
134716
+ * Specifies the font size in points (e.g., 11). Returns `null` if the `TextRange` contains text fragments with different font sizes.
134635
134717
  *
134636
134718
  * @remarks
134637
134719
  * [Api set: PowerPointApi 1.4]
134638
134720
  */
134639
134721
  size?: boolean;
134640
134722
  /**
134641
- * Type of underline applied to the font. Returns `null` if the `TextRange` includes text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
134723
+ * Specifies the type of underline applied to the font. Returns `null` if the `TextRange` contains text fragments with different underline styles. See {@link PowerPoint.ShapeFontUnderlineStyle} for details.
134642
134724
  *
134643
134725
  * @remarks
134644
134726
  * [Api set: PowerPointApi 1.4]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.547",
3
+ "version": "1.0.549",
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": "4db040c5d81dea9385acbf01809334ae557c25ff403a53e754644cbdc08bed55",
49
+ "typesPublisherContentHash": "673eb8768e78d6dc665ef5b699e4c6258e6d23fbf13608bd248ce5298fe828fc",
50
50
  "typeScriptVersion": "5.0",
51
51
  "nonNpm": true
52
52
  }