|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An engine task that renders a Report Document to one of the output formats supported by the engine.
Field Summary |
Fields inherited from interface org.eclipse.birt.report.engine.api.IEngineTask |
CANCEL_ON_ERROR, CONTINUE_ON_ERROR, STATUS_CANCELLED, STATUS_FAILED, STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_SUCCEEDED, TASK_DATAEXTRACTION, TASK_GETPARAMETERDEFINITION, TASK_RENDER, TASK_RUN, TASK_RUNANDRENDER, TASK_UNKNOWN |
Method Summary | |
IRenderOption |
getRenderOption()
|
void |
render()
render the whole report document or an output format |
void |
render(InstanceID iid)
Deprecated. A page which contains the instance can be rendered like this: setInstanceID( instanceID ); render( ); |
void |
render(long pageNumber)
Deprecated. A page with speicfic page number can be rendered like this: setPageNumber( pageNumber ); render( ); |
void |
render(java.lang.String pageRange)
Deprecated. A range of pages can be rendered like this: setPageRange( pageRange ); render( ); |
void |
setBookmark(java.lang.String bookmark)
Sets bookmark. |
void |
setEmitterID(java.lang.String id)
sets a specific emitter to use when generate output. |
void |
setInstanceID(InstanceID iid)
Sets id of instance. |
void |
setInstanceID(java.lang.String iid)
Sets id of instance which is a string type. |
void |
setPageNumber(long pageNumber)
Sets number of the page to be rendered. |
void |
setPageRange(java.lang.String pageRange)
Sets range of the pages to be rendered. |
void |
setRenderOption(IRenderOption options)
set the rendering options |
void |
setReportlet(java.lang.String bookmark)
Sets reportlet by bookmark. |
Methods inherited from interface org.eclipse.birt.report.engine.api.IEngineTask |
addScriptableJavaObject, cancel, cancel, close, getAppContext, getCancelFlag, getEngine, getErrors, getID, getLocale, getLogger, getParameterDisplayText, getParameterValue, getParameterValues, getReportRunnable, getStatus, getTaskType, getULocale, setAppContext, setDataSource, setErrorHandlingOption, setLocale, setLocale, setLogger, setParameter, setParameterDisplayText, setParameterValue, setParameterValues, validateParameters |
Method Detail |
public void setRenderOption(IRenderOption options)
public IRenderOption getRenderOption()
public void setEmitterID(java.lang.String id)
id
- the identifier for the emitterpublic void setPageNumber(long pageNumber) throws EngineException
pageNumber
- number of the page.
EngineException
- if pageNumber
is invalid.public void setInstanceID(InstanceID iid) throws EngineException
iid
- id of the instance.
EngineException
- if iid
is invalid.public void setInstanceID(java.lang.String iid) throws EngineException
iid
- the string type instance id of the instance.
EngineException
- if iid
is invalid.public void setPageRange(java.lang.String pageRange) throws EngineException
pageRange
- range of the pages.
EngineException
- if pageRange
is invalid.public void setBookmark(java.lang.String bookmark) throws EngineException
bookmark
- the bookmark.
EngineException
- if bookmark
is invalid.public void setReportlet(java.lang.String bookmark) throws EngineException
bookmark
- the bookmark.
EngineException
- if bookmark
is invalid.public void render() throws EngineException
EngineException
- if rendering failspublic void render(long pageNumber) throws EngineException
setPageNumber( pageNumber );
render( );
pageNumber
-
EngineException
public void render(java.lang.String pageRange) throws EngineException
setPageRange( pageRange );
render( );
EngineException
public void render(InstanceID iid) throws EngineException
setInstanceID( instanceID );
render( );
EngineException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |