Skip to content

Commit d85ff05

Browse files
Merge branch 'development' into EJ2-1008844-validate-ang
2 parents 9935220 + 9c9ecff commit d85ff05

13 files changed

Lines changed: 86 additions & 126 deletions

File tree

Document-Processing-toc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@
13991399
</ul>
14001400
</li>
14011401
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es5/interaction-mode">Interaction Mode</a></li>
1402-
<li>Form Designer
1402+
<li>Forms
14031403
<ul>
14041404
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es5/forms/overview">Overview</a></li>
14051405
<li><a href="/document-processing/pdf/pdf-viewer/javascript-es5/forms/form-filling">Fill form fields</a></li>

Document-Processing/PDF/PDF-Viewer/angular/organize-pages/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ The Angular PDF Viewer component provides an Organize Pages panel that helps you
1414

1515
To open the Organize Pages panel, load a document, ensure that the Organize Pages toolbar item is enabled, and choose **Organize Pages** from the left vertical toolbar. The document must allow page-level edits; otherwise, the toolbar item is hidden.
1616

17+
Check out the following video to learn how to organize pages in a PDF document with the React PDF Viewer.
18+
{% youtube "https://www.youtube.com/watch?v=08kPdR0AZQk" %}
19+
1720
The Organize Pages panel supports the following actions:
1821

1922
* **Rotate pages**: Fix page orientation in 90-degree increments to correct scanned pages.

Document-Processing/PDF/PDF-Viewer/angular/organize-pdf-overview.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

Document-Processing/PDF/PDF-Viewer/react/forms/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ The Syncfusion PDF Viewer delivers a complete, easy-to-use PDF forms experience.
1313

1414
The viewer also includes smooth import and export support for form data, making integration effortless. Developers benefit from extensive API control, while end users enjoy a clean and simple interface designed for a seamless and stress-free form-filling experience.
1515

16+
Check out the following video to learn how to use the Form Fields in the React PDF Viewer.
17+
{% youtube "https://www.youtube.com/watch?v=MUWTCg1MoAE" %}
18+
1619
## Filling PDF Forms
1720

1821
Experience effortless PDF form filling through a clean, intuitive UI or automated workflows using powerful APIs. Flexible form data import and export support ensures smooth and efficient operations when working with PDF forms.

Document-Processing/PDF/PDF-Viewer/vue/annotation/free-text-annotation.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ import {
4545
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
4646
TextSearch, FormFields, FormDesigner, PageOrganizer
4747
} from '@syncfusion/ej2-vue-pdfviewer';
48-
import { provide } from 'vue';
48+
import { provide, ref } from 'vue';
4949

50+
const pdfviewer = ref(null);
5051
const documentPath = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf";
5152
const resourceUrl = 'https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib';
5253

