@simon.zhao - We don’t have a template file. We are just creating the data based on the dataset which we have in the worksheets and then saving it as PDFs.
Could you please create a standalone JAVA program (source code without compilation errors) which we can evaluate and execute to reproduce the issue on our end. We will check your issue soon.
Please add a line in your code segment to save to Excel (e.g., XLSX) file. Zip the file and provide us. We will evaluate and trace your issue using your saved Excel file.