@syncfusion/ej2-angular-pdfviewer 31.2.13 → 31.2.15-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/@syncfusion/ej2-angular-pdfviewer.es5.js +279 -0
  2. package/@syncfusion/ej2-angular-pdfviewer.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-pdfviewer.js +260 -0
  4. package/@syncfusion/ej2-angular-pdfviewer.js.map +1 -0
  5. package/LICENSE +10 -0
  6. package/README.md +101 -105
  7. package/dist/ej2-angular-pdfviewer.umd.js +522 -0
  8. package/dist/ej2-angular-pdfviewer.umd.js.map +1 -0
  9. package/dist/ej2-angular-pdfviewer.umd.min.js +11 -0
  10. package/dist/ej2-angular-pdfviewer.umd.min.js.map +1 -0
  11. package/ej2-angular-pdfviewer.d.ts +5 -0
  12. package/ej2-angular-pdfviewer.metadata.json +1 -0
  13. package/package.json +8 -21
  14. package/public_api.d.ts +1 -1
  15. package/schematics/collection.json +10 -14
  16. package/schematics/ng-add/index.js +1 -1
  17. package/schematics/ng-add/index.ts +10 -10
  18. package/schematics/ng-add/schema.json +34 -34
  19. package/schematics/ng-add/schema.ts +30 -30
  20. package/schematics/tsconfig.json +25 -25
  21. package/schematics/utils/lib-details.d.ts +4 -4
  22. package/schematics/utils/lib-details.js +4 -5
  23. package/schematics/utils/lib-details.ts +4 -4
  24. package/src/index.d.ts +4 -7
  25. package/src/pdfviewer/pdfviewer-all.module.d.ts +19 -0
  26. package/src/pdfviewer/pdfviewer.component.d.ts +105 -0
  27. package/src/pdfviewer/pdfviewer.module.d.ts +5 -0
  28. package/styles/bds-lite.css +1 -1
  29. package/styles/bds-lite.scss +1 -1
  30. package/styles/bds.css +1 -1
  31. package/styles/bds.scss +1 -2
  32. package/styles/bootstrap-dark-lite.css +1 -1
  33. package/styles/bootstrap-dark-lite.scss +1 -1
  34. package/styles/bootstrap-dark.css +1 -1
  35. package/styles/bootstrap-dark.scss +1 -2
  36. package/styles/bootstrap-lite.css +1 -1
  37. package/styles/bootstrap-lite.scss +1 -1
  38. package/styles/bootstrap.css +1 -1
  39. package/styles/bootstrap.scss +1 -2
  40. package/styles/bootstrap4-lite.css +1 -1
  41. package/styles/bootstrap4-lite.scss +1 -1
  42. package/styles/bootstrap4.css +1 -1
  43. package/styles/bootstrap4.scss +1 -2
  44. package/styles/bootstrap5-dark-lite.css +1 -1
  45. package/styles/bootstrap5-dark-lite.scss +1 -1
  46. package/styles/bootstrap5-dark.css +1 -1
  47. package/styles/bootstrap5-dark.scss +1 -2
  48. package/styles/bootstrap5-lite.css +1 -1
  49. package/styles/bootstrap5-lite.scss +1 -1
  50. package/styles/bootstrap5.3-lite.css +1 -1
  51. package/styles/bootstrap5.3-lite.scss +1 -1
  52. package/styles/bootstrap5.3.css +1 -1
  53. package/styles/bootstrap5.3.scss +1 -2
  54. package/styles/bootstrap5.css +1 -1
  55. package/styles/bootstrap5.scss +1 -2
  56. package/styles/fabric-dark-lite.css +1 -1
  57. package/styles/fabric-dark-lite.scss +1 -1
  58. package/styles/fabric-dark.css +1 -1
  59. package/styles/fabric-dark.scss +1 -2
  60. package/styles/fabric-lite.css +1 -1
  61. package/styles/fabric-lite.scss +1 -1
  62. package/styles/fabric.css +1 -1
  63. package/styles/fabric.scss +1 -2
  64. package/styles/fluent-dark-lite.css +1 -1
  65. package/styles/fluent-dark-lite.scss +1 -1
  66. package/styles/fluent-dark.css +1 -1
  67. package/styles/fluent-dark.scss +1 -2
  68. package/styles/fluent-lite.css +1 -1
  69. package/styles/fluent-lite.scss +1 -1
  70. package/styles/fluent.css +1 -1
  71. package/styles/fluent.scss +1 -2
  72. package/styles/fluent2-lite.css +1 -1
  73. package/styles/fluent2-lite.scss +1 -1
  74. package/styles/fluent2.css +1 -1
  75. package/styles/fluent2.scss +1 -2
  76. package/styles/highcontrast-light-lite.css +1 -1
  77. package/styles/highcontrast-light-lite.scss +1 -1
  78. package/styles/highcontrast-light.css +1 -1
  79. package/styles/highcontrast-light.scss +1 -2
  80. package/styles/highcontrast-lite.css +1 -1
  81. package/styles/highcontrast-lite.scss +1 -1
  82. package/styles/highcontrast.css +1 -1
  83. package/styles/highcontrast.scss +1 -2
  84. package/styles/material-dark-lite.css +1 -1
  85. package/styles/material-dark-lite.scss +1 -1
  86. package/styles/material-dark.css +1 -1
  87. package/styles/material-dark.scss +1 -2
  88. package/styles/material-lite.css +1 -1
  89. package/styles/material-lite.scss +1 -1
  90. package/styles/material.css +1 -1
  91. package/styles/material.scss +1 -2
  92. package/styles/material3-dark-lite.css +1 -1
  93. package/styles/material3-dark-lite.scss +1 -1
  94. package/styles/material3-dark.css +1 -1
  95. package/styles/material3-dark.scss +1 -2
  96. package/styles/material3-lite.css +1 -1
  97. package/styles/material3-lite.scss +1 -1
  98. package/styles/material3.css +1 -1
  99. package/styles/material3.scss +1 -2
  100. package/styles/pdfviewer/bds.css +1 -0
  101. package/styles/pdfviewer/bds.scss +1 -0
  102. package/styles/pdfviewer/bootstrap-dark.css +1 -0
  103. package/styles/pdfviewer/bootstrap-dark.scss +1 -0
  104. package/styles/pdfviewer/bootstrap.css +1 -0
  105. package/styles/pdfviewer/bootstrap.scss +1 -0
  106. package/styles/pdfviewer/bootstrap4.css +1 -0
  107. package/styles/pdfviewer/bootstrap4.scss +1 -0
  108. package/styles/pdfviewer/bootstrap5-dark.css +1 -0
  109. package/styles/pdfviewer/bootstrap5-dark.scss +1 -0
  110. package/styles/pdfviewer/bootstrap5.3.css +1 -0
  111. package/styles/pdfviewer/bootstrap5.3.scss +1 -0
  112. package/styles/pdfviewer/bootstrap5.css +1 -0
  113. package/styles/pdfviewer/bootstrap5.scss +1 -0
  114. package/styles/pdfviewer/fabric-dark.css +1 -0
  115. package/styles/pdfviewer/fabric-dark.scss +1 -0
  116. package/styles/pdfviewer/fabric.css +1 -0
  117. package/styles/pdfviewer/fabric.scss +1 -0
  118. package/styles/pdfviewer/fluent-dark.css +1 -0
  119. package/styles/pdfviewer/fluent-dark.scss +1 -0
  120. package/styles/pdfviewer/fluent.css +1 -0
  121. package/styles/pdfviewer/fluent.scss +1 -0
  122. package/styles/pdfviewer/fluent2.css +1 -0
  123. package/styles/pdfviewer/fluent2.scss +1 -0
  124. package/styles/pdfviewer/highcontrast-light.css +1 -0
  125. package/styles/pdfviewer/highcontrast-light.scss +1 -0
  126. package/styles/pdfviewer/highcontrast.css +1 -0
  127. package/styles/pdfviewer/highcontrast.scss +1 -0
  128. package/styles/pdfviewer/material-dark.css +1 -0
  129. package/styles/pdfviewer/material-dark.scss +1 -0
  130. package/styles/pdfviewer/material.css +1 -0
  131. package/styles/pdfviewer/material.scss +1 -0
  132. package/styles/pdfviewer/material3-dark.css +1 -0
  133. package/styles/pdfviewer/material3-dark.scss +2 -0
  134. package/styles/pdfviewer/material3.css +1 -0
  135. package/styles/pdfviewer/material3.scss +2 -0
  136. package/styles/pdfviewer/tailwind-dark.css +1 -0
  137. package/styles/pdfviewer/tailwind-dark.scss +1 -0
  138. package/styles/pdfviewer/tailwind.css +1 -0
  139. package/styles/pdfviewer/tailwind.scss +1 -0
  140. package/styles/pdfviewer/tailwind3.css +1 -0
  141. package/styles/pdfviewer/tailwind3.scss +1 -0
  142. package/styles/tailwind-dark-lite.css +1 -1
  143. package/styles/tailwind-dark-lite.scss +1 -1
  144. package/styles/tailwind-dark.css +1 -1
  145. package/styles/tailwind-dark.scss +1 -2
  146. package/styles/tailwind-lite.css +1 -1
  147. package/styles/tailwind-lite.scss +1 -1
  148. package/styles/tailwind.css +1 -1
  149. package/styles/tailwind.scss +1 -2
  150. package/styles/tailwind3-lite.css +1 -1
  151. package/styles/tailwind3-lite.scss +1 -1
  152. package/styles/tailwind3.css +1 -1
  153. package/styles/tailwind3.scss +1 -2
  154. package/CHANGELOG.md +0 -4938
  155. package/esm2020/public_api.mjs +0 -2
  156. package/esm2020/src/document-editor/documenteditor-all.module.mjs +0 -134
  157. package/esm2020/src/document-editor/documenteditor.component.mjs +0 -311
  158. package/esm2020/src/document-editor/documenteditor.module.mjs +0 -25
  159. package/esm2020/src/document-editor-container/documenteditorcontainer-all.module.mjs +0 -32
  160. package/esm2020/src/document-editor-container/documenteditorcontainer.component.mjs +0 -73
  161. package/esm2020/src/document-editor-container/documenteditorcontainer.module.mjs +0 -25
  162. package/esm2020/src/index.mjs +0 -8
  163. package/esm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -5
  164. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs +0 -584
  165. package/fesm2015/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  166. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs +0 -584
  167. package/fesm2020/syncfusion-ej2-angular-documenteditor.mjs.map +0 -1
  168. package/schematics/generators/documenteditorcontainer-default/index.d.ts +0 -3
  169. package/schematics/generators/documenteditorcontainer-default/index.js +0 -8
  170. package/schematics/generators/documenteditorcontainer-default/index.ts +0 -8
  171. package/schematics/generators/documenteditorcontainer-default/sample-details.d.ts +0 -5
  172. package/schematics/generators/documenteditorcontainer-default/sample-details.js +0 -8
  173. package/schematics/generators/documenteditorcontainer-default/sample-details.ts +0 -5
  174. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
  175. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
  176. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +0 -25
  177. package/schematics/generators/documenteditorcontainer-default/samples/__path__/__name@dasherize@if-flat__/assets/data.ts +0 -1423
  178. package/schematics/generators/documenteditorcontainer-default/schema.d.ts +0 -3
  179. package/schematics/generators/documenteditorcontainer-default/schema.js +0 -2
  180. package/schematics/generators/documenteditorcontainer-default/schema.json +0 -125
  181. package/schematics/generators/documenteditorcontainer-default/schema.ts +0 -3
  182. package/src/document-editor/documenteditor-all.module.d.ts +0 -48
  183. package/src/document-editor/documenteditor.component.d.ts +0 -58
  184. package/src/document-editor/documenteditor.module.d.ts +0 -11
  185. package/src/document-editor-container/documenteditorcontainer-all.module.d.ts +0 -14
  186. package/src/document-editor-container/documenteditorcontainer.component.d.ts +0 -48
  187. package/src/document-editor-container/documenteditorcontainer.module.d.ts +0 -11
  188. package/styles/document-editor/bds.css +0 -1
  189. package/styles/document-editor/bds.scss +0 -1
  190. package/styles/document-editor/bootstrap-dark.css +0 -1
  191. package/styles/document-editor/bootstrap-dark.scss +0 -1
  192. package/styles/document-editor/bootstrap.css +0 -1
  193. package/styles/document-editor/bootstrap.scss +0 -1
  194. package/styles/document-editor/bootstrap4.css +0 -1
  195. package/styles/document-editor/bootstrap4.scss +0 -1
  196. package/styles/document-editor/bootstrap5-dark.css +0 -1
  197. package/styles/document-editor/bootstrap5-dark.scss +0 -1
  198. package/styles/document-editor/bootstrap5.3.css +0 -1
  199. package/styles/document-editor/bootstrap5.3.scss +0 -1
  200. package/styles/document-editor/bootstrap5.css +0 -1
  201. package/styles/document-editor/bootstrap5.scss +0 -1
  202. package/styles/document-editor/fabric-dark.css +0 -1
  203. package/styles/document-editor/fabric-dark.scss +0 -1
  204. package/styles/document-editor/fabric.css +0 -1
  205. package/styles/document-editor/fabric.scss +0 -1
  206. package/styles/document-editor/fluent-dark.css +0 -1
  207. package/styles/document-editor/fluent-dark.scss +0 -1
  208. package/styles/document-editor/fluent.css +0 -1
  209. package/styles/document-editor/fluent.scss +0 -1
  210. package/styles/document-editor/fluent2.css +0 -1
  211. package/styles/document-editor/fluent2.scss +0 -1
  212. package/styles/document-editor/highcontrast-light.css +0 -1
  213. package/styles/document-editor/highcontrast-light.scss +0 -1
  214. package/styles/document-editor/highcontrast.css +0 -1
  215. package/styles/document-editor/highcontrast.scss +0 -1
  216. package/styles/document-editor/material-dark.css +0 -1
  217. package/styles/document-editor/material-dark.scss +0 -1
  218. package/styles/document-editor/material.css +0 -1
  219. package/styles/document-editor/material.scss +0 -1
  220. package/styles/document-editor/material3-dark.css +0 -1
  221. package/styles/document-editor/material3-dark.scss +0 -2
  222. package/styles/document-editor/material3.css +0 -1
  223. package/styles/document-editor/material3.scss +0 -2
  224. package/styles/document-editor/tailwind-dark.css +0 -1
  225. package/styles/document-editor/tailwind-dark.scss +0 -1
  226. package/styles/document-editor/tailwind.css +0 -1
  227. package/styles/document-editor/tailwind.scss +0 -1
  228. package/styles/document-editor/tailwind3.css +0 -1
  229. package/styles/document-editor/tailwind3.scss +0 -1
  230. package/styles/document-editor-container/bds.css +0 -1
  231. package/styles/document-editor-container/bds.scss +0 -1
  232. package/styles/document-editor-container/bootstrap-dark.css +0 -1
  233. package/styles/document-editor-container/bootstrap-dark.scss +0 -1
  234. package/styles/document-editor-container/bootstrap.css +0 -1
  235. package/styles/document-editor-container/bootstrap.scss +0 -1
  236. package/styles/document-editor-container/bootstrap4.css +0 -1
  237. package/styles/document-editor-container/bootstrap4.scss +0 -1
  238. package/styles/document-editor-container/bootstrap5-dark.css +0 -1
  239. package/styles/document-editor-container/bootstrap5-dark.scss +0 -1
  240. package/styles/document-editor-container/bootstrap5.3.css +0 -1
  241. package/styles/document-editor-container/bootstrap5.3.scss +0 -1
  242. package/styles/document-editor-container/bootstrap5.css +0 -1
  243. package/styles/document-editor-container/bootstrap5.scss +0 -1
  244. package/styles/document-editor-container/fabric-dark.css +0 -1
  245. package/styles/document-editor-container/fabric-dark.scss +0 -1
  246. package/styles/document-editor-container/fabric.css +0 -1
  247. package/styles/document-editor-container/fabric.scss +0 -1
  248. package/styles/document-editor-container/fluent-dark.css +0 -1
  249. package/styles/document-editor-container/fluent-dark.scss +0 -1
  250. package/styles/document-editor-container/fluent.css +0 -1
  251. package/styles/document-editor-container/fluent.scss +0 -1
  252. package/styles/document-editor-container/fluent2.css +0 -1
  253. package/styles/document-editor-container/fluent2.scss +0 -1
  254. package/styles/document-editor-container/highcontrast-light.css +0 -1
  255. package/styles/document-editor-container/highcontrast-light.scss +0 -1
  256. package/styles/document-editor-container/highcontrast.css +0 -1
  257. package/styles/document-editor-container/highcontrast.scss +0 -1
  258. package/styles/document-editor-container/material-dark.css +0 -1
  259. package/styles/document-editor-container/material-dark.scss +0 -1
  260. package/styles/document-editor-container/material.css +0 -1
  261. package/styles/document-editor-container/material.scss +0 -1
  262. package/styles/document-editor-container/material3-dark.css +0 -1
  263. package/styles/document-editor-container/material3-dark.scss +0 -2
  264. package/styles/document-editor-container/material3.css +0 -1
  265. package/styles/document-editor-container/material3.scss +0 -2
  266. package/styles/document-editor-container/tailwind-dark.css +0 -1
  267. package/styles/document-editor-container/tailwind-dark.scss +0 -1
  268. package/styles/document-editor-container/tailwind.css +0 -1
  269. package/styles/document-editor-container/tailwind.scss +0 -1
  270. package/styles/document-editor-container/tailwind3.css +0 -1
  271. package/styles/document-editor-container/tailwind3.scss +0 -1
  272. package/syncfusion-ej2-angular-documenteditor.d.ts +0 -5
