XmlSaveOptions

Inheritance: java.lang.Object, com.aspose.cells.SaveOptions

public class XmlSaveOptions extends SaveOptions

Represents the options of saving the workbook as an xml file.

Constructors

ConstructorDescription
XmlSaveOptions()Creates options for saving xml file.

Methods

MethodDescription
equals(Object arg0)
getCachedFileFolder()The cached file folder is used to store some large data.
getClass()
getClearData()Make the workbook empty after saving the file.
getCreateDirectory()If true and the directory does not exist, the directory will be automatically created before saving the file.
getDataAsAttribute()Indicates whether exporting data as attributes of element.
getExportArea()Gets the exporting range.
getMergeAreas()Indicates whether merge the areas of conditional formatting and validation before saving the file.
getRefreshChartCache()Indicates whether refreshing chart cache data
getSaveFormat()Gets the save file format.
getSheetIndexes()Represents the indexes of exported sheets.
getSheetNameAsElementName()Indicates whether exporting sheet’s name as the name of the element.
getSortExternalNames()Indicates whether sorting external defined names before saving file.
getSortNames()Indicates whether sorting defined names before saving file.
getUpdateSmartArt()Indicates whether updating smart art setting.
getValidateMergedAreas()Indicates whether validate merged cells before saving the file.
getWarningCallback()Gets warning callback.
getXmlMapName()Indicates whether exporting xml map in the file.
hasHeaderRow()Indicates whether the range contains header row.
hashCode()
notify()
notifyAll()
setCachedFileFolder(String value)The cached file folder is used to store some large data.
setClearData(boolean value)Make the workbook empty after saving the file.
setCreateDirectory(boolean value)If true and the directory does not exist, the directory will be automatically created before saving the file.
setDataAsAttribute(boolean value)Indicates whether exporting data as attributes of element.
setExportArea(CellArea value)Sets the exporting range.
setHasHeaderRow(boolean value)Indicates whether the range contains header row.
setMergeAreas(boolean value)Indicates whether merge the areas of conditional formatting and validation before saving the file.
setRefreshChartCache(boolean value)Indicates whether refreshing chart cache data
setSheetIndexes(int[] value)Represents the indexes of exported sheets.
setSheetNameAsElementName(boolean value)Indicates whether exporting sheet’s name as the name of the element.
setSortExternalNames(boolean value)Indicates whether sorting external defined names before saving file.
setSortNames(boolean value)Indicates whether sorting defined names before saving file.
setUpdateSmartArt(boolean value)Indicates whether updating smart art setting.
setValidateMergedAreas(boolean value)Indicates whether validate merged cells before saving the file.
setWarningCallback(IWarningCallback value)Sets warning callback.
setXmlMapName(String value)Indicates whether exporting xml map in the file.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

XmlSaveOptions()

public XmlSaveOptions()

Creates options for saving xml file.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getCachedFileFolder()

public String getCachedFileFolder()

The cached file folder is used to store some large data.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClearData()

public boolean getClearData()

Make the workbook empty after saving the file.

Returns: boolean

getCreateDirectory()

public boolean getCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file.

Remarks

The default value is false.

Returns: boolean

getDataAsAttribute()

public boolean getDataAsAttribute()

Indicates whether exporting data as attributes of element.

Returns: boolean

getExportArea()

public CellArea getExportArea()

Gets the exporting range.

Returns: CellArea

getMergeAreas()

public boolean getMergeAreas()

Indicates whether merge the areas of conditional formatting and validation before saving the file.

Remarks

The default value is false.

Returns: boolean

getRefreshChartCache()

public boolean getRefreshChartCache()

Indicates whether refreshing chart cache data

Returns: boolean

getSaveFormat()

public int getSaveFormat()

Gets the save file format.

See SaveFormat.

Returns: int

getSheetIndexes()

public int[] getSheetIndexes()

Represents the indexes of exported sheets.

Returns: int[]

getSheetNameAsElementName()

