public class SaveOptions extends Object
Allows to specify additional options (such as password) when saving a document.
Modifier and Type | Class and Description |
---|---|
static class |
SaveOptions.Builder
A little sugar
|
Constructor and Description |
---|
SaveOptions()
Initializes a new instance of the
SaveOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getCloneMetadataType()
Gets or sets a value indicating whether to clone metadata to target document or not.
|
FileAuthorMetadata |
getFileAuthorMetadata()
Used when MetadataType is set to FileAuthor.
|
String |
getFolderPath()
Gets or sets the folder path for saving result images(For Imaging Comparison only).
|
String |
getPassword()
Gets or sets the password for result document.
|
void |
setCloneMetadataType(int value)
Gets or sets a value indicating whether to clone metadata to target document or not.
|
void |
setFileAuthorMetadata(FileAuthorMetadata value)
Used when MetadataType is set to FileAuthor.
|
void |
setFolderPath(String value)
Gets or sets the folder path for saving result images(For Imaging Comparison only).
|
void |
setPassword(String value)
Gets or sets the password for result document.
|
public SaveOptions()
Initializes a new instance of the SaveOptions
class.
public final int getCloneMetadataType()
Gets or sets a value indicating whether to clone metadata to target document or not.
public final FileAuthorMetadata getFileAuthorMetadata()
Used when MetadataType is set to FileAuthor.
public final String getFolderPath()
Gets or sets the folder path for saving result images(For Imaging Comparison only).
public final String getPassword()
Gets or sets the password for result document.
public final void setCloneMetadataType(int value)
Gets or sets a value indicating whether to clone metadata to target document or not.
value
- the valuepublic final void setFileAuthorMetadata(FileAuthorMetadata value)
Used when MetadataType is set to FileAuthor.
value
- the valuepublic final void setFolderPath(String value)
Gets or sets the folder path for saving result images(For Imaging Comparison only).
value
- the valuepublic final void setPassword(String value)
Gets or sets the password for result document.
value
- the value