Skip to content

Commit 7d820e6

Browse files
Merge pull request #1380 from syncfusion-content/EJ2-980734-Preview
980734: Updated preview sample path
2 parents 334837d + 551cf2c commit 7d820e6

File tree

390 files changed

+2877
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

390 files changed

+2877
-285
lines changed

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
@@ -95,7 +95,7 @@ Add the below serviceUrl in the `app.component.ts` file
9595
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
9696
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
9797

98-
{% previewsample "page.domainurl/samples/pdfviewer/anagular/addformfield-cs1" %}
98+
{% previewsample "Document-Processing/samples/pdfviewer/anagular/addformfield-cs1/index.html" %}
9999

100100
## Edit/Update form field programmatically
101101

@@ -172,7 +172,7 @@ Add the below serviceUrl in the `app.component.ts` file
172172
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
173173
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
174174

175-
{% previewsample "page.domainurl/samples/pdfviewer/angular/updateformfield-cs1" %}
175+
{% previewsample "Document-Processing/samples/pdfviewer/angular/updateformfield-cs1/index.html" %}
176176

177177
## Delete form field programmatically
178178

@@ -249,7 +249,7 @@ Add the below serviceUrl in the `app.component.ts` file
249249
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
250250
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
251251

252-
{% previewsample "page.domainurl/samples/pdfviewer/angular/deleteformfield-cs1" %}
252+
{% previewsample "Document-Processing/samples/pdfviewer/angular/deleteformfield-cs1/index.html" %}
253253

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

Document-Processing/PDF/PDF-Viewer/angular/formdesigner/programmatically-work-with-form-field.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Using addFormField method, the form fields can be added to the PDF document prog
3535
{% endhighlight %}
3636
{% endtabs %}
3737

38-
{% previewsample "page.domainurl/samples/pdfviewer/angular/addformfield-cs2" %}
38+
{% previewsample "Document-Processing/samples/pdfviewer/angular/addformfield-cs2/index.html" %}
3939

4040
## Edit/Update form field programmatically
4141

@@ -51,7 +51,7 @@ Using updateFormField method, Form Field can be updated programmatically. We sho
5151
{% endhighlight %}
5252
{% endtabs %}
5353

54-
{% previewsample "page.domainurl/samples/pdfviewer/angular/updateformfield-cs2" %}
54+
{% previewsample "Document-Processing/samples/pdfviewer/angular/updateformfield-cs2/index.html" %}
5555

5656
## Delete form field programmatically
5757

@@ -67,7 +67,7 @@ Using deleteFormField method, the form field can be deleted programmatically. We
6767
{% endhighlight %}
6868
{% endtabs %}
6969

70-
{% previewsample "page.domainurl/samples/pdfviewer/angular/deleteformfield-cs2" %}
70+
{% previewsample "Document-Processing/samples/pdfviewer/angular/deleteformfield-cs2/index.html" %}
7171

7272
## Saving the form fields
7373

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
@@ -154,7 +154,7 @@ platformBrowserDynamic().bootstrapModule(AppModule)
154154

