public abstract class SaveOptions extends Object
SaveOptions type hold level of abstraction on individual save options
Modifier and Type | Class and Description |
---|---|
static class |
SaveOptions.BorderInfo
Instance of this class represents information about border That can be drown on some result
document.
|
static class |
SaveOptions.BorderPartStyle
Represents information of one part of border(top, botom, left side or right side)
|
static class |
SaveOptions.HtmlBorderLineType
Represents line types that can be used in result document for drawing borders or another
lines
|
static class |
SaveOptions.MarginInfo
Instance of this class represents information about page margin
That can be drown on some result document.
|
static class |
SaveOptions.MarginPartStyle
Represents information of one part of margin(top, botom, left side or right side)
|
static class |
SaveOptions.NodeLevelResourceType
enumerates possible types of saved external resources
|
static class |
SaveOptions.ResourceSavingInfo
This class represents set of data that related to external resource file's saving that
occures during conversion of PDF to some other format (f.e.
|
Constructor and Description |
---|
SaveOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getSaveFormat()
Format of data save.
|
WarningCallback |
getWarningHandler()
Callback to handle any warnings generated.
|
boolean |
isCloseResponse()
Gets boolean value which indicates will Response object be closed after document saved into
response.
|
void |
setCloseResponse(boolean value)
Sets boolean value which indicates will Response object be closed after document saved into
response.
|
void |
setWarningHandler(WarningCallback value)
Callback to handle any warnings generated.
|
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.
public void setWarningHandler(WarningCallback value)
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.
value
- IWarningCallback valuepublic int getSaveFormat()
Format of data save.
SaveFormat
public boolean isCloseResponse()
Gets boolean value which indicates will Response object be closed after document saved into response.
public void setCloseResponse(boolean value)
Sets boolean value which indicates will Response object be closed after document saved into response.
value
- boolean value