SaveOptions

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

public abstract class SaveOptions extends Object

SaveOptions type hold level of abstraction on individual save options

Methods

MethodDescription
getSaveFormatFormat of data save.
getWarningHandlerCallback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
isCacheGlyphsGets or sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
isCloseResponseGets boolean value which indicates will Response object be closed after document saved into response.
setCacheGlyphsGets or sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.
setCloseResponseSets boolean value which indicates will Response object be closed after document saved into response.
setWarningHandlerCallback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

getSaveFormat

public SaveFormat getSaveFormat()

Format of data save.

Returns: SaveFormat value @see SaveFormat

getWarningHandler

public WarningCallback getWarningHandler()

Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.

Returns: IWarningCallback value

isCacheGlyphs

public final boolean isCacheGlyphs()

Gets or sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.

Returns: boolean value

isCloseResponse

public boolean isCloseResponse()

Gets boolean value which indicates will Response object be closed after document saved into response.

Returns: boolean value

setCacheGlyphs

public final void setCacheGlyphs(boolean value)

Gets or sets boolean value which indicates if will font glyphs be cached while preparing aps pages. Improves performance of conversion pdf to other formats but increases memory consumption.

Parameters:

ParameterTypeDescription
valueboolean value

setCloseResponse

public void setCloseResponse(boolean value)

Sets boolean value which indicates will Response object be closed after document saved into response.

Parameters:

ParameterTypeDescription
valueboolean value

setWarningHandler

Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.