155155
```
156156

157-
{% previewsample "page.domainurl/samples/pdfviewer/angular/getting-started-cs1" %}
157+
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1/index.html" %}
158158

159159
> 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)
160160

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

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

217-
{% previewsample "page.domainurl/samples/pdfviewer/angular/getting-started-cs1-standalone" %}
217+
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1-standalone/index.html" %}
218218

219219
[View sample in GitHub](https://github.com/SyncfusionExamples/angular-pdf-viewer-examples/tree/master/Getting%20started%20-%20Standalone).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,6 @@ Add the below serviceUrl in the `app.component.ts` file
226226
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
227227
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
228228

229-
{% previewsample "page.domainurl/samples/pdfviewer/angular/custom-context-menu" %}
229+
{% previewsample "Document-Processing/samples/pdfviewer/angular/custom-context-menu/index.html" %}
230230

231231
[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: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,29 @@ Refer to the following code snippet to switch to highlight mode.
4040

4141
{% tabs %}
4242
{% highlight html tabtitle="index.html" %}
43-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-mode-cs1/js/index.html %}
43+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-mode-cs1/index.html %}
4444
{% endhighlight %}
4545
{% endtabs %}
4646

4747
N> To set up the **server-backed PDF Viewer**,
4848
Add the below [serviceUrl](https://ej2.syncfusion.com/documentation/api/pdfviewer/#serviceurl) in the `index.html` file
4949
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
5050

51-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-mode-cs1" %}
51+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-mode-cs1/index.html" %}
5252

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

5555
{% tabs %}
5656
{% highlight html tabtitle="index.html" %}
57-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-normal-mode-cs1/js/index.html %}
57+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-normal-mode-cs1/index.html %}
5858
{% endhighlight %}
5959
{% endtabs %}
6060

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

65-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-normal-mode-cs1" %}
65+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/highlight-normal-mode-cs1/index.html" %}
6666

6767
## Highlight a text programmatically
6868

@@ -144,30 +144,30 @@ Refer to the following code snippet to switch to underline mode.
144144

145145
{% tabs %}
146146
{% highlight html tabtitle="index.html" %}
147-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-mode-cs1/js/index.html %}
147+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-mode-cs1/index.html %}
148148
{% endhighlight %}
149149
{% endtabs %}
150150

151151
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 "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-mode-cs1" %}
155+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-mode-cs1/index.html" %}
156156

157157

158158
Refer to the following code snippet to switch back to normal mode from underline mode.
159159

160160
{% tabs %}
161161
{% highlight html tabtitle="index.html" %}
162-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-normal-mode-cs1/js/index.html %}
162+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-normal-mode-cs1/index.html %}
163163
{% endhighlight %}
164164
{% endtabs %}
165165

166166
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 "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-normal-mode-cs1" %}
170+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/underline-normal-mode-cs1/index.html" %}
171171

172172
## Underline a text programmatically
173173

@@ -250,29 +250,29 @@ Refer to the following code snippet to switch to strikethrough mode.
250250

251251
{% tabs %}
252252
{% highlight html tabtitle="index.html" %}
253-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-mode-cs1/js/index.html %}
253+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-mode-cs1/index.html %}
254254
{% endhighlight %}
255255
{% endtabs %}
256256

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

261-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-mode-cs1" %}
261+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-mode-cs1/index.html" %}
262262

263263
Refer to the following code snippet to switch back to normal mode from underline mode.
264264

265265
{% tabs %}
266266
{% highlight html tabtitle="index.html" %}
267-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-normal-mode-cs1/js/index.html %}
267+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-normal-mode-cs1/index.html %}
268268
{% endhighlight %}
269269
{% endtabs %}
270270

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

275-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-normal-mode-cs1" %}
275+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/strikethrough-normal-mode-cs1/index.html" %}
276276

277277
## Strikethrough a text programmatically
278278

@@ -354,29 +354,29 @@ Refer to the following code snippet to switch to squiggly mode.
354354

355355
{% tabs %}
356356
{% highlight html tabtitle="index.html" %}
357-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-mode-cs1/js/index.html %}
357+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-mode-cs1/index.html %}
358358
{% endhighlight %}
359359
{% endtabs %}
360360

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

365-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-mode-cs1" %}
365+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-mode-cs1/index.html" %}
366366

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

369369
{% tabs %}
370370
{% highlight html tabtitle="index.html" %}
371-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-normal-mode-cs1/js/index.html %}
371+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-normal-mode-cs1/index.html %}
372372
{% endhighlight %}
373373
{% endtabs %}
374374

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

379-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-normal-mode-cs1" %}
379+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/squiggly-normal-mode-cs1/index.html" %}
380380

381381
## Squiggly a text programmatically
382382

@@ -522,11 +522,11 @@ Refer to the following code snippet for calling undo and redo actions from the c
522522

523523
{% tabs %}
524524
{% highlight html tabtitle="index.html" %}
525-
{% include code-snippet/pdfviewer/javascript/es5-text-markup-annotation/undo-redo-cs1/js/index.html %}
525+
{% include code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/undo-redo-cs1/index.html %}
526526
{% endhighlight %}
527527
{% endtabs %}
528528

529-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/undo-redo-cs1" %}
529+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/es5-text-markup-annotation/undo-redo-cs1/index.html" %}
530530

531531
## Saving the text markup annotation
532532

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,56 +28,56 @@ Using addFormField method, the form fields can be added to the PDF document prog
2828

2929
{% tabs %}
3030
{% highlight js tabtitle="index.js" %}
31-
{% include code-snippet/pdfviewer/javascript/addformfield-cs1/index.js %}
31+
{% include code-snippet/pdfviewer/javascript-es5/addformfield-cs1/index.js %}
3232
{% endhighlight %}
3333
{% highlight html tabtitle="index.html" %}
34-
{% include code-snippet/pdfviewer/javascript/addformfield-cs1/js/index.html %}
34+
{% include code-snippet/pdfviewer/javascript-es5/addformfield-cs1/index.html %}
3535
{% endhighlight %}
3636
{% endtabs %}
3737

3838
N> To set up the **server-backed PDF Viewer**,
3939
Add the below `serviceUrl` in the `index.html` file
4040
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
4141

42-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/addformfield-cs1" %}
42+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/addformfield-cs1/index.html" %}
4343

4444
## Edit/Update form field programmatically
4545

4646
Using updateFormField method, Form Field can be updated programmatically. We should get the Form Field object/Id from FormFieldCollections property that you would like to edit and pass it as a parameter to updateFormField method. The second parameter should be the properties that you would like to update for Form Field programmatically. We have updated the value and background Color properties of Textbox Form Field.
4747

4848
{% tabs %}
4949
{% highlight js tabtitle="index.js" %}
50-
{% include code-snippet/pdfviewer/javascript/updateformfield-cs1/index.js %}
50+
{% include code-snippet/pdfviewer/javascript-es5/updateformfield-cs1/index.js %}
5151
{% endhighlight %}
5252
{% highlight html tabtitle="index.html" %}
53-
{% include code-snippet/pdfviewer/javascript/updateformfield-cs1/js/index.html %}
53+
{% include code-snippet/pdfviewer/javascript-es5/updateformfield-cs1/index.html %}
5454
{% endhighlight %}
5555
{% endtabs %}
5656

5757
N> To set up the **server-backed PDF Viewer**,
5858
Add the below `serviceUrl` in the `index.html` file
5959
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
6060

61-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/updateformfield-cs1" %}
61+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/updateformfield-cs1/index.html" %}
6262

6363
## Delete form field programmatically
6464

6565
Using deleteFormField method, the form field can be deleted programmatically. We should retrieve the Form Field object/Id from FormFieldCollections property that you would like to delete and pass it as a parameter to deleteFormField method. To delete a Form Field programmatically, use the following code.
6666

6767
{% tabs %}
6868
{% highlight js tabtitle="index.js" %}
69-
{% include code-snippet/pdfviewer/javascript/deleteformfield-cs1/index.js %}
69+
{% include code-snippet/pdfviewer/javascript-es5/deleteformfield-cs1/index.js %}
7070
{% endhighlight %}
7171
{% highlight html tabtitle="index.html" %}
72-
{% include code-snippet/pdfviewer/javascript/deleteformfield-cs1/js/index.html %}
72+
{% include code-snippet/pdfviewer/javascript-es5/deleteformfield-cs1/index.html %}
7373
{% endhighlight %}
7474
{% endtabs %}
7575

7676
N> To set up the **server-backed PDF Viewer**,
7777
Add the below `serviceUrl` in the `index.html` file
7878
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
7979

80-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/deleteformfield-cs1" %}
80+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript-es5/deleteformfield-cs1/index.html" %}
8181

8282
## Saving the form fields
8383

0 commit comments

Comments
 (0)