class Torrone::Exporters::Xls
Public Instance Methods
export(jasper_print)
click to toggle source
Calls superclass method
Torrone::Exporters::Base#export
# File lib/torrone/exporters/xls.rb, line 4 def export(jasper_print) super(jasper_print) do |exporter, configuration| #configuration.setOnePagePerSheet(true); configuration.setDetectCellType(true);//Set configuration as you like it!! configuration.setCollapseRowSpan(false); end end
Protected Instance Methods
exporter_class()
click to toggle source
# File lib/torrone/exporters/xls.rb, line 14 def exporter_class Rjb::import 'net.sf.jasperreports.engine.export.JRXlsExporter' end
report_configuration_class()
click to toggle source
# File lib/torrone/exporters/xls.rb, line 18 def report_configuration_class Rjb::import 'net.sf.jasperreports.export.SimpleXlsReportConfiguration' end