javascript - Birt Automatically render report to xlsx when you choose to render to xls -
i want birt automatically render report xlsx whenever choose render xls.
can please me this. thanks.
it seems default emitter xls , xlsx same.
emitterid = engine.getconfig( ).getdefaultemitter( format );
(for xls , xlsx same emitterid).
you can override with:
engine.getconfig().setdefaultemitter(format, emitterid);
unfortunately, cannot tell put emitterid
.
edit:
emitterid xlsx: uk.co.spudsoft.birt.emitters.excel.xlsxemitter
emitterid xls: org.eclipse.birt.report.engine.emitter.prototype.excel
(problably should be: uk.co.spudsoft.birt.emitters.excel.xlsemitter
)
Comments
Post a Comment