domain: client
language: javascript
class Report class
Use extension
attribute to specify a report type. The server, based on the
report template, first generates ods file. And if report extention is other
that ods performs convertion using the LibreOffice.
The attribute value can be any extension that LibreOffice supports convertion to.
function on_before_print_report(report) {
report.extension = 'html';
}