Skip to content

Commit 2dd0c12

Browse files
author
GiriSF4292
committed
983076: committed the so far changes
1 parent 35a3470 commit 2dd0c12

13 files changed

+39
-39
lines changed

Document-Processing/Word/Word-Processor/blazor/how-to/customize-context-menu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ documentation: ug
1111

1212
## How to customize context menu in Document Editor
1313

14-
[`Blazor Word Processor`](https://www.syncfusion.com/blazor-components/blazor-word-processor) component (a.k.a Document Editor) allows you to add custom option in context menu. It can be achieved by using the [`AddCustomMenu()`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.ContextMenuModule.html#Syncfusion_Blazor_DocumentEditor_ContextMenuModule_AddCustomMenu_System_Collections_Generic_List_Syncfusion_Blazor_DocumentEditor_MenuItemModel__System_Boolean_System_Boolean_) method and custom action is defined using the [`ContextMenuItemSelected`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.DocumentEditorEvents.html#Syncfusion_Blazor_DocumentEditor_DocumentEditorEvents_ContextMenuItemSelected)
14+
The [`Blazor Word Processor`](https://www.syncfusion.com/blazor-components/blazor-word-processor) component (Document Editor) for customizing the added custom options and hiding/showing the default context menu. It can be achieved by using the [`AddCustomMenu()`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.ContextMenuModule.html#Syncfusion_Blazor_DocumentEditor_ContextMenuModule_AddCustomMenu_System_Collections_Generic_List_Syncfusion_Blazor_DocumentEditor_MenuItemModel__System_Boolean_System_Boolean_) method and custom action is defined using the [`ContextMenuItemSelected`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.DocumentEditorEvents.html#Syncfusion_Blazor_DocumentEditor_DocumentEditorEvents_ContextMenuItemSelected)
1515

1616
### Add Custom Option
1717

@@ -53,7 +53,7 @@ The following code shows how to add custom option in context menu.
5353

5454
### Customize custom option in context menu
5555

56-
[`Blazor Word Processor`](https://www.syncfusion.com/blazor-components/blazor-word-processor) component (a.k.a Document Editor) allows you to customize the added custom option and also to hide/show default context menu.
56+
The [`Blazor Word Processor`](https://www.syncfusion.com/blazor-components/blazor-word-processor) component (Document Editor) allows for customizing the added custom options and hiding/showing the default context menu.
5757
5858
#### Hide default context menu items
5959

@@ -79,4 +79,4 @@ The following code shows how to hide default context menu and add custom option
7979
}
8080
```
8181

82-
To learn how to render and configure the Document Editor component with a custom context menu, refer to the following example: [Blazor Word Processor - Context Menu]
82+
To learn how to render and configure the Document Editor component with a custom context menu, refer to the following example: [Blazor Word Processor - Context Menu](https://blazor.syncfusion.com/demos/document-editor/custom-context-menu?theme=bootstrap5)

Document-Processing/Word/Word-Processor/blazor/how-to/disable-optimized-text-measuring.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
layout: post
3-
title: Text measuring in Blazor DocumentEditor Component | Syncfusion
3+
title: Disable Optimized Text measuring in Blazor DocumentEditor Component | Syncfusion
44
description: Learn how to disable optimized text measuring in Syncfusion Blazor DocumentEditor component and much more.
55
platform: document-processing
66
control: DocumentEditor
77
documentation: ug
88
---
99

10-
# Disable optimized text measuring in Blazor DocumentEditor component
10+
# Disable Optimized Text Measuring in Blazor DocumentEditor component
1111

1212
Starting from v19.3.0.x, the accuracy of text size measurements in Document editor is improved such as to match Microsoft Word pagination for most Word documents. This improvement is included as default behavior along with an optional API [`EnableOptimizedTextMeasuring`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.DocumentEditorSettingsModel.html#Syncfusion_Blazor_DocumentEditor_DocumentEditorSettingsModel_EnableOptimizedTextMeasuring) in Document editor settings.
1313

1414
If you want the [`Blazor Word Processor`](https://www.syncfusion.com/blazor-components/blazor-word-processor) component (a.k.a Document Editor) component to retain the document pagination (display page-by-page) behavior like v19.2.0.x and older versions. Then you can disable this optimized text measuring improvement, by setting `false` to [`EnableOptimizedTextMeasuring`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.DocumentEditorSettingsModel.html#Syncfusion_Blazor_DocumentEditor_DocumentEditorSettingsModel_EnableOptimizedTextMeasuring) property of Blazor Document Editor component.
1515

16-
## Disable optimized text measuring in DocumentEditorContainer instance
16+
## Disable Optimized Text Measuring in DocumentEditorContainer instance
1717

1818
The following example code illustrates how to disable optimized text measuring improvement in [`DocumentEditorContainer`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html) instance.
1919

Document-Processing/Word/Word-Processor/blazor/how-to/export-document-as-pdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: PDF Export in Blazor DocumentEditor Component | Syncfusion
3+
title: Export a Document as a PDF in Blazor DocumentEditor | Syncfusion
44
description: Learn how to export the document as PDF in Syncfusion Blazor DocumentEditor component and much more.
55
platform: document-processing
66
control: DocumentEditor

Document-Processing/Word/Word-Processor/blazor/how-to/get-current-word.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Retrieve word and Paragraph in Blazor DocumentEditor | Syncfusion
3+
title: Retrieve Current Word and Paragraph in Blazor DocumentEditor | Syncfusion
44
description: Learn how to select and retrieve current word and Paragraph in the Syncfusion Blazor Document Editor component and much more.
55
platform: document-processing
66
control: DocumentEditor
@@ -9,11 +9,11 @@ documentation: ug
99

1010
# How to select and retrieve the word and paragraph in Document Editor
1111

12-
You can get the current word or paragraph content from the Blazor Document Editor component as plain text and SFDT (rich text).
12+
The Blazor Document Editor component allows for getting the current word or paragraph content as plain text and SFDT (rich text).
1313

1414
## Select and get the word in current cursor position
1515

16-
You can use [`SelectCurrentWordAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_SelectCurrentWordAsync_System_Boolean_) API in selection module to select the current word at cursor position and use [`GetTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_GetTextAsync) API to get the selected content as plain text from Blazor Document Editor component.
16+
Use the [`SelectCurrentWordAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_SelectCurrentWordAsync_System_Boolean_) API in the selection module to select the current word at the cursor position, and use the [`GetTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_GetTextAsync) API to get the selected content as plain text from Blazor Document Editor component.
1717

1818
The following example code illustrates how to select and get the current word as plain text.
1919

Document-Processing/Word/Word-Processor/blazor/how-to/get-the-selected-content.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
3-
title: Get selected content in Blazor DocumentEditor Component | Syncfusion
4-
description: Learn how to get the selected content from the Syncfusion Blazor Document Editor component as plain text or SFDT (rich text) and much more.
3+
title: Get Selected Content in Blazor DocumentEditor Component | Syncfusion
4+
description: Learn how to get the selected content from the Syncfusion Blazor DocumentEditor component as plain text or SFDT (rich text) and much more.
55
platform: document-processing
66
control: DocumentEditor
77
documentation: ug
@@ -52,7 +52,7 @@ The following example code illustrates how to add search in google option in con
5252
}
5353
```
5454

55-
You can add the following custom options using this API,
55+
The following custom options can be added using this API,
5656

5757
* Save or export the selected text as text file.
5858
* Search the selected text in Google or other search engines.
@@ -93,7 +93,7 @@ The following example code illustrates how to get the content of a bookmark and
9393
}
9494
```
9595

96-
You can add the following custom options using this API,
96+
The following custom options can be added using this API,
9797

9898
* Save or export the selected content as SFDT file.
9999
* Get the content of a bookmark in Word document as SFDT by selecting a bookmark using [`SelectBookmarkAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_SelectBookmarkAsync_System_String_) API.

Document-Processing/Word/Word-Processor/blazor/how-to/hide-tool-bar-and-properties-pane.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
layout: post
3-
title: Hide toolbar and properties pane in Blazor DocumentEditor | Syncfusion
4-
description: Learn how to hide the default tool bar properties pane in the Syncfusion Blazor Document Editor component and much more.
3+
title: Hide Toolbar and Properties Pane in Blazor DocumentEditor | Syncfusion
4+
description: Learn how to hide the built-in toolbar properties pane in the Syncfusion Blazor Document Editor component and much more.
55
platform: document-processing
66
control: DocumentEditor
77
documentation: ug
88
---
99

10-
# How to hide the tool bar and properties pane in Blazor Document Editor
10+
# How to hide the Toolbarar and Properties Pane in Blazor Document Editor
1111

1212
**Document editor container** provides the main document view area along with the built-in toolbar and properties pane.
1313

@@ -31,7 +31,7 @@ N> Positioning and customizing the properties pane in Document editor container
3131

3232
## Hide the toolbar
3333

34-
You can use [`EnableToolbar`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditorContainer_EnableToolbar) API in [`DocumentEditorContainer`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html) to hide the existing toolbar.
34+
Use the [`EnableToolbar`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditorContainer_EnableToolbar) API in the [`DocumentEditorContainer`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html) to hide the existing toolbar.
3535
3636
The following example code illustrates how to hide the existing toolbar.
3737

Document-Processing/Word/Word-Processor/blazor/how-to/insert-page-number-and-navigate-to-page.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Insert page number and Navigate in Blazor DocumentEditor | Syncfusion
3+
title: Page Numbers and Navigation in Blazor DocumentEditor | Syncfusion
44
description: Learn how to Insert Page number and Navigate to specific page from the Syncfusion Blazor Document Editor component and much more.
55
platform: document-processing
66
control: DocumentEditor
@@ -13,7 +13,7 @@ You can insert page number and navigate to specific page in Blazor Document Edit
1313

1414
## Insert page number
1515

16-
You can use [`InsertFieldAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertFieldAsync_System_String_System_String_) API in Editor module to insert the Page number in current position. By default, Page number will insert in Arabic number style.
16+
The [`InsertFieldAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertFieldAsync_System_String_System_String_) API in Editor module is used to insert the Page number in current position. By default, Page number will insert in Arabic number style.
1717

1818
N> Currently, Document Editor have options to insert page number at current cursor position.
1919

@@ -43,7 +43,7 @@ The following example code illustrates how to insert page number in header.
4343

4444
## Get page count
4545

46-
You can use [`GetPageCountAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditor_GetPageCountAsync) API to gets the total number of pages in Document.
46+
The [`GetPageCountAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditor_GetPageCountAsync) API is used to get the total number of pages in Document.
4747
4848
The following example code illustrates how to get the number of pages in Document.
4949

@@ -69,7 +69,7 @@ The following example code illustrates how to get the number of pages in Documen
6969

7070
## Navigate to specific page
7171

72-
You can use [`GoToPageAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_GoToPageAsync_System_Double_) API in Selection module to move selection to the start of the specified page number.
72+
Use the [`GoToPageAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_GoToPageAsync_System_Double_) API in the Selection module to move the selection to the start of the specified page number.
7373
7474
The following example code illustrates how to move selection to specific page.
7575

Document-Processing/Word/Word-Processor/blazor/how-to/insert-text-in-current-position.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
layout: post
3-
title: Insert text and rich-text in Blazor DocumentEditor | Syncfusion
3+
title: Insert Text and Rich-Text Content in Blazor DocumentEditor | Syncfusion
44
description: Learn how to insert text, paragraph and rich-text content in Blazor Document Editor component and much more.
55
platform: document-processing
66
control: DocumentEditor
77
documentation: ug
88
---
99

10-
# Insert text , paragraph and rich-text content in Blazor DocumentEditor
10+
# Insert Text , Paragraphs and Rich-Text Content in Blazor DocumentEditor
1111

12-
You can insert the text, paragraph and rich-text content in Blazor Document Editor component.
12+
The Blazor Document Editor component supports inserting text, paragraphs, and rich-text content.
1313

1414
## Insert text in current cursor position
1515

16-
You can use [`InsertTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertTextAsync_System_String_) API in editor module to insert the text in current cursor position.
16+
Use the [`InsertTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertTextAsync_System_String_) API in the editor module to insert text at the current cursor position.
1717

1818
The following example code illustrates how to add the text in current selection.
1919

@@ -37,7 +37,7 @@ await container.DocumentEditor.Editor.InsertTextAsync("Syncfusion");
3737

3838
## Insert paragraph in current cursor position
3939

40-
To insert new paragraph at current selection, you can can use [`InsertTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertTextAsync_System_String_) API with parameter as `\r\n` or `\n`.
40+
To insert a new paragraph at the current selection, use the [`InsertTextAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_InsertTextAsync_System_String_) API with `\r\n` or `\n` as the parameter.
4141
4242
The following example code illustrates how to add the new paragraph in current selection.
4343

@@ -48,7 +48,7 @@ await container.DocumentEditor.Editor.InsertTextAsync("\n");
4848

4949
## Insert the rich-text content
5050

51-
To insert the HTML content, you have to convert the HTML content to SFDT Format and then use [`PasteAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_PasteAsync_System_String_System_Nullable_Syncfusion_Blazor_DocumentEditor_PasteOptions__) API to insert the sfdt at current cursor position.
51+
To insert HTML content, convert the HTML to SFDT format and then use the [`PasteAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.EditorModule.html#Syncfusion_Blazor_DocumentEditor_EditorModule_PasteAsync_System_String_System_Nullable_Syncfusion_Blazor_DocumentEditor_PasteOptions__) API to insert the sfdt at the current cursor position.
5252
5353
N> HTML string should be well formatted HTML. [`DocIO`](https://help.syncfusion.com/file-formats/docio/html) support only well formatted XHTML.
5454

Document-Processing/Word/Word-Processor/blazor/how-to/move-selection-to-specific-position.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Move selection to specific position in Blazor Document editor
1111

12-
Using [`SelectAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_SelectAsync_System_String_System_String_) API in selection module, You can set cursor position to anywhere in the document.
12+
The [`SelectAsync`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SelectionModule.html#Syncfusion_Blazor_DocumentEditor_SelectionModule_SelectAsync_System_String_System_String_) API in the selection module can be used to set the cursor position anywhere in the document.
1313

1414
## Selects content based on start and end hierarchical index
1515

Document-Processing/Word/Word-Processor/blazor/how-to/read-only-default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ The following code example illustrate how to open a document in read only mode.
6060
}
6161
}
6262
```
63-
N> You can use the [`RestrictEditing`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditorContainer_RestrictEditing) in DocumentEditorContainer and [`IsReadOnly`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditor_IsReadOnly) in DocumentEditor based on your requirement to change component to read only mode.
63+
N> Use the [`RestrictEditing`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditorContainer_RestrictEditing) property in the DocumentEditorContainer or [`IsReadOnly`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.html#Syncfusion_Blazor_DocumentEditor_SfDocumentEditor_IsReadOnly) roperty in the DocumentEditor to change the component to read-only mode based on the specific requirement.

0 commit comments

Comments
 (0)