Skip to content

Commit 3766316

Browse files
author
GiriSF4292
committed
979841: latest API failure changes committed
1 parent 68bb772 commit 3766316

18 files changed

+44
-44
lines changed

Document-Processing/Word/Word-Processor/angular/comments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class AppComponent implements OnInit {
210210
211211
## Events
212212

213-
DocumentEditor provides [beforeCommentAction](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#beforecommentaction) event, which is triggered on comment actions like Post, edit, reply, resolve and reopen. This event provides an opportunity to perform custom logic on comment actions like Post, edit, reply, resolve and reopen. The event handler receives the [CommentActionEventArgs](https://ej2.syncfusion.com/angular/documentation/api/document-editor/commentActionEventArgs) object as an argument, which allows access to information about the comment.
213+
DocumentEditor provides [beforeCommentAction](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#beforecommentaction) event, which is triggered on comment actions like Post, edit, reply, resolve and reopen. This event provides an opportunity to perform custom logic on comment actions like Post, edit, reply, resolve and reopen. The event handler receives the [CommentActionEventArgs](https://ej2.syncfusion.com/angular/documentation/api/document-editor/commentActionEventArgs/) object as an argument, which allows access to information about the comment.
214214

215215
To demonstrate a specific use case, let’s consider an example where we want to restrict the delete functionality based on the author’s name. The following code snippet illustrates how to allow only the author of a comment to delete:
216216

Document-Processing/Word/Word-Processor/angular/fields.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Document Editor has preservation support for all types of fields in an existing
1414

1515
## Adding Fields
1616

17-
You can add a field to the document by using [`insertField`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor#insertfield) method in [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
17+
You can add a field to the document by using [`insertField`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/#insertfield) method in [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
1818

1919
The following example code illustrates how to insert merge field programmatically by providing the field code and field result.
2020

@@ -58,7 +58,7 @@ let fieldInfo: FieldInfo = this.documentEditor.selection.getFieldInfo();
5858
5959
## Set field info
6060

61-
You can modify the field code and field result of the current selected field by using [`setFieldInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor#setfieldinfo) method in the [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
61+
You can modify the field code and field result of the current selected field by using [`setFieldInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/#setfieldinfo) method in the [`Editor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/editor/) module.
6262

6363
```typescript
6464
//Gets the field information for the selected field.

Document-Processing/Word/Word-Processor/angular/find-and-replace.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ The [`Search`](https://ej2.syncfusion.com/angular/documentation/api/document-edi
3636

3737
|API Name|Type |Description|
3838
|---|---|---|
39-
|[`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#findall/)| Method |Searches for specified text in the whole document and highlights it with yellow.|
40-
|[`searchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#searchresults/) |Property |This is an instance of [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/).|
41-
|[`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#find/) | Method |Find immediate occurrence of specified text from cursor position in the document and highlights it with yellow.|
39+
|[`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#findall/)| Method |Searches for specified text in the whole document and highlights it with yellow.|
40+
|[`searchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#searchresults/) |Property |This is an instance of [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/).|
41+
|[`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#find/) | Method |Find immediate occurrence of specified text from cursor position in the document and highlights it with yellow.|
4242

4343
### Find the immediate occurrence in the document
4444

45-
Using [`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#find/) method, you can find the immediate occurrence of specified text from current cursor position in the document.
45+
Using [`find()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#find/) method, you can find the immediate occurrence of specified text from current cursor position in the document.
4646

4747
The following example code illustrates how to use find in Document editor.
4848

@@ -54,7 +54,7 @@ this.documenteditor.search.find('Some text', 'None');
5454
5555
### Find all the occurrences in the document
5656

57-
Using [`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search#findall/) method, you can find all the occurrences of specified text in the whole document and highlight it with yellow.
57+
Using [`findAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/search/#findall/) method, you can find all the occurrences of specified text in the whole document and highlight it with yellow.
5858

5959
The following example code illustrates how to find All the text in the document.
6060

@@ -70,14 +70,14 @@ The [`SearchResults`](https://ej2.syncfusion.com/angular/documentation/api/docum
7070

7171
|API Name|Type |Description|
7272
|---|---|---|
73-
|[`length`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#length/)|Property|Returns the total number of results found on the search.|
74-
|[`index`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#index/)|Property|Returns the index of selected search result. You can change the value for this property to move the selection.|
75-
|[`replaceAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchresults#replaceall/)|Method|Replaces all the occurrences with specified text.|
76-
|[`clear()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#clear/)|Method|Clears the search result.|
73+
|[`length`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#length/)|Property|Returns the total number of results found on the search.|
74+
|[`index`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#index/)|Property|Returns the index of selected search result. You can change the value for this property to move the selection.|
75+
|[`replaceAll()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#replaceall/)|Method|Replaces all the occurrences with specified text.|
76+
|[`clear()`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#clear/)|Method|Clears the search result.|
7777

7878
### Replace all the occurrences
7979

80-
Using [`replaceAll`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults#replaceall/), you can replace all the occurrences with specified text.
80+
Using [`replaceAll`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/searchResults/#replaceall/), you can replace all the occurrences with specified text.
8181

8282
The following example code illustrates how to use replace All in Document editor.
8383

Document-Processing/Word/Word-Processor/angular/how-to/add-save-button-in-toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ domainurl: ##DomainURL##
1212

1313
## To add a save button to the existing toolbar in DocumentEditorContainer
1414

15-
DocumentEditorContainer allows you to add a new button to the existing items in a toolbar using [`CustomToolbarItemModel`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/customToolbarItemModel/) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/angular/documentation/api/toolbar/clickEventArgs/).
15+
DocumentEditorContainer allows you to add a new button to the existing items in a toolbar using [`CustomToolbarItemModel`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/customToolbarItemModel/) and with existing items in [`toolbarItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#toolbaritems) property. Newly added item click action can be defined in [`toolbarClick`](https://ej2.syncfusion.com/angular/documentation/api/toolbar/clickEventArgs/).
1616

1717
```typescript
1818
import { Component, OnInit, ViewChild } from '@angular/core';

Document-Processing/Word/Word-Processor/angular/how-to/change-document-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class AppComponent {
5858
5959
## How to change the document view in DocumentEditorContainer component
6060

61-
DocumentEditorContainer component allows you to change the view to web layout and print using the [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType/).
61+
DocumentEditorContainer component allows you to change the view to web layout and print using the [`layoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#layouttype) property with the supported [`LayoutType`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/layoutType/).
6262

6363
```typescript
6464
/**

Document-Processing/Word/Word-Processor/angular/how-to/change-the-default-search-highlight-color.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ domainurl: ##DomainURL##
1010

1111
# Change Search Highlight Color in Angular Document Editor
1212

13-
Document editor provides an options to change the default search highlight color using [`searchHighlightColor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel#searchhighlightcolor) in Document editor settings. The highlight color which is given in [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#documenteditorsettings) will be highlighted on the searched text. By default, search highlight color is `yellow`.
13+
Document editor provides an options to change the default search highlight color using [`searchHighlightColor`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel#searchhighlightcolor) in Document editor settings. The highlight color which is given in [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#documenteditorsettings) will be highlighted on the searched text. By default, search highlight color is `yellow`.
1414

1515
Similarly, you can use [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#documenteditorsettings) property for DocumentEditor also.
1616

Document-Processing/Word/Word-Processor/angular/how-to/customize-font-family-drop-down.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ domainurl: ##DomainURL##
1010

1111
# Customize font family drop down in Angular Document editor
1212

13-
Document editor provides an options to customize the font family drop down list values using [`fontFamilies`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel#fontfamilies) in Document editor settings. Fonts which are added in fontFamilies of [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#documenteditorsettings) will be displayed on font drop down list of text properties pane and font dialog.
13+
Document editor provides an options to customize the font family drop down list values using [`fontFamilies`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/documentEditorSettingsModel#fontfamilies) in Document editor settings. Fonts which are added in fontFamilies of [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#documenteditorsettings) will be displayed on font drop down list of text properties pane and font dialog.
1414

1515
Similarly, you can use [`documentEditorSettings`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/#documenteditorsettings) property for DocumentEditor also.
1616

Document-Processing/Word/Word-Processor/angular/how-to/customize-ribbon.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Below are detailed examples for each ribbon customization scenario.
2222

2323
## File Menu Customization
2424

25-
Document Editor provides APIs to remove existing File menu items and add new custom items based on your requirements. You can modify the File menu using the [`fileMenuItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#filemenuitems) property.
25+
Document Editor provides APIs to remove existing File menu items and add new custom items based on your requirements. You can modify the File menu using the [`fileMenuItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#filemenuitems) property.
2626

2727
In the example below, the "Open" and "Export" items have been removed from the File Menu Items, and new custom items have been added.
2828

@@ -71,7 +71,7 @@ export class AppComponent {
7171

7272
## Backstage Menu Customization
7373

74-
The Document Editor provides an [`backStageMenu`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#backStageMenu) API to add a backstage menu. When the backstage menu is enabled, the default File menu items are automatically hidden.
74+
The Document Editor provides an [`backStageMenu`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#backStageMenu) API to add a backstage menu. When the backstage menu is enabled, the default File menu items are automatically hidden.
7575

7676
The following code example shows how to add the backstage menu items.
7777

@@ -120,7 +120,7 @@ You can customize the ribbon tabs in the Document Editor by showing, hiding, or
120120

121121
### Show/Hide Tab
122122

123-
Document editor provides the [`showTab`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#showtab) API to show and hide the existing tab using existing `RibbonTabType` and `tabId`.
123+
Document editor provides the [`showTab`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#showtab) API to show and hide the existing tab using existing `RibbonTabType` and `tabId`.
124124

125125
The following code example how to show/hide existing tab using existing tab type and tab id.
126126

@@ -135,7 +135,7 @@ this.container.ribbon.showTab('custom_tab', false);
135135

136136
### Add Tab
137137

138-
The Document Editor provides the [`addTab`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#addtab) API, which allows you to insert a new custom tab either between existing tabs or at the end of the ribbon tabs.
138+
The Document Editor provides the [`addTab`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#addtab) API, which allows you to insert a new custom tab either between existing tabs or at the end of the ribbon tabs.
139139

140140
```typescript
141141

@@ -202,9 +202,9 @@ You can also customize ribbon groups within a tab to better organize commands or
202202

203203
### Show/Hide Group
204204

205-
Document Editor provides an [`showGroup`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#showgroup) API to show or hide existing groups within a ribbon tab.
205+
Document Editor provides an [`showGroup`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#showgroup) API to show or hide existing groups within a ribbon tab.
206206

207-
The following code example show how to show/hide the group using group Id or [`RibbonGroupInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#ribbongroupinfo).
207+
The following code example show how to show/hide the group using group Id or [`RibbonGroupInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#ribbongroupinfo).
208208

209209
```typescript
210210

@@ -281,9 +281,9 @@ You can customize individual items within ribbon groups. This includes showing,
281281

282282
### Show/Hide Item
283283

284-
Using [`showItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#showitems) API in Document editor ribbon to enable/disable the existing item. Here, you can specify the item Id or [`RibbonItemInfo`].
284+
Using [`showItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#showitems) API in Document editor ribbon to enable/disable the existing item. Here, you can specify the item Id or [`RibbonItemInfo`].
285285

286-
The following code example show how to show/hide the item using item Id or [`RibbonItemInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container#ribboniteminfo).
286+
The following code example show how to show/hide the item using item Id or [`RibbonItemInfo`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/#ribboniteminfo).
287287

288288
```typescript
289289
// To hide the Bold and Italic items using ribbon item information
@@ -298,7 +298,7 @@ this.container.ribbon.showItems('custom_item', false);
298298

299299
### Enable/Disable Item
300300

301-
Using [`enableItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#enableitems) API in Document editor ribbon to enable/disable the existing item.
301+
Using [`enableItems`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#enableitems) API in Document editor ribbon to enable/disable the existing item.
302302

303303
```typescript
304304
// To disable the underline using ribbon item info
@@ -314,7 +314,7 @@ this.container.ribbon.enableItems('custom_item', false);
314314

315315
### Add Item
316316

317-
You can use the [`addItem`](https://ej2.syncfusion.com/angular/documentation/api/document-editor/-container/ribbon#additem) API in the Document Editor ribbon to add a new item. Additionally, you can specify the target tab and group where the new item should be placed.
317+
You can use the [`addItem`](https://ej2.syncfusion.com/angular/documentation/api/document-editor-container/ribbon#additem) API in the Document Editor ribbon to add a new item. Additionally, you can specify the target tab and group where the new item should be placed.
318318

319319
```typescript
320320

0 commit comments

Comments
 (0)