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
| Method | Description |
|---|---|
| getSaveFormat | Format of data save. |
| 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. |
| 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. |
| isCloseResponse | Gets boolean value which indicates will Response object be closed after document saved into response. |
| setCacheGlyphs | 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. |
| setCloseResponse | Sets boolean value which indicates will Response object be closed after document saved into response. |
| 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. |
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:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setCloseResponse
public void setCloseResponse(boolean value)
Sets boolean value which indicates will Response object be closed after document saved into response.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean 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.