|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jet.bean.JREngine
public class JREngine
The JREngine is a bean of JReport Engine.
Report Engine Bean provides a programming API for the report running and exporting process. It enables you to:
Field Summary | |
---|---|
static int |
BIG5
Indicates the BIG5 encoding if need to convert the Chinese encoding of the result. |
static int |
DHTMLFILEMAIL
Indicates the format of the mail with DHTML file attachment. |
static int |
EXPORTSHAPE
Indicates to keep geometry objects when exporting the result to Excel file. |
static int |
GB
Indicates the GBK encoding if need to convert the Chinese encoding of the result. |
static int |
HIDDEN
Indicates the HTML's text overflow type is HIDDEN. |
static int |
HTMLFILEMAIL
Indicates the format of the mail with HTML file attachment. |
static int |
HTMLMAIL
Indicates the format of the mail with HTML content. |
static int |
IE
Indicates the HTML browser is IE. |
static int |
JDK11
Indicates to print in JDK version 1.1.X mode. |
static int |
JDK12
Indicates to print in JDK version 1.2.X mode. |
static int |
JDK14
Indicates to print in JDK version 1.4.X mode. |
static int |
KEEPORIGIN
Indicates to keep the original format of the result when exporting the result by Excel format. |
static int |
LANDSCAPE
The original point is at the bottom left of the paper with x running from the bottom to the top and y running from the left to the right. |
static int |
NETSCAPE
Indicates the HTML browser is NETSCAPE. |
static int |
NLSSTATUS_AUTO
Indicates JReport Engine applies NLS setting according to the report template's setting. |
static int |
NLSSTATUS_DISABLE
Indicates JReport Engine does not apply NLS setting. |
static int |
NLSSTATUS_ENABLE
Indicates JReport Engine applies NLS setting. |
static int |
NOEXPORTSHAPE
Indicates to remove geometry objects when exporting the result to Excel file. |
static int |
NOWORDWRAP
Indicates to set no Word Wrap format for the result when exporting the result by Excel format. |
static java.lang.String |
PARAM_ALL_VALUE
The flag indicates that parameter's value is ALL. |
static int |
PDFFILEMAIL
Indicates the format of the mail with PDF file attachment. |
static int |
PLAINTXTMAIL
Indicates the format of the mail with text file attachment. |
static int |
PORTRAIT
The original point is at the top left of the paper with x running to the right and y running down the paper. |
static int |
PSFILEMAIL
Indicates the format of the mail with PostScript file attachment. |
static int |
RPT_STATUS_ALL
Indicates the "All" status of the report in the ReportSet. |
static int |
RPT_STATUS_CURRENT
Indicates the "Current" status of the report in the ReportSet. |
static int |
RPT_STATUS_OPEN
Indicates the "Open" status of the report in the ReportSet. |
static int |
RSTFILEMAIL
Indicates the format of the mail with RST file attachment. |
static int |
RTFFILEMAIL
Indicates the format of the mail with Rich Text Format file attachment. |
static int |
SDFTEXTMAIL
Indicates the format of the mail with standard format text file attachment. |
static int |
vDebug
Indicates to open the debug. |
static int |
vError
Indicates to open the error. |
static int |
VISIBLE
Indicates the HTML's text overflow type is VISIBLE. |
static int |
vOff
Indicates to close the debug. |
static int |
WORDWRAPALL
Indicates to set Word Wrap format for the result when exporting the result by Excel format. |
static int |
XLSFILEMAIL
Indicates the format of the mail with Excel file attachment. |
static int |
XMLFILEMAIL
Indicates the format of the mail with XML file attachment. |
Constructor Summary | |
---|---|
JREngine()
Constructs a JREngine instance. |
|
JREngine(boolean setDebugLevel)
Constructs a JREngine instance. |
|
JREngine(java.lang.String uid,
java.lang.String key)
Constructs a JREngine instance. |
|
JREngine(java.lang.String uid,
java.lang.String key,
boolean setDebugLevel)
Constructs a JREngine instance. |
Method Summary | |
---|---|
boolean |
addFileQuery(java.lang.String strName,
java.io.File flPath)
Adds the specified FileQuery into the default database of the specified catalog. |
boolean |
addFileQuery(java.lang.String strName,
java.io.File flPath,
java.lang.String sourceName)
Adds the specified FileQuery into the specified database of the specified catalog. |
void |
closeLog()
Deprecated. The new setting of JReport log is defined in %install root%\bin\LogConfig.properties. |
void |
configMailServer(java.lang.String SMTPServerIP,
java.lang.String MyMailAddress,
int SMTPServerPort)
Configures the Engine Bean's e-Mail service. |
boolean |
deleteWherePortion(java.lang.String strName)
Deletes the specified predefined WHERE portion in the default database and saves the catalog. |
boolean |
deleteWherePortion(java.lang.String strName,
java.lang.String sourceName)
Deletes the specified predefined WHERE portion in the specified database and saves the catalog. |
void |
exit()
Exits from JReport Engine Bean. |
void |
exit(int timeout)
Exits from JReport Engine Bean. |
boolean |
exportToDhtml(java.lang.String htmlFileName)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
int resolution)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
int resolution)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToDhtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType)
Exports JReport result file (RST file) to HTML file with TOC contents. |
boolean |
exportToFax(ExportInfo info,
java.lang.String portStr,
java.lang.String initStr,
int iDialing,
int iFlowControl,
java.lang.String flowCommand,
int iClass,
int txtTimeOut,
int txtRetries,
boolean q_best,
boolean q_normal,
boolean q_fast,
boolean isAddCover,
java.lang.String faxnum,
java.lang.String from,
java.lang.String to,
java.lang.String company,
java.lang.String phone,
java.lang.String date,
java.lang.String re,
java.lang.String comments,
boolean urgent,
boolean review,
boolean comment,
boolean reply)
Exports the specified report result via fax. |
boolean |
exportToFax(java.lang.String portStr,
java.lang.String initStr,
int iDialing,
int iFlowControl,
java.lang.String flowCommand,
int iClass,
int txtTimeOut,
int txtRetries,
boolean q_best,
boolean q_normal,
boolean q_fast,
boolean isAddCover,
java.lang.String faxnum,
java.lang.String from,
java.lang.String to,
java.lang.String company,
java.lang.String phone,
java.lang.String date,
java.lang.String re,
java.lang.String comments,
boolean urgent,
boolean review,
boolean comment,
boolean reply)
Exports the JReport result of the current report via Fax. |
boolean |
exportToFax(java.lang.String portStr,
java.lang.String initStr,
int iDialing,
int iFlowControl,
java.lang.String flowCommand,
int iClass,
int txtTimeOut,
int txtRetries,
boolean q_best,
boolean q_normal,
boolean q_fast,
java.lang.String faxnum)
Exports the JReport result of the current report via Fax. |
boolean |
exportToFaxServer(ExportInfo info,
java.lang.String className,
JRFaxServerInfo faxinfo,
JRCoverInfo coverinfo)
Exports the specified report result via the fax server. |
boolean |
exportToHtml(ExportInfo info,
HtmlParameter param)
Exports the report's result to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
int resolution)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType,
int chartFormat)
Exports the JReport result of the current report to an HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
int resolution)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType)
Exports JReport result file (RST file) to HTML file. |
boolean |
exportToHtml(java.lang.String rstFileName,
java.lang.String htmlFileName,
boolean bChartApplet,
boolean isMultiFile,
boolean bUsingTable,
boolean bHyperlink,
boolean bPageNum,
boolean bAbsolute,
int iBrowser,
boolean bincdrilldownfile,
boolean noMargin,
java.lang.String title,
int resolution,
int overflowType,
int chartFormat)
Exports JReport result file (RST file) to HTML file. |
void |
exportToMail(ExportInfo exportInfo,
MailInformation info)
Sends an e-Mail with the JReport result of the specified report. |
void |
exportToMail(MailInformation info)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
boolean isDataOnly,
java.lang.String xsdFile)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
boolean isDataOnly,
java.lang.String xsdFile)
Sends an e-Mail with the JReport result in XML format of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight)
Sends ana e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap,
boolean isBiff8)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap,
boolean isBiff8,
boolean bToc,
boolean bDrill,
java.lang.String encoding)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap,
boolean isBiff8,
int bExportShaps)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap,
boolean isBiff8,
int bExportShaps,
boolean bToc,
boolean bDrill)
Sends an e-Mail with the JReport result of the current report. |
void |
exportToMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
int rptformat,
boolean noMargin,
int udwidth,
int udheight,
boolean isSimPrintMode,
int iCompressImage,
boolean isDataOnlyXML,
java.lang.String xsdFile,
boolean hasHeadFoot,
boolean isGifTrans,
boolean bTxtCompress,
boolean isTable,
int isWordWrap,
boolean isBiff8,
int bExportShaps,
boolean bToc,
boolean bDrill,
java.lang.String encoding)
Sends an e-Mail with the JReport result of the current report. |
java.awt.print.Pageable |
ExportToPageable()
Sets the default resolution as 72 into Communicator for the printer and returns it. |
boolean |
exportToPDF(ExportInfo info,
PDFParameter param)
Exports the report's result to a PDF file. |
boolean |
exportToPdf(java.io.OutputStream stream)
Exports the JReport result of the current report to the OutputStream in PDF data format. |
boolean |
exportToPdf(java.io.OutputStream stream,
boolean noMargin,
int iCompressImage,
boolean isTransparent,
boolean bToc,
java.lang.String password,
int[] pages,
int[][] pageRange)
Exports the JReport result of the current report to the OutputStream in PDF data format. |
boolean |
exportToPdf(java.lang.String pdfFileName)
Exports the JReport result of the current report to a PDF file. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
boolean iCompressImage)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent,
boolean bToc,
boolean bDrill)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent,
boolean bToc,
boolean bDrill,
java.lang.String password)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String filename,
PDFParameter parameter)
Exports the JReport result of the current report to the PDF files. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
boolean iCompressImage)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent,
boolean bToc,
boolean bDrill)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String pdfFileName,
boolean noMargin,
boolean isSimPrintMode,
int iCompressImage,
boolean isTransparent,
boolean bToc,
boolean bDrill,
java.lang.String password)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPdf(java.lang.String rstFileName,
java.lang.String filename,
PDFParameter parameter)
Exports JReport result file (RST file) to PDF file. |
boolean |
exportToPS(ExportInfo info,
PSParameter param)
Exports the report to a postscript file. |
boolean |
exportToPS(java.io.OutputStream stream)
Exports the JReport result of the current report to a PostScript file. |
boolean |
exportToPS(java.io.OutputStream stream,
boolean noMargin)
Exports the JReport result of the current report in PostScript format to the Stream. |
boolean |
exportToPS(java.lang.String psFileName)
Exports the JReport result of the current report to a PostScript file. |
boolean |
exportToPS(java.lang.String psFileName,
boolean noMargin)
Exports the JReport result of the current report to a PostScript file. |
boolean |
exportToPS(java.lang.String rstFileName,
java.lang.String psFileName)
Exports the JReport result of the current report to a PostScript file. |
boolean |
exportToPS(java.lang.String rstFileName,
java.lang.String psFileName,
boolean noMargin)
Exports the JReport result of the current report to a PostScript file. |
boolean |
exportToRst(java.util.Map reportInfo,
java.lang.String rstFileName,
boolean isZip)
Saves the current report result to a JReport Result file (RST file). |
boolean |
exportToRst(java.lang.String rstFileName)
Saves the current report result to a JReport Result file (RST file). |
boolean |
exportToRst(java.lang.String loadRstFileName,
java.lang.String rstFileName)
Loads the JReport Result file (RST file) and saves it as another one. |
boolean |
exportToRtf(ExportInfo info,
RtfParameter param)
Exports the report to a RTF file. |
boolean |
exportToRtf(java.io.OutputStream stream)
Exports the JReport result of the current report in RTF(Rich Text Format) format to the Stream. |
boolean |
exportToRtf(java.io.OutputStream stream,
boolean noMargin)
Exports the JReport result of the current report in RTF(Rich Text Format) format to the Stream. |
boolean |
exportToRtf(java.lang.String rtfFileName)
Exports the JReport result of the current report to a RTF(Rich Text Format) file. |
boolean |
exportToRtf(java.lang.String rtfFileName,
boolean noMargin)
Exports the JReport result of the current report to a RTF(Rich Text Format) file. |
boolean |
exportToRtf(java.lang.String rstFileName,
java.lang.String rtfFileName)
Exports JReport result file (RST file) to the RTF(Rich Text Format) file. |
boolean |
exportToRtf(java.lang.String rstFileName,
java.lang.String rtfFileName,
boolean noMargin)
Exports JReport result file (RST file) to the RTF(Rich Text Format) file. |
boolean |
exportToText(ExportInfo info,
TextParameter param)
Exports the report's result to a text file. |
boolean |
exportToText(java.io.OutputStream stream,
boolean isNormalText)
Exports the JReport result of the current report in text format to the specified Stream. |
boolean |
exportToText(java.io.OutputStream stream,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot,
boolean forWindows)
Exports the JReport result of the current report in text format to the specified Stream. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot,
boolean forWindows)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot,
boolean forWindows,
boolean ignoreDelimiter)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String textFileName,
boolean isNormalText,
int udchWidth,
int udchHeight)
Exports the JReport result of the current report to a TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean isQuoteMark,
boolean hasHeadFoot)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot,
boolean forWindows)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
boolean isRepeat,
char delimiter,
int udchWidth,
int udchHeight,
boolean compress,
int resolution,
boolean quoteMark,
boolean hasHeadFoot,
boolean forWindows,
boolean ignoreDelimiter)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToText(java.lang.String rstFileName,
java.lang.String textFileName,
boolean isNormalText,
int udchWidth,
int udchHeight)
Exports JReport result file (RST file) to TEXT file. |
boolean |
exportToXls(ExportInfo info,
ExcelParameter param)
Exports the report to an Excel file. |
boolean |
exportToXls(java.io.OutputStream stream)
Exports the JReport result of the current report in Excel format to the Stream. |
boolean |
exportToXls(java.io.OutputStream stream,
int isWordWrap,
int bExportShaps,
boolean shareLabel)
Exports the JReport result of the current report in the Excel format to the Stream. |
boolean |
exportToXls(java.lang.String xlsFileName)
Exports the JReport result of the current report to an Excel file. |
boolean |
exportToXls(java.lang.String xlsFileName,
int isWordWrap)
Exports the JReport result of the current report to the Excel file. |
boolean |
exportToXls(java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8)
Exports the JReport result of the current report to the Excel file. |
boolean |
exportToXls(java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8,
int bExportShaps)
Exports the JReport result of the current report to the Excel file. |
boolean |
exportToXls(java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8,
int bExportShaps,
boolean shareLabel)
Exports the JReport result of the current report to an Excel file. |
boolean |
exportToXls(java.lang.String rstFileName,
java.lang.String xlsFileName)
Exports the JReport result file (RST file) to an nExcel format file. |
boolean |
exportToXls(java.lang.String rstFileName,
java.lang.String xlsFileName,
int isWordWrap)
Exports the JReport result file (RST file) to an Excel format file. |
boolean |
exportToXls(java.lang.String rstFileName,
java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8)
Exports the JReport result file (RST file) to an Excel format file. |
boolean |
exportToXls(java.lang.String rstFileName,
java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8,
int bExportShaps)
Exports the JReport result file (RST file) to an Excel format file. |
boolean |
exportToXls(java.lang.String rstFileName,
java.lang.String xlsFileName,
int isWordWrap,
boolean isBiff8,
int bExportShaps,
boolean shareLabel)
Exports the JReport result file (RST file) to an Excel format file. |
boolean |
exportToXML(ExportInfo info,
XmlParameter param)
Exports the JReport result of the specified report to an XML format file. |
boolean |
exportToXML(java.lang.String xmlFileName,
boolean isMultiFile,
boolean isOnlyData)
Exports the JReport result of the current report to an XML format file. |
boolean |
exportToXML(java.lang.String xmlFileName,
boolean isOnlyData,
java.lang.String existXSFile)
Exports the JReport result of the current report to an XML format file. |
boolean |
exportToXML(java.lang.String rstFileName,
java.lang.String xmlFileName,
boolean isMultiFile,
boolean isOnlyData)
Exports JReport result file (RST file) to an XML format file. |
boolean |
exportToXML(java.lang.String rstFileName,
java.lang.String xmlFileName,
boolean isOnlyData,
java.lang.String existedSchemaFile)
Exports JReport result file (RST file) to an XML format file. |
java.lang.String[] |
getAllDataSource(int rptStatus)
Gets all data source names used by the reportset with specified report's status. |
static java.lang.String[] |
getAllDataSource(java.lang.String catName)
Gets all data source names of the specified catalog. |
static java.lang.String[] |
getAllDataSource(java.lang.String rptSetName,
int rptStatus)
|
static java.lang.String[] |
getAllDataSource(java.lang.String catName,
java.lang.String rptSetName,
int rptStatus)
Gets all data source names used by the reportset with specified report's status. |
java.util.Vector |
getAllHtmlFile()
Returns all html files that are generated by exportToHtml . |
static java.util.Vector |
getAllMediaTray(java.lang.String printerName)
Gets all media tray for the specified printer. |
java.util.Vector |
getAllPdfFile()
Returns all PDF files that are generated by exportToPDF . |
static java.util.Vector |
getAllPrinters()
Gets the available printers' names. |
static java.util.Vector |
getAllPrinters(java.lang.String reportHome)
Gets the available printers' names. |
java.util.Vector |
getAllRtfFile()
Returns all RTF files that are generated by exportToRTF. |
java.util.Vector |
getAllXlsFile()
Returns all Excel files that are generated by exportToXls. |
java.util.Vector |
getAllXMLFile()
Gets all exported XML file names. |
java.util.Vector |
getAvailableLocales(java.lang.String clientLocale)
Gets all the Locales that the current engine supports. |
java.util.Enumeration |
getAvailableQueryFields()
Gets the available fields of the query. |
java.util.Enumeration |
getAvailableWherePortions()
Deprecated. |
java.util.Enumeration |
getAvailableWherePortions(java.lang.String datasourceName,
java.lang.String queryName)
Gets all WHERE portions' names which depend on the specified query in the catalog. |
java.lang.String |
getCatName()
Gets the file name of the JReport catalog. |
java.lang.String |
getClientName()
Gets the client name of Engine Bean. |
Communicator |
getCommunicator(java.lang.String filename,
int[] pageNums)
Gets the communicator from the JReport Result file (RST file). |
Communicator |
getCommunicator(java.lang.String filename,
int[] pageNums,
java.lang.String rptName,
java.lang.String viewName)
Gets the communicator from the JReport Result file (RST file). |
Communicator |
getCommunicator(java.lang.String rptName,
java.lang.String viewName,
boolean security)
|
int |
getConvertFromEncoding()
Gets the original encoding of the encoding converter. |
int |
getConvertToEncoding()
Gets the target encoding of the encoding converter. |
ReportInfo |
getCurrentReport()
Gets the current report information. |
java.lang.String |
getDataDriver()
Gets the data driver which is set for Engine Bean. |
static java.lang.String |
getDefaultEncoding()
Gets the default encoding of Engine Bean. |
static java.lang.String |
getDefaultLocale()
Gets the default Locale of Engine Bean. |
java.lang.String |
getEncoding()
Gets current encoding setting of Engine Bean. |
InputStreamFactory |
getHDSStreamFactory(java.lang.String datasourceName,
java.lang.String HDSName)
Gets an HDS data stream factory. |
java.lang.String |
getHelpPath()
Gets the help path. |
int |
getID()
Gets the ID number of the JREngine. |
java.lang.String |
getKey()
Gets the key of JReport runtime license. |
java.lang.String |
getLoadReport()
Deprecated. |
jet.util.nls.NLSApplyParam |
getNLSApplyParamInfo()
Gets NLS resource bundled information. |
NLSBundleInfo |
getNLSBundleInfo()
Gets NLS resource bundled information. |
int[] |
getPageNumbers()
Gets the page numbers array filtered by Page Level Security setting. |
int |
getPageOrientation()
Gets the page orientation setting of the current report's engine. |
java.util.Hashtable |
getParamDescs()
Gets parameters used by the given reports of the reportset. |
java.lang.String |
getParamFile()
Sets the name of the parameter file that stores the parameters and their values. |
java.lang.String |
getParamValues()
Gets the parameters' values that are set. |
java.lang.String |
getPrintStatus()
Gets the print status after printing, including: "No print job", "Printing", "Busy", "No report load", "OK", and "Error!". |
java.lang.String |
getReason()
Gets the detail error message while detecting the engine error. |
Communicator |
getReportCommunicator()
Gets the Communicator of this report. |
java.lang.String |
getReportHome()
Gets the report home path where the report.ini and other JReport system files exist. |
java.lang.String |
getReportName()
Gets the file name of the reportset. |
java.util.Vector |
getReportParams()
Gets parameters used by the given reportset. |
java.util.Vector |
getReportParams(int status)
Gets parameters used by the given reports in the reportset. |
java.util.Vector |
getReportParams(java.util.Vector reportNames)
Gets parameters used by the given reports of the reportset. |
java.util.Vector |
getReportsOfReportSet()
Gets the report information. |
static java.util.Vector |
getReportsOfReportSet(java.lang.String reportSetFileName)
|
static java.util.Vector |
getReportsOfReportSet(java.lang.String catName,
java.lang.String reportSetFileName)
Gets the report information. |
java.util.Vector |
getReportsOfResult(java.lang.String rstFileName)
Gets the report information from the result file. |
java.lang.String |
getResultFile()
Gets the file name of the JReport result file which will be generated by JReport Engine Bean. |
java.lang.String |
getResultSet(java.lang.String url)
Gets the url of the Cache Query Result(CQR) that has been set for the JReport Engine Bean. |
RuntimeInfo |
getRuntimeInfo()
Deprecated. |
RuntimeInfo |
getRuntimeInfo(java.lang.String reportName)
Gets RuntimeInfo of the report. |
java.util.HashMap |
getRuntimeInfos()
Gets RuntimeInfos of the reportset. |
java.lang.String |
getSID()
Gets the security ID of Page Level Security. |
boolean |
getSingleThread()
Checks whether the engine is in single-thread mode or not. |
java.lang.String |
getSQL()
|
java.lang.String |
getStatus()
Gets the status of running engines. |
java.util.Vector |
getStyleGroupNames()
Gets all available style group names. |
java.lang.String |
getTemplatePath()
Deprecated. |
java.lang.String |
getTempPath()
Gets the temporary path of Engine Bean. |
java.lang.Throwable |
getThreadError()
Gets the Throwable error that is thrown when JReport engine is running. |
java.lang.Throwable |
getThrowable()
Gets the Throwable error during the engine running period. |
boolean |
getThrowException()
Gets the status of whether or not to throw exception from JReport Engine Bean when an error occurs in JReport engine. |
int |
getTotalPageNumber()
Gets the number of total pages of the Current report's result. |
java.lang.String |
getUID()
Gets the UserID of JReport runtime license. |
static java.lang.String[] |
getUserInfo(java.lang.String catName,
java.lang.String dataSourceName)
Gets the connection's user information of the specified catalog and data source. |
static java.lang.String[] |
getUserInfoByReport(java.lang.String reportName,
java.lang.String dataSourceName)
Gets the default user information in the specified catalog and data source. |
java.lang.String |
getVersion()
Gets the main version number and build number information of the JReport product. |
java.lang.String |
getWherePortionsSQL(java.lang.String nameOfWherePortion)
Gets the specified WHERE portion. |
java.lang.String |
getWherePortionsSQL(java.lang.String nameOfWherePortion,
java.lang.String sourceName)
Gets the specified WHERE portion. |
InputStreamFactory |
getXmlStreamFactory(java.lang.String datasourceName)
Gets an xml data stream factory. |
java.lang.String |
getXSDFile()
Deprecated. |
boolean |
hasPageSecurity()
Checks whether the current report defines the Page Level Security or not. |
boolean |
hasPageSecurity(java.lang.String rptName,
java.lang.String viewName)
Checks whether the given report defines the Page Level Security or not. |
boolean |
hasParameter()
Checks whether the given reportset has parameters or not. |
boolean |
isIgnoreExportStyle()
Gets if the report exporting ignores export style. |
boolean |
isIgnoreExportStyle(boolean ignoreExportStyle)
Sets if the report exporting ignores export style. |
void |
modifyUserInfo(java.lang.String strUserName,
java.lang.String strPassword)
Modifies the User and Password information of the JReport connection definition of the default JReport database. |
void |
modifyUserInfo(java.lang.String strUserName,
java.lang.String strPassword,
java.lang.String dataSourceName)
Modifies the User and Password information of the specified JReport connection definition. |
boolean |
modifyWherePortion(java.lang.String strName,
java.lang.String strSQL)
Deprecated. |
boolean |
modifyWherePortion(java.lang.String strName,
java.util.Vector vecGroups)
Deprecated. |
java.util.Vector<ParamDesc> |
paramValueChanged(java.lang.String paramName,
jet.util.ParameterValueDesc paramValue)
Gets the related Parameters while changing the value of a cascading parameter or a Parameters type parameter. |
java.util.Vector |
paramValueChanged(java.lang.String paramName,
java.lang.String paramValue)
Gets the related Parameters while changing the value of a cascading parameter. |
java.util.Vector |
paramValueChanged(java.lang.String paramName,
java.lang.String[] paramValues)
Gets the related Parameters while changing the value of a cascading parameter. |
void |
printReport()
Prints the report's result by printer. |
void |
printReport(ExportInfo info,
java.lang.Object job,
boolean bInteractive,
java.lang.Object pageFormat,
boolean bInBackground,
JReportPrintListener jreportprintlistener,
int useJDK,
java.lang.String jobName,
java.util.Vector attributeInfo,
java.lang.String printer)
Prints the report's result by printer. |
void |
printReport(java.lang.Object job,
boolean bInteractive,
java.lang.Object pageFormat,
boolean bInBackground,
JReportPrintListener jreportprintlistener,
int useJDK_X,
java.lang.String jobName,
java.util.Vector attributeInfo,
java.lang.String printer)
Prints the report's result by printer. |
void |
printReport(java.lang.Object printJob,
java.lang.Object pageFormat,
boolean bInteractive,
boolean bInBackground,
boolean bUseJDK11)
Prints the report's result by printer. |
void |
printReport(java.lang.Object printJob,
java.lang.Object pageFormat,
boolean bInteractive,
boolean bInBackground,
boolean bUseJDK11,
boolean bSeparateLargePage)
Prints the report's result by printer. |
void |
printReport(java.lang.Object printJob,
java.lang.Object pageFormat,
boolean bInteractive,
boolean bInBackground,
boolean bUseJDK11,
boolean bSeparateLargePage,
java.lang.String jobName)
Prints the report's result by printer. |
void |
printReport(java.lang.Object printJob,
java.lang.Object pageFormat,
boolean bInteractive,
boolean bInBackground,
boolean bUseJDK11,
boolean bSeparateLargePage,
java.lang.String jobName,
java.lang.String printer)
Prints the report's result by printer. |
void |
printReportJDK14(boolean bInteractive,
boolean bInBackground,
JReportPrintListener jreportprintlistener,
java.lang.String jobName,
java.util.Vector attributeInfo,
java.util.Vector customMedias,
java.lang.String printer)
Prints the report with the specified parameters. |
boolean |
relayout(java.lang.String reportName,
RuntimeInfo info)
Re-runs the report with the specified RuntimeInfo. |
void |
runAllReport()
Loads the given reportset's template and generates the reports' results. |
void |
runCurrentReport()
Loads the given reportset's template and generates the reports' results. |
void |
runReport()
Loads the given reportset's template and generates the reports' results. |
void |
runReport(boolean genRst)
Loads the given reportset's template and generates the reports' results. |
void |
runReport(java.lang.String rsdFilename)
Loads the given JReport DHTML result file (RSD file) and generates the reports' results. |
void |
runReport(java.lang.String[] rptNames,
java.util.Vector[] viewNames)
Loads the given reportset's template and generates the reports' results. |
void |
runReport(java.util.Vector vReportNames)
Loads the given reportset's template and generates the reports' results. |
boolean |
save(java.lang.String resultFileName)
Saves the current report's result to a JReport Result file (RST file). |
boolean |
saveCatalog()
Saves the loaded JReport catalog. |
boolean |
saveWherePortion(java.lang.String strName,
java.lang.String strSQL)
Deprecated. |
boolean |
saveWherePortion(java.lang.String strName,
java.lang.String strQueryName,
java.lang.String strSQL)
saves the specified SQL statement to the JReport Catalog. |
boolean |
saveWherePortion(java.lang.String strName,
java.lang.String dataSourceName,
java.lang.String strQueryName,
java.lang.String strSQL)
Saves the specified SQL statement to the JReport Catalog. |
boolean |
saveWherePortion(java.lang.String strName,
java.lang.String dataSourceName,
java.lang.String strQueryName,
java.util.Vector vecGroups)
Saves the specified SQL statement to the JReport Catalog. |
boolean |
saveWherePortion(java.lang.String strName,
java.lang.String strQueryName,
java.util.Vector vecGroups)
Saves the specified SQL statement to the JReport Catalog. |
boolean |
saveWherePortion(java.lang.String strName,
java.util.Vector vecGroups)
Deprecated. |
void |
sendNormalMail(java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
java.util.Vector additionfiles)
Exports current report engine that has already run to mail. |
void |
sendNormalMail(java.lang.String from,
java.lang.String rcpt,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.String comments,
boolean compress,
java.util.Vector additionfiles)
Export current report engine that has already run to mail. |
void |
setAuthencatorMessage(java.lang.String username,
java.lang.String password,
java.lang.String mailAddress)
Sets the e-Mail's authenticator information. |
void |
setCatName(java.lang.String catName)
Sets the file name of the JReport catalog. |
void |
setClientName(java.lang.String name)
Sets the client name of Engine Bean. |
void |
setConnection(java.sql.Connection userDbConnection)
Deprecated. Replaced by setConnection(String, Connection) |
void |
setConnection(java.sql.Connection userDbConnection,
boolean fetchSupportInfo)
Deprecated. Replaced by setConnection(String, Connection, boolean) |
void |
setConnection(java.lang.String dataSourceName,
java.sql.Connection userDbConnection)
Sets the runtime connection of the specified JReport database. |
void |
setConnection(java.lang.String dataSourceName,
java.sql.Connection userDbConnection,
boolean fetchSupportInfo)
Sets the runtime connection of the specified JReport database's default connection. |
void |
setConnection(java.lang.String strUID,
java.lang.String strPSWD)
Deprecated. Replaced by setConnection(String, String, String) |
void |
setConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
java.sql.Connection userDbConnection)
Sets the runtime connection of the specified JReport database and connection. |
void |
setConnection(java.lang.String dataSourceName,
java.lang.String strUID,
java.lang.String strPSWD)
Sets the runtime connection's definition of the specified JReport database. |
void |
setConnection(java.lang.String strURL,
java.lang.String strUID,
java.lang.String strPSWD,
java.lang.String strJdbcDriver)
Deprecated. Replaced by setConnection(String, String, String, String, String) |
void |
setConnection(java.lang.String strURL,
java.lang.String strUID,
java.lang.String strPSWD,
java.lang.String strJdbcDriver,
boolean fetchSupportInfo)
Deprecated. Replaced by setConnection(String, String, String, String, String, boolean) |
void |
setConnection(java.lang.String dataSourceName,
java.lang.String strURL,
java.lang.String strUID,
java.lang.String strPSWD,
java.lang.String strJdbcDriver)
Sets the runtime connection's definition of the specified JReport database. |
void |
setConnection(java.lang.String dataSourceName,
java.lang.String strURL,
java.lang.String strUID,
java.lang.String strPSWD,
java.lang.String strJdbcDriver,
boolean fetchSupportInfo)
Sets the runtime connection's definition of the specified JReport database. |
void |
setConnection(java.lang.String dataSourceName,
java.lang.String connectionName,
java.lang.String strURL,
java.lang.String strUID,
java.lang.String strPSWD,
java.lang.String strJdbcDriver)
Sets the runtime connection's definition of the specified JReport database. |
void |
setConvertEncoding(int fromEncoding,
int toEncoding)
Sets the encodings for converting the characters between Traditional Chinese and Simple Chinese. |
void |
setDataDriver(java.lang.String url)
Sets the data driver of the report with single dataset. |
void |
setDataDriver(java.lang.String url,
java.lang.String dataSetName)
Sets the data driver of the given dataset. |
static void |
setDefaultEncoding(java.lang.String defaultEncoding)
Sets the default encoding of Engine Bean. |
static void |
setDefaultLocale(java.lang.String defaultLocale)
Sets the default Locale of all Engine Beans. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding setting of Engine Bean. |
void |
setFetchSupportInfo(boolean fetchSupportInfo)
Specifies whether or not to get the user support information when connecting to the database. |
void |
setHDSStreamFactory(java.lang.String datasourceName,
java.lang.String HDSName,
InputStreamFactory streamFactory)
Sets an HDS data stream factory. |
void |
setHelpPath(java.lang.String sHelpPath)
Sets the help path. |
void |
setHtmlImageType(int imageType)
Deprecated. |
void |
setIsLinkReport(java.lang.String rptName,
boolean isLinkReport)
|
void |
setKey(java.lang.String key)
Sets the key of JReport runtime license. |
void |
setLoadReport(java.lang.String loadReport)
Deprecated. |
void |
setLocale(java.util.Locale currentLocale)
Sets the locale setting of Engine Bean. |
void |
setLocale(java.lang.String language)
Sets the locale setting of Engine Bean. |
void |
setLocale(java.lang.String language,
java.lang.String country)
Sets the locale setting of Engine Bean. |
boolean |
setLogFile(java.lang.String fileName)
Resets the new log file. |
void |
setNamedWherePortion(java.lang.String name)
Sets the predefined WHERE portion. |
void |
setNamedWherePortion(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String name)
Sets the predefined WHERE portion. |
void |
setNLSApplyParamInfo(jet.util.nls.NLSApplyParam info)
Sets all NLS resource bundled information. |
void |
setNLSBundleInfo(NLSBundleInfo info)
Sets NLS resource bundled information. |
void |
setPageNumbers(int[] pageNums)
Sets the page numbers array filtered by Page Level Security setting. |
void |
setParamFile(java.lang.String paramFile)
Sets the filename of the parameter value file. |
void |
setParamValueDescs(java.util.Map<java.lang.String,jet.util.ParameterValueDesc> params)
Sets the parameter values of the parameters used in the reportset. |
void |
setParamValues(java.util.Properties params)
Sets the parameter values of the parameters used in the reportset. |
void |
setParamValues(java.lang.String paramValues)
Sets the parameters' values used in the reportset. |
void |
setPrintStatus()
Sets the print status as "Printing". |
void |
setReportHome(java.lang.String reportHome)
Sets the report home path where the report.ini and other JReport system files exist. |
void |
setReportName(java.lang.String reportName)
Sets the file name of the reportset. |
void |
setResultFile(java.lang.String resultFile)
Specifies the file name of the JReport result file(.rst) which will be generated by JReport Engine Bean. |
void |
setResultSet(java.lang.String cqrName)
Sets the Cache Query Result(CQR) of the JReport engine. |
void |
setRuntimeInfo(RuntimeInfo runtimeInfo)
Deprecated. |
void |
setRuntimeInfo(java.lang.String reportName,
RuntimeInfo runtimeInfo)
Sets RuntimeInfo of the report. |
void |
setRuntimeInfos(java.util.HashMap runtimeInfos)
Sets RuntimeInfos of the reportset. |
void |
setSecurityContext(SecurityContext sc)
Sets the Security Context definition used for the reportset. |
void |
setShowInfoLevel(int level)
Deprecated. The new setting of JReport log is defined in %install root%\bin\LogConfig.properties. |
void |
setSID(java.lang.String sid)
Sets the security ID of Page Level Security setting. |
void |
setSingleThread(boolean single)
Sets whether the JReport engine runs in single-thread mode or not. |
void |
setStyleGroup(java.lang.String styleGroupName)
Sets the engine's runtime style. |
void |
setTemplatePath(java.lang.String sTemplatePath)
Sets the template path. |
void |
setTempPath(java.lang.String sTempPath)
Sets the temporary path of Engine Bean. |
void |
setThrowException(boolean isThrowException)
Sets whether or not to throw an exception from JReport Engine Bean. |
void |
setTimeZone(java.lang.String timeZone)
Sets the new time zone of Engine Bean by the given TimeZone ID. |
void |
setTimeZone(java.util.TimeZone curTimeZone)
Sets the new time zone of Engine Bean. |
void |
setUID(java.lang.String uid)
Sets the UserID of JReport runtime license. |
void |
setUserName(java.lang.String name)
Sets the user name used for report Security Context. |
void |
setUserResultSet(java.sql.ResultSet userResultSet)
Sets the runtime resultset of the default JReport database. |
void |
setWherePortion(java.lang.String where)
Sets the runtime WHERE portion. |
void |
setWherePortion(java.lang.String dataSourceName,
java.lang.String queryName,
java.lang.String where)
Sets the runtime WHERE portion. |
void |
setXmlStreamFactory(java.lang.String datasourceName,
InputStreamFactory streamFactory)
Sets an xml data stream factory. |
void |
setXSDFile(java.lang.String sFilename)
Deprecated. |
void |
stopReport()
Deprecated. Replaced by stopReportSet() |
void |
stopReport(java.lang.String[] reports,
java.util.Vector[] views)
Stops all running engines specified by the reports and views. |
void |
stopReport(java.lang.String report,
java.lang.String view)
Stops the running engine specified by the report and view. |
void |
stopReportSet()
Stops all running engines. |
void |
waitForEngineFinish()
Waits until the engine process is successful. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Methods inherited from interface jet.export.print.JReportPrintListener |
---|
printEnd, printStart |
Methods inherited from interface jet.rptengine.EngineListener1 |
---|
afterRun |
Methods inherited from interface jet.rptengine.EngineListener |
---|
finished, started |
Methods inherited from interface jet.util.ThreadErrorListener |
---|
ThreadException |
Methods inherited from interface jet.rptengine.FinishedListener |
---|
finished |
Field Detail |
---|
public static final int vOff
public static final int vDebug
public static final int vError
public static final int LANDSCAPE
public static final int PORTRAIT
public static final int RSTFILEMAIL
public static final int HTMLMAIL
public static final int HTMLFILEMAIL
public static final int PDFFILEMAIL
public static final int PLAINTXTMAIL
public static final int SDFTEXTMAIL
public static final int PSFILEMAIL
public static final int XLSFILEMAIL
public static final int RTFFILEMAIL
public static final int XMLFILEMAIL
public static final int DHTMLFILEMAIL
public static final int IE
public static final int NETSCAPE
public static final int VISIBLE
public static final int HIDDEN
public static final int KEEPORIGIN
public static final int NOWORDWRAP
public static final int WORDWRAPALL
public static final int EXPORTSHAPE
public static final int NOEXPORTSHAPE
public static final int GB
public static final int BIG5
public static final int RPT_STATUS_CURRENT
public static final int RPT_STATUS_OPEN
public static final int RPT_STATUS_ALL
public static final int JDK11
public static final int JDK12
public static final int JDK14
public static int NLSSTATUS_ENABLE
public static int NLSSTATUS_DISABLE
public static int NLSSTATUS_AUTO
public static final java.lang.String PARAM_ALL_VALUE
Constructor Detail |
---|
public JREngine()
public JREngine(boolean setDebugLevel)
setDebugLevel
- Indicates whether or not to set debug information.public JREngine(java.lang.String uid, java.lang.String key)
uid
- The UserID of JReport runtime license.key
- The key of JReport runtime license.public JREngine(java.lang.String uid, java.lang.String key, boolean setDebugLevel)
uid
- The UserID of JReport runtime license.key
- The key of JReport runtime license.setDebugLevel
- Indicates whether or not to set debug information.Method Detail |
---|
public static java.lang.String getDefaultLocale()
Locale
of Engine Bean.
Locale
.public static void setDefaultLocale(java.lang.String defaultLocale)
Locale
of all Engine Beans.
defaultLocale
- The String format value of Locale
.public static java.lang.String getDefaultEncoding()
public static void setDefaultEncoding(java.lang.String defaultEncoding)
default
- String value of the encoding to be set.public int getID()
public void setConvertEncoding(int fromEncoding, int toEncoding)
fromEncoding
- The original encoding of the converter. It is either GB
or BIG5
.toEncoding
- The target encoding of the converter. It is either GB
or BIG5
.public int getConvertFromEncoding()
GB
or BIG5
.public int getConvertToEncoding()
GB
or BIG5
.public java.lang.String getUID()
public void setUID(java.lang.String uid)
uid
- The UserID of JReport runtime license.public java.lang.String getKey()
public void setKey(java.lang.String key)
key
- The key of JReport runtime license.public void setSingleThread(boolean single)
single
- true
if the engine uses single-thread mode; false
otherwise, it is in multi-thread mode.
It is especially used in an environment like EJB, which only allows single thread when performing transactions.public boolean getSingleThread()
true
if the engine is in single-thread mode; false
otherwise.public void setStyleGroup(java.lang.String styleGroupName)
styleGroupName
- The name of the style group predefined by JReport Designer.public void setLocale(java.util.Locale currentLocale)
currentLocale
- The new locale setting of Engine Bean.public void setLocale(java.lang.String language)
locale
- Lowercase two-letter ISO-639 code.#java.util.Locale
public void setLocale(java.lang.String language, java.lang.String country)
language
- Lowercase two-letter ISO-639 code.country
- Uppercase two-letter ISO-3166 code.#java.util.Locale
public void setEncoding(java.lang.String encoding)
encoding
- The encoding name to be set.public java.lang.String getEncoding()
public java.util.Vector getAvailableLocales(java.lang.String clientLocale)
clientLocale already exists in Locale lists, it is at the index zero.
- Parameters:
clientLocale
- Specifies the priority-ranked client's Locale.
- Returns:
- a list of all installed locales. Each element is the programatic name of the entire locale, with the language, country and variant separated by underbars. Language is always lower case, and country is always upper case. If the language is missing, the string will begin with an underbar. If both the language and country fields are missing, this function will return the empty string, even if the variant field is filled in (you can't have a locale with just a variant-- the variant must accompany a valid language or country code). Examples: "en", "de_DE", "_GB", "en_US_WIN", "de__POSIX", and "fr__MAC".
public void setTimeZone(java.util.TimeZone curTimeZone)
curTimeZone
- The new time zone of Engine Bean.public void setTimeZone(java.lang.String timeZone)
timeZone
- The ID for a TimeZone, which can be an abbreviation like "PST", a full name like "America/Los_Angeles", or a custom ID like "GMT-8:00".public void setClientName(java.lang.String name)
name
- The client name. If the engine is used by JReport Server, the client name is the client machine name as request.public java.lang.String getClientName()
public void setTempPath(java.lang.String sTempPath)
sTempPath
- The temporary path(absolute path) that the temporary file will be generated in.public java.lang.String getTempPath()
public void setTemplatePath(java.lang.String sTemplatePath)
sTemplatePath
- The template path(absolute path).public void setXSDFile(java.lang.String sFilename)
sFilename
- The template xsd file name(absolute path).public java.lang.String getXSDFile()
public java.lang.String getTemplatePath()
public void setHelpPath(java.lang.String sHelpPath)
sHelpPath
- The help path(absolute path).public java.lang.String getHelpPath()
public java.lang.String getReportHome()
public void setReportHome(java.lang.String reportHome)
reportHome
- The home path where the report.ini and other JReport system files exist.public java.lang.String getReportName()
public void setReportName(java.lang.String reportName)
reportName
- The full path file name of the reportset.public void setCatName(java.lang.String catName)
catName
- The full path file name of the catalog.public java.lang.String getCatName()
public void setSID(java.lang.String sid)
sid
- The security id defined in Page Level Security setting.public void setPageNumbers(int[] pageNums)
pageNums
- An int array of the page numbers of the report result.public int[] getPageNumbers()
public java.lang.String getSID()
public boolean hasPageSecurity()
true
if the current report defines the Page Level Security; false
otherwise.public boolean hasPageSecurity(java.lang.String rptName, java.lang.String viewName)
rptName
- Indicates the instance name of the report in the reportset.viewName
- Indicates the instance name of the view of the report in the reportset. Since there is only one view of the report currently, it can be null.
true
if the report defines the Page Level Security; false
otherwise.public int getPageOrientation()
LANDSCAPE
, PORTRAIT
or -1(Unknown).public java.lang.String getParamValues()
public void setParamValues(java.lang.String paramValues)
paramValues
- The string contains the parameter name/value pairs and they are separated by commas (',').public java.lang.String getParamFile()
public void setParamFile(java.lang.String paramFile)
Every parameter name and value pair occupies one line in the file (except when a line ends with \. See below). The name and value are separated by an equal sign '=' (if it exists), and the name is always on the left side and the value on the right side.
More rules:
1. All whitespace characters around the name will be ignored, but whitespace characters around the value will not be skipped.
2. This rule only applies to those lines whose line break occurs within the value string. If a line ends with \, then the following line, if it exists, is treated as a continuing line. So that the value string of the current line (without the last '\'), a new line character ('\n'), and the string of the next line will be concatenated together. But if a line ends with "\\", "\\" will be treated as the termination character of the value string and a single '\' will be appended to the value.
3. This rule only applies to name expression. If an equal sign is followed by "\\", this string will be treated as a part of the parameter name instead of a separator character. For example, "a\\=b=c+d" will be treated as: the name is "a=b", and the value is "c+d".
paramFile
- The name of the parameter values file.
This will be ignored if the paramValues are specified.public void setParamValues(java.util.Properties params)
params
- Property object contains the parameter values. The key is the parameter name, and the value is String format value of the parameter.public void setParamValueDescs(java.util.Map<java.lang.String,jet.util.ParameterValueDesc> params)
params
- The object contains the parameter name and its values.
The key is the parameter name, and the value is the ParameterValueDesc which contains the parameter values and its descriptions.
public java.lang.String getResultFile()
public void setResultFile(java.lang.String resultFile)
resultFile
- The file name of the JReport result file.runReport()
,
runReport(boolean)
public void setResultSet(java.lang.String cqrName)
cqrName
- The name of the Cache Query Result file.public java.lang.String getResultSet(java.lang.String url)
public void setDataDriver(java.lang.String url)
url
- The data driver of the report dataset.
This will set a runtime data driver for the engine. The url is defined as:public void setDataDriver(java.lang.String url, java.lang.String dataSetName)
url
- The data driver of the report dataset.
This will set a runtime data driver for the engine. The url is defined as:public java.lang.String getDataDriver()
public java.lang.String getLoadReport()
no(case insensitive), it means the engine does not run the report;
otherwise it runs the report.
- Returns:
- String of load report flag
public void setLoadReport(java.lang.String loadReport)
loadReport
- A String. If it not equals "no"(case insensitive), then the report will be run.public void setThrowException(boolean isThrowException)
isThrowException
- true
if it throws an exception from JReport Engine Bean when an error occurs in JReport engine; false
, if the Engine Bean only logs the error.public boolean getThrowException()
true
if it throws an exception from JReport Engine Bean when an error occurs in JReport engine; false
otherwise.public java.lang.Throwable getThrowable()
null
.public void runReport(boolean genRst)
genRst
- If true
, it will generate a ".rst" file after the report is run; if false
, it only generates the reports' results.
The result file will be generated in the path specified by SetResultFile or along with the reportset if the result file name is not set.- See Also:
setCatName(String)
,
setReportName(String)
,
setResultFile(String)
public Communicator getReportCommunicator()
JRResultViewer.setCommunicator(jet.datastream.Communicator)
public void waitForEngineFinish()
public boolean save(java.lang.String resultFileName) throws java.lang.Exception
runCurrentReport
or other methods like it to generate a report result before this
can be called.
resultFileName
- The full path file name of the JReport Result file (RST file).
true
if the JReport Result file is saved successfully; false
,if there is no result that can be saved.
java.lang.Exception
- if an unexpected error occurs during the saving process.public int getTotalPageNumber()
Current
report's result.
Note: It needs to invoke runCurrentReport
or other methods like it to generate the report result before this
can be called.
public void printReport()
public void printReport(java.lang.Object printJob, java.lang.Object pageFormat, boolean bInteractive, boolean bInBackground, boolean bUseJDK11)
printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model. If JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.bUseJDK11
- Indicates to print in JDK11 mode or JDK12 mode.
If true
, it prints in JDK11 mode;
false
, it prints in JDK12 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.bUseJDK11
is false
, it runs like this:PrinterJob printJob = PrinterJob.getPrinterJob(); bean.printReport(printJob, printJob.defaultPage(), false, false, false);
public void printReport(java.lang.Object printJob, java.lang.Object pageFormat, boolean bInteractive, boolean bInBackground, boolean bUseJDK11, boolean bSeparateLargePage)
printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model. If JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.bUseJDK11
- Indicates to print in JDK11 mode or JDK12 mode.
If true
, it prints in JDK11 mode;
false
, it prints in JDK12 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.bUseJDK11
is false
, it runs like this:PrinterJob printJob = PrinterJob.getPrinterJob(); bean.printReport(printJob, printJob.defaultPage(), false, false, false);
bSeparateLargePage
- Indicates whether or not to separate one large page if the report page size is larger
than the print paper size. If true
, when the report's page size is larger than
the printer's paper size, the report will be printed as multiple pages serially, which means to seperate
the large page of the report automatically.true
for JDK1.2 or higher JDK version, the PageFormat dialog will
pop up in the host. In this dialog, you can choose the page format which you want
to print with.
Note: This print option is not recommended. It may cause some unexpected
errors. E.g, an extra blank page maybe printed out.public void printReport(java.lang.Object printJob, java.lang.Object pageFormat, boolean bInteractive, boolean bInBackground, boolean bUseJDK11, boolean bSeparateLargePage, java.lang.String jobName)
printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model. If JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.bUseJDK11
- Indicates to print in JDK11 mode or JDK12 mode.
If true
, it prints in JDK11 mode;
false
, it prints in JDK12 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.bUseJDK11
is false
, it runs likes this:PrinterJob printJob = PrinterJob.getPrinterJob(); bean.printReport(printJob, printJob.defaultPage(), false, false, false);
bSeparateLargePage
- Indicates whether or not to separate one large page if the report page size is larger
than the print paper size. If true
, when the report's page size is larger than
the printer's paper size, the report will be printed as multiple pages serially, which means to seperate
the large page of the report automatically.true
for JDK1.2 or higher JDK version, the PageFormat dialog will
pop up in the host. In this dialog, you can choose the page format which you want
to print with.
Note: This print option is not recommended. It may cause some unexpected
errors. E.g, an extra blank page maybe printed out.jobName
- Specifies the name of the print process.public void printReport(java.lang.Object printJob, java.lang.Object pageFormat, boolean bInteractive, boolean bInBackground, boolean bUseJDK11, boolean bSeparateLargePage, java.lang.String jobName, java.lang.String printer)
printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model, if JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.bUseJDK11
- Indicates to prints in JDK11 mode or JDK12 mode.
If true
, it prints in JDK11 mode;
false
, it prints in JDK12 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.bUseJDK11
is false
, it runs like this:PrinterJob printJob = PrinterJob.getPrinterJob(); bean.printReport(printJob, printJob.defaultPage(), false, false, false);
bSeparateLargePage
- Indicates whether or not to separate one large page if the report page size is larger
than the print paper size. If true
, when the report's page size is larger than
the printer's paper size, the report will be printed as multiple pages serially, which means to seperate
the large page of the report automatically.true
for JDK1.2 or higher JDK version, the PageFormat dialog will
pop up in the host. In this dialog, you can choose the page format which you want
to print with.
Note: This print option is not recommended. It may cause some unexpected
errors. E.g, an extra blank page maybe printed out.jobName
- Specifies the name of the print process.printer
- Specifies the URL of the network printer.public void printReport(java.lang.Object job, boolean bInteractive, java.lang.Object pageFormat, boolean bInBackground, JReportPrintListener jreportprintlistener, int useJDK_X, java.lang.String jobName, java.util.Vector attributeInfo, java.lang.String printer) throws jet.export.print.NoSuchPrintAttributeException
printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model, if JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.useJDK_X
- Indicates to prints in JDK11 mode , JDK12 mode, or JDK14 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.
The JDK14 mode prints with satisfactory result and supports more print options, like multi-paper tray.
bSeparateLargePage
- Indicates whether or not to separate one large page if the report page size is larger
than the print paper size. If true
, when the report's page size is larger than
the printer's paper size, the report will be printed as multiple pages serially, which means to separate.
the large page of the report automatically.true
for JDK1.2 or higher JDK version, the PageFormat dialog will
pop up in the host. In this dialog, you can choose the page format which you want
to print with.
Note: This print option is not recommended. It may cause some unexpected
errors. E.g, an extra blank page maybe printed out.jobName
- Specifies the name of the print process.printer
- Specifies the URL of the network printer.attributeInfo
- Indicates the list of the printer options. Each element of the String is defined in PrintConfig.
For example:jet.export.print.NoSuchPrintAttributeException
JDK11
,
JDK12
,
JDK14
,
getAllPrinters()
public void printReport(ExportInfo info, java.lang.Object job, boolean bInteractive, java.lang.Object pageFormat, boolean bInBackground, JReportPrintListener jreportprintlistener, int useJDK, java.lang.String jobName, java.util.Vector attributeInfo, java.lang.String printer) throws jet.export.print.NoSuchPrintAttributeException
info
- The report information of the printing task.printJob
- The print job of this print action. JReport Engine Bean supports
both JDK11 and JDK12 print model, if JDK11 print model is to be used, the job
is java.awt.PrintJob
; if JDK12 print model is to be used, the job
is java.awt.print.PrinterJob
.pageFormat
- The pageFormat
of PrinterJob
of this print action.
It is needed if and only if it prints in JDK12 model.bInteractive
- Indicates whether or not to pop up the print setup dialog in the
host. If true
, the print setup dialog will be shown; false
otherwise.bInBackground
- Indicates whether or not to pop up the printing status dialog in the
host. If true
, the printing status dialog will be shown; false
otherwise.useJDK_X
- Indicates to prints in JDK11 mode , JDK12 mode, or JDK14 mode.
The JDK11 print mode is quick in speed but the print quality is not guaranteed.
The JDK12 mode prints with satisfactory result, even for a gif file,
but it is slow in speed.
The JDK14 mode prints with satisfactory result and supports more printing options, like multi-paper tray.
bSeparateLargePage
- Indicates whether or not to separate one large page if the report page size is larger
than the print paper size. If true
, when the report's page size is larger than
the printer's paper size, the report will be printed as multiple pages serially, which means to separate
the large page of the report automatically.true
for JDK1.2 or higher JDK version, the PageFormat dialog will
pop up in the host. In this dialog, you can choose the page format which you want
to print with.
Note: This print option is not recommended. It may cause some unexpected
errors. E.g, an extra blank page maybe printed out.jobName
- Specifies the name of the print process.printer
- Specifies the URL of the network printer.attributeInfo
- Indicates the list of the printer options. Each element of the String is defined in PrintConfig.
For example:jet.export.print.NoSuchPrintAttributeException
JDK11
,
JDK12
,
JDK14
,
getAllPrinters()
public java.lang.String getPrintStatus()
public void setPrintStatus()
public java.awt.print.Pageable ExportToPageable()
public void exit()
exit
in interface jet.rptengine.ExportFinishListener
public void exit(int timeout)
timeout
- The timeout in milliseconds. Engine Bean will stop and kill all threads after the timeout if there are engines that are still running.public Communicator getCommunicator(java.lang.String filename, int[] pageNums) throws java.io.IOException
filename
- The result file name. It is a full path file name.pageNums
- An int array of page numbers, only loading the specified pages of the result.
PJFCommunicator
.
java.io.IOException
public Communicator getCommunicator(java.lang.String filename, int[] pageNums, java.lang.String rptName, java.lang.String viewName) throws java.io.IOException
filename
- The result file name. It is a full path file name.pageNums
- An int array of page numbers, only loading the specified pages of the result.rptName
- The instance name of the report whose result will be loaded.viewName
- The instance name of the view whose result will be loaded. Since there is only one view of the report currently, it can be null.
PJFCommunicator
.
java.io.IOException
public void stopReport()
stopReportSet()
stopReport
in interface jet.rptengine.ExportFinishListener
public void stopReportSet()
public void stopReport(java.lang.String[] reports, java.util.Vector[] views)
reports
- The instance names of the reports.views
- The instance names of the views. Since there is only one view of the report currently, it can be null.public void stopReport(java.lang.String report, java.lang.String view)
report
- The instance names of the reports.view
- The instance name of the views. Since there is only one view of the report currently, it can be null.public void setShowInfoLevel(int level)
level
- The debug level, for example, vDebug | vError.public void closeLog()
public boolean setLogFile(java.lang.String fileName)
fileName
- The log's file name
LogFileName specifies where the debug, error and other information will be output. LogFileName contains both the path and the file's names. If no path is specified, the current path is used. If no file name is specified, the file jreport.log is used. Only the log file specified here will take effect when running reports, and the log files specified before will be closed.
true if the log file is changed successfully; false otherwise.
public java.lang.String getStatus()
setSingleThread(true)
;
public java.lang.String getReason()
public boolean hasParameter()
getReportParams()
or runReport()
first.
true
if the reportset has parameters; false
otherwise.public java.util.Vector getStyleGroupNames()
public java.util.Vector getReportParams() throws java.lang.Exception
java.lang.Exception
setCatName(String)
,
setReportName(String)
public java.util.Vector getReportParams(int status) throws java.lang.Exception
status
- Indicates the status of the reports.
It is RPT_STATUS_CURRENT
, RPT_STATUS_OPEN
or RPT_STATUS_ALL
.
ParamDesc
objects.
java.lang.Exception
setCatName(String)
,
setReportName(String)
public java.util.Vector getReportParams(java.util.Vector reportNames) throws java.lang.Exception
reportNames
- Indicates the instance name list of reports.
ParamDesc
objects.
java.lang.Exception
setCatName(String)
,
setReportName(String)
public java.util.Vector paramValueChanged(java.lang.String paramName, java.lang.String paramValue)
paramValueChanged
in interface jet.util.ParameterChangedListener
paramName
- Indicates the mapping name of the parameter whose value is changed.paramValue
- Indicates the changed String format value of the parameter.
ParamDescs
of the related parameters.paramValueChanged(String, String[])
public java.util.Vector paramValueChanged(java.lang.String paramName, java.lang.String[] paramValues) throws jet.exception.InvalidParameterException
paramValueChanged
in interface jet.util.ExtParameterChangedListener
ParamDescs
of the related parameters.
jet.exception.InvalidParameterException
paramValueChanged(String, String)
public java.util.Vector<ParamDesc> paramValueChanged(java.lang.String paramName, jet.util.ParameterValueDesc paramValue) throws jet.exception.InvalidParameterException
paramValueChanged
in interface jet.util.ExtParameterChangedListener
jet.exception.InvalidParameterException
- 1. If the format of value is invalid;
2. if the new values of parameter are more than one when the parameter does not support multi-values.
3. the new value is expression and changed parameter is bind column or parameters type.public java.util.Hashtable getParamDescs()
reportNames
- Indicates the instance name list of reports.
ParamDesc
objects. The key is the mapping name of the parameter, and the value is ParamDesc
>.setCatName(String)
,
setReportName(String)
public boolean exportToRst(java.lang.String loadRstFileName, java.lang.String rstFileName)
loadRstFileName
- Indicates the source file name with full path.rstFileName
- Indicates the target file name with full path.
true
if the file is saved successfully; false
public boolean exportToRst(java.lang.String rstFileName)
rstFileName
- Indicates the JReport Result file (RST file)'s file name with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToRst(java.util.Map reportInfo, java.lang.String rstFileName, boolean isZip)
rstFileName
- Indicates the JReport Result file (RST file)'s file name with full path.reportInfo
- Indicates the report's information to be exported. The key is the report instance name;
the value is a view name vector, and each element of the vector is the view name string of the report.
true
if the result is exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.
true
if the result is exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, int resolution)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as anapplet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser)
runCurrentReport
or other methods like it to generate report result before this.
exportToHtml
in interface EngineExecuter
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, int resolution)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType, int chartFormat)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToHtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType, int chartFormat)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public void setHtmlImageType(int imageType)
HtmlParameter.setExportImageType(int)
public java.util.Vector getAllHtmlFile()
exportToHtml
.
public java.util.Vector getAllPdfFile()
exportToPDF
.
public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result was exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.
true
if the result was exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, int resolution)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of rthe eport result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String rstFileName, java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType)
rstFileName
- The filename of JReport result file with full path.htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be the IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, int resolution)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as an applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.
true
if the result is exported successfully; false
otherwise.public boolean exportToDhtml(java.lang.String htmlFileName, boolean bChartApplet, boolean isMultiFile, boolean bUsingTable, boolean bHyperlink, boolean bPageNum, boolean bAbsolute, int iBrowser, boolean bincdrilldownfile, boolean noMargin, java.lang.String title, int resolution, int overflowType)
runCurrentReport
or other methods like it to generate report result before this.
htmlFileName
- The HTML filename with full path.bChartApplet
- Indicates whether or not to export the Chart of the report result as sn applet in html file.isMultiFile
- Indicates whether or not to export the report result to an HTML file or to multiple files.bUsingTable
- Indicates whether or not to export HTML in table format.bHyperlink
- Indicates whether or not to generate hyperlinks in HTML files.bPageNumber
- Indicates whether or not to generate page numbers in the header/footer of HTML contents.bAbsolute
- Indicates the font size is absolute or relative.iBrowser
- Indicates the browser is IE or NETSCAPE. The value of
the browser must be IE
or NETSCAPE
.bincdrilldownfile
- Indicates whether or not to generate the drilldown html files in the file list.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the HTML files.title
- Indicates the title of the HTML file.resolution
- Indicates the resolution of the HTML files to get nice outlook and layout.overflowType
- Indicates the overflow type of the contents in the HTML file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName)
runCurrentReport
or other methods like it to generate report result before this.
exportToPdf
in interface EngineExecuter
pdfFileName
- The PDF filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.io.OutputStream stream)
runCurrentReport
or other methods like it to generate report result before this.
stream
- Exports the result in PDF data format to this OutputStream.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, boolean iCompressImage)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.isTransparent
- Indicates whether the images in the PDF file are transparent or not.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent, boolean bToc, boolean bDrill)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.isTransparent
- Indicates whether the images in the PDF file are transparent or not.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent, boolean bToc, boolean bDrill, java.lang.String password)
runCurrentReport
or other methods like it to generate report result before this.
pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
if true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.isTransparent
- Indicates whether the images in the PDF file are transparent or not.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.password
- Specifies the password of the generated PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.io.OutputStream stream, boolean noMargin, int iCompressImage, boolean isTransparent, boolean bToc, java.lang.String password, int[] pages, int[][] pageRange)
runCurrentReport
or other methods like it to generate report result before this.
stream
- Exports the result in PDF data format to this OutputStream.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.isTransparent
- Indicates whether the images in the PDF file are transparent or not.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.password
- Specifies the password of the generated PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, boolean iCompressImage)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.password
- Specifies the password of the generated PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent, boolean bToc, boolean bDrill)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String pdfFileName, boolean noMargin, boolean isSimPrintMode, int iCompressImage, boolean isTransparent, boolean bToc, boolean bDrill, java.lang.String password)
rstFileName
- The filename of JReport result file with full path.pdfFileName
- The PDF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PDF files.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.isTransparent
- Indicates whether the images in the PDF file are transparent or not.bToc
- Indicates whether or not to generate the PDF file with Table OF Contents(TOC).bDrill
- Indicates whether or not to generate the drilldown PDF files.password
- Specifies the password of the generated PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String filename, PDFParameter parameter)
runCurrentReport
or other methods like it to generate report result before this.
fileName
- The PDF filename with full path.paramter
- Specifies the options of the PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToPdf(java.lang.String rstFileName, java.lang.String filename, PDFParameter parameter)
rstFileName
- The filename of JReport result file with full path.fileName
- The PDF filename with full path.paramter
- Specifies the options of the PDF file.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, int udchWidth, int udchHeight)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text datasource to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean isQuoteMark, boolean hasHeadFoot)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot, boolean forWindows)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String rstFileName, java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot, boolean forWindows, boolean ignoreDelimiter)
rstFileName
- The filename of JReport result file with full path.textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.ignoreDelimiter
- Indicates to ignore the delimiter in the text or not.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.ignoreDelimiter
- Indicates to ignore the delimiter in the text or not.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.io.OutputStream stream, boolean isNormalText)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, int udchWidth, int udchHeight)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter)
runCurrentReport
or other methods like it to generate report result before this.
exportToText
in interface EngineExecuter
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- the TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format
the Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other application
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.udchWidth
- Indicates the width of each unit of the horizontal density between columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot, boolean forWindows)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between therows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.lang.String textFileName, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot, boolean forWindows, boolean ignoreDelimiter)
runCurrentReport
or other methods like it to generate report result before this.
textFileName
- The TEXT file name with full path.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.ignoreDelimiter
- Indicates to ignore the delimiter in the text or not.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToText(java.io.OutputStream stream, boolean isNormalText, boolean isRepeat, char delimiter, int udchWidth, int udchHeight, boolean compress, int resolution, boolean quoteMark, boolean hasHeadFoot, boolean forWindows)
runCurrentReport
or other methods like it to generate report result before this.
stream
- Indicates the specified data stream.isNormalText
- Indicates if the text file is the normal text format or Standard Data Format.
The Standard Data Format file is the text file that each row of it represents a record in the report. It can be used as a text data source to exchange data with other applications.
isRepeat
- Indicates whether or not to repeat the same contents in the Text file.delimiter
- Indicates the delimiter char used in the SDF(Standard Data Format) file.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.resolution
- Specifies the resolution for converting the character. It is one of -1, 72, 76, 96, and 120. When the value is -1, it will be the resolution of your monitor.quoteMark
- If true
, the fields in the exported text file will be marked in quotes.hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.forWindows
- Specifies whether to use Windows end-of-line characters to indicate the start of a new line. If true
, it uses two characters at the end of the line: cr lf. Otherwise, it uses Unix EOL character: lf, at the end of the line.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.lang.String rstFileName, java.lang.String psFileName, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
rstFileName
- The filename of the JReport result file with full path.psFileName
- The PostScript filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PostScript files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.lang.String rstFileName, java.lang.String psFileName)
runCurrentReport
or other methods like it to generate report result before this.
rstFileName
- The filename of the JReport result file with full path.psFileName
- The PostScript filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.lang.String psFileName)
runCurrentReport
or other methods like it to generate report result before this.
psFileName
- The PostScript filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.io.OutputStream stream)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.lang.String psFileName, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
psFileName
- The PostScript filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the PostScript files.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(java.io.OutputStream stream, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the result in PostScript format.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.lang.String rstFileName, java.lang.String rtfFileName)
rstFileName
- The filename of JReport result file with full path.rtfFileName
- The RTF filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.lang.String rtfFileName)
runCurrentReport
or other methods like it to generate report result before this.
rtfFileName
- The RTF filename with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.io.OutputStream stream)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.lang.String rtfFileName, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
rtfFileName
- The RTF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the RTF files.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.io.OutputStream stream, boolean noMargin)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.
true
if the result is exported successfully; false
otherwise.public boolean exportToRtf(java.lang.String rstFileName, java.lang.String rtfFileName, boolean noMargin)
rstFileName
- The filename of JReport result file with full path.rtfFileName
- The RTF filename with full path.noMargin
- Indicates whether or not to remove the page margins of the report result when generating the RTF files.
true
if the result is exported successfully; false
otherwise.public java.util.Vector getAllRtfFile()
public boolean exportToXML(java.lang.String xmlFileName, boolean isOnlyData, java.lang.String existXSFile) throws java.lang.ClassNotFoundException
runCurrentReport
or other methods like it to generate report result before this.
xmlFileName
- The XML filename with full path.isOnlyData
- Indicates whether only the database column information is exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.existXSFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
true
if the result is exported successfully; false
otherwise.
java.lang.ClassNotFoundException
public boolean exportToXML(java.lang.String xmlFileName, boolean isMultiFile, boolean isOnlyData) throws java.lang.ClassNotFoundException
runCurrentReport
or other methods like it to generate report result before this.
xmlFileName
- The XML filename with full path.isOnlyData
- Indicates whether only the database column information is exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
true
if the result is exported successfully; false
otherwise.
java.lang.ClassNotFoundException
public boolean exportToXML(java.lang.String rstFileName, java.lang.String xmlFileName, boolean isOnlyData, java.lang.String existedSchemaFile) throws java.lang.ClassNotFoundException
rstFileName
- The filename of JReport result file with full path.xmlFileName
- The XML filename with full path.isOnlyData
- Indicates whether only the database column information is exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.existedSchemaFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
true
if the result is exported successfully; false
otherwise.
java.lang.ClassNotFoundException
public boolean exportToXML(java.lang.String rstFileName, java.lang.String xmlFileName, boolean isMultiFile, boolean isOnlyData) throws java.lang.ClassNotFoundException
rstFileName
- The filename of JReport result file with full path.xmlFileName
- The XML filename with full path.isOnlyData
- Indicates whether only the database column information is exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.isMultiFile
- This option is not supported yet.
true
if the result is exported successfully; false
otherwise.
java.lang.ClassNotFoundException
public boolean exportToXML(ExportInfo info, XmlParameter param) throws java.lang.ClassNotFoundException
runCurrentReport
or other methods like it to generate report result before this.
info
- The report information of the export task.param
- The XmlParameter specifies the options of the XML file.
true
if the result is exported successfully; false
otherwise.
java.lang.ClassNotFoundException
public java.util.Vector getAllXMLFile()
public boolean exportToXls(java.lang.String rstFileName, java.lang.String xlsFileName, int isWordWrap, boolean isBiff8, int bExportShaps, boolean shareLabel)
rstFileName
- The filename of the JReport result file with full path.xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Specifies whether or not to export the result in Excel2000 (Biff8) format.bExportShaps
- Specifies whether or not to export the shapes in the result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.shareLabel
- Deprecated. It is always true
now.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.lang.String rstFileName, java.lang.String xlsFileName, int isWordWrap, boolean isBiff8, int bExportShaps)
rstFileName
- The filename of the JReport result file with full path.xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Specifies whether or not to export the result in Excel2000 (Biff8) format.bExportShaps
- Specifies whether or not to export the shapes in the result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.lang.String rstFileName, java.lang.String xlsFileName, int isWordWrap, boolean isBiff8)
rstFileName
- The filename of JReport result file with full path.xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Specifies whether or not to export result in Excel2000 (Biff8) format.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.lang.String rstFileName, java.lang.String xlsFileName, int isWordWrap)
rstFileName
- The filename of the JReport result file with full path.xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
true
if the result is exported successfully; false
otherwise.public boolean exportToXls(java.lang.String rstFileName, java.lang.String xlsFileName)
rstFileName
- The filename of the JReport result file with full path.xlsFileName
- The Excel file name with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToXls(java.lang.String xlsFileName)
runCurrentReport
or other methods like it to generate report result before this.
xlsFileName
- The Excel file name with full path.
true
if the result is exported successfully; false
otherwise.public boolean exportToXls(java.io.OutputStream stream)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.
true
if the result is exported successfully; false
otherwise.public boolean exportToXls(java.lang.String xlsFileName, int isWordWrap)
runCurrentReport
or other methods like it to generate report result before this.
xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
true
if the result is exported successfully; false
otherwise.public boolean exportToXls(java.lang.String xlsFileName, int isWordWrap, boolean isBiff8)
runCurrentReport
or other methods like it to generate report result before this.
xlsFileName
- The Excel file name with full path.isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.lang.String xlsFileName, int isWordWrap, boolean isBiff8, int bExportShaps)
runCurrentReport
or other methods like it to generate report result before this.
xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Specifies whether or not to export the result in Excel2000 (Biff8) format.bExportShaps
- Specifies whether or not to export the shapes in the result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.lang.String xlsFileName, int isWordWrap, boolean isBiff8, int bExportShaps, boolean shareLabel)
runCurrentReport
or other methods like it to generate report result before this.
xlsFileName
- The Excel file name with full path.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.isBiff8
- Specifies whether or not to export the result in Excel2000 (Biff8) format.bExportShaps
- Specifies whether or not to export the shapes in the result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.shareLabel
- Deprecated. It is always true
now.
- Returns:
true
if the result is exported successfully; false
otherwise.
public boolean exportToXls(java.io.OutputStream stream, int isWordWrap, int bExportShaps, boolean shareLabel)
runCurrentReport
or other methods like it to generate report result before this.
stream
- The specified data stream.isWordWrap
- Specifies whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.bExportShaps
- Specifies whether or not to export the shapes in result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.shareLabel
- Deprecated. It is always true
now.
true
if the result is exported successfully; false
otherwise.public java.util.Vector getAllXlsFile()
public void configMailServer(java.lang.String SMTPServerIP, java.lang.String MyMailAddress, int SMTPServerPort)
SMTPServerIP
- Specifies the IP address of the e-Mail server.MyMailAddress
- Specifies the mail address of the sender.SMTPServerPort
- Specifies the e-Mail server's port number.public void setAuthencatorMessage(java.lang.String username, java.lang.String password, java.lang.String mailAddress)
username
- Specifies the username of the sender's account.password
- Specifies the password of the sender's account.mailAddresss
- Specifies the sender's account.
Note: Do not invoke this if the SMTP server needn't authentication.public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
java.lang.Exception
public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.
java.lang.Exception
public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachment.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.java.lang.Exception
public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The content string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).java.lang.Exception
public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachment.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
isDataOnlyXML
- Indicates that whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure datay in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap, boolean isBiff8) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
This property is only for Excel-format attached files.
- Throws:
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap, boolean isBiff8, int bExportShaps) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
This property is only for Excel-format attached files.bExportShaps
- Indicates whether or not to export the shapes in result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.
This property is only for Excel-format attached files.
- Throws:
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap, boolean isBiff8, int bExportShaps, boolean bToc, boolean bDrill) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
bDrill
- Indicates whether or not to generate the drilldown PDF files.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
This property is only for Excel-format attached files.bExportShaps
- Indicates whether or not to export the shapes in result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.
This property is only for Excel-format attached files.
- Throws:
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap, boolean isBiff8, boolean bToc, boolean bDrill, java.lang.String encoding) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
bDrill
- Indicates whether or not to generate the drilldown PDF files.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
This property is only for Excel-format attached files.
- Throws:
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, int rptformat, boolean noMargin, int udwidth, int udheight, boolean isSimPrintMode, int iCompressImage, boolean isDataOnlyXML, java.lang.String xsdFile, boolean hasHeadFoot, boolean isGifTrans, boolean bTxtCompress, boolean isTable, int isWordWrap, boolean isBiff8, int bExportShaps, boolean bToc, boolean bDrill, java.lang.String encoding) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sentcomments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isGifTrans
- Indicates whether the images in the PDF file are transparent or not.
bToc
- Indicates whether or not to generate the PDF file with Table OF Contents (TOC).
bDrill
- Indicates whether or not to generate the drilldown PDF files.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
bTxtCompress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
isWordWrap
- Indicates whether or not to enable the wordwrap option of the field. The value must be KEEPORIGIN
, NOWORDWRAP
or WORDWRAPALL
.
isBiff8
- Indicates whether or not to export the result in Excel2000 (Biff8) format.
This property is only for Excel-format attached files.bExportShaps
- Indicates whether or not to export the shapes in result to the Excel file. It is EXPORTSHAPE
or NOEXPORTSHAPE
.
This property is only for Excel-format attached files.encoding
- Specifies the encoding of the e-mail.
- Throws:
java.lang.Exception
public void exportToMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, boolean isDataOnly, java.lang.String xsdFile) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.rptformat
- Specifies the format type of the e-mail attachments.
RSTFILEMAIL
- Sends the report result via e-mail to the specified address with a JReport result file as attachment.
HTMLMAIL
- Sends the report result via e-mail to the specified address in HTML format. The report result will be shown in HTML format in the mail's body. If this format is selected, the comments will be overwritten by the report result.
HTMLFILEMAIL
- Sends the report result via e-mail to the specified address with HTML files as attachments.
PDFFILEMAIL
- Sends the report result via e-mail to the specified address with PDF files as attachments.
PLAINTXTMAIL
- Sends the report result via e-mail to the specified address with TEXT files as attachments.
SDFTEXTMAIL
- Sends the report result via e-mail to the specified address with SDF TEXT files as attachments.
PSFILEMAIL
- Sends the report result via e-mail to the specified address with PostScript files as attachments.
XLSFILEMAIL
- Sends the report result via e-mail to the specified address with Excel files as attachments.
RTFFILEMAIL
- Sends the report result via e-mail to the specified address with RTF (Rich Text Format) files as attachments.
XMLFILEMAIL
- Sends the report result via e-mail to the specified address with XML files as attachments.
DHTMLFILEMAIL
- Sends the report result via e-mail to the specified address with DHTML files as attachments.
noMargin
- Indicates whether or not to remove the page margins of the report result when generating the attached files.udchWidth
- Indicates the width of each unit of the horizontal density between the columns.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the width between the columns is.
When the value is -1, the density will be specified by default by JReport.udchHeight
- Indicates the height of each unit of the vertical density between the rows.
The density of the result is a direct ratio with the specified value.
That is to say, the greater the value is, the smaller the height between the rows is.
When the value is -1, the density will be specified by default by JReport.isSimPrintMode
- Indicates the print mode when generating charts and barcodes.
If true
, it generates the charts and barcodes by Vector graphics;
if false
, it generates charts and barcodes by images(recommended).iCompressImage
- Indicates the image compression ratio of the pdf file. Its value is from 1 to 100. If it does not compress the image, the value is -1.
isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file;
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
hasHeadFoot
- Indicates whether or not to keep all the header/footer sections of the reportset while exporting. This option is helpful to keep only pure data in the result.
If true
, it remains all sections of the report result in the text format file;
if false
, all the header/footer sections and their components will be removed from the result.
compress
- Indicates whether or not to remove empty lines or redundant delimiters in the text file.
java.lang.Exception
public void exportToMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, boolean isDataOnly, java.lang.String xsdFile) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
from
- Specifies the e-mail address of the sender.rcpt
- Specifies the e-mail address of the recipients to whom you want to send the report result.cc
- Specifies the e-mail address of the recipients to whom you want to send a copy of the report result.bcc
- Specifies the e-mail address of the recipients to whom you want to send a blind carbon copy of the report result.subject
- Specifies the subject of the e-mail that is to be sent.comments
- Specifies some comments about the report result. The contents string will be shown in the text part of the mail.compress
- Specifies whether or not to compress the mail attachments as Java Archives.isDataOnlyXML
- Indicates whether only database column information will be exported to the XML file,
otherwise all report details, including all the properties of the column, will be exported.
xsdFile
- Specifies the schema file to be based on when generating the XML file. If it is null, it creates a new schema file.
java.lang.Exception
public void exportToMail(MailInformation info) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
info
- Indicates the information and setting of the mail.
java.lang.Exception
public void exportToMail(ExportInfo exportInfo, MailInformation info) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
info
- The report information of the export task.info
- Indicates the information and setting of the mail.
java.lang.Exception
public void sendNormalMail(java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, java.util.Vector additionfiles) throws java.lang.Exception
rcpt
- Receipt address.cc
- Address to be copied to.bcc
- Address to be blindly copied to.subject
- Mail subject.comments
- Any text string for memo.compress
- Indicates whether to use java compress utilities to compress
the mail contents.additionfiles
- Additional files attached to the mail other than
report results. If the additional files are null, it means no files are attached
to the mail.
java.lang.Exception
public void sendNormalMail(java.lang.String from, java.lang.String rcpt, java.lang.String cc, java.lang.String bcc, java.lang.String subject, java.lang.String comments, boolean compress, java.util.Vector additionfiles) throws java.lang.Exception
from
- Address where the mail is from.rcpt
- Receipt address.cc
- Address to be copied to.bcc
- Address to be blindly copied to.subject
- Mail subject.comments
- Any text string for memo.compress
- Indicates whether to use java compress utilities to compress
the mail contents.additionfiles
- Additional files attached to the mail other than
report results. If the additional files are null, it means no files are attached
to the mail.
java.lang.Exception
public void setNamedWherePortion(java.lang.String name)
name
- Specifies the name of the predefined WHERE portion.public void setNamedWherePortion(java.lang.String dataSourceName, java.lang.String queryName, java.lang.String name)
dataSourceName
- Specifies the data source name of the predefined WHERE portion.queryName
- Specifies the query name of the predefined WHERE portion.name
- Specifies the name of the predefined WHERE portion.public void setWherePortion(java.lang.String where)
where
- Specifies the SQL statement of the runtime WHERE portion.public void setWherePortion(java.lang.String dataSourceName, java.lang.String queryName, java.lang.String where)
dataSourceName
- Specifies the data source name of the predefined WHERE portion.queryName
- Specifies the query name of the predefined WHERE portion.where
- Specifies the SQL statement of the runtime WHERE portion.public boolean saveWherePortion(java.lang.String strName, java.lang.String strQueryName, java.lang.String strSQL)
strQueryName
- Specifies the query name of the predefined WHERE portion.strName
- Specifies the name of the predefined WHERE portion.strSQL
- Specifies the SQL statement of the runtime WHERE portion.
true if the WHERE portion is saved successfully; false
otherwise.
public boolean saveWherePortion(java.lang.String strName, java.lang.String dataSourceName, java.lang.String strQueryName, java.lang.String strSQL)
dataSourceName
- Specifies the data source name of the predefined WHERE portion.strQueryName
- Specifies the query name of the predefined WHERE portion.strName
- Specifies the name of the predefined WHERE portion.strSQL
- Specifies the SQL statement of the runtime WHERE portion.
true if the WHERE portion is saved successfully; false
otherwise.
public boolean saveWherePortion(java.lang.String strName, java.lang.String strQueryName, java.util.Vector vecGroups)
strQueryName
- Specifies the query name of the predefined WHERE portion.strName
- Specifies the name of the predefined WHERE portion.vecGroups
- Specifies the SQL statement of the runtime WHERE portion. Each element presents the String format SQL statememt and a new group.
true if the WHERE portion is saved successfully; false
otherwise.
public boolean saveWherePortion(java.lang.String strName, java.lang.String dataSourceName, java.lang.String strQueryName, java.util.Vector vecGroups)
dataSourceName
- Specifies the data source name of the predefined WherePortion.strQueryName
- Specifies the query name of the predefined WherePortion.strName
- Specifies the name of the predefined WherePortion.vecGroups
- Specifies the SQL statement of the runtime WHERE portion. Each element presents the String format SQL statememt and a new group.
true if the WHERE portion is saved successfully; false
otherwise.
public boolean saveWherePortion(java.lang.String strName, java.lang.String strSQL)
strName
- Specifies the name of the predefined WherePortion.strSQL
- Specifies the SQL statement of the runtime WHERE portion.
true if the where portion is saved successfully; false
otherwise.- See Also:
setReportName(String)
public boolean saveWherePortion(java.lang.String strName, java.util.Vector vecGroups)
strName
- Specifies the name of the predefined WherePortion.vecGroups
- Specifies the groups that represent the structure of the WHERE portion.
Each element is a Vector that represents a WHERE portion group;
the WHERE portion group is composed of 4-dimension String arrays.true if the WHERE portion is saved successfully; false
otherwise.- See Also:
setReportName(String)
public boolean modifyWherePortion(java.lang.String strName, java.lang.String strSQL)
strName
- Specifies the name of the predefined WHERE portion.strSQL
- Specifies the new WHERE clause string.
true
if the specified WHERE portion is modified successfully; false
otherwise.setReportName(String)
public boolean modifyWherePortion(java.lang.String strName, java.util.Vector vecGroups)
strName
- Specifies the name of the predefined WherePortion.vecGroups
- Specifies the groups that represent the structure of the WHERE portion.
Each element is a Vector that represents a WHERE portion group;
the whereportion group is composed of 4-dimension String arrays.true
if the specified WHERE portion is modified successfully; false
otherwise.setReportName(String)
public boolean deleteWherePortion(java.lang.String strName)
strName
- Specifies the name of the predefined WHERE portion.
true
if the specified WHERE portion is deleted successfully; false
otherwise.public boolean deleteWherePortion(java.lang.String strName, java.lang.String sourceName)
strName
- Specifies the name of the predefined WHERE portion.sourceName
- Specifies the name of the database.
true
if the specified WHERE portion is deleted successfully; false
otherwise.public java.util.Enumeration getAvailableWherePortions(java.lang.String datasourceName, java.lang.String queryName)
datasourceName
- Specifies the name of the database.queryName
- Specifies the name of the query that the WHERE portion depends on.
public java.util.Enumeration getAvailableWherePortions()
setReportName(String)
public java.util.Enumeration getAvailableQueryFields()
public java.lang.String getWherePortionsSQL(java.lang.String nameOfWherePortion)
nameOfWherePortion
- The name of the WHERE portion.
public java.lang.String getWherePortionsSQL(java.lang.String nameOfWherePortion, java.lang.String sourceName)
nameOfWherePortion
- The name of the WHERE portion.sourceName
- The name of the data source.
public boolean saveCatalog()
true
if the catalog is saved successfully; false
otherwise.setCatName(String)
public boolean addFileQuery(java.lang.String strName, java.io.File flPath)
strName
- Specifies the mapping name of the new JReport FileQuery.flPath
- Specifies the file name with full file path. The file stores the SQL statement string.
true
if the FileQuery is added successfully; false
otherwise.setCatName(String)
public boolean addFileQuery(java.lang.String strName, java.io.File flPath, java.lang.String sourceName)
strName
- Specifies the mapping name of the new JReport FileQuery.flPath
- Specifies the file name with full file path. The file stores the SQL statement string.sourceName
- Specifies the database name.
true
if the FileQuery is added successfully; false
otherwise.setCatName(String)
public java.lang.String getSQL()
public void modifyUserInfo(java.lang.String strUserName, java.lang.String strPassword)
strUserName
- Specifies the new user name of the connection.strPassword
- Specifies the new password of the connection.public void modifyUserInfo(java.lang.String strUserName, java.lang.String strPassword, java.lang.String dataSourceName)
strUserName
- Specifies the new user name of the connection.strPassword
- Specifies the new password of the connection.dataSourceName
- Specifies the database name of the connection.public void setConnection(java.lang.String strURL, java.lang.String strUID, java.lang.String strPSWD, java.lang.String strJdbcDriver)
setConnection(String, String, String, String, String)
strURL
- Specifies the URL of the database. If it is null
, the relevant parameter defined in the catalog will be used.strUID
- Specifies the user name of the database.strPSWD
- Specifies the password of the database.strJdbcDriver
- Specifies the class name of JDBC Driver. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String strUID, java.lang.String strPSWD)
setConnection(String, String, String)
strUID
- Specifies the user name of the database. If it is null
, the relevant parameter defined in the catalog will be used.strPSWD
- Specifies the password of the database. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String strURL, java.lang.String strUID, java.lang.String strPSWD, java.lang.String strJdbcDriver, boolean fetchSupportInfo)
setConnection(String, String, String, String, String, boolean)
strURL
- Specifies the URL of the database. If it is null
, the relevant parameter defined in the catalog will be used.strUID
- Specifies the user name of the database.strPSWD
- Specifies the password of the database.strJdbcDriver
- Specifies the class name of Jdbc Driver. If it is null
, the relevant parameter defined in the catalog will be used.fetchSupportInfo
- If true
, gets the user support information when connecting to the database. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String dataSourceName, java.sql.Connection userDbConnection)
dataSourceName
- Specifies the name of the database.userDbConnection
- Specifies the user's connection which replaces the connection defined in JReport database.public void setConnection(java.lang.String dataSourceName, java.sql.Connection userDbConnection, boolean fetchSupportInfo)
dataSourceName
- Specifies the name of the database.userDbConnection
- Specifies the user's connection which replaces the default connection defined in JReport database.fetchSupportInfo
- If true
, gets the user support information when connecting to the database.public void setConnection(java.lang.String dataSourceName, java.lang.String connectionName, java.sql.Connection userDbConnection)
dataSourceName
- Specifies the name of the database.connectionName
- Specifies connection resource nameuserDbConnection
- Specifies the user's connection which replaces the default connection defined in JReport database.fetchSupportInfo
- If true
, gets the user support information when connecting to the database.public void setConnection(java.lang.String dataSourceName, java.lang.String strUID, java.lang.String strPSWD)
dataSourceName
- Specifies the name of the database.strUID
- Specifies the user name of the database. If it is null
, the relevant parameter defined in the catalog will be used.strPSWD
- Specifies the password of the database. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String dataSourceName, java.lang.String strURL, java.lang.String strUID, java.lang.String strPSWD, java.lang.String strJdbcDriver)
dataSourceName
- Specifies the name of the database.strURL
- Specifies the URL of the database. If it is null
, the relevant parameter defined in the catalog will be used.strUID
- Specifies the user name of the database.strPSWD
- Specifies the password of the database.strJdbcDriver
- Specifies the class name of JDBC Driver. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String dataSourceName, java.lang.String connectionName, java.lang.String strURL, java.lang.String strUID, java.lang.String strPSWD, java.lang.String strJdbcDriver)
dataSourceName
- Specifies the name of the database.connectionName
- Specifies the resource name of the connection.strURL
- Specifies the URL of the database. If it is null
, the relevant parameter defined in the catalog will be used.strUID
- Specifies the user name of the database.strPSWD
- Specifies the password of the database.strJdbcDriver
- Specifies the class name of JDBC Driver. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.lang.String dataSourceName, java.lang.String strURL, java.lang.String strUID, java.lang.String strPSWD, java.lang.String strJdbcDriver, boolean fetchSupportInfo)
dataSourceName
- Specifies the name of the database.strURL
- Specifies the URL of the database. If it is null
, the relevant parameter defined in the catalog will be used.strUID
- Specifies the user name of the database.strPSWD
- Specifies the password of the database.strJdbcDriver
- Specifies the class name of JDBC Driver. If it is null
, the relevant parameter defined in the catalog will be used.fetchSupportInfo
- If true
, gets the user support information when connecting to the database. If it is null
, the relevant parameter defined in the catalog will be used.public void setConnection(java.sql.Connection userDbConnection)
setConnection(String, Connection)
userDbConnection
- Specifies the user's connection which replaces the connection defined in JReport database.public void setConnection(java.sql.Connection userDbConnection, boolean fetchSupportInfo)
setConnection(String, Connection, boolean)
userDbConnection
- Specifies the user's connection which replaces the connection defined in JReport database.fetchSupportInfo
- If true
, gets the user support information when connecting to the database.public void setFetchSupportInfo(boolean fetchSupportInfo)
fetchSupportInfo
- If true
, gets the user support information when connecting to the database.public void setUserResultSet(java.sql.ResultSet userResultSet)
userResultSet
- Specifies the user's resultset. JReport engine will run report with such resultset.public void setUserName(java.lang.String name)
name
- The user name used for report Security Context.public void setSecurityContext(SecurityContext sc)
securityContext
- The Security Context used for the reportset.public java.lang.String getVersion()
public static java.util.Vector getAllPrinters(java.lang.String reportHome)
reportHome
- Specifies the JReport product install root to load the printers.ini file and get user defined printer names.
public static java.util.Vector getAllPrinters()
public boolean exportToFax(ExportInfo info, java.lang.String portStr, java.lang.String initStr, int iDialing, int iFlowControl, java.lang.String flowCommand, int iClass, int txtTimeOut, int txtRetries, boolean q_best, boolean q_normal, boolean q_fast, boolean isAddCover, java.lang.String faxnum, java.lang.String from, java.lang.String to, java.lang.String company, java.lang.String phone, java.lang.String date, java.lang.String re, java.lang.String comments, boolean urgent, boolean review, boolean comment, boolean reply) throws java.lang.Exception
info
- The report information of the export task.portStr
- Specifies the port number. The port should be obtained from the modem manual.initStr
- Specifies to initialize the modem. The string should be obtained from the modem manual.iDialing
- Specifies the dialing mode of the fax modem. It is Pulse
(1) or Tone(0).iFlowControl
- Specifies the flow control mode between DTE (Data Terminal Equipment) and DCE (Data Circuit-terminating Equipment).
RtsCts
- 0, flow control of the hardware.
Xon/Xoff
- 1, flow control of the software.
None
- 2, no flow control specified.
iFlowCommand
- Specifies the flow command according to the flow control mode. The command should be obtained from the modem manual.iClass
- Specifies the class of the modem. The options are as follows: Class 1
, Class 2
and Class 2.0
. All are fax protocols. Most modem only support Class 1, so be sure that higher protocols are supported by the modem if Class 2 or Class 2.0 is selected.txtTimeOut
- Specifies the maximum amount of time in seconds for how long the fax should wait for a response from the destination before timing out.txtRetries
- Specifies the maximum number of times in seconds that the modem will retry faxing the report result When the line is busy.q_best
- Deprecated.q_normal
- Deprecated.q_fast
- Deprecated.isAddCover
- Specifies whether or not to add a cover before faxing the report.faxnum
- Specifies the phone number of the fax.from
- Specifies the sender shown in the cover.to
- Specifies the receiver.company
- Specifies the company name shown in the cover.phone
- Specifies the phone number shown in the cover.date
- Specifies the date shown in the cover.re
- Specifies the subject of the fax.comments
- Specifies the comments of the fax.urgent
- Specifies whether or not to show "urgent" remark in the cover.review
- Specifies whether or not to show "reviewed" remark in the cover.comment
- Specifies whether or not to show "has comment" remark in the cover.reply
- Specifies whether or not to show "get reply" remark in the cover.
- Returns:
true
if the result is exported successfully; false
otherwise.
- Throws:
java.lang.Exception
public boolean exportToFax(java.lang.String portStr, java.lang.String initStr, int iDialing, int iFlowControl, java.lang.String flowCommand, int iClass, int txtTimeOut, int txtRetries, boolean q_best, boolean q_normal, boolean q_fast, boolean isAddCover, java.lang.String faxnum, java.lang.String from, java.lang.String to, java.lang.String company, java.lang.String phone, java.lang.String date, java.lang.String re, java.lang.String comments, boolean urgent, boolean review, boolean comment, boolean reply) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
portStr
- Specifies the port number. The port should be obtained from the modem manual.initStr
- Specifies to initialize the modem. The string should be obtained from the modem manual.iDialing
- Specifies the dialing mode of the fax modem. It is Pulse
(1) or Tone(0).iFlowControl
- Specifies the flow control mode between DTE (Data Terminal Equipment) and DCE (Data Circuit-terminating Equipment).
RtsCts
- 0, flow control of the hardware.
Xon/Xoff
- 1, flow control of the software.
None
- 2, no flow control specified.
iFlowCommand
- Specifies the flow command according to the flow control mode. The command should be obtained from the modem manual.iClass
- Specifies the class of the modem. The options are as follows: Class 1
, Class 2
and Class 2.0
. All are fax protocols. Most modem only support Class 1, so be sure that higher protocols are supported by the modem if Class 2 or Class 2.0 is selected.txtTimeOut
- Specifies the maximum amount of time in seconds for how long the fax should wait for a response from the destination before timing out.txtRetries
- Specifies the maximum number of times in seconds that the modem will retry faxing the report result When the line is busy.q_best
- Deprecated.q_normal
- Deprecated.q_fast
- Deprecated.isAddCover
- Specifies whether or not to add a cover before faxing report.faxnum
- Specifies the phone number of the fax.from
- Specifies the sender shown in the cover.to
- Specifies the receiver.company
- Specifies the company name shown in the cover.phone
- Specifies the phone number shown in the cover.date
- Specifies the date shown in the cover.re
- Specifies the subject of the fax.comments
- Specifies the comments of the fax.urgent
- Specifies whether or not to show "urgent" remark in the cover.review
- Specifies whether or not to show "reviewed" remark in the cover.comment
- Specifies whether or not to show "has comment" remark in the cover.reply
- Specifies whether or not to show "get reply" remark in the cover.
- Returns:
true
if the result is exported successfully; false
otherwise.
- Throws:
java.lang.Exception
public boolean exportToFax(java.lang.String portStr, java.lang.String initStr, int iDialing, int iFlowControl, java.lang.String flowCommand, int iClass, int txtTimeOut, int txtRetries, boolean q_best, boolean q_normal, boolean q_fast, java.lang.String faxnum) throws java.lang.Exception
runCurrentReport
or other methods like it to generate report result before this.
portStr
- Specifies the port number. The port should be obtained from the modem manual.initStr
- Specifies to initialize the modem. The string should be obtained from the modem manual.iDialing
- Specifies the dialing mode of the fax modem. It is Pulse
(1) or Tone(0).iFlowControl
- Specifies the flow control mode between DTE (Data Terminal Equipment) and DCE (Data Circuit-terminating Equipment).
RtsCts
- 0, flow control of the hardware.
Xon/Xoff
- 1, flow control of the software.
None
- 2, no flow control specified.
iFlowCommand
- Specifies the flow command according to the flow control mode. The command should be obtained from the modem manual.iClass
- Specifies the class of the modem. The options are as follows: Class 1
, Class 2
and Class 2.0
. All are fax protocols. Most modem only support Class 1, so be sure that higher protocols are supported by the modem if Class 2 or Class 2.0 is selected.txtTimeOut
- Specifies the maximum amount of time in seconds for how long the fax should wait for a response from the destination before timing out.txtRetries
- Specifies the maximum number of times in seconds that the modem will retry faxing the report result When the line is busy.q_best
- Deprecated.q_normal
- Deprecated.q_fast
- Deprecated.faxnum
- Specifies the phone number of the fax.
- Returns:
true
if the result is exported successfully; false
otherwise.
- Throws:
java.lang.Exception
public boolean exportToFaxServer(ExportInfo info, java.lang.String className, JRFaxServerInfo faxinfo, JRCoverInfo coverinfo) throws JRFaxServerException
info
- The report information of the export task.class
- The name of class implements JRFaxServer.faxinfo
- The information of the fax server.coverinfo
- The information of the cover of the fax.
- Returns:
true
if the result is exported successfully; false
otherwise.
- Throws:
JRFaxServerException
public boolean exportToText(ExportInfo info, TextParameter param)
info
- The report information of the export task.param
- The text file information.
true
if the result is exported successfully; false
otherwise.public boolean exportToPS(ExportInfo info, PSParameter param)
info
- The report information of the export task.param
- The postscript file information.
true
if the result is exported successfully; false
otherwise.public boolean exportToHtml(ExportInfo info, HtmlParameter param)
info
- The report information of the export task.param
- The optional definition of the HTML file.
true
if the report's result be exported successfully; false
otherwise.public boolean exportToRtf(ExportInfo info, RtfParameter param)
info
- The report information of the export task.param
- The RTF file information.
true
if the result is exported successfully; false
otherwise.public Communicator getCommunicator(java.lang.String rptName, java.lang.String viewName, boolean security)
public static java.lang.String[] getAllDataSource(java.lang.String rptSetName, int rptStatus)
rptSetName
- Specifies the reportset file name with full path.rptStatus
- specifies the report status. JReport engine loads datasets according to the report's status.
It is RPT_STATUS_CURRENT
, RPT_STATUS_OPEN
or RPT_STATUS_ALL
.
public static java.lang.String[] getAllDataSource(java.lang.String catName, java.lang.String rptSetName, int rptStatus)
catName
- Specifies the catalog file name with full path.rptSetName
- Specifies the reportset file name with full path.rptStatus
- Specifies the report status. JReport engine loads datasets according to the report's status.
It is RPT_STATUS_CURRENT
, RPT_STATUS_OPEN
or RPT_STATUS_ALL
.
public java.lang.String[] getAllDataSource(int rptStatus)
rptStatus
- Specifies the report status. JReport engine loads datasets according to the report's status.
It is RPT_STATUS_CURRENT
, RPT_STATUS_OPEN
or RPT_STATUS_ALL
.
setCatName(String)
,
setReportName(String)
public static java.lang.String[] getAllDataSource(java.lang.String catName)
catName
- Specifies the catalog filename with full file path.
public java.lang.Throwable getThreadError()
public void runAllReport()
setCatName(String)
,
setReportName(String)
public void runCurrentReport()
setCatName(String)
,
setReportName(String)
public void runReport(java.lang.String rsdFilename)
public void runReport()
SetResultFile or along with the reportset if the result filename is not set.
If the reportset has several reports, all the reports except the reports which are marked as "closed" will be run.
- See Also:
setCatName(String)
,
setReportName(String)
,
setResultFile(String)
public void runReport(java.util.Vector vReportNames)
vReportNames
- Indicates the report name list. Each element is a string value of a report's instance name.setCatName(String)
,
setReportName(String)
public void runReport(java.lang.String[] rptNames, java.util.Vector[] viewNames)
rptNames
- Indicates the report name list. Each element is a string value of a report's instance name.viewNames
- Indicates the view name list. Each element is a string value of a view's instance name.
Since there is only one view for a report yet, it could be null
.setCatName(String)
,
setReportName(String)
public boolean exportToPDF(ExportInfo info, PDFParameter param)
info
- The report information of the export task.param
- The optional definition of the PDF file.
true
if the report's result is exported successfully; false
otherwise.public boolean exportToXls(ExportInfo info, ExcelParameter param)
info
- The report information of the export task.param
- The Excel file information.
true
if the result is exported successfully; false
otherwise.public static java.lang.String[] getUserInfo(java.lang.String catName, java.lang.String dataSourceName)
catName
- Specifies the catalog file name with full file path.dataSourceName
- Specifies the data source name.
public static java.lang.String[] getUserInfoByReport(java.lang.String reportName, java.lang.String dataSourceName)
reportName
- Self-contained report template's file name that contains full path.dataSourceName
- Specifies the data source.
public static java.util.Vector getReportsOfReportSet(java.lang.String reportSetFileName) throws jet.jetc.ReadFailureException
reportSetFileName
- Indicates the reportset's file name with full path.
jet.jetc.ReadFailureException
public static java.util.Vector getReportsOfReportSet(java.lang.String catName, java.lang.String reportSetFileName) throws jet.jetc.ReadFailureException
catName
- Indicates the catalog file name with full path.reportSetFileName
- Indicates the reportset file name with full path.
jet.jetc.ReadFailureException
public java.util.Vector getReportsOfReportSet() throws jet.jetc.ReadFailureException
jet.jetc.ReadFailureException
public java.util.Vector getReportsOfResult(java.lang.String rstFileName)
rstFileName
- The JReport rst file Name.
public void printReportJDK14(boolean bInteractive, boolean bInBackground, JReportPrintListener jreportprintlistener, java.lang.String jobName, java.util.Vector attributeInfo, java.util.Vector customMedias, java.lang.String printer) throws jet.export.print.NoSuchPrintAttributeException
bInteractive
- A boolean value. If you set it to true, a print setup dialog will be presented to the user for changing the properties of the print job.
Otherwise the print setup dialog will not be shown up.bInBackground
- A boolean value. If you set it to false,
the printing progress dialog with a printing progress bar in it will be shown.jreportprintlistener
- The listener of the print.
It is an interface which contains two methods, printStart() and printEnd().
This interface is useful when you want to get the print status -- start or end, for example. Otherwise, you can set it to null.jobName
- Specifies the print job's name.attributeInfo
- A vector whose elements are string.
Each string are defined in the interface PrintConfig.
For example,you can implement PrintConfig and call its fields like this:attributeInfo.add(TRAY_MANUAL); attributeInfo.add(ORIENTATION_PORTRAIT);
customMedias
- A vector whose elements are some instances of CustomMedia.
Until now, JReport provides the following CustomMedia: CustomMediaCopies, CustomMediaMargin, and CustomMediaTray.
CustomMediaCopies Indicates printed copies.
CustomMediaMargin Indicates the page margin when printing. You may create an instance of CustomMediaMargin which includes four values representing the left, right, top and bottom margin separately.
CustomMediaTray Indicates the special tray which is not the standard tray defined in java.
If you want to specify a special tray, you must specify a printer name. Otherwise this tray will be found in the default printer. If the specify printer has not such a tray, a NoSuchPrintAttributeException will be thrown.
If needed, you may get all media trays' names in a special printer by calling getAllMediaTray(String printerName).
You may create an instance of customMedias like below:Vector customMedias = new Vector(); customMedias.add(); customMedias.add(new CustomMediaCopies(2)); customMedias.add(new CustomMediaMargin(10f, 12f, 10f, 15f,CustomMediaMargin.MM)); customMedias.add(new CustomMediaMargin(0.8f, 1f, 1.5f, 0.8f,CustomMediaMargin.INCH)); customMedias.add(new CustomMediaTray("Multi-Purpose Tray"));
printer
- Specifies the printer you want to use. This printer name must be with full path.
You can call getAllPrinters() method for jdk 1.4 to get the list of the system printers.
This printReportJDK14 method is only for jdk 1.4 or above.
An example of calling this printReportJDK14() method: PrinterJob job = PrinterJob.getPrinterJob(); Vector attributeInfo = new Vector(); attributeInfo.add(PrintConfig.ORIENTATION_LANDSCAPE); Vector customMedias = new Vector(); customMedias.add(new CustomMediaCopies(2)); customMedias.add(new CustomMediaMargin(0.8f, 1f, 1.5f, 2f,CustomMediaMargin.INCH)); customMedias.add(new CustomMediaTray("Multi-Purpose Tray")); try { bean.printReportJDK14(true,false,null,"jobname", attributeInfo,customMedias,"\\\\192.168.128.111\\Samsung SCX-5x12 Series PCL 6"); }catch(NoSuchPrintAttributeException ec) { System.out.println(ec); }
jet.export.print.NoSuchPrintAttributeException
- if these parameters in attributeInfo or customMedias are not supported, or
if the JDK version is less than JDK 1.4.0.PrintConfig
,
CustomMediaCopies
,
CustomMediaMargin
,
CustomMediaTray
,
CustomJobPriority
,
CustomMediaPaper
,
CustomPageRanges
,
CustomToFile
,
CustomUserName
,
jet.bean.CutomJobName
public static java.util.Vector getAllMediaTray(java.lang.String printerName) throws jet.export.print.NoSuchPrintAttributeException
jet.export.print.NoSuchPrintAttributeException
public ReportInfo getCurrentReport()
public RuntimeInfo getRuntimeInfo()
public void setRuntimeInfo(RuntimeInfo runtimeInfo)
runtimeInfo
- The runtimeInfo to be set.public void setRuntimeInfos(java.util.HashMap runtimeInfos)
public java.util.HashMap getRuntimeInfos()
public void setIsLinkReport(java.lang.String rptName, boolean isLinkReport)
public void setRuntimeInfo(java.lang.String reportName, RuntimeInfo runtimeInfo)
reportName
- Report instance name.runtimeInfo
- RuntimeInfo of the specified report.public RuntimeInfo getRuntimeInfo(java.lang.String reportName)
reportName
- Report instance name.
public boolean relayout(java.lang.String reportName, RuntimeInfo info)
reportName
- Report instance name.info
- RuntimeInfo Indicates the information for the re-run report, such as precision and style.
public void setNLSBundleInfo(NLSBundleInfo info)
info
- NLS resource bundled information interface.public NLSBundleInfo getNLSBundleInfo()
public void setNLSApplyParamInfo(jet.util.nls.NLSApplyParam info)
info
- NLS resource bundled information interface.public jet.util.nls.NLSApplyParam getNLSApplyParamInfo()
public boolean isIgnoreExportStyle(boolean ignoreExportStyle)
public boolean isIgnoreExportStyle()
public void setXmlStreamFactory(java.lang.String datasourceName, InputStreamFactory streamFactory) throws jet.rptservice.api.exception.JRScheduleException
datasourceName
- Indicates the data source name.streamFactory
- User implemented InputStreamFactory.
jet.rptservice.api.exception.JRScheduleException
public InputStreamFactory getXmlStreamFactory(java.lang.String datasourceName)
datasourceName
- Indicates the data source name.
public void setHDSStreamFactory(java.lang.String datasourceName, java.lang.String HDSName, InputStreamFactory streamFactory) throws jet.rptservice.api.exception.JRScheduleException
datasourceName
- Indicates the data source name.HDSName
- Indicates the HDS name.streamFactory
- User implemented HDS InputStreamFactory.
jet.rptservice.api.exception.JRScheduleException
public InputStreamFactory getHDSStreamFactory(java.lang.String datasourceName, java.lang.String HDSName)
datasourceName
- Indicates the data source name.HDSName
- Indicates the HDS name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |