Unplanned
Last Updated: 14 Aug 2023 07:55 by ADMIN
Nadezhda
Created on: 09 Feb 2023 08:35
Category: PDFViewer
Type: Feature Request
7
Ability to view other document types in PDF Viewer

This request is for allowing to open other document types in PDF Viewer - for example, Word, Excel. The functionality will target viewing only and not editing.

The steps to handle the scenario will be the following:
  1. Handle the OnOpen event to get the file bytes
  2. Use the appropriate format provider of the RadSpreadProcessing library to import the Word/Excel file
  3. Export the file with the PdfFormatProvider
  4. Pass the converted file to the PDF Viewer to display it

Note: We've registered a bug with this solution. The PDF Viewer does not open other types of documents from the FileSelect in the Toolbar, they can be opened only on initialization of the component. Currently, the bug is in our backlog. Once fixed, the above-listed solution can be used to configure the PDF Viewer for viewing other document types. A knowledge base resource will be published on the matter.

0 comments