|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.report.web.ServerControl
com.crystaldecisions.report.web.viewer.ReportServerControl
com.crystaldecisions.report.web.viewer.ReportExportControl
This class provides exporting functionality. This includes the ability to preview an exported report in a web browser (if the web browser supports displaying the export format) or save an exported report to disk.
Note: The ReportExportControl object must be used by itself on a page.
For example, the isOwnPage method must be set to true
and no other controls can exist on the page.
Additionally, the ReportExportControl object cannot be used with the getHtmlContent method.
Constructor Summary | |
ReportExportControl()
|
Method Summary | |
void |
setExportAsAttachment(boolean bAsAttachment)
Sets whether to export the files as an attachment. |
void |
setExportOptions(ExportOptions expOpt)
Sets the export options and the export format for the report. |
Methods inherited from class com.crystaldecisions.report.web.ServerControl |
getHeight, getHtmlContent, getLeft, getName, getProductLocale, getTop, getURI, getViewState, getWidth, isIgnoreViewStateOnLoad, isOwnForm, isOwnPage, processHttpRequest, setHeight, setIgnoreViewStateOnLoad, setLeft, setName, setOwnForm, setOwnPage, setProductLocale, setTop, setURI, setViewState, setWidth |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReportExportControl()
Method Detail |
public void setExportOptions(ExportOptions expOpt)
Note: You must provide a valid value for this method.
expOpt
- A
com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions
object that specifies the
export options and the export format for the report.public void setExportAsAttachment(boolean bAsAttachment)
Note: The default value for this method is false
.
If you set this to true
you are provided with a dialog box
that allows you to export the report to disk. If the value is
false
then the report will export and display in the browser if the
browser supports displaying the export format.
bAsAttachment
- true
to export the files as attachments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |