Interface IRenderOption
- All Superinterfaces:
ITaskOption
- All Known Subinterfaces:
IExcelRenderOption
,IHTMLRenderOption
,IPDFRenderOption
,IPostscriptRenderOption
,IPPTRenderOption
- All Known Implementing Classes:
DocxRenderOption
,EXCELRenderOption
,HTMLEmitterConfig
,HTMLRenderOption
,PDFRenderOption
,RenderOption
,RenderOptionBase
Defines render options for emitters
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property of action handlerstatic final String
APP_BASE_URL is the same as BASE_URLstatic final String
Property of base URLstatic final String
The DPI which chart engine uses to generate chartsstatic final String
Should the output stream be closed when render task exits.The value is a Boolean object, default isBoolean.FALSE
static final String
Property of emitter idstatic final String
Should the report contains paginations The value is a Boolean object, default isBoolean.FALSE
.static final String
Property of image handlerstatic final String
Property for localstatic final String
Property to set output display to nonestatic final String
Property of emitter id HTMLstatic final String
Property of emitter id PDFstatic final String
Property of output filestatic final String
Property of formatstatic final String
Property of output format FOstatic final String
Property of output format HTMLstatic final String
Property of output format PDFstatic final String
Property of output streamstatic final String
The DPI which layout engine uses to convert pixel to an abstract lengthstatic final String
Property for report sizestatic final String
bidi_hcg: Should we output report as RTL.static final String
Supported image formats -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the action handlerReturns the app base url for URL imagesReturns the base URL for creating an Action URLreturns the emitter idDeprecated.Get the image handlerGet name of the output file.Get output format.Deprecated.use getOptions insteadGet output stream.void
setActionHandle
(IHTMLActionHandler handler) Deprecated.void
setActionHandler
(IHTMLActionHandler handler) Set the action handlervoid
setAppBaseURL
(String appBaseURL) Set app base urlvoid
setBaseURL
(String baseURL) sets the base url for action handlingvoid
setEmitterID
(String emitterID) sets the emitter idvoid
setImageHandle
(IHTMLImageHandler handler) Deprecated.void
setImageHandler
(IHTMLImageHandler handler) Set the image handlervoid
setOutputFileName
(String outputFileName) Set name of the output file.void
setOutputFormat
(String format) Set output format.void
setOutputStream
(OutputStream ostream) Set output stream.void
setSupportedImageFormats
(String formats) Methods inherited from interface org.eclipse.birt.report.engine.api.ITaskOption
getOption, getOptions, hasOption, setOption
-
Field Details
-
OUTPUT_FORMAT
Property of format- See Also:
-
OUTPUT_FORMAT_HTML
Property of output format HTML- See Also:
-
OUTPUT_FORMAT_PDF
Property of output format PDF- See Also:
-
OUTPUT_FORMAT_FO
Property of output format FO- See Also:
-
OUTPUT_EMITTERID_HTML
Property of emitter id HTML- See Also:
-
OUTPUT_EMITTERID_PDF
Property of emitter id PDF- See Also:
-
EMITTER_ID
Property of emitter id- See Also:
-
OUTPUT_FILE_NAME
Property of output file- See Also:
-
OUTPUT_STREAM
Property of output stream- See Also:
-
IMAGE_HANDLER
Property of image handler- See Also:
-
ACTION_HANDLER
Property of action handler- See Also:
-
LOCALE
Property for local- See Also:
-
RENDER_DPI
The DPI which layout engine uses to convert pixel to an abstract length- See Also:
-
CHART_DPI
The DPI which chart engine uses to generate charts- See Also:
-
SUPPORTED_IMAGE_FORMATS
Supported image formats- See Also:
-
BASE_URL
Property of base URL- See Also:
-
RTL_FLAG
bidi_hcg: Should we output report as RTL. The value is a Boolean Object, the default isBoolean.FALSE
.- See Also:
-
APP_BASE_URL
APP_BASE_URL is the same as BASE_URL- See Also:
-
OUTPUT_DISPLAY_NONE
Property to set output display to none- See Also:
-
HTML_PAGINATION
Should the report contains paginations The value is a Boolean object, default isBoolean.FALSE
.- See Also:
-
CLOSE_OUTPUTSTREAM_ON_EXIT
Should the output stream be closed when render task exits.The value is a Boolean object, default isBoolean.FALSE
- See Also:
-
REPORTLET_SIZE
Property for report size- See Also:
-
-
Method Details
-
getOutputSetting
Deprecated.use getOptions insteadGet the output settings- Returns:
- Return the output settings
-
setOutputFormat
Set output format.- Parameters:
format
-
-
getOutputFormat
String getOutputFormat()Get output format.- Returns:
- Return the output format
-
setOutputFileName
Set name of the output file.- Parameters:
outputFileName
- name of the output file
-
getOutputFileName
String getOutputFileName()Get name of the output file.- Returns:
- name
-
setOutputStream
Set output stream.- Parameters:
ostream
-
-
getOutputStream
OutputStream getOutputStream()Get output stream.- Returns:
- output stream
-
setSupportedImageFormats
- Parameters:
formats
- - the image format supported by the browser
-
getSupportedImageFormats
String getSupportedImageFormats()- Returns:
- the image format supported by the browser
-
getBaseURL
String getBaseURL()Returns the base URL for creating an Action URL- Returns:
- the baseURL.
-
setBaseURL
sets the base url for action handling- Parameters:
baseURL
- sets the base URL used for action handling
-
getAppBaseURL
String getAppBaseURL()Returns the app base url for URL images- Returns:
- appBaseUrl
-
setAppBaseURL
Set app base url- Parameters:
appBaseURL
- the app base url
-
setActionHandle
Deprecated.Set the action handler- Parameters:
handler
-
-
setActionHandler
Set the action handler- Parameters:
handler
-
-
getActionHandle
Deprecated.Get the action handler- Returns:
- Return the action handler
-
getActionHandler
IHTMLActionHandler getActionHandler()Get the action handler- Returns:
- Return the action handler
-
setImageHandle
Deprecated.Set the image handler- Parameters:
handler
-
-
setImageHandler
Set the image handler- Parameters:
handler
-
-
getImageHandle
Deprecated.Get the image handler- Returns:
- Return the image handler
-
getImageHandler
IHTMLImageHandler getImageHandler()Get the image handler- Returns:
- Return the image handler
-
getEmitterID
String getEmitterID()returns the emitter id- Returns:
- Returns the emitter id
-
setEmitterID
sets the emitter id- Parameters:
emitterID
-
-