You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The request context associated with the object. This connects the add-in's process to the Office host application's process. */
131062
131062
context: RequestContext;
131063
131063
/**
131064
-
* 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.
131065
131065
*
131066
131066
* @remarks
131067
131067
* [Api set: PowerPointApi 1.4]
131068
131068
*/
131069
-
bold: boolean;
131069
+
bold: boolean | null;
131070
131070
/**
131071
-
* 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.
131072
131072
*
131073
131073
* @remarks
131074
131074
* [Api set: PowerPointApi 1.4]
131075
131075
*/
131076
-
color: string;
131076
+
color: string | null;
131077
131077
/**
131078
-
* 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.
131079
131079
*
131080
131080
* @remarks
131081
131081
* [Api set: PowerPointApi 1.4]
131082
131082
*/
131083
-
italic: boolean;
131083
+
italic: boolean | null;
131084
131084
/**
131085
-
* 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.
131086
131086
*
131087
131087
* @remarks
131088
131088
* [Api set: PowerPointApi 1.4]
131089
131089
*/
131090
-
name: string;
131090
+
name: string | null;
131091
131091
/**
131092
-
* 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.
131093
131093
*
131094
131094
* @remarks
131095
131095
* [Api set: PowerPointApi 1.4]
131096
131096
*/
131097
-
size: number;
131097
+
size: number | null;
131098
131098
/**
131099
-
* 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.
/** An interface for updating data on the `ShapeFont` object, for use in `shapeFont.set({ ... })`. */
133575
133575
interface ShapeFontUpdateData {
133576
133576
/**
133577
-
* 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.
133578
133578
*
133579
133579
* @remarks
133580
133580
* [Api set: PowerPointApi 1.4]
133581
133581
*/
133582
-
bold?: boolean;
133582
+
bold?: boolean | null;
133583
133583
/**
133584
-
* 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.
133585
133585
*
133586
133586
* @remarks
133587
133587
* [Api set: PowerPointApi 1.4]
133588
133588
*/
133589
-
color?: string;
133589
+
color?: string | null;
133590
133590
/**
133591
-
* 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.
133592
133592
*
133593
133593
* @remarks
133594
133594
* [Api set: PowerPointApi 1.4]
133595
133595
*/
133596
-
italic?: boolean;
133596
+
italic?: boolean | null;
133597
133597
/**
133598
-
* 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.
133599
133599
*
133600
133600
* @remarks
133601
133601
* [Api set: PowerPointApi 1.4]
133602
133602
*/
133603
-
name?: string;
133603
+
name?: string | null;
133604
133604
/**
133605
-
* 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.
133606
133606
*
133607
133607
* @remarks
133608
133608
* [Api set: PowerPointApi 1.4]
133609
133609
*/
133610
-
size?: number;
133610
+
size?: number | null;
133611
133611
/**
133612
-
* 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.
/** An interface describing the data returned by calling `shapeFont.toJSON()`. */
134001
134001
interface ShapeFontData {
134002
134002
/**
134003
-
* 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.
134004
134004
*
134005
134005
* @remarks
134006
134006
* [Api set: PowerPointApi 1.4]
134007
134007
*/
134008
-
bold?: boolean;
134008
+
bold?: boolean | null;
134009
134009
/**
134010
-
* 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.
134011
134011
*
134012
134012
* @remarks
134013
134013
* [Api set: PowerPointApi 1.4]
134014
134014
*/
134015
-
color?: string;
134015
+
color?: string | null;
134016
134016
/**
134017
-
* 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.
134018
134018
*
134019
134019
* @remarks
134020
134020
* [Api set: PowerPointApi 1.4]
134021
134021
*/
134022
-
italic?: boolean;
134022
+
italic?: boolean | null;
134023
134023
/**
134024
-
* 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.
134025
134025
*
134026
134026
* @remarks
134027
134027
* [Api set: PowerPointApi 1.4]
134028
134028
*/
134029
-
name?: string;
134029
+
name?: string | null;
134030
134030
/**
134031
-
* 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.
134032
134032
*
134033
134033
* @remarks
134034
134034
* [Api set: PowerPointApi 1.4]
134035
134035
*/
134036
-
size?: number;
134036
+
size?: number | null;
134037
134037
/**
134038
-
* 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.
* 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.
134689
134689
*
134690
134690
* @remarks
134691
134691
* [Api set: PowerPointApi 1.4]
134692
134692
*/
134693
134693
bold?: boolean;
134694
134694
/**
134695
-
* 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.
134696
134696
*
134697
134697
* @remarks
134698
134698
* [Api set: PowerPointApi 1.4]
134699
134699
*/
134700
134700
color?: boolean;
134701
134701
/**
134702
-
* 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.
134703
134703
*
134704
134704
* @remarks
134705
134705
* [Api set: PowerPointApi 1.4]
134706
134706
*/
134707
134707
italic?: boolean;
134708
134708
/**
134709
-
* 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.
134710
134710
*
134711
134711
* @remarks
134712
134712
* [Api set: PowerPointApi 1.4]
134713
134713
*/
134714
134714
name?: boolean;
134715
134715
/**
134716
-
* 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.
134717
134717
*
134718
134718
* @remarks
134719
134719
* [Api set: PowerPointApi 1.4]
134720
134720
*/
134721
134721
size?: boolean;
134722
134722
/**
134723
-
* 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.
0 commit comments