cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine
https://www.cuba-platform.com
Apache License 2.0
239 stars 75 forks source link

Not copying the "PrintTitle" settings to the output for XLSX format #146

Closed cklee1967 closed 2 years ago

cklee1967 commented 3 years ago

Environment

Description of the bug or enhancement

When using the XLSX report template, I have set the "Rows to repeat at top" in the Page Setup -> Sheet tab. This allows me to have certain rows to repeat on each page, when I print it in PDF. However, currently this is not copied to the result output XLSX file. I have analyzed the code and I think the XlsxFormatter needs to copy a defined name "_xlnm.Print_Titles", from the template file to the result output file, so that this setting is preserved/copied to the output.