An out-of-the-box idea depending on your budget and use case:
You could convert the Excel file into PDF on the fly using for example the Aspose java library and then offer the PDF to the user.
Hello Everyone,
I found a scenario to convert excel to pdf using java code. Followed the conversion, PDF file is converted to base64 and converted to file document object and passed to the document viewer widget to display the excel content. But still there is alignment and styling issue for large data in a cell.
Used Apache POI and IText libraries for the conversion.
Below is the reference link,
https://sites.google.com/site/uvarajjava/home/excel-to-pdf-using-java
Thanks.
Although a bit overkill for a file viewer, you could opt for a non persisting data import of that excel file and open a standard data grid?
Although a bit overkill for a file viewer, you could opt for a non persisting data import of that excel file and open a standard data grid?