String Column is not showing after converting to pdf from Excel

Posted by: ravi.jasti on 8 September 2019, 5:16 pm EST

  • Posted 8 September 2019, 5:16 pm EST

    when i convert excel to pdf . some cell values are not showing.

    below i am attaching the excel file and pdf output file ..
    excel_to_pdf.zip

    this is My Code :

    Workbook finalOut = null;
    String tempFile ="E:\\ExcelFile.xlsx";
    String outFile ="excelPdf.pdf";
    try {
    finalOut = getWorkbook(new FileInputStream((tempFile)));
    if (finalOut != null) {
    finalOut.save(new FileOutputStream(outFile), SaveFileFormat.Pdf);
    }
    } catch (Exception e) {
    System.err.println("Error => {} "+ e.toString());
    }


  • Marked as Answer

    Replied 8 September 2019, 6:01 pm EST

    Hello,

    Your issue has been replied here:-
    https://www.grapecity.com/forums/documents-excel-java/javalangstackoverflowerror_1

    Further follow up will be done on old case only to avoid any confusion and to maintain a thread.

    Thanks,
    Reeva
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels