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