From 34942ea10b4a1387bc0eaecd30289b2a6107e15d Mon Sep 17 00:00:00 2001 From: Kim Brandl Date: Wed, 2 Jan 2019 13:51:59 -0800 Subject: [PATCH 1/2] Update Word.ContentControl descriptions per OfficeDev/office-js-docs-reference/issues/251. --- types/office-js/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 4c451e9de6..4272bcb1ea 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -49522,7 +49522,7 @@ declare namespace Word { readonly id: number; /** * - * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty. + * Gets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty. * * [Api set: WordApi 1.1] */ @@ -49757,7 +49757,7 @@ declare namespace Word { insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range; /** * - * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. + * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. This method is only supported if the content control encompasses one or more paragraphs in entirety. * * [Api set: WordApi 1.1] * @@ -49767,7 +49767,7 @@ declare namespace Word { insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph; /** * - * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. + * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. This method is only supported if the content control encompasses one or more paragraphs in entirety. * * [Api set: WordApi 1.1] * From ac11e4546b5e8cf184508990430be9d51d67e149 Mon Sep 17 00:00:00 2001 From: Kim Brandl Date: Wed, 2 Jan 2019 13:57:23 -0800 Subject: [PATCH 2/2] Update preview d.ts file. --- types/office-js-preview/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 2803e305ff..5e3462a2ce 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -61745,7 +61745,7 @@ declare namespace Word { readonly id: number; /** * - * Gets or sets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty. + * Gets the placeholder text of the content control. Dimmed text will be displayed when the content control is empty. * * [Api set: WordApi 1.1] */ @@ -61980,7 +61980,7 @@ declare namespace Word { insertOoxml(ooxml: string, insertLocation: "Before" | "After" | "Start" | "End" | "Replace"): Word.Range; /** * - * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. + * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. This method is only supported if the content control encompasses one or more paragraphs in entirety. * * [Api set: WordApi 1.1] * @@ -61990,7 +61990,7 @@ declare namespace Word { insertParagraph(paragraphText: string, insertLocation: Word.InsertLocation): Word.Paragraph; /** * - * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. + * Inserts a paragraph at the specified location. The insertLocation value can be 'Start', 'End', 'Before', or 'After'. This method is only supported if the content control encompasses one or more paragraphs in entirety. * * [Api set: WordApi 1.1] *