Some test text!
Jul 11 2022
by Andrey Safonov
Looking for a React XLSX viewer? This blog reveals how to view Microsoft Office documents in a React file viewer using
In a few lines of code, we'll show how you can view files client-side, with no server dependencies and without Microsoft Office licenses or third-party software. PDFTron’s WebViewer directly converts `DOCX`, `XLSX`, and `PPTX` files using JavaScript and renders them for viewing dynamically.
Try our
Check out the full React doc viewer demo on our
WebViewer supports more than simply viewing Office documents, offering
WebViewer also supports formats like PDF, images,
Once the React doc viewer example is up and running,
WebViewer({
...,
initialDoc: 'https://myserver.com/myfile.xlsx',
}, document.getElementById('viewer'));
You can also call `loadDocument` with the same parameters.
WebViewer(...)
.then(instance => {
instance.UI.loadDocument('https://myserver.com/myfile.xlsx', { filename: 'myfile.xlsx' });
});
You can now run the app via 'npm start'.
To view the npm React file viewer xlsx app, navigate to http://localhost:3000/. The app automatically reloads if you change any of the source files.
If you want to configure the UI, WebViewer comes with a rich set of APIs. To get an idea of the vast array of possibilities, check out the
Adding Office document viewing and collaboration to your native npm React file browser app is straightforward with PDFTron’s WebViewer, a
You can also check out other capabilities on our
If you have any questions about PDFTron’s SDK or WebViewer, please
This guide shows you your options to build a Flutter PDF viewer and your potential best path forward towards a professional solution.
This blog discusses the three options for embedding PDF files or a PDF viewer in a website that are available to you, starting with the simplest and ending with the PDF viewing bells and whistles.
A tutorial on how to extract text from a PDF using Python and the PDFTron SDK for machine learning.
ANDREY SAFONOV
Head of Product
First a developer then a solution engineer. Now a product team leader and dev experience advocate.
PDFTron SDK
COMPANY