package/README.md CHANGED
@@ -1,25 +1,21 @@
1
- # Angular DOCX Editor Component
1
+ # Angular PDF Viewer Component
2
2
 
3
- The [Angular DOCX Editor](https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) component is a feature rich UI component with document editing capabilities like Microsoft Word. Also known as the document editor, it is used to create, edit, view, and print Word documents. It provides all the common Word processing features including editing text, formatting content, resizing images and tables, finding and replacing text, bookmarks, tables of contents, track changes, commenting, restrict editing, printing, importing and exporting Word documents.
4
-
5
- An example [DOCX Editor server-side Web API projects for ASP.NET MVC, ASP.NET Core, and Java is available in GitHub](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) which contains all the mandatory Web APIs for opening Word documents, paste with formatting, restrict editing, spell-checking, and saving documents other than SFDT/DOCX format. Apart from these operations, all the user interactions and editing operations run purely in the client-side provides much faster editing experience to the users.
6
-
7
- Syncfusion provides a predefined [DOCX Editor server docker image](https://hub.docker.com/r/syncfusion/word-processor-server?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) targeting ASP.NET Core 2.1 framework. You can directly pull this docker image and deploy it in server on the go. You can also create own docker image by customizing the existing [docker project from GitHub](https://github.com/SyncfusionExamples/Word-Processor-Server-Docker?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm).
3
+ The Syncfusion® [Angular PDF Viewer](https://www.syncfusion.com/angular-ui-components/angular-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm) component enables you to view, annotate, prepare and fill forms, and print PDF files from your web applications.
8
4
 
9
5
  <p align="center">
10
- <a href="https://help.syncfusion.com/document-processing/word/word-processor/angular/getting-started?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm">Getting Started</a> .
11
- <a href="https://document.syncfusion.com/demos/docx-editor/angular/#/tailwind3/document-editor/default?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#">Online demos</a> .
12
- <a href="https://www.syncfusion.com/docx-editor-sdk/angular-docx-editor?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm">Learn more</a>
6
+ <a href="https://ej2.syncfusion.com/angular/documentation/pdfviewer/getting-started/?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm">Getting started</a> .
7
+ <a href="https://ej2.syncfusion.com/angular/demos/?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm#/fluent2/pdfviewer/default">Online demos</a> .
8
+ <a href="https://www.syncfusion.com/angular-components/angular-pdf-viewer?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm">Learn more</a>
13
9
  </p>
14
10
 
15
11
  <p align="center">
16
- <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/angular/angular-word-processor.png" alt="Angular DOCX Editor Component">
12
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/angular/angular-pdf-viewer.png" alt="Angular PDF Viewer Component"/>
17
13
  </p>
18
14
 
19
15
  <p align="center">
20
16
  Trusted by the world's leading companies
21
17
  <a href="https://www.syncfusion.com">
22
- <img src="https://ej2.syncfusion.com/home/images/trusted_companies.png" alt="Bootstrap logo">
18
+ <img src="https://raw.githubusercontent.com/SyncfusionExamples/nuget-img/master/syncfusion/syncfusion-trusted-companies.webp" alt="Bootstrap logo">
23
19
  </a>
24
20
  </p>
25
21
 
@@ -27,147 +23,147 @@ Trusted by the world's leading companies
27
23
 
28
24
  ### Create an Angular Application
29
25
 
30
- To create an example **Angular** app use the following commands.
26
+ You can use [Angular CLI](https://github.com/angular/angular-cli) to setup your Angular applications. To install the Angular CLI, use the following command.
31
27
 
32
28
  ```bash
33
- git clone https://github.com/angular/quickstart.git quickstart
34
- cd quickstart
35
- npm install
29
+ npm install -g @angular/cli
36
30
  ```
37
31
 
38
- ### Adding Syncfusion DOCX Editor package
39
-
40
- All Syncfusion Angular packages are published in [npmjs.com](https://www.npmjs.com/~syncfusionorg) registry. To install Angular Document editor package, use the following command.
32
+ Create a new Angular application using the following Angular CLI command.
41
33
 
42
34
  ```bash
43
- npm install @syncfusion/ej2-angular-documenteditor --save
35
+ ng new my-app
36
+ cd my-app
44
37
  ```
45
38
 
46
- ### Adding CSS references for DOCX Editor
39
+ ### Adding Syncfusion&reg; PDF Viewer package
47
40
 
48
- Add CSS references needed for Document editor in the **src/styles/styles.css** file.
41
+ All Syncfusion&reg; Angular packages are available in [npmjs.com](https://www.npmjs.com/~syncfusionorg). To install the Angular PDF Viewer package, use the following command.
49
42
 
50
- ```html
51
- @import '../../node_modules/@syncfusion/ej2-base/styles/material.css';
52
- @import '../../node_modules/@syncfusion/ej2-buttons/styles/material.css';
53
- @import '../../node_modules/@syncfusion/ej2-inputs/styles/material.css';
54
- @import '../../node_modules/@syncfusion/ej2-popups/styles/material.css';
55
- @import '../../node_modules/@syncfusion/ej2-lists/styles/material.css';
56
- @import '../../node_modules/@syncfusion/ej2-navigations/styles/material.css';
57
- @import '../../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
58
- @import '../../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
59
- @import '../../node_modules/@syncfusion/ej2-angular-documenteditor/styles/material.css';
43
+ ```bash
44
+ ng add @syncfusion/ej2-angular-pdfviewer
60
45
  ```
61
46
 
62
- ### Registering DocumentEditorContainer module
47
+ The above command does the below configuration to your Angular app.
63
48
 
64
- Import DocumentEditorContainer module into Angular application(app.module.ts) from the package @syncfusion/ej2-angular-documenteditor [src/app/app.module.ts].
49
+ * Adds `@syncfusion/ej2-angular-pdfviewer` package and its peer dependencies to your `package.json` file.
50
+ * Imports the `PdfViewerModule` in your application module `app.module.ts`.
51
+ * Registers the Syncfusion&reg; UI default theme (material) in the `angular.json` file.
65
52
 
66
- ```typescript
67
- import { NgModule } from '@angular/core';
68
- import { BrowserModule } from '@angular/platform-browser';
69
- import { DocumentEditorContainerModule } from '@syncfusion/ej2-angular-documenteditor';
70
- import { AppComponent } from './default.component';
71
-
72
- /**
73
- * Module
74
- */
75
- @NgModule({
76
- imports: [
77
- BrowserModule,
78
- DocumentEditorContainerModule
79
- ],
80
- declarations: [AppComponent],
81
- bootstrap: [AppComponent]
82
- })
83
- export class AppModule { }
53
+ This makes it easy to add the Syncfusion&reg; Angular PDF Viewer module to your project and start using it in your application.
54
+
55
+ ### Adding CSS references for PDF Viewer
56
+
57
+ Add CSS references needed for a PDF Viewer in **src/styles.css** from the **../node_modules/@syncfusion** package folder.
58
+
59
+ ```css
60
+ @import '../node_modules/@syncfusion/ej2-base/styles/material.css';
61
+ @import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
62
+ @import '../node_modules/@syncfusion/ej2-inputs/styles/material.css';
63
+ @import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
64
+ @import '../node_modules/@syncfusion/ej2-lists/styles/material.css';
65
+ @import '../node_modules/@syncfusion/ej2-navigations/styles/material.css';
66
+ @import '../node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
67
+ @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
68
+ @import '../node_modules/@syncfusion/ej2-notifications/styles/material.css';
69
+ @import "../node_modules/@syncfusion/ej2-angular-pdfviewer/styles/material.css";
84
70
  ```
85
71
 
86
- ## Add DOCX Editor component
72
+ ### Add PDF Viewer component
87
73
 
88
- Modify the template in [src/app/app.component.ts] file to render the Document Editor component.
89
- Add the Angular Document Editor by using <ejs-documenteditorcontainer> selector in template section of the **app.component.ts** file.
74
+ In **src/app/app.component.ts**, use `<ejs-pdfviewer>` selector in the `template` attribute of the `@Component` directive to render the Syncfusion&reg; Angular PDF Viewer component.
90
75
 
91
76
  ```typescript
92
- import { Component, OnInit } from '@angular/core';
93
- import { ToolbarService } from '@syncfusion/ej2-angular-documenteditor';
77
+ import { Component, ViewEncapsulation, OnInit } from '@angular/core';
78
+ import {
79
+ PdfViewerComponent,
80
+ LinkAnnotationService,
81
+ BookmarkViewService,
82
+ MagnificationService,
83
+ ThumbnailViewService,
84
+ ToolbarService,
85
+ NavigationService,
86
+ TextSearchService,
87
+ TextSelectionService,
88
+ PrintService,
89
+ AnnotationService,
90
+ FormFieldsService,
91
+ FormDesignerService
92
+ } from '@syncfusion/ej2-angular-pdfviewer';
94
93
 
95
94
  @Component({
96
- selector: 'app-container',
97
- // specifies the template string for the DocumentEditorContainer component
98
- template: `<ejs-documenteditorcontainer serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/" [enableToolbar]=true> </ejs-documenteditorcontainer>`,
99
- providers: [ToolbarService]
95
+ selector: 'app-root',
96
+ template: `<div class="content-wrapper">
97
+ <ejs-pdfviewer id="pdfViewer"
98
+ [serviceUrl]='service'
99
+ [documentPath]='document'
100
+ style="height:640px;display:block">
101
+ </ejs-pdfviewer>
102
+ </div>`,
103
+ encapsulation: ViewEncapsulation.None,
104
+ providers: [
105
+ LinkAnnotationService,
106
+ BookmarkViewService,
107
+ MagnificationService,
108
+ ThumbnailViewService,
109
+ ToolbarService,
110
+ NavigationService,
111
+ TextSearchService,
112
+ TextSelectionService,
113
+ PrintService,
114
+ AnnotationService,
115
+ FormFieldsService,
116
+ FormDesignerService
117
+ ],
100
118
  })
101
119
  export class AppComponent implements OnInit {
102
-
103
- ngOnInit(): void {
104
- }
120
+ public service: string =
121
+ 'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
122
+ public document: string = 'PDF_Succinctly.pdf';
123
+ ngOnInit(): void {
124
+ }
105
125
  }
106
126
  ```
107
127
 
108
- > The web API ('https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/') is created specifically for our online demos. You should host web API on your side, refer the [web service documentation](https://help.syncfusion.com/document-processing/word/word-processor/angular/web-services/core?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) for more information.
109
-
110
128
  ## Supported frameworks
111
129
 
112
- The Angular DOCX Editor (Document Editor) component is also offered in the following list of frameworks.
130
+ PDF Viewer component is also offered in the following list of frameworks.
113
131
 
114
- | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/docx-editor-sdk/javascript-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/docx-editor-sdk/react-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/docx-editor-sdk/vue-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/docx-editor-sdk/asp-net-core-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/docx-editor-sdk/asp-net-mvc-docx-editor?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/docx-editor-sdk/asp-net-mvc-docx-editor?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
132
+ | [<img src="https://ej2.syncfusion.com/github/images/js.svg" height="50" />](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/react.svg" height="50" />](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[React](https://www.syncfusion.com/react-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/vue.svg" height="50" />](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Vue](https://www.syncfusion.com/vue-ui-components?utm_medium=listing&utm_source=github)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netcore.svg" height="50" />](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; | [<img src="https://ej2.syncfusion.com/github/images/netmvc.svg" height="50" />](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)<br/>&nbsp;&nbsp;[ASP.NET&nbsp;MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_medium=listing&utm_source=github)&nbsp;&nbsp; |
115
133
  | :-----: | :-----: | :-----: | :-----: | :-----: |
116
134
 
117
- ## Showcase samples
118
-
119
- * Expense Tracker - [Source](https://github.com/syncfusion/ej2-showcase-angular-expensetracker?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/expensetracker/#/dashboard?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
120
- * Loan Calculator - [Source](https://github.com/syncfusion/ej2-sample-ng-loancalculator?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm), [Live Demo](https://ej2.syncfusion.com/showcase/angular/loancalculator/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
121
- * Fitness Tracker - [Source](https://github.com/SyncfusionExamples/showcase-angular-health-tracker-dashboard-demo), [Live Demo](https://ej2.syncfusion.com/showcase/angular/fitness-tracker-app/)
122
-
123
135
  ## Key features
124
136
 
125
- * [Document Authoring](https://document.syncfusion.com/demos/docx-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#/tailwind3/document-editor/default) - Allows to create a document with supported elements and formatting options.
126
- * Supported elements - Supports document elements like text, inline image, table, hyperlink, fields, bookmark, table of contents, footnote and endnote, section, header, and footer.
127
- * Styles - Supports character and paragraph styles.
128
- * Editing - Supports all the common editing and formatting operations.
129
- * History - Supports options to perform undo redo operations.
130
- * Find and replace - Provides support to find and replace text within the document.
131
- * [Track changes](https://document.syncfusion.com/demos/docx-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#/tailwind3/document-editor/track-changes) - Suppports tracking the content insertion and deletion.
132
- * [Commenting](https://document.syncfusion.com/demos/docx-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#/tailwind3/document-editor/comments) - Supports adding a comment, replying to an existing comment or mark as resolved and more.
133
- * [Form filling](https://document.syncfusion.com/demos/docx-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#/tailwind3/document-editor/form-fields) - Supports designing fillable forms in Word document and fill the forms.
134
- * [Restrict editng](https://document.syncfusion.com/demos/docx-editor/angular/?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm#/tailwind3/document-editor/document-protection) - Supports restricting edit permission for a region in Word document and control what type of changes can be made to the document .
135
- * Export - Provides the options to export the documents in the client-side as `Syncfusion Document Text (*.sfdt)` and `Word document (*.docx)`. With server-side library, exporting as other formats can be achieved.
136
- * Import - Provides the options to import the native `Syncfusion Document Text (*.sfdt)` format documents in the client-side. With server-side library, importing other formats can be achieved.
137
- * Print - Provides the options to print the documents.
138
- * Clipboard - Provides support to cut, copy, and paste rich text contents within the component. Also allows pasting simple text from other applications. Paste rich text from other applications using server-side library.
139
- * User interface - Provides intuitive user friendly interface to perform various operations.
140
- * Context menu - Provides context menu.
141
- * Dialog - Provides dialog for inserting elements such as hyperlink, table and formatting such as font, paragraph, list, style, table.
142
- * Options pane - Provides options pane to perform find and replace operations.
143
-
144
- ## Resources
145
-
146
- * [Theme Studio](https://ej2.syncfusion.com/themestudio/)
147
- * [What's New](https://www.syncfusion.com/products/whatsnew/docx-editor-sdk?utm_medium=listing&utm_source=github)
148
- * [Road Map](https://www.syncfusion.com/products/roadmap/docx-editor-sdk)
149
- * [E-Books](https://www.syncfusion.com/succinctly-free-ebooks?searchkey=angular&type=all)
137
+ * [View PDF Document](https://ej2.syncfusion.com/angular/documentation/pdfviewer/getting-started/) - Open and display both the normal and the protected PDF files with AES and RC4 encryption.
138
+ * [Annotations](https://ej2.syncfusion.com/angular/documentation/pdfviewer/annotation/text-markup-annotation/) - Annotate with text markup, shapes, stamps, ink, and sticky notes.
139
+ * [Form Fields](https://ej2.syncfusion.com/angular/documentation/pdfviewer/form-designer/create-fillable-PDF-forms/create-programmatically/) - Form filling and form designing can be done.
140
+ * [Signature](https://ej2.syncfusion.com/angular/documentation/pdfviewer/handwritten-signature/) - Hand-written and digital signatures are allowed.
141
+ * [Toolbar](https://ej2.syncfusion.com/angular/documentation/pdfviewer/toolbar/) - Built-in-toolbar and custom toolbars to perform user interaction of PDF Viewer functionalities.
142
+ * [Navigation](https://ej2.syncfusion.com/angular/documentation/pdfviewer/navigation/) - Easy navigation with the help of bookmarks, thumbnails, hyperlinks, and table of contents.
143
+ * [Magnification](https://ej2.syncfusion.com/angular/documentation/pdfviewer/magnification/) - Fit to page, fit to width, and automatic (fits to the visible area).
144
+ * [Search](https://ej2.syncfusion.com/angular/documentation/pdfviewer/text-search/) - Search a text easily across the PDF document.
145
+ * [Core Interactions](https://ej2.syncfusion.com/angular/documentation/pdfviewer/interaction-mode/) - Allows scrolling, zooming, panning, selection, and page navigation.
146
+ * [Print](https://ej2.syncfusion.com/angular/documentation/pdfviewer/print/) - Print the entire document or a specific page directly from the browser.
147
+ * [Globalization](https://ej2.syncfusion.com/angular/documentation/pdfviewer/globalization/) - Provides inherent support to localize the UI.
150
148
 
151
149
  ## Support
152
150
 
153
151
  Product support is available through the following mediums.
154
152
 
155
153
  * [Support ticket](https://support.syncfusion.com/support/tickets/create) - Guaranteed Response in 24 hours | Unlimited tickets | Holiday support
156
- * [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
154
+ * [Community forum](https://www.syncfusion.com/forums/angular-js2?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm)
157
155
  * [GitHub issues](https://github.com/syncfusion/ej2-angular-ui-components/issues/new)
158
- * [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm)
156
+ * [Request feature or report bug](https://www.syncfusion.com/feedback/angular?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm)
159
157
  * Live chat
160
158
 
161
159
  ## Changelog
162
160
 
163
- Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/documenteditor/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
161
+ Check the changelog [here](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/components/pdfviewer/CHANGELOG.md?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm). Get minor improvements and bug fixes every week to stay up to date with frequent updates.
164
162
 
165
163
  ## License and copyright
166
164
 
167
- > This is a commercial product and requires a paid license for possession or use. Syncfusion<sup>®</sup> licensed software, including this component, is subject to the terms and conditions of Syncfusion<sup>®</sup> [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 140+ [Angular UI components](https://www.syncfusion.com/angular-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
165
+ > This is a commercial product and requires a paid license for possession or use. The Syncfusion&reg; licensed software, including this component, is subject to the terms and conditions of the Syncfusion&reg; [EULA](https://www.syncfusion.com/eula/es/). To acquire a license for 80+ [Angular UI components](https://www.syncfusion.com/angular-components), you can [purchase](https://www.syncfusion.com/sales/products) or [start a free 30-day trial](https://www.syncfusion.com/account/manage-trials/start-trials).
168
166
 
169
167
  > A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
170
168
 
171
- See [LICENSE FILE](https://github.com/syncfusion/ej2-angular-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-word-processor-npm) for more info.
172
-
173
- &copy; Copyright 2025 Syncfusion<sup>®</sup> Inc. All Rights Reserved. The Syncfusion<sup>®</sup> Essential Studio<sup>®</sup> license and copyright applies to this distribution.
169
+ See [LICENSE FILE](https://github.com/syncfusion/ej2/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=angular-pdf-viewer-npm) for more info.