|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.bean.HtmlParameter
public class HtmlParameter
parameter object for export to html
|
Field Summary
|
|
|---|---|
static int |
FORMAT_DEFAULT
|
static int |
FORMAT_GIF
|
static int |
FORMAT_JPEG
|
static int |
FORMAT_PNG
|
| Constructor Summary | |
|---|---|
HtmlParameter()
|
|
| Method Summary | |
|---|---|
HtmlParameter |
copy()
add this method for MailInformation can clone this object |
int |
getBrowserType()
Return parameter BrowserType value |
int |
getExportImageType()
Return parameter ExportImageType value |
int[] |
getExportPageNumberList()
Return export pageNumber list |
int[][] |
getExportPageNumberRange()
Return export pageNumber range array |
boolean |
getisPlsExporter()
|
java.lang.String |
getLastPageURL()
return parameter LastPageURL value |
java.util.Properties |
getNLSProperties()
Return the NLS properties object |
int |
getOverflowType()
Get parameter OverflowType value |
int |
getResolution()
return parameter resolution value |
java.lang.String |
getTitle()
return parameter title value |
java.lang.String |
getURI()
Get URI parameter |
java.lang.String |
getUrl()
return parameter url value, only for pipeline mode JRServer interface |
boolean |
hasHyperlink()
Return parameter hasHyperlink value |
boolean |
hasPageNumber()
Return parameter pageNumber value |
boolean |
isAbsoluteFontSize()
Return parameter isAbsoluteFontSize value |
boolean |
isDhtml()
Return parameter isDhtml value |
boolean |
isEmbededCSS()
Return parameter isEmbededCSS value |
boolean |
isExportAppletChart()
Return parameter isExportAppletChart value |
boolean |
IsExportToMultiFiles()
Return parameter IsExportToMultiFiles value |
boolean |
isForHtmlMail()
Return parameter isForHtmlMail value |
boolean |
isIncludeDrillDownFile()
Return parameter isIncludeDrillDownFile value |
boolean |
isNoMargin()
Return parameter isNoMargin value |
boolean |
isOnlyExportHtmlBody()
|
boolean |
isSect508Html()
Return the isSect508Html properties value |
boolean |
isTableFormatHtml()
Deprecated. the feature remove from v8 |
boolean |
isUseExtenalCSSValue()
return parameter isUseExtenalCSSValue value |
boolean |
isUseHtmlTable()
Return the parameter "isUseHtmlTable" value. |
boolean |
isUseScope()
Return the parameter "isUseScope" value. |
boolean |
isWriteCSSInline()
|
void |
setBrowserType(int browserType)
Set Browser type |
void |
setDhtml(boolean isDhtml)
Set the HTML result contain TOC or not. |
void |
setEmbededCSS(boolean isEmbededCSS)
Set HTML result use outer CSS or embeded CSS. When IsExportToMultiFiles=false, the value is alway true |
void |
setExportImageType(int exportImageType)
Set image chart type. |
void |
setExportPageNumberList(int[] exportPageNumberList)
Set the export page number list. |
void |
setExportPageNumberRange(int[][] exportPageNumberRange)
Set the export page number list. |
void |
setHasHyperlink(boolean hasHyperlink)
Set the HTML result contain page navigator link or not. |
void |
setHasPageNumber(boolean hasPageNumber)
Set the HTML result contain page number or not. |
void |
setIsAbsoluteFontSize(boolean isAbsoluteFontSize)
Set the font unit. |
void |
setIsExportAppletChart(boolean isExportChartAsApplet)
Set the HTML result use Applet to draw chart or image |
void |
setIsExportToMultiFiles(boolean multifile)
Set the report will be exported to multiple HTML files or not. |
void |
setIsHtmlMail(boolean isHtmlMail)
Set the HTML is for email or not. |
void |
setIsIncludeDrillDownFile(boolean isIncludeDrillDownFile)
Set the result include the drilldown files or not. |
void |
setIsNoMargin(boolean isNoMargin)
Set result file remove margins or not. |
void |
setisPlsExporter(boolean isPLS)
|
void |
setIsSect508Html(boolean isSect508Html)
Set the IsSect508Html properties object to control the html result according to Section508 standard |
void |
setIsTableFormatHtml(boolean isTableFormatHtml)
Deprecated. the feature remove from v8 |
void |
setLastPageURL(java.lang.String url)
Set page navigator link last page url, only for pipeline mode JRServer interface |
void |
setNLSProperties(java.util.Properties properties)
Set the NLS properties object to control the html result navigator button text |
void |
setOnlyExportHtmlBody(boolean isOnlyExportHtmlBody)
|
void |
setOverflowType(int overflowType)
This is for controlling the text overflow. |
void |
setResolution(int resolution)
Set resolution. |
void |
setTitle(java.lang.String title)
Set html title content |
void |
setURI(java.lang.String uri)
Set URI parameter |
void |
setUrl(java.lang.String url)
Set page navigator link url, only for pipeline mode JRServer interface |
void |
setUseExtenalCSSValue(boolean isUseExtenalCSSValue)
Set use user define ExtenalCSSValue as HTML CSS name |
void |
setUseHtmlTable(boolean isUseHtmlTable)
Set parameter "isUseHtmlTable". |
void |
setUseScope(boolean isUseScope)
Set the parameter "isUseScope" value. |
void |
setWriteCSSInline(boolean isWriteCSSInline)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FORMAT_DEFAULT
public static final int FORMAT_GIF
public static final int FORMAT_JPEG
public static final int FORMAT_PNG
| Constructor Detail |
|---|
public HtmlParameter()
| Method Detail |
|---|
public void setURI(java.lang.String uri)
uri - URI valuepublic java.lang.String getURI()
public void setHasHyperlink(boolean hasHyperlink)
hasHyperlink - "true" with link; "False" otherwise.public boolean hasHyperlink()
public void setHasPageNumber(boolean hasPageNumber)
hasPageNumber - "true" with page number, "False" otherwise.public boolean hasPageNumber()
public void setDhtml(boolean isDhtml)
isDhtml - "true" with TOC, "False" otherwise.public boolean isDhtml()
public void setEmbededCSS(boolean isEmbededCSS)
isEmbededCSS - "true" with the cascading style sheet (CSS) will be embedded in the exported HTML files;public boolean isEmbededCSS()
public void setIsExportAppletChart(boolean isExportChartAsApplet)
isExportChartAsApplet - "true" with Applet, "False" with image.public boolean isExportAppletChart()
public void setIsExportToMultiFiles(boolean multifile)
multifile - If "true", JReport designates a serial number for each HTML page. For example, if you named a 3-page report as "sales", JReport will create three files called sales_1.html, sales_2.html, and sales_3.html.public boolean IsExportToMultiFiles()
public void setIsHtmlMail(boolean isHtmlMail)
isHtmlMail - If true, the image in the HTML result would add "cid: + filename + .mail@jinfonet.com"
else don't do it.public boolean isForHtmlMail()
public void setIsIncludeDrillDownFile(boolean isIncludeDrillDownFile)
isIncludeDrillDownFile - "true" will generate drilldown fils; "false" otherwisepublic boolean isIncludeDrillDownFile()
public void setIsNoMargin(boolean isNoMargin)
isNoMargin - "true" removes the margins that were originally set when the report was designed.public boolean isNoMargin()
public void setBrowserType(int browserType)
browserType - 0 -- IE ; 1 -- NETSCAPEpublic int getBrowserType()
public void setExportImageType(int exportImageType)
exportImageType - 0 -- default; 1 -- GIF; 2 -- JPEGpublic int getExportImageType()
public void setIsAbsoluteFontSize(boolean isAbsoluteFontSize)
isAbsoluteFontSize - "true" use pixel as font unitpublic boolean isAbsoluteFontSize()
public void setIsTableFormatHtml(boolean isTableFormatHtml)
public boolean isTableFormatHtml()
public void setOverflowType(int overflowType)
overflowType - 0 -- visible; 1 -- hidden;public int getOverflowType()
public void setResolution(int resolution)
resolution - resolution value.public int getResolution()
public void setTitle(java.lang.String title)
title - html title contentpublic java.lang.String getTitle()
public void setUrl(java.lang.String url)
url - URL stringpublic java.lang.String getUrl()
public void setLastPageURL(java.lang.String url)
url - last page urlpublic java.lang.String getLastPageURL()
public void setUseExtenalCSSValue(boolean isUseExtenalCSSValue)
isUseExtenalCSSValue - "true", use user define ExtenalCSSValue, false otherwisepublic boolean isUseExtenalCSSValue()
public HtmlParameter copy()
public boolean isUseHtmlTable()
public void setUseHtmlTable(boolean isUseHtmlTable)
isUseHtmlTable - If true, use HTML table element to render DSTableObject and DSCrossTab, else use "div"public boolean isUseScope()
public void setUseScope(boolean isUseScope)
isUseScope - If true, when use HTML table element to render DSTableObject and DSCrossTab, and set the row and column header cell with "scope" value to meet the 508 rules, else don't output the "scope" propertypublic java.util.Properties getNLSProperties()
public void setNLSProperties(java.util.Properties properties)
properties - NLS propertiespublic boolean isSect508Html()
public void setIsSect508Html(boolean isSect508Html)
isSect508Html - true for section508 mode, false is the default modepublic int[] getExportPageNumberList()
public void setExportPageNumberList(int[] exportPageNumberList)
properties - Array for the export page number listpublic int[][] getExportPageNumberRange()
public void setExportPageNumberRange(int[][] exportPageNumberRange)
properties - Array for the export page number range arraypublic boolean isOnlyExportHtmlBody()
public void setOnlyExportHtmlBody(boolean isOnlyExportHtmlBody)
public boolean isWriteCSSInline()
public void setWriteCSSInline(boolean isWriteCSSInline)
public void setisPlsExporter(boolean isPLS)
public boolean getisPlsExporter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||