public class HTMLRenderOption extends RenderOption implements IHTMLRenderOption
optionsBASE_IMAGE_URL, BIRT_JS_URL_KEY, HTML, HTML_DISPLAY_FILTER_ICON, HTML_DISPLAY_GROUP_ICON, HTML_ENABLE_AGENTSTYLE_ENGINE, HTML_ENABLE_COMPACT_MODE, HTML_ENABLE_INLINE_STYLE, HTML_ENABLE_METADATA, HTML_ID_NAMESPACE, HTML_INCLUDE_SELECTION_HANDLE, HTML_INDENT, HTML_LAYOUT_PREFERENCE, HTML_NOCSS, HTML_OUTPUT_MASTER_PAGE_MARGINS, HTML_RTL_FLAG, HTML_TITLE, HTML_TYPE, HTML_VIEWPORT_META, HTML_WRAP_TEMPLATE_TABLE, IMAGE_DIRECTROY, INSTANCE_ID_LIST, LAYOUT_PREFERENCE_AUTO, LAYOUT_PREFERENCE_FIXED, MASTER_PAGE_CONTENT, METADATA_FILTER, PAGEFOOTER_FLOAT_FLAG, URL_ENCODING, USER_AGENTACTION_HANDLER, APP_BASE_URL, BASE_URL, CHART_DPI, CLOSE_OUTPUTSTREAM_ON_EXIT, EMITTER_ID, HTML_PAGINATION, IMAGE_HANDLER, LOCALE, OUTPUT_DISPLAY_NONE, OUTPUT_EMITTERID_HTML, OUTPUT_EMITTERID_PDF, OUTPUT_FILE_NAME, OUTPUT_FORMAT, OUTPUT_FORMAT_FO, OUTPUT_FORMAT_HTML, OUTPUT_FORMAT_PDF, OUTPUT_STREAM, RENDER_DPI, REPORTLET_SIZE, RTL_FLAG, SUPPORTED_IMAGE_FORMATS| 构造器和说明 |
|---|
HTMLRenderOption()
Default constructor.
|
HTMLRenderOption(java.util.HashMap options) |
HTMLRenderOption(IRenderOption options)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getBaseImageURL()
returns the base url for creating image URL
|
java.lang.String |
getBirtJsUrl()
get the URL of head.js file
|
boolean |
getDisplayFilterIcon() |
boolean |
getDisplayGroupIcon() |
boolean |
getEmbeddable() |
boolean |
getEnableAgentStyleEngine() |
boolean |
getEnableInlineStyle() |
boolean |
getEnableMetadata() |
java.lang.String |
getHTMLIDNamespace() |
boolean |
getHTMLIndent() |
boolean |
getHtmlPagination()
Get html pagination.
|
boolean |
getHtmlRtLFlag()
Get Html RTL flag.
|
java.lang.String |
getHtmlTitle() |
java.lang.String |
getImageDirectory()
returns the image directory that engine stores images and charts into
|
boolean |
getIncludeSelectionHandle()
已过时。
includeSelectionHandle is replaced by eanableMetadata flag.
|
java.util.List |
getInstanceIDs() |
java.lang.String |
getLayoutPreference() |
boolean |
getMasterPageContent()
Get master page content.
|
IMetadataFilter |
getMetadataFilter() |
boolean |
getOutputMasterPageMargins() |
boolean |
getPageFooterFloatFlag()
Get page footer float flag.
|
java.lang.String |
getUrlEncoding() |
java.lang.String |
getUserAgent() |
java.lang.String |
getViewportMeta() |
boolean |
getWrapTemplateTable() |
boolean |
isEnableCompactMode()
returns whether to use compact mode for the HTML output, whose default
value is false.
|
void |
setBaseImageURL(java.lang.String baseImageURL)
sets the base image URL for image handling
|
void |
setBirtJsUrl(java.lang.String birtJsUrl)
set the URL of head.js file
|
void |
setDisplayFilterIcon(boolean displayFilterIcon)
Sets the flag indicationg that if filter icons should be displayed.
|
void |
setDisplayGroupIcon(boolean displayGroupIcon)
Sets the flag indicationg that if group expand/collapse icons should be
displayed.
|
void |
setEmbeddable(boolean embeddable)
sets whether the HTML output can be embedded directly into an HTML page
|
void |
setEnableAgentStyleEngine(boolean enableAgentStyleEngine)
Sets the flag indicationg that agentStyleEngine is enabled or not.
|
void |
setEnableCompactMode(boolean enableCompactMode)
sets whether to use compact mode for the HTML output.
|
void |
setEnableInlineStyle(boolean inlineStyleFlag)
Sets the flag indicating that Trying to use inline style instead of CSS
class style.
|
void |
setEnableMetadata(boolean enableMetadata)
Sets the flag which indicating if metadata should be output.
|
void |
setHTMLIDNamespace(java.lang.String id)
sets the HTML ID namespace.
|
void |
setHTMLIndent(boolean indent)
Sets the flag indicating that if the HTML should be indented.
|
void |
setHtmlPagination(boolean paginate)
Set html pagination.
|
void |
setHtmlRtLFlag(boolean flag)
Set Html RTL flag.
|
void |
setHtmlTitle(java.lang.String htmlTitle) |
void |
setImageDirectory(java.lang.String imageDirectory)
sets the image directory that engine stores images and charts into
|
void |
setIncludeSelectionHandle(boolean option)
已过时。
includeSelectionHandle is replaced by eanableMetadata flag.
|
void |
setInstanceIDs(java.util.List instanceIDs) |
void |
setLayoutPreference(java.lang.String layoutPreference)
Sets the flag indicationg that if the table should be outed as fixed.
|
void |
setMasterPageContent(boolean show)
Set master page content.
|
void |
setMetadataFilter(IMetadataFilter filter) |
void |
setOutputMasterPageMargins(boolean outputMasterPageMargins)
Sets the flag indicationg that output the master page's margins for the auto layout report or not.
|
void |
setPageFooterFloatFlag(boolean flag)
Set page footer float flag.
|
void |
setUrlEncoding(java.lang.String encoding)
Set the URL encoding for the request.
|
void |
setUserAgent(java.lang.String userAgent) |
void |
setViewportMeta(java.lang.String viewport)
set the viewport meta information.
|
void |
setWrapTemplateTable(boolean wrapTemplateTable)
Sets the flag indicationg that if the top-level table should be wrapped.
|
closeOutputStreamOnExit, getActionHandle, getActionHandler, getAppBaseURL, getBaseURL, getEmitterID, getImageHandle, getImageHandler, getOutputFileName, getOutputFormat, getOutputSetting, getOutputStream, getSupportedImageFormats, needCloseOutputStreamOnExit, setActionHandle, setActionHandler, setAppBaseURL, setBaseURL, setEmitterID, setImageHandle, setImageHandler, setOutputFileName, setOutputFormat, setOutputStream, setSupportedImageFormatsgetBooleanOption, getIntOption, getOption, getOptions, getStringOption, hasOption, setOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActionHandle, getActionHandler, getAppBaseURL, getBaseURL, getEmitterID, getImageHandle, getImageHandler, getOutputFileName, getOutputFormat, getOutputSetting, getOutputStream, getSupportedImageFormats, setActionHandle, setActionHandler, setAppBaseURL, setBaseURL, setEmitterID, setImageHandle, setImageHandler, setOutputFileName, setOutputFormat, setOutputStream, setSupportedImageFormatsgetOption, getOptions, hasOption, setOptionpublic HTMLRenderOption(IRenderOption options)
public HTMLRenderOption(java.util.HashMap options)
public HTMLRenderOption()
public java.util.List getInstanceIDs()
getInstanceIDs 在接口中 IHTMLRenderOptionpublic void setInstanceIDs(java.util.List instanceIDs)
setInstanceIDs 在接口中 IHTMLRenderOptioninstanceIDs - The instanceIDs to set.public void setEmbeddable(boolean embeddable)
setEmbeddable 在接口中 IHTMLRenderOptionembeddable - whether the HTML output can be embedded directly into an HTML
pagepublic boolean getEmbeddable()
getEmbeddable 在接口中 IHTMLRenderOptionpublic void setUserAgent(java.lang.String userAgent)
setUserAgent 在接口中 IHTMLRenderOptionuserAgent - the user agent of the requestpublic java.lang.String getUserAgent()
getUserAgent 在接口中 IHTMLRenderOptionpublic void setUrlEncoding(java.lang.String encoding)
setUrlEncoding 在接口中 IHTMLRenderOptionpublic java.lang.String getUrlEncoding()
getUrlEncoding 在接口中 IHTMLRenderOptionpublic void setMasterPageContent(boolean show)
setMasterPageContent 在接口中 IHTMLRenderOptionpublic boolean getMasterPageContent()
getMasterPageContent 在接口中 IHTMLRenderOptionpublic void setHtmlPagination(boolean paginate)
setHtmlPagination 在接口中 IHTMLRenderOptionpublic boolean getHtmlPagination()
getHtmlPagination 在接口中 IHTMLRenderOptionpublic void setIncludeSelectionHandle(boolean option)
setIncludeSelectionHandle 在接口中 IHTMLRenderOptionpublic boolean getIncludeSelectionHandle()
getIncludeSelectionHandle 在接口中 IHTMLRenderOptionpublic void setHtmlRtLFlag(boolean flag)
setHtmlRtLFlag 在接口中 IHTMLRenderOptionpublic boolean getHtmlRtLFlag()
getHtmlRtLFlag 在接口中 IHTMLRenderOptionpublic void setHtmlTitle(java.lang.String htmlTitle)
setHtmlTitle 在接口中 IHTMLRenderOptionhtmlTile - public java.lang.String getHtmlTitle()
getHtmlTitle 在接口中 IHTMLRenderOptionpublic void setPageFooterFloatFlag(boolean flag)
setPageFooterFloatFlag 在接口中 IHTMLRenderOptionpublic boolean getPageFooterFloatFlag()
getPageFooterFloatFlag 在接口中 IHTMLRenderOptionpublic void setEnableMetadata(boolean enableMetadata)
setEnableMetadata 在接口中 IHTMLRenderOptionenableMetadata - the flagpublic boolean getEnableMetadata()
getEnableMetadata 在接口中 IHTMLRenderOptionpublic void setDisplayFilterIcon(boolean displayFilterIcon)
setDisplayFilterIcon 在接口中 IHTMLRenderOptiondisplayFilterIcon - the flagpublic boolean getDisplayFilterIcon()
getDisplayFilterIcon 在接口中 IHTMLRenderOptionpublic void setDisplayGroupIcon(boolean displayGroupIcon)
setDisplayGroupIcon 在接口中 IHTMLRenderOptiondisplayGroupIcon - the flagpublic boolean getDisplayGroupIcon()
getDisplayGroupIcon 在接口中 IHTMLRenderOptionpublic java.lang.String getImageDirectory()
getImageDirectory 在接口中 IHTMLRenderOptionpublic void setImageDirectory(java.lang.String imageDirectory)
setImageDirectory 在接口中 IHTMLRenderOptionimageDirectory - the image directory that engine stores images and charts intopublic java.lang.String getBaseImageURL()
getBaseImageURL 在接口中 IHTMLRenderOptionpublic void setBaseImageURL(java.lang.String baseImageURL)
setBaseImageURL 在接口中 IHTMLRenderOptionbaseImageURL - the base image URLpublic void setWrapTemplateTable(boolean wrapTemplateTable)
wrapTemplateTable - the flagpublic boolean getWrapTemplateTable()
public void setLayoutPreference(java.lang.String layoutPreference)
layoutPreference - the flagpublic java.lang.String getLayoutPreference()
public void setEnableAgentStyleEngine(boolean enableAgentStyleEngine)
enableAgentStyleEngine - True: means the HTML emitter will output the BIRT styles directly to the report
and depends on the browser to implement the style calculation.
False: means the HTML emitter will use BIRT style engine to calculate the styles
and output the result to the report.public boolean getEnableAgentStyleEngine()
public void setOutputMasterPageMargins(boolean outputMasterPageMargins)
outputMasterPageMargins - True: means the HTML emitter will output the master page's margins for auto report.
False: means the HTML emitter won't output the master page's margins for auto report.public boolean getOutputMasterPageMargins()
public void setHTMLIDNamespace(java.lang.String id)
id - the viewer idpublic java.lang.String getHTMLIDNamespace()
public void setHTMLIndent(boolean indent)
indent - the flagpublic boolean getHTMLIndent()
public void setMetadataFilter(IMetadataFilter filter)
public IMetadataFilter getMetadataFilter()
public void setEnableInlineStyle(boolean inlineStyleFlag)
inlineStyleFlag - the flagpublic boolean getEnableInlineStyle()
public void setViewportMeta(java.lang.String viewport)
viewport - public java.lang.String getViewportMeta()
public boolean isEnableCompactMode()
IHTMLRenderOptionisEnableCompactMode 在接口中 IHTMLRenderOptionpublic void setEnableCompactMode(boolean enableCompactMode)
IHTMLRenderOptionsetEnableCompactMode 在接口中 IHTMLRenderOptionpublic void setBirtJsUrl(java.lang.String birtJsUrl)
headJsUrl - public java.lang.String getBirtJsUrl()
Copyright © 2008 Actuate Corp. All rights reserved.