@types/office-js 1.0.311 → 1.0.313

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 10 Jan 2023 21:03:12 GMT
11
+ * Last updated: Wed, 25 Jan 2023 00:02:38 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -1992,19 +1992,19 @@ declare namespace Office {
1992
1992
  */
1993
1993
  interface OfficeTheme {
1994
1994
  /**
1995
- * Gets the Office theme body background color as a hexadecimal color triplet (e.g., "FFA500").
1995
+ * Gets the Office theme body background color as a hexadecimal color triplet (e.g., "#FFA500").
1996
1996
  */
1997
1997
  bodyBackgroundColor: string;
1998
1998
  /**
1999
- * Gets the Office theme body foreground color as a hexadecimal color triplet (e.g., "FFA500").
1999
+ * Gets the Office theme body foreground color as a hexadecimal color triplet (e.g., "#FFA500").
2000
2000
  */
2001
2001
  bodyForegroundColor: string;
2002
2002
  /**
2003
- * Gets the Office theme control background color as a hexadecimal color triplet (e.g., "FFA500").
2003
+ * Gets the Office theme control background color as a hexadecimal color triplet (e.g., "#FFA500").
2004
2004
  */
2005
2005
  controlBackgroundColor: string;
2006
2006
  /**
2007
- * Gets the Office theme control foreground color as a hexadecimal color triplet (e.g., "FFA500").
2007
+ * Gets the Office theme control foreground color as a hexadecimal color triplet (e.g., "#FFA500").
2008
2008
  */
2009
2009
  controlForegroundColor: string;
2010
2010
  }
@@ -83005,9 +83005,8 @@ declare namespace Word {
83005
83005
  *
83006
83006
  * @param base64File Required. The base64 encoded content of a .docx file.
83007
83007
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
83008
- * @param asNewParagraph Optional. Indicates whether to insert the content as new paragraphs. Default is false which indicates that the base64 content is merged as inline text into the existing paragraph.
83009
83008
  */
83010
- insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
83009
+ insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
83011
83010
  /**
83012
83011
  * Inserts HTML at the specified location.
83013
83012
  *
@@ -83036,9 +83035,8 @@ declare namespace Word {
83036
83035
  *
83037
83036
  * @param ooxml Required. The OOXML to be inserted.
83038
83037
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
83039
- * @param asNewParagraph Optional. Indicates whether to insert the OOXML as new paragraphs. Default is false which indicates that the OOXML is merged as inline text into the existing paragraph.
83040
83038
  */
83041
- insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
83039
+ insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
83042
83040
  /**
83043
83041
  * Inserts a paragraph at the specified location.
83044
83042
  *
@@ -83923,9 +83921,8 @@ declare namespace Word {
83923
83921
  *
83924
83922
  * @param base64File Required. The base64 encoded content of a .docx file.
83925
83923
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
83926
- * @param asNewParagraph Optional. Indicates whether to insert the content as new paragraphs. Default is false which indicates that the base64 content is merged as inline text into the existing paragraph.
83927
83924
  */
83928
- insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
83925
+ insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
83929
83926
  /**
83930
83927
  * Inserts HTML into the content control at the specified location.
83931
83928
  *
@@ -83954,9 +83951,8 @@ declare namespace Word {
83954
83951
  *
83955
83952
  * @param ooxml Required. The OOXML to be inserted in to the content control.
83956
83953
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'. 'Replace' cannot be used with 'RichTextTable' and 'RichTextTableRow' content controls.
83957
- * @param asNewParagraph Optional. Indicates whether to insert the OOXML as new paragraphs. Default is false which indicates that the OOXML is merged as inline text into the existing paragraph.
83958
83954
  */
83959
- insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
83955
+ insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
83960
83956
  /**
83961
83957
  * Inserts a paragraph at the specified location.
83962
83958
  *
@@ -85780,9 +85776,8 @@ declare namespace Word {
85780
85776
  *
85781
85777
  * @param base64File Required. The base64 encoded content of a .docx file.
85782
85778
  * @param insertLocation Required. The value must be 'Before' or 'After'.
85783
- * @param asNewParagraph Optional. Indicates whether to insert the content as new paragraphs. Default is false which indicates that the base64 content is merged as inline text into the existing paragraph.
85784
85779
  */
85785
- insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", asNewParagraph?: boolean): Word.Range;
85780
+ insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
85786
85781
  /**
85787
85782
  * Inserts HTML at the specified location.
85788
85783
  *
@@ -85811,9 +85806,8 @@ declare namespace Word {
85811
85806
  *
85812
85807
  * @param ooxml Required. The OOXML to be inserted.
85813
85808
  * @param insertLocation Required. The value must be 'Before' or 'After'.
85814
- * @param asNewParagraph Optional. Indicates whether to insert the OOXML as new paragraphs. Default is false which indicates that the OOXML is merged as inline text into the existing paragraph.
85815
85809
  */
85816
- insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After", asNewParagraph?: boolean): Word.Range;
85810
+ insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.before | Word.InsertLocation.after | "Before" | "After"): Word.Range;
85817
85811
  /**
85818
85812
  * Inserts a paragraph at the specified location.
85819
85813
  *
@@ -86856,9 +86850,8 @@ declare namespace Word {
86856
86850
  *
86857
86851
  * @param base64File Required. The base64 encoded content of a .docx file.
86858
86852
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
86859
- * @param asNewParagraph Optional. Indicates whether to insert the content as new paragraphs. Default is false which indicates that the base64 content is merged as inline text into the existing paragraph.
86860
86853
  */
86861
- insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
86854
+ insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
86862
86855
  /**
86863
86856
  * Inserts HTML into the paragraph at the specified location.
86864
86857
  *
@@ -86887,9 +86880,8 @@ declare namespace Word {
86887
86880
  *
86888
86881
  * @param ooxml Required. The OOXML to be inserted in the paragraph.
86889
86882
  * @param insertLocation Required. The value must be 'Replace', 'Start', or 'End'.
86890
- * @param asNewParagraph Optional. Indicates whether to insert the OOXML as new paragraphs. Default is false which indicates that the OOXML is merged as inline text into the existing paragraph.
86891
86883
  */
86892
- insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End", asNewParagraph?: boolean): Word.Range;
86884
+ insertOoxml(ooxml: string, insertLocation: Word.InsertLocation.replace | Word.InsertLocation.start | Word.InsertLocation.end | "Replace" | "Start" | "End"): Word.Range;
86893
86885
  /**
86894
86886
  * Inserts a paragraph at the specified location.
86895
86887
  *
@@ -87436,9 +87428,8 @@ declare namespace Word {
87436
87428
  *
87437
87429
  * @param base64File Required. The base64 encoded content of a .docx file.
87438
87430
  * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
87439
- * @param asNewParagraph Optional. Indicates whether to insert the content as new paragraphs. Default is false which indicates that the base64 content is merged as inline text into the existing paragraph.
87440
87431
  */
87441
- insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After", asNewParagraph?: boolean): Word.Range;
87432
+ insertFileFromBase64(base64File: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
87442
87433
  /**
87443
87434
  * Inserts a footnote. The footnote reference is placed after the range.
87444
87435
  *
@@ -87476,9 +87467,8 @@ declare namespace Word {
87476
87467
  *
87477
87468
  * @param ooxml Required. The OOXML to be inserted.
87478
87469
  * @param insertLocation Required. The value must be 'Replace', 'Start', 'End', 'Before', or 'After'.
87479
- * @param asNewParagraph Optional. Indicates whether to insert the OOXML as new paragraphs. Default is false which indicates that the OOXML is merged as inline text into the existing paragraph.
87480
87470
  */
87481
- insertOoxml(ooxml: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After", asNewParagraph?: boolean): Word.Range;
87471
+ insertOoxml(ooxml: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.Range;
87482
87472
  /**
87483
87473
  * Inserts a paragraph at the specified location.
87484
87474
  *
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.311",
3
+ "version": "1.0.313",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "7646edc27f091aa4d6226881872fa2168a42ccc3c246cb754819c0211c0f502c",
48
+ "typesPublisherContentHash": "502bb80a48845bef60e0b023da6522246470d81b6063dd36b45a385cabaf5612",
49
49
  "typeScriptVersion": "4.2"
50
50
  }