@@ -55,7 +56,7 @@ provide('PdfViewer', [Toolbar, Magnification, Navigation, LinkAnnotation, Bookma
5556

5657
const documentLoad = () => {
5758
document.getElementById('set').addEventListener('click', () => {
58-
this.$refs.pdfviewer.ej2Instances.annotation.setAnnotationMode('FreeText');
59+
pdfviewer.value.ej2Instances.annotation.setAnnotationMode('FreeText');
5960
});
6061
}
6162

@@ -125,8 +126,9 @@ import {
125126
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
126127
TextSearch, FormFields, FormDesigner, PageOrganizer
127128
} from '@syncfusion/ej2-vue-pdfviewer';
128-
import { provide } from 'vue';
129+
import { provide, ref } from 'vue';
129130

131+
const pdfviewer = ref(null);
130132
const serviceUrl = "https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer";
131133
const documentPath = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf";
132134

@@ -135,7 +137,7 @@ provide('PdfViewer', [Toolbar, Magnification, Navigation, LinkAnnotation, Bookma
135137

136138
const documentLoad = () => {
137139
document.getElementById('set').addEventListener('click', () => {
138-
this.$refs.pdfviewer.ej2Instances.annotation.setAnnotationMode('FreeText');
140+
pdfviewer.value.ej2Instances.annotation.setAnnotationMode('FreeText');
139141
});
140142
}
141143

@@ -190,7 +192,7 @@ export default {
190192

191193
## Add a free text annotation programmatically to the PDF document
192194

193-
The PDF Viewer library allows adding a free text annotation programmatically using the [addAnnotation()](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation/#annotation) method.
195+
The PDF Viewer library allows adding a free text annotation programmatically using the [addAnnotation()](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation#annotation) method.
194196

195197
Here is an example of adding a free text annotation programmatically using addAnnotation():
196198

Document-Processing/PDF/PDF-Viewer/vue/annotation/ink-annotation.md

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

Document-Processing/PDF/PDF-Viewer/vue/annotation/signature-annotation.md

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

Document-Processing/PDF/PDF-Viewer/vue/annotation/stamp-annotation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The following examples switch to stamp annotation modes.
5555
import {
5656
PdfViewerComponent as EjsPdfviewer, Toolbar, Magnification, Navigation, LinkAnnotation,
5757
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
58-
TextSearch, FormFields, FormDesigner, PageOrganizer
58+
TextSearch, FormFields, FormDesigner, PageOrganizer, SignStampItem
5959
} from '@syncfusion/ej2-vue-pdfviewer';
6060
import { provide, ref } from 'vue';
6161

@@ -91,7 +91,7 @@ const documentLoad = () => {
9191
import {
9292
PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation,
9393
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
94-
TextSearch, FormFields, FormDesigner, PageOrganizer
94+
TextSearch, FormFields, FormDesigner, PageOrganizer, SignStampItem
9595
} from '@syncfusion/ej2-vue-pdfviewer';
9696

9797
export default {
@@ -137,7 +137,7 @@ export default {
137137
import {
138138
PdfViewerComponent as EjsPdfviewer, Toolbar, Magnification, Navigation, LinkAnnotation,
139139
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
140-
TextSearch, FormFields, FormDesigner, PageOrganizer
140+
TextSearch, FormFields, FormDesigner, PageOrganizer, SignStampItem
141141
} from '@syncfusion/ej2-vue-pdfviewer';
142142
import { provide, ref } from 'vue';
143143

@@ -174,7 +174,7 @@ const documentLoad = () => {
174174
import {
175175
PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation,
176176
BookmarkView, Annotation, ThumbnailView, Print, TextSelection,
177-
TextSearch, FormFields, FormDesigner, PageOrganizer
177+
TextSearch, FormFields, FormDesigner, PageOrganizer, SignStampItem
178178
} from '@syncfusion/ej2-vue-pdfviewer';
179179

180180
export default {
@@ -208,7 +208,7 @@ export default {
208208

209209
## Adding a Stamp annotation to the PDF document Programmatically
210210

211-
With the PDF Viewer library, you can add a Stamp annotation to the PDF Viewer control programmatically using the [**addAnnotation()**](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation/#addannotation) method.
211+
With the PDF Viewer library, you can add a Stamp annotation to the PDF Viewer control programmatically using the [**addAnnotation()**](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation#addannotation) method.
212212

213213
Here's a example of how you can utilize the **addAnnotation()** method to include a Stamp annotation programmatically:
214214

Document-Processing/PDF/PDF-Viewer/vue/annotation/sticky-notes-annotation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Annotation comments can be added using the comment panel.
3434

3535
## Add a sticky note annotation to the PDF document programmatically
3636

37-
The PDF Viewer library allows adding a sticky note annotation programmatically using the [addAnnotation()](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation/#addannotation) method.
37+
The PDF Viewer library allows adding a sticky note annotation programmatically using the [addAnnotation()](https://ej2.syncfusion.com/vue/documentation/api/pdfviewer/annotation#addannotation) method.
3838

3939
Here is an example showing how to add a sticky note annotation programmatically using addAnnotation():
4040

@@ -159,7 +159,7 @@ const addAnnotation = function () {
159159
</script>
160160

161161
{% endhighlight %}
162-
{% highlight html tabtitle="Server-Backed" %}
162+
{% highlight html tabtitle="Options API (Server-Backed)" %}
163163

164164
<template>
165165
<div id="app">
@@ -254,7 +254,7 @@ const editAnnotation = function () {
254254
</script>
255255

256256
{% endhighlight %}
257-
{% highlight html tabtitle="Standalone" %}
257+
{% highlight html tabtitle="Options API (Standalone)" %}
258258

259259
<template>
260260
<div id="app">

0 commit comments

Comments
 (0)