public class HTMLRenderOption extends RenderOption implements IHTMLRenderOption
options
BASE_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_AGENT
ACTION_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
Constructor and Description |
---|
HTMLRenderOption()
Default constructor.
|
HTMLRenderOption(java.util.HashMap options) |
HTMLRenderOption(IRenderOption options)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
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)
Deprecated.
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, setSupportedImageFormats
getBooleanOption, getIntOption, getOption, getOptions, getStringOption, hasOption, setOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionHandle, getActionHandler, getAppBaseURL, getBaseURL, getEmitterID, getImageHandle, getImageHandler, getOutputFileName, getOutputFormat, getOutputSetting, getOutputStream, getSupportedImageFormats, setActionHandle, setActionHandler, setAppBaseURL, setBaseURL, setEmitterID, setImageHandle, setImageHandler, setOutputFileName, setOutputFormat, setOutputStream, setSupportedImageFormats
getOption, getOptions, hasOption, setOption
public HTMLRenderOption(IRenderOption options)
public HTMLRenderOption(java.util.HashMap options)
public HTMLRenderOption()
public java.util.List getInstanceIDs()
getInstanceIDs
in interface IHTMLRenderOption
public void setInstanceIDs(java.util.List instanceIDs)
setInstanceIDs
in interface IHTMLRenderOption
instanceIDs
- The instanceIDs to set.public void setEmbeddable(boolean embeddable)
setEmbeddable
in interface IHTMLRenderOption
embeddable
- whether the HTML output can be embedded directly into an HTML
pagepublic boolean getEmbeddable()
getEmbeddable
in interface IHTMLRenderOption
public void setUserAgent(java.lang.String userAgent)
setUserAgent
in interface IHTMLRenderOption
userAgent
- the user agent of the requestpublic java.lang.String getUserAgent()
getUserAgent
in interface IHTMLRenderOption
public void setUrlEncoding(java.lang.String encoding)
setUrlEncoding
in interface IHTMLRenderOption
public java.lang.String getUrlEncoding()
getUrlEncoding
in interface IHTMLRenderOption
public void setMasterPageContent(boolean show)
setMasterPageContent
in interface IHTMLRenderOption
public boolean getMasterPageContent()
getMasterPageContent
in interface IHTMLRenderOption
public void setHtmlPagination(boolean paginate)
setHtmlPagination
in interface IHTMLRenderOption
public boolean getHtmlPagination()
getHtmlPagination
in interface IHTMLRenderOption
public void setIncludeSelectionHandle(boolean option)
setIncludeSelectionHandle
in interface IHTMLRenderOption
public boolean getIncludeSelectionHandle()
getIncludeSelectionHandle
in interface IHTMLRenderOption
public void setHtmlRtLFlag(boolean flag)
setHtmlRtLFlag
in interface IHTMLRenderOption
public boolean getHtmlRtLFlag()
getHtmlRtLFlag
in interface IHTMLRenderOption
public void setHtmlTitle(java.lang.String htmlTitle)
setHtmlTitle
in interface IHTMLRenderOption
htmlTile
- public java.lang.String getHtmlTitle()
getHtmlTitle
in interface IHTMLRenderOption
public void setPageFooterFloatFlag(boolean flag)
setPageFooterFloatFlag
in interface IHTMLRenderOption
public boolean getPageFooterFloatFlag()
getPageFooterFloatFlag
in interface IHTMLRenderOption
public void setEnableMetadata(boolean enableMetadata)
setEnableMetadata
in interface IHTMLRenderOption
enableMetadata
- the flagpublic boolean getEnableMetadata()
getEnableMetadata
in interface IHTMLRenderOption
public void setDisplayFilterIcon(boolean displayFilterIcon)
setDisplayFilterIcon
in interface IHTMLRenderOption
displayFilterIcon
- the flagpublic boolean getDisplayFilterIcon()
getDisplayFilterIcon
in interface IHTMLRenderOption
public void setDisplayGroupIcon(boolean displayGroupIcon)
setDisplayGroupIcon
in interface IHTMLRenderOption
displayGroupIcon
- the flagpublic boolean getDisplayGroupIcon()
getDisplayGroupIcon
in interface IHTMLRenderOption
public java.lang.String getImageDirectory()
getImageDirectory
in interface IHTMLRenderOption
public void setImageDirectory(java.lang.String imageDirectory)
setImageDirectory
in interface IHTMLRenderOption
imageDirectory
- the image directory that engine stores images and charts intopublic java.lang.String getBaseImageURL()
getBaseImageURL
in interface IHTMLRenderOption
public void setBaseImageURL(java.lang.String baseImageURL)
setBaseImageURL
in interface IHTMLRenderOption
baseImageURL
- 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()
IHTMLRenderOption
isEnableCompactMode
in interface IHTMLRenderOption
public void setEnableCompactMode(boolean enableCompactMode)
IHTMLRenderOption
setEnableCompactMode
in interface IHTMLRenderOption
public void setBirtJsUrl(java.lang.String birtJsUrl)
headJsUrl
- public java.lang.String getBirtJsUrl()
Copyright © 2014 OpenText Corp. All rights reserved.