Posted 27 December 2017, 8:03 am EST
We are using ExcelIO to export the SpreadJS to PDF document (version 10.0.0).
Exporter exporter = new Exporter(spreadJson);
exporter.SavePdf(stream, pdfSettings, 0);
The generated PDF displays the cell content correctly wherever there is “value” defined for cells. However, wherever there are formulas like “SUM(A1,B1)” or SUBTOTAL(9,A1:C1) the generated PDF displays those cells as blank on PDF.
The exportToExcel function works perfectly fine and the generated .XSLX has the correct numbers.
Is there something I need to apply to PDFSettings so generated PDF file displays those formula based cell with correct values ?
Appreciate your help.
Thanks
Jayesh
Thomson Reuters