Generate report
Refer to the following example code to see how to process the template and return the instance of report workbook.