public boolean getSheetNameAsElementName()

Indicates whether exporting sheet’s name as the name of the element.

Returns: boolean

getSortExternalNames()

public boolean getSortExternalNames()

Indicates whether sorting external defined names before saving file.

Returns: boolean

getSortNames()

public boolean getSortNames()

Indicates whether sorting defined names before saving file.

Returns: boolean

getUpdateSmartArt()

public boolean getUpdateSmartArt()

Indicates whether updating smart art setting. The default value is false.

Remarks

Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.

Returns: boolean

getValidateMergedAreas()

public boolean getValidateMergedAreas()

Indicates whether validate merged cells before saving the file.

Remarks

The default value is false.

Returns: boolean

getWarningCallback()

public IWarningCallback getWarningCallback()

Gets warning callback.

Returns: IWarningCallback

getXmlMapName()

public String getXmlMapName()

Indicates whether exporting xml map in the file.

Returns: java.lang.String

hasHeaderRow()

public boolean hasHeaderRow()

Indicates whether the range contains header row.

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCachedFileFolder(String value)

public void setCachedFileFolder(String value)

The cached file folder is used to store some large data.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setClearData(boolean value)

public void setClearData(boolean value)

Make the workbook empty after saving the file.

Parameters:

ParameterTypeDescription
valueboolean

setCreateDirectory(boolean value)

public void setCreateDirectory(boolean value)

If true and the directory does not exist, the directory will be automatically created before saving the file.

Remarks

The default value is false.

Parameters:

ParameterTypeDescription
valueboolean

setDataAsAttribute(boolean value)

public void setDataAsAttribute(boolean value)

Indicates whether exporting data as attributes of element.

Parameters:

ParameterTypeDescription
valueboolean

setExportArea(CellArea value)

public void setExportArea(CellArea value)

Sets the exporting range.

Parameters:

ParameterTypeDescription
valueCellArea

setHasHeaderRow(boolean value)

public void setHasHeaderRow(boolean value)

Indicates whether the range contains header row.

Parameters:

ParameterTypeDescription
valueboolean

setMergeAreas(boolean value)

public void setMergeAreas(boolean value)

Indicates whether merge the areas of conditional formatting and validation before saving the file.

Remarks

The default value is false.

Parameters:

ParameterTypeDescription
valueboolean

setRefreshChartCache(boolean value)

public void setRefreshChartCache(boolean value)

Indicates whether refreshing chart cache data

Parameters:

ParameterTypeDescription
valueboolean

setSheetIndexes(int[] value)

public void setSheetIndexes(int[] value)

Represents the indexes of exported sheets.

Parameters:

ParameterTypeDescription
valueint[]

setSheetNameAsElementName(boolean value)

public void setSheetNameAsElementName(boolean value)

Indicates whether exporting sheet’s name as the name of the element.

Parameters:

ParameterTypeDescription
valueboolean

setSortExternalNames(boolean value)

public void setSortExternalNames(boolean value)

Indicates whether sorting external defined names before saving file.

Parameters:

ParameterTypeDescription
valueboolean

setSortNames(boolean value)

public void setSortNames(boolean value)

Indicates whether sorting defined names before saving file.

Parameters:

ParameterTypeDescription
valueboolean

setUpdateSmartArt(boolean value)

public void setUpdateSmartArt(boolean value)

Indicates whether updating smart art setting. The default value is false.

Remarks

Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.

Parameters:

ParameterTypeDescription
valueboolean

setValidateMergedAreas(boolean value)

public void setValidateMergedAreas(boolean value)

Indicates whether validate merged cells before saving the file.

Remarks

The default value is false.

Parameters:

ParameterTypeDescription
valueboolean

setWarningCallback(IWarningCallback value)

public void setWarningCallback(IWarningCallback value)

Sets warning callback.

Parameters:

ParameterTypeDescription
valueIWarningCallback

setXmlMapName(String value)

public void setXmlMapName(String value)

Indicates whether exporting xml map in the file.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int