From d44217d346ddc2e0d8cdc6f4a686bbcc4705fd2e Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Wed, 29 Oct 2025 09:54:31 +0530 Subject: [PATCH 1/4] 972568: Add comment to set double values in LineSpacing All Platform (cherry picked from commit d408d1c5513481b545b7d32590b9e7ed0fed6e21) --- .../Word/Word-Processor/angular/paragraph-format.md | 5 ++++- .../Word/Word-Processor/asp-net-core/paragraph-format.md | 5 ++++- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 5 ++++- .../Word/Word-Processor/javascript-es5/paragraph-format.md | 6 +++++- .../Word/Word-Processor/javascript-es6/paragraph-format.md | 5 ++++- .../Word/Word-Processor/react/paragraph-format.md | 5 ++++- .../Word/Word-Processor/vue/paragraph-format.md | 5 +++-- 7 files changed, 28 insertions(+), 8 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md index c1ddd467d..bc03aeb24 100644 --- a/Document-Processing/Word/Word-Processor/angular/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/angular/paragraph-format.md @@ -64,8 +64,11 @@ this.documentEditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Ju You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type this.documentEditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -this.documentEditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +this.documentEditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +this.documentEditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md index 79eea84f7..b2b5fd1f3 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md index a8702e7da..27bb91b43 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```typescript +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md index 9bdcdb9d3..42f70c14b 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md @@ -74,8 +74,12 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing = 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value + ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md index e0b70222f..f64d2bc79 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md @@ -74,8 +74,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType = 'AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing = 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing = 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing = 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/react/paragraph-format.md b/Document-Processing/Word/Word-Processor/react/paragraph-format.md index 49a6b9354..3702e82d3 100644 --- a/Document-Processing/Word/Word-Processor/react/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/react/paragraph-format.md @@ -64,8 +64,11 @@ documenteditor.editor.toggleTextAlignment('Center' | 'Left' | 'Right' | 'Justify You can define the line spacing and its type for selected paragraphs using the following sample code. ```ts +// Set line spacing type documenteditor.selection.paragraphFormat.lineSpacingType='AtLeast'; -documenteditor.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +documenteditor.selection.paragraphFormat.lineSpacing= 6; // Integer value +documenteditor.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing diff --git a/Document-Processing/Word/Word-Processor/vue/paragraph-format.md b/Document-Processing/Word/Word-Processor/vue/paragraph-format.md index 764ac2317..53216ad16 100644 --- a/Document-Processing/Word/Word-Processor/vue/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/vue/paragraph-format.md @@ -67,8 +67,9 @@ You can define the line spacing and its type for selected paragraphs using the f //Set line spacing type. this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacingType='AtLeast'; -//Set line spacing. -this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6; +// Set line spacing value (supports both integer and float) +this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6; // Integer value +this.$refs.documenteditor.ej2Instances.selection.paragraphFormat.lineSpacing= 6.5; // Float value ``` ## Paragraph spacing From 346169fb9fbdd536cfeaae2ad6f80bcc063a2392 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Wed, 29 Oct 2025 09:59:48 +0530 Subject: [PATCH 2/4] 972568: Add comment to set double values in LineSpacing All Platform From ac556e4b28bd7ebfa6baaa1722e9855692365565 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Wed, 29 Oct 2025 14:01:42 +0530 Subject: [PATCH 3/4] 972568: Ci failures --- .../Word/Word-Processor/asp-net-core/paragraph-format.md | 4 +++- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 4 +++- .../Word/Word-Processor/javascript-es5/paragraph-format.md | 2 +- .../Word/Word-Processor/javascript-es6/paragraph-format.md | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md index b2b5fd1f3..68c903f3e 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md @@ -152,7 +152,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-core/paragraph-format/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% endhighlight %}{% endtabs %} +{% include code-snippet/document-editor/asp-net-core/paragraph-format/document-editor %} +{% endhighlight %} +{% endtabs %} ## See Also diff --git a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md index 27bb91b43..d85be4f93 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md @@ -152,7 +152,9 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% endhighlight %}{% endtabs %} +{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/document-editor %} +{% endhighlight %} +{% endtabs %} diff --git a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md index 42f70c14b..87fb2b2f2 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/paragraph-format.md @@ -1,6 +1,6 @@ --- layout: post -title: Paragraph format in JavaScript (ES5) Document editor control +title: Paragraph format in JavaScript (ES5) Document editor | Syncfusion description: Learn here all about Paragraph format in Syncfusion JavaScript (ES5) Document editor control of Syncfusion Essential JS 2 and more. platform: document-processing control: Paragraph format diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md index f64d2bc79..8f1d9ddfc 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/paragraph-format.md @@ -1,6 +1,6 @@ --- layout: post -title: Paragraph format in JavaScript (ES6) Document editor control | Syncfusion +title: Paragraph format in JavaScript (ES6) Document editor | Syncfusion description: Learn here all about Paragraph format in Syncfusion JavaScript (ES6) Document editor control of Syncfusion Essential JS 2 and more. platform: document-processing control: Paragraph format From 02ad8d9f9f56f7284f44b18cca7a06fad22be7a5 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Fri, 31 Oct 2025 14:21:32 +0530 Subject: [PATCH 4/4] 972568: resolve CI failure --- .../Word/Word-Processor/asp-net-core/paragraph-format.md | 2 +- .../Word/Word-Processor/asp-net-mvc/paragraph-format.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md index 68c903f3e..d27677734 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-core/paragraph-format.md @@ -152,7 +152,7 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-core/paragraph-format/tagHelper %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% include code-snippet/document-editor/asp-net-core/paragraph-format/document-editor %} +{% include code-snippet/document-editor/asp-net-core/paragraph-format/document-editor.cs %} {% endhighlight %} {% endtabs %} diff --git a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md index d85be4f93..f44fcdc05 100644 --- a/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md +++ b/Document-Processing/Word/Word-Processor/asp-net-mvc/paragraph-format.md @@ -152,7 +152,7 @@ documenteditor.documentEditorSettings.showHiddenMarks = true; {% include code-snippet/document-editor/asp-net-mvc/paragraph-format/razor %} {% endhighlight %} {% highlight c# tabtitle="Paragraph-format.cs" %} -{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/document-editor %} +{% include code-snippet/document-editor/asp-net-mvc/paragraph-format/document-editor.cs %} {% endhighlight %} {% endtabs %}