Multi-format file viewer

Hi Team,

  1. The demo for multi-format file viewer seems to use some other library to convert the files into pdf. How can we achieve the same using pdf-viewer? 
  2. Importing ToolbarComponent (for customising toolbar) is failing as the @syncfusion/ej2-angular-navigation library unavailable as it is not installed with pdf-viewer. What are we missing? 

Thanks in advance!


2 Replies

ST Sudha Torli September 4, 2024 01:40 PM UTC

Hi Team, 


Please ignore #2, I was able to fix that by importing a bunch of packages as mentioned in https://stackblitz.com/edit/angular-g94gvs?file=package.json


Thanks



CK Chinnamunia Karthik Chinna Thambi Syncfusion Team September 4, 2024 04:52 PM UTC

Hi Sudha,

We don't support converting other file types into PDF using the PDF Viewer. However, you can convert these files into PDF using the following dependent libraries:

 

 

Documentation: Load office files in PDF Viewer (syncfusion.com)

 

Github sample: angular-pdf-viewer-examples/Common/Load PDF, Excel, PPT file types at master · SyncfusionExamples/angular-pdf-viewer-examples (github.com)


Loader.
Up arrow icon