How to make report using HTML template and PDF?
How to create HTML templates is described in the documentation: https://doc.cuba-platform.com/reporting-6.2/template_html.html
A report which has template in one of supported formats (DOCX, XLSX etc) could also be printed to PDF. To enable that option just specify Output type = “PDF” for the report template.
Which formats could be converted to PDF is described here: https://doc.cuba-platform.com/reporting-6.2/template_to_output.html
Note, that in most cases (see the compliance matrix) for conversion to PDF the platform uses OpenOffice/LibreOffice. So the path to it must be correctly adjusted in the application properties. For more information see https://doc.cuba-platform.com/reporting-6.2/open_office.html.