public class BGReportTemplate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BGReportTemplate.ReportFiller |
static class |
BGReportTemplate.ReportResult |
Constructor and Description |
---|
BGReportTemplate() |
Modifier and Type | Method and Description |
---|---|
static void |
fillReportToPdfStream(net.sf.jasperreports.engine.JasperReport report,
ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter,
java.sql.Connection con,
org.w3c.dom.Document doc,
java.io.OutputStream out) |
static void |
fillReportToPdfStream(java.util.List<net.sf.jasperreports.engine.JasperReport> reports,
ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter,
java.sql.Connection con,
org.w3c.dom.Document doc,
java.io.OutputStream out) |
static void |
fillReportToStream(net.sf.jasperreports.engine.JasperReport report,
ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter,
java.sql.Connection con,
org.w3c.dom.Document doc,
java.io.OutputStream out) |
static void |
fillReportToStream(net.sf.jasperreports.engine.JasperReport report,
ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter,
java.sql.Connection con,
java.io.OutputStream out) |
static void |
fillReportToXlsStream(net.sf.jasperreports.engine.JasperReport report,
ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter,
java.sql.Connection con,
org.w3c.dom.Document doc,
java.io.OutputStream out) |
static net.sf.jasperreports.engine.JasperReport |
getJasperReport(ParameterMap setup,
java.net.URI uri) |
static net.sf.jasperreports.engine.JasperReport |
getJasperReport(ParameterMap setup,
java.net.URL url) |
static net.sf.jasperreports.engine.JasperReport |
getJasperReport(java.net.URI uri) |
static net.sf.jasperreports.engine.JasperReport |
getJasperReport(java.net.URL url) |
static void |
prepareJasperDesign(ParameterMap setup,
net.sf.jasperreports.engine.design.JasperDesign design)
Устанавливаем pdfFontEmbedded для отображения русских букв в pdf,
если в самом отчете не было установлено
|
public static net.sf.jasperreports.engine.JasperReport getJasperReport(java.net.URL url)
public static net.sf.jasperreports.engine.JasperReport getJasperReport(java.net.URI uri)
public static net.sf.jasperreports.engine.JasperReport getJasperReport(ParameterMap setup, java.net.URI uri)
public static net.sf.jasperreports.engine.JasperReport getJasperReport(ParameterMap setup, java.net.URL url)
public static void prepareJasperDesign(ParameterMap setup, net.sf.jasperreports.engine.design.JasperDesign design)
setup
- design
- public static void fillReportToStream(net.sf.jasperreports.engine.JasperReport report, ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter, java.sql.Connection con, org.w3c.dom.Document doc, java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public static void fillReportToPdfStream(net.sf.jasperreports.engine.JasperReport report, ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter, java.sql.Connection con, org.w3c.dom.Document doc, java.io.OutputStream out)
public static void fillReportToXlsStream(net.sf.jasperreports.engine.JasperReport report, ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter, java.sql.Connection con, org.w3c.dom.Document doc, java.io.OutputStream out)
public static void fillReportToPdfStream(java.util.List<net.sf.jasperreports.engine.JasperReport> reports, ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter, java.sql.Connection con, org.w3c.dom.Document doc, java.io.OutputStream out)
public static void fillReportToStream(net.sf.jasperreports.engine.JasperReport report, ru.bitel.bgbilling.modules.reports.server.bean.filter.BGReportFilter filter, java.sql.Connection con, java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception