Hello Aspose Team,
When we tried to generate a PDF file through template/excel file, we faced an issue in the header of the table in the exported PDF. The header of the table that was expected to be displayed at the top of the page is instead being displayed in the middle of the table as seen in the screenshot.
Here is the sample Code
class Example {
public static void main(String[] args) {
FileInputStream io = new FileInputStream(new File("/home/asthapa/Pa-front/project/exportCheck/template1/fullTemplate.xlsx"));
Workbook workbook = new Workbook(io);
workbook.save("beforeCalculateFormula.pdf")
workbook.calculateFormula();
workbook.save("afterCalculateFormula.pdf")
}
}
While further looking into this issue, we found out that this header issue is seen after execution of the workbook.calculateFormula()
Could you please look into this from your side? Please refer to the screenshots and sample template/Excel file.
issueScreenshot.png (26.5 KB)
fullTemplate.zip (204.7 KB)