com.crystaldecisions.sdk.occa.report.application
Class ReportSaveAsOptions

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.application.ReportSaveAsOptions

public final class ReportSaveAsOptions
extends java.lang.Object

This object contains options that can be specified when saving a report using a specified filename. Use this in conjunction with the ReportClientDocument object's saveAs method as the options argument.


Field Summary
static int _overwriteExisting
           Saves the file, overwriting any existing file with the same name.
static ReportSaveAsOptions overwriteExisting
           A ReportSaveAsOptions object that specifies to save the file and overwrite any existing file with the same name.
 
Method Summary
static ReportSaveAsOptions from_int(int i)
           Returns a ReportSaveAsOptions object that corresponds to the specified value.
 int value()
           Returns the current value of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_overwriteExisting

public static final int _overwriteExisting

Saves the file, overwriting any existing file with the same name.

See Also:
Constant Field Values

overwriteExisting

public static final ReportSaveAsOptions overwriteExisting

A ReportSaveAsOptions object that specifies to save the file and overwrite any existing file with the same name.

Method Detail

from_int

public static final ReportSaveAsOptions from_int(int i)

Returns a ReportSaveAsOptions object that corresponds to the specified value. Note, this is the same as retrieving the corresponding ReportSaveAsOptions object defined as a field.

Parameters:
i - The value of the ReportSaveAsOptions object you wish to retrieve.
Returns:
A ReportSaveAsOptions object that corresponds to the specified value.

value

public int value()

Returns the current value of this object. This value reflects which options are currently specified.

Returns:
An int that specifies the current value of this object.