Skip to content

Commit d243b82

Browse files
1009098: Resolved CI failures addressed around 115 issues.
1 parent 0a2cf88 commit d243b82

9 files changed

Lines changed: 121 additions & 111 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/events.md

Lines changed: 90 additions & 90 deletions
Large diffs are not rendered by default.

Document-Processing/PDF/PDF-Viewer/react/how-to/change-author-name-using-annotation-settings.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: Change author name using annotation settings in React PDF Viewer | Syncfusion
3+
title: Change author name using annotation settings in React | Syncfusion
44
description: Learn how to change the author name and related annotation settings using the annotationSettings API in the React PDF Viewer.
55
platform: document-processing
66
control: PDF Viewer

Document-Processing/PDF/PDF-Viewer/react/how-to/clear-annotation.md

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

1111
# Clear annotations in React PDF Viewer
1212

13-
Use the [deleteAnnotations](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#deleteannotations) method to clear all annotations in the currently loaded document.
13+
Use the [deleteAnnotations](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#deleteannotations) method to clear all annotations in the currently loaded document.
1414

1515
Example: Clear all annotations in the loaded document
1616

Document-Processing/PDF/PDF-Viewer/react/organize-pages/toolbar.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: Organize Page Toolbar Customization in React PDF Viewer control | Syncfusion
3+
title: Organize Page Toolbar Customization in React | Syncfusion
44
description: Learn here all about Organize Page Toolbar Customization in Syncfusion React PDF Viewer control of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: PDF Viewer

Document-Processing/PDF/PDF-Viewer/react/text-search.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ export default function WholeWordExample() {
200200

201201
The following text search methods are available in the PDF Viewer,
202202

203-
* [**Search text**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch/#searchtext):- Searches the target text in the PDF document and highlights the occurrences in the pages.
204-
* [**Search next**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch/#searchnext):- Searches the next occurrence of the searched text from the current occurrence of the PDF Viewer.
205-
* [**Search previous**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch/#searchprevious):- Searches the previous occurrence of the searched text from the current occurrence of the PDF Viewer.
206-
* [**Cancel text search**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch/#canceltextsearch):- The text search can be canceled and the highlighted occurrences from the PDF Viewer can be removed .
203+
* [**Search text**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch#searchtext):- Searches the target text in the PDF document and highlights the occurrences in the pages.
204+
* [**Search next**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch#searchnext):- Searches the next occurrence of the searched text from the current occurrence of the PDF Viewer.
205+
* [**Search previous**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch#searchprevious):- Searches the previous occurrence of the searched text from the current occurrence of the PDF Viewer.
206+
* [**Cancel text search**](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearch#canceltextsearch):- The text search can be canceled and the highlighted occurrences from the PDF Viewer can be removed .
207207

208208
![Alt text](./images/search.png)
209209

@@ -566,17 +566,19 @@ The PDF Viewer triggers events during text search operations, allowing you to cu
566566

567567
### textSearchStart
568568

569-
The [textSearchStart](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#textsearchstartevent) event is raised the moment a search is initiated from the toolbar UI or by calling `textSearch.searchText(...)` programmatically.
569+
The [textSearchStart](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#textsearchstartevent) event is raised the moment a search is initiated from the toolbar UI or by calling `textSearch.searchText(...)` programmatically.
570570

571571
- Triggers when: the user submits a term in the search box or when code calls the search API.
572572

573-
- Event arguments include ([TextSearchStartEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchStartEventArgs/)):
573+
- Event arguments include ([TextSearchStartEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchStartEventArgs)):
574574
- searchText: string — the term to search.
575575
- matchCase: boolean — whether case-sensitive search is enabled.
576576
- isMatchWholeWord: boolean — whether whole-word matching is enabled.
577577
- name: string — event name.
578578
- cancel: boolean — set to true to cancel the default search.
579579

580+
{% tabs %}
581+
{% highlight ts tabtitle="Standalone" %}
580582
{% raw %}
581583

582584
import React from 'react';
@@ -598,19 +600,22 @@ export default function App() {
598600
}
599601
{% endraw %}
600602
{% endhighlight %}
603+
{% endtabs %}
601604

602605
### textSearchHighlight
603606

604-
The [textSearchHighlight](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/#textsearchhighlightevent) event fires whenever an occurrence is highlighted during search or when navigating to next/previous results.
607+
The [textSearchHighlight](https://ej2.syncfusion.com/react/documentation/api/pdfviewer#textsearchhighlightevent) event fires whenever an occurrence is highlighted during search or when navigating to next/previous results.
605608

606609
- Triggers when: a match is brought into view and highlighted (including navigation between matches).
607-
- Event arguments include ([TextSearchHighlightEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchHighlightEventArgs/)):
610+
- Event arguments include ([TextSearchHighlightEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchHighlightEventArgs)):
608611
- bounds: RectangleBoundsModel | RectangleBoundsModel[] — rectangles of the highlighted match.
609612
- pageNumber: number — page index where the match is highlighted.
610613
- searchText: string — the searched term.
611614
- matchCase: boolean — whether case-sensitive search was used.
612615
- name: string — event name.
613616

617+
{% tabs %}
618+
{% highlight ts tabtitle="Standalone" %}
614619
{% raw %}
615620

616621
import React from 'react';
@@ -631,23 +636,26 @@ export default function App() {
631636
}
632637
{% endraw %}
633638
{% endhighlight %}
639+
{% endtabs %}
634640

635641
### textSearchComplete
636642

637-
The [textSearchComplete](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/#textsearchcompleteevent) event is raised after the search engine finishes scanning and resolving all matches for the current query.
643+
The [textSearchComplete](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer#textsearchcompleteevent) event is raised after the search engine finishes scanning and resolving all matches for the current query.
638644

639645
- Triggers when: the search for the submitted term has completed across the document.
640646
- Typical uses:
641647
- Update UI with the total number of matches and enable navigation controls.
642648
- Hide loading indicators or show a "no results" message if none were found.
643649
- Record analytics for search effectiveness.
644-
- Event arguments include ([TextSearchCompleteEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchCompleteEventArgs/)):
650+
- Event arguments include ([TextSearchCompleteEventArgs](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/textSearchCompleteEventArgs)):
645651
- totalMatches: number — total number of occurrences found.
646652
- isMatchFound: boolean — indicates whether at least one match was found.
647653
- searchText: string — the searched term.
648654
- matchCase: boolean — whether case-sensitive search was used.
649655
- name: string — event name.
650656

657+
{% tabs %}
658+
{% highlight ts tabtitle="Standalone" %}
651659
{% raw %}
652660

653661
import React from 'react';
@@ -668,6 +676,8 @@ export default function App() {
668676
}
669677
{% endraw %}
670678
{% endhighlight %}
679+
{% endtabs %}
680+
671681
## See also
672682

673683
* [Toolbar items](./toolbar)

Document-Processing/PDF/PDF-Viewer/react/toolbar-customization/annotation-toolbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The annotation toolbar can be customized by showing or hiding default items and
1616

1717
Show or hide the annotation toolbar programmatically during initialization or at runtime.
1818

19-
Use the [EnableAnnotationToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel/#enableannotationtoolbar) property or the [showAnnotationToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar/#showannotationtoolbar) method to toggle visibility.
19+
Use the [EnableAnnotationToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel#enableannotationtoolbar) property or the [showAnnotationToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar#showannotationtoolbar) method to toggle visibility.
2020

2121
The following code snippet explains how to show or hide the annotation toolbar using the `showAnnotationToolbar` method.
2222

@@ -104,7 +104,7 @@ ReactDOM.render(<App />, document.getElementById('container'));
104104

105105
Choose which tools appear and control their order in the annotation toolbar.
106106

107-
Use [`PdfViewerToolbarSettings`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings/) with the [`AnnotationToolbarItems`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings/#annotationtoolbaritems) property to choose which tools are displayed in the annotation toolbar. The property accepts a list of [`AnnotationToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/annotationToolbarItem/) values. Only the items included in this list are shown; any item not listed is hidden. The rendered order follows the sequence of items in the list.
107+
Use [`PdfViewerToolbarSettings`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings) with the [`AnnotationToolbarItems`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings#annotationtoolbaritems) property to choose which tools are displayed in the annotation toolbar. The property accepts a list of [`AnnotationToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/annotationToolbarItem) values. Only the items included in this list are shown; any item not listed is hidden. The rendered order follows the sequence of items in the list.
108108

109109
The annotation toolbar is presented when entering annotation mode in PDF Viewer and adapts responsively based on the available width. Include the Close tool to allow users to exit the annotation toolbar when needed.
110110

Document-Processing/PDF/PDF-Viewer/react/toolbar-customization/custom-toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Follow these steps to create a custom toolbar for the PDF Viewer:
1616

1717
**Step 1: Create a simple PDF Viewer sample.**
1818

19-
Follow the steps provided in the [getting started](https://ej2.syncfusion.com/javascript/documentation/pdfviewer/getting-started/) guide to create a basic PDF Viewer sample.
19+
Follow the steps provided in the [getting started](https://ej2.syncfusion.com/javascript/documentation/pdfviewer/getting-started) guide to create a basic PDF Viewer sample.
2020

2121
**Step 2: Add HTML elements for the custom toolbar.**
2222

Document-Processing/PDF/PDF-Viewer/react/toolbar-customization/form-designer-toolbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The form designer toolbar can be customized by showing or hiding default items a
1616

1717
Show or hide the form designer toolbar programmatically during initialization or at runtime.
1818

19-
Use the [EnableFormDesigner](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel/#enableformdesigner) property or the [showFormDesignerToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar/#showformdesignertoolbar) method to toggle visibility.
19+
Use the [EnableFormDesigner](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel#enableformdesigner) property or the [showFormDesignerToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar#showformdesignertoolbar) method to toggle visibility.
2020

2121
The following code snippet explains how to show or hide the toolbar using the `EnableFormDesigner` property.
2222

@@ -89,7 +89,7 @@ export default App;
8989

9090
Choose which tools appear and control their order in the form designer toolbar.
9191

92-
Use [`PdfViewerToolbarSettings`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings/) with the [`FormDesignerToolbarItems`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings/#formdesignertoolbaritems) property to choose which form design tools are available. The property accepts a list of [`FormDesignerToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formDesignerToolbarItem/) values. The items you include are both displayed and rendered in the order listed; any items you omit are hidden. This provides a streamlined, user-friendly form design experience across devices.
92+
Use [`PdfViewerToolbarSettings`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings) with the [`FormDesignerToolbarItems`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbarSettings#formdesignertoolbaritems) property to choose which form design tools are available. The property accepts a list of [`FormDesignerToolbarItem`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/formDesignerToolbarItem) values. The items you include are both displayed and rendered in the order listed; any items you omit are hidden. This provides a streamlined, user-friendly form design experience across devices.
9393

9494
The following example demonstrates how to customize the form designer toolbar by configuring specific tools using `FormDesignerToolbarItem`.
9595

Document-Processing/PDF/PDF-Viewer/react/toolbar-customization/primary-toolbar.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
layout: post
3-
title: Primary Toolbar Customization in React PDF Viewer Component | Syncfusion
3+
title: Primary Toolbar Customization in React PDF Viewer | Syncfusion
44
description: Learn here all about primary toolbar customization in Syncfusion React PDF Viewer component of Syncfusion Essential JS 2 and more.
55
platform: document-processing
66
control: PDF Viewer
77
documentation: ug
88
domainurl: ##DomainURL##
99
---
1010

11-
# Primary Toolbar Customization in PDF Viewer Component
11+
# Primary Toolbar Customization in React PDF Viewer
1212

1313
The primary toolbar of the PDF Viewer can be customized by rearranging existing items, disabling default items, and adding custom items. New items can be placed at specific index positions among the existing items.
1414

1515
## Show or hide the primary toolbar
1616

17-
Toggle the built-in primary toolbar to create custom toolbar experiences or simplify the UI. In scenarios where a custom toolbar is required, the built-in toolbar can be hidden. Use the [enableToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel/#enabletoolbar) property or the [showToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar/#showtoolbar) method to show or hide the primary toolbar.
17+
Toggle the built-in primary toolbar to create custom toolbar experiences or simplify the UI. In scenarios where a custom toolbar is required, the built-in toolbar can be hidden. Use the [enableToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/pdfViewerModel#enabletoolbar) property or the [showToolbar](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/toolbar#showtoolbar) method to show or hide the primary toolbar.
1818

1919
Show or hide the toolbar using the `enableToolbar` property:
2020

0 commit comments

Comments
 (0)