Updating with latest from CDN (#37808)

This commit is contained in:
Alex Jerabek
2019-08-21 14:14:08 -07:00
committed by Sheetal Nandi
parent 9fec71b6ce
commit 953f00632e
2 changed files with 30 additions and 10 deletions
+14 -4
View File
@@ -1002,7 +1002,7 @@ declare namespace Office {
* @deprecated Use the string overload of `isSetSupported` instead.
* @param name - The requirement set name (e.g., "ExcelApi").
* @param minVersionNumber - The minimum required version (e.g., 1.4).
* Warning: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead.
* **Warning**: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead.
*/
isSetSupported(name: string, minVersionNumber?: number): boolean;
}
@@ -68034,7 +68034,7 @@ declare namespace Word {
readonly revisionNumber: string;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
@@ -73278,6 +73278,7 @@ declare namespace Word {
* Gets the body object of the document. The body is the text that excludes headers, footers, footnotes, textboxes, etc..
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
body?: Word.Interfaces.BodyUpdateData;
/**
@@ -73285,6 +73286,7 @@ declare namespace Word {
* Gets the properties of the document.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
properties?: Word.Interfaces.DocumentPropertiesUpdateData;
}
@@ -74299,6 +74301,7 @@ declare namespace Word {
* Gets the body object of the document. The body is the text that excludes headers, footers, footnotes, textboxes, etc.. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
body?: Word.Interfaces.BodyData;
/**
@@ -74306,6 +74309,7 @@ declare namespace Word {
* Gets the collection of content control objects in the document. This includes content controls in the body of the document, headers, footers, textboxes, etc.. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
contentControls?: Word.Interfaces.ContentControlData[];
/**
@@ -74321,6 +74325,7 @@ declare namespace Word {
* Gets the properties of the document. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
properties?: Word.Interfaces.DocumentPropertiesData;
/**
@@ -74328,6 +74333,7 @@ declare namespace Word {
* Gets the collection of section objects in the document. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
sections?: Word.Interfaces.SectionData[];
/**
@@ -74343,6 +74349,7 @@ declare namespace Word {
* Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
saved?: boolean;
}
@@ -74448,7 +74455,7 @@ declare namespace Word {
revisionNumber?: string;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
@@ -75885,6 +75892,7 @@ declare namespace Word {
* Gets the body object of the document. The body is the text that excludes headers, footers, footnotes, textboxes, etc..
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
body?: Word.Interfaces.BodyLoadOptions;
/**
@@ -75892,6 +75900,7 @@ declare namespace Word {
* Gets the properties of the document.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
properties?: Word.Interfaces.DocumentPropertiesLoadOptions;
/**
@@ -75899,6 +75908,7 @@ declare namespace Word {
* Indicates whether the changes in the document have been saved. A value of true indicates that the document hasn't changed since it was saved. Read-only.
*
* [Api set: WordApiHiddenDocument 1.3]
* @beta
*/
saved?: boolean;
}
@@ -76003,7 +76013,7 @@ declare namespace Word {
revisionNumber?: boolean;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
+16 -6
View File
@@ -996,7 +996,7 @@ declare namespace Office {
* @deprecated Use the string overload of `isSetSupported` instead.
* @param name - The requirement set name (e.g., "ExcelApi").
* @param minVersionNumber - The minimum required version (e.g., 1.4).
* Warning: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead.
* **Warning**: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead.
*/
isSetSupported(name: string, minVersionNumber?: number): boolean;
}
@@ -16583,7 +16583,7 @@ declare namespace Excel {
changeType: Excel.DataChangeType | "Unknown" | "RangeEdited" | "RowInserted" | "RowDeleted" | "ColumnInserted" | "ColumnDeleted" | "CellInserted" | "CellDeleted";
/**
*
* Represents the information about the change detail
* Represents the information about the change detail. This property can be retrieved when the Changed event is triggered on single cell. If the Changed event is triggered on multiple cells, this property can not be retrieved.
*
* [Api set: ExcelApi 1.9]
*/
@@ -16725,7 +16725,7 @@ declare namespace Excel {
worksheetId: string;
/**
*
* Represents the information about the change detail
* Represents the information about the change detail. This property can be retrieved when the Changed event is triggered on single cell. If the Changed event is triggered on multiple cells, this property can not be retrieved.
*
* [Api set: ExcelApi 1.9]
*/
@@ -61271,7 +61271,7 @@ declare namespace Word {
readonly revisionNumber: string;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
@@ -67289,7 +67289,7 @@ declare namespace Word {
revisionNumber?: string;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
@@ -68735,7 +68735,7 @@ declare namespace Word {
revisionNumber?: boolean;
/**
*
* Gets the security of the document. Read only.
* Gets security settings of the document. Read only. Some are access restrictions on the file on disk. Others are Document Protection settings. Some possible values are 0 = File on disk is read/write; 1 = Protect Document: File is encrypted and requires a password to open; 2 = Protect Document: Always Open as Read-Only; 3 = Protect Document: Both #1 and #2; 4 = File on disk is read only; 5 = Both #1 and #4; 6 = Both #2 and #4; 7 = All of #1, #2, and #4; 8 = Protect Document: Restrict Edit to read-only; 9 = Both #1 and #8; 10 = Both #2 and #8; 11 = All of #1, #2, and #8; 12 = Both #4 and #8; 13 = All of #1, #4, and #8; 14 = All of #2, #4, and #8; 15 = All of #1, #2, #4, and #8.
*
* [Api set: WordApi 1.3]
*/
@@ -77863,6 +77863,16 @@ declare namespace Visio {
* @param OverlayId An Overlay Id. Removes the specific overlay id from the shape.
*/
removeOverlay(OverlayId: number): void;
/**
*
* Shows particular overlay on the Shape.
*
* [Api set: 1.1]
*
* @param overlayId overlay id in context
* @param show to show or hide
*/
showOverlay(overlayId: number, show: boolean): void;
/**
* Queues up a command to load the specified properties of the object. You must call "context.sync()" before reading the properties.
*