Skip to content

Commit 4ef92f8

Browse files
Merge branch 'development' into 1001080-formsJS
2 parents 855a3df + d5e3b7c commit 4ef92f8

28 files changed

Lines changed: 142 additions & 144 deletions

Document-Processing-toc.html

Lines changed: 37 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2636,45 +2636,43 @@
26362636
</li>
26372637
</ul>
26382638
</li>
2639-
<ul>
2640-
<li>
2641-
<a href="/document-processing/pdf/pdf-library/javascript/Overview">JavaScript</a>
2642-
<ul>
2643-
<li><a href="/document-processing/pdf/pdf-library/javascript/Overview">Overview</a></li>
2644-
<li>Getting Started
2645-
<ul>
2646-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-asp-net-core">ASP.NET Core</a></li>
2647-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-asp-net-mvc">ASP.NET MVC</a></li>
2648-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-angular">Angular</a></li>
2649-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-react">React</a></li>
2650-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-vue">Vue</a></li>
2651-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-javascript">JavaScript</a></li>
2652-
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-typescript">TypeScript</a></li>
2653-
</ul>
2654-
</li>
2655-
<li><a href="/document-processing/pdf/pdf-library/javascript/Open-and-save-PDF-files">Loading and Saving</a></li>
2656-
<li><a href="/document-processing/pdf/pdf-library/javascript/PDF-document">PDF Document</a></li>
2657-
<li><a href="/document-processing/pdf/pdf-library/javascript/PDF-pages">PDF Pages</a></li>
2658-
<li><a href="/document-processing/pdf/pdf-library/javascript/Text">Text</a></li>
2659-
<li><a href="/document-processing/pdf/pdf-library/javascript/Lists">Lists</a></li>
2660-
<li><a href="/document-processing/pdf/pdf-library/javascript/Images">Images</a></li>
2661-
<li><a href="/document-processing/pdf/pdf-library/javascript/Templates">Templates</a></li>
2662-
<li><a href="/document-processing/pdf/pdf-library/javascript/Shapes">Shapes</a></li>
2663-
<li><a href="/document-processing/pdf/pdf-library/javascript/Annotations">Annotations</a></li>
2664-
<li><a href="/document-processing/pdf/pdf-library/javascript/FormFields">Form Fields</a></li>
2665-
<li><a href="/document-processing/pdf/pdf-library/javascript/DigitalSignature">Digital Signature</a></li>
2666-
<li><a href="/document-processing/pdf/pdf-library/javascript/Bookmarks">Bookmarks</a></li>
2667-
<li><a href="/document-processing/pdf/pdf-library/javascript/HyperLinks">Hyperlinks</a></li>
2668-
<li><a href="/document-processing/pdf/pdf-library/javascript/Layers">Layers</a></li>
2669-
<li><a href="/document-processing/pdf/pdf-library/javascript/Watermarks">Watermarks</a></li>
2670-
<li><a href="/document-processing/pdf/pdf-library/javascript/Merge-Document">Merge PDF</a></li>
2671-
<li><a href="/document-processing/pdf/pdf-library/javascript/Split-Documents">Split PDF</a></li>
2672-
<li><a href="/document-processing/pdf/pdf-library/javascript/Text-Extraction">Text Extraction</a></li>
2673-
<li><a href="/document-processing/pdf/pdf-library/javascript/Image-Extraction">Image Extraction</a></li>
2674-
<li><a href="/document-processing/pdf/pdf-library/javascript/Redaction">Redaction</a></li>
2675-
</ul>
2676-
</li>
2677-
</ul>
2639+
<li>
2640+
<a href="/document-processing/pdf/pdf-library/javascript/Overview">JavaScript</a>
2641+
<ul>
2642+
<li><a href="/document-processing/pdf/pdf-library/javascript/Overview">Overview</a></li>
2643+
<li>Getting Started
2644+
<ul>
2645+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-asp-net-core">ASP.NET Core</a></li>
2646+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-asp-net-mvc">ASP.NET MVC</a></li>
2647+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-angular">Angular</a></li>
2648+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-react">React</a></li>
2649+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-vue">Vue</a></li>
2650+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-javascript">JavaScript</a></li>
2651+
<li><a href="/document-processing/pdf/pdf-library/javascript/Create-PDF-document-typescript">TypeScript</a></li>
2652+
</ul>
2653+
</li>
2654+
<li><a href="/document-processing/pdf/pdf-library/javascript/Open-and-save-PDF-files">Loading and Saving</a></li>
2655+
<li><a href="/document-processing/pdf/pdf-library/javascript/PDF-document">PDF Document</a></li>
2656+
<li><a href="/document-processing/pdf/pdf-library/javascript/PDF-pages">PDF Pages</a></li>
2657+
<li><a href="/document-processing/pdf/pdf-library/javascript/Text">Text</a></li>
2658+
<li><a href="/document-processing/pdf/pdf-library/javascript/Lists">Lists</a></li>
2659+
<li><a href="/document-processing/pdf/pdf-library/javascript/Images">Images</a></li>
2660+
<li><a href="/document-processing/pdf/pdf-library/javascript/Templates">Templates</a></li>
2661+
<li><a href="/document-processing/pdf/pdf-library/javascript/Shapes">Shapes</a></li>
2662+
<li><a href="/document-processing/pdf/pdf-library/javascript/Annotations">Annotations</a></li>
2663+
<li><a href="/document-processing/pdf/pdf-library/javascript/FormFields">Form Fields</a></li>
2664+
<li><a href="/document-processing/pdf/pdf-library/javascript/DigitalSignature">Digital Signature</a></li>
2665+
<li><a href="/document-processing/pdf/pdf-library/javascript/Bookmarks">Bookmarks</a></li>
2666+
<li><a href="/document-processing/pdf/pdf-library/javascript/HyperLinks">Hyperlinks</a></li>
2667+
<li><a href="/document-processing/pdf/pdf-library/javascript/Layers">Layers</a></li>
2668+
<li><a href="/document-processing/pdf/pdf-library/javascript/Watermarks">Watermarks</a></li>
2669+
<li><a href="/document-processing/pdf/pdf-library/javascript/Merge-Document">Merge PDF</a></li>
2670+
<li><a href="/document-processing/pdf/pdf-library/javascript/Split-Documents">Split PDF</a></li>
2671+
<li><a href="/document-processing/pdf/pdf-library/javascript/Text-Extraction">Text Extraction</a></li>
2672+
<li><a href="/document-processing/pdf/pdf-library/javascript/Image-Extraction">Image Extraction</a></li>
2673+
<li><a href="/document-processing/pdf/pdf-library/javascript/Redaction">Redaction</a></li>
2674+
</ul>
2675+
</li>
26782676
<li>
26792677
<a href="/document-processing/pdf/pdf-library/flutter/overview">Flutter</a>
26802678
<ul>

Document-Processing/PDF/PDF-Viewer/angular/form-designer/create-programmatically.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in
9494
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
9595
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
9696

97-
{% previewsample "Document-Processing/samples/pdfviewer/anagular/addformfield-cs1/index.html" %}
97+
{% previewsample "/document-processing/samples/pdfviewer/anagular/addformfield-cs1" %}
9898

9999
## Edit/Update form field programmatically
100100

@@ -170,7 +170,7 @@ N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in
170170
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
171171
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
172172

173-
{% previewsample "Document-Processing/samples/pdfviewer/angular/updateformfield-cs1/index.html" %}
173+
{% previewsample "/document-processing/samples/pdfviewer/angular/updateformfield-cs1" %}
174174

175175
## Delete form field programmatically
176176

@@ -246,7 +246,7 @@ N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in
246246
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
247247
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
248248

249-
{% previewsample "Document-Processing/samples/pdfviewer/angular/deleteformfield-cs1/index.html" %}
249+
{% previewsample "/document-processing/samples/pdfviewer/angular/deleteformfield-cs1" %}
250250

251251
The following code illustrates how to delete a signature from the signature field using the `retrieveFormFields` and `clearFormFields` APIs.
252252

Document-Processing/PDF/PDF-Viewer/angular/getting-started-with-server-backed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ platformBrowserDynamic().bootstrapModule(AppModule)
150150

151151
```
152152

153-
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1/index.html" %}
153+
{% previewsample "/document-processing/samples/pdfviewer/angular/getting-started-cs1" %}
154154

155155
> For PDF Viewer serviceUrl creation, follow the steps provided in the [link](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es6/how-to/create-pdfviewer-service)
156156

Document-Processing/PDF/PDF-Viewer/angular/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ platformBrowserDynamic().bootstrapModule(AppModule)
215215
{% endhighlight %}
216216
{% endtabs %}
217217

218-
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1-standalone/index.html" %}
218+
{% previewsample "/document-processing/samples/pdfviewer/angular/getting-started-cs1-standalone" %}
219219

220220
## Module injection
221221

Document-Processing/PDF/PDF-Viewer/angular/how-to/custom-context-menu.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ domainurl: ##DomainURL##
1111
# Customize the context menu in PDF Viewer
1212

1313
PDF Viewer allows you to add custom option in context menu. It can be achieved by using the `addCustomMenu()` method and custom action is defined using the `customContextMenuSelect()`method.
14-
PDF Viewer supports adding custom options to the context menu using the `addCustomMenu()`(https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/#addcustommenu)method. Define actions for custom items with the [customContextMenuSelect()](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/#customcontextmenuselect) method.
14+
PDF Viewer supports adding custom options to the context menu using the `addCustomMenu()`(https://ej2.syncfusion.com/angular/documentation/api/pdfviewer#addcustommenu)method. Define actions for custom items with the [customContextMenuSelect()](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer#customcontextmenuselect) method.
1515

1616
### Add a custom option
1717

@@ -102,7 +102,7 @@ Toggle the display of the default context menu. When the addCustomMenu parameter
102102

103103
#### show or hide custom items before opening
104104

105-
Use [customContextMenuBeforeOpen()](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer/#customcontextmenubeforeopen) to hide or show custom options dynamically.
105+
Use [customContextMenuBeforeOpen()](https://ej2.syncfusion.com/angular/documentation/api/pdfviewer#customcontextmenubeforeopen) to hide or show custom options dynamically.
106106

107107
```js
108108
export class CustomContextMenuComponent implements OnInit {
@@ -227,6 +227,6 @@ Add the below serviceUrl in the `app.component.ts` file
227227
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
228228
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
229229

230-
{% previewsample "Document-Processing/samples/pdfviewer/angular/custom-context-menu/index.html" %}
230+
{% previewsample "/document-processing/samples/pdfviewer/angular/custom-context-menu" %}
231231

232232
[View sample in GitHub](https://github.com/SyncfusionExamples/angular-pdf-viewer-examples/tree/master/How%20to/Custom%20Context%20Menu)

Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/text-markup-annotation.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ N> To set up the **server-backed PDF Viewer**,
4747
Add the below [serviceUrl](https://ej2.syncfusion.com/documentation/api/pdfviewer/#serviceurl) in the `index.html` file
4848
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
4949

50-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-mode-cs1/index.html" %}
50+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-mode-cs1" %}
5151

5252
Refer to the following code snippet to switch back to normal mode from highlight mode.
5353

@@ -61,11 +61,11 @@ N> To set up the **server-backed PDF Viewer**,
6161
Add the below `serviceUrl` in the `index.html` file
6262
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
6363

64-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-normal-mode-cs1/index.html" %}
64+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-normal-mode-cs1" %}
6565

6666
## Highlight text programmatically
6767

68-
Programmatically add highlights using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation/#addannotation) method.
68+
Programmatically add highlights using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
6969

7070
Example:
7171

@@ -152,7 +152,7 @@ N> To set up the **server-backed PDF Viewer**,
152152
Add the below `serviceUrl` in the `index.html` file
153153
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
154154

155-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-mode-cs1/index.html" %}
155+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-mode-cs1" %}
156156

157157

158158
Refer to the following code snippet to switch back to normal mode from underline mode.
@@ -167,11 +167,11 @@ N> To set up the **server-backed PDF Viewer**,
167167
Add the below `serviceUrl` in the `index.html` file
168168
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
169169

170-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-normal-mode-cs1/index.html" %}
170+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-normal-mode-cs1" %}
171171

172172
## Underline text programmatically
173173

174-
Programmatically add underlines using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation/#addannotation) method.
174+
Programmatically add underlines using the [addAnnotation](https://ej2.syncfusion.com/documentation/api/pdfviewer/annotation#addannotation) method.
175175

176176
Example:
177177

@@ -259,7 +259,7 @@ N> To set up the **server-backed PDF Viewer**,
259259
Add the below `serviceUrl` in the `index.html` file
260260
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
261261

262-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-mode-cs1/index.html" %}
262+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-mode-cs1" %}
263263

264264
Refer to the following code snippet to switch back to normal mode from strikethrough mode.
265265

@@ -273,11 +273,11 @@ N> To set up the **server-backed PDF Viewer**,
273273
Add the below `serviceUrl` in the `index.html` file
274274
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
275275

276-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-normal-mode-cs1/index.html" %}
276+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-normal-mode-cs1" %}
277277

278278
## Strikethrough text programmatically
279279

280-
Programmatically add strikethrough using the [addAnnotation](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/annotation/#addannotation) method.
280+
Programmatically add strikethrough using the [addAnnotation](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/annotation#addannotation) method.
281281

282282
Example:
283283

@@ -363,7 +363,7 @@ N> To set up the **server-backed PDF Viewer**,
363363
Add the below `serviceUrl` in the `index.html` file
364364
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
365365

366-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-mode-cs1/index.html" %}
366+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-mode-cs1" %}
367367

368368
Refer to the following code snippet to switch back to normal mode from squiggly mode.
369369

@@ -377,11 +377,11 @@ N> To set up the **server-backed PDF Viewer**,
377377
Add the below `serviceUrl` in the `index.html` file
378378
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
379379

380-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-normal-mode-cs1/index.html" %}
380+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-normal-mode-cs1" %}
381381

382382
## Add squiggly to text programmatically
383383

384-
Programmatically add squiggly using the [addAnnotation](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/annotation/#addannotation) method.
384+
Programmatically add squiggly using the [addAnnotation](https://ej2.syncfusion.com/javascript/documentation/api/pdfviewer/annotation#addannotation) method.
385385

386386
Example:
387387

@@ -531,7 +531,7 @@ N> To set up the **server-backed PDF Viewer**,
531531
Add the below `serviceUrl` in the `index.html` file
532532
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
533533

534-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/undo-redo-cs1/index.html" %}
534+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/undo-redo-cs1" %}
535535

536536
## Save text markup annotations
537537

Document-Processing/PDF/PDF-Viewer/javascript-es5/form-designer/create-programmatically.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Use the addFormField method to add form fields programmatically. Pass the form f
3737
N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in the `index.html` file:
3838
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
3939

40-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/addformfield-cs1/index.html" %}
40+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/addformfield-cs1" %}
4141

4242
## Edit/Update form field programmatically
4343

@@ -55,7 +55,7 @@ Use the updateFormField method to modify a form field programmatically. Retrieve
5555
N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in the `index.html` file:
5656
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
5757

58-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/updateformfield-cs1/index.html" %}
58+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/updateformfield-cs1" %}
5959

6060
## Delete form field programmatically
6161

@@ -73,7 +73,7 @@ Use the deleteFormField method to remove a form field programmatically. Retrieve
7373
N> To configure the server-backed PDF Viewer, add the following `serviceUrl` in the `index.html` file:
7474
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
7575

76-
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/deleteformfield-cs1/index.html" %}
76+
{% previewsample "/document-processing/code-snippet/pdfviewer/javascript-es5/deleteformfield-cs1" %}
7777

7878
## Saving the form fields
7979

@@ -1238,7 +1238,7 @@ pdfviewer.listBoxFieldSettings = {
12381238

12391239
### DropDown field settings
12401240

1241-
Using the [updateFormField](https://ej2.syncfusion.com/documentation/api/pdfviewer/#updateformfields) method, the form fields can be updated programmatically.
1241+
Using the [updateFormField](https://ej2.syncfusion.com/documentation/api/pdfviewer#updateformfields) method, the form fields can be updated programmatically.
12421242

12431243
The following example updates DropDown field properties on a button click.
12441244

0 commit comments

Comments
 (0)