SaveOptions
Inheritance: java.lang.Object
public class SaveOptions
Allows to specify additional options (such as password) when saving annotated document.
Constructors
| Constructor | Description | 
|---|---|
| SaveOptions() | 
Methods
| Method | Description | 
|---|---|
| getAnnotationTypes() | Defines what annotations will be in resultant document. | 
| setAnnotationTypes(int value) | Defines what annotations will be in resultant document. | 
| getOnlyAnnotatedPages() | Indicates whether to save only annotated pages or not;. | 
| setOnlyAnnotatedPages(boolean value) | Indicates whether to save only annotated pages or not;. | 
| getFirstPage() | First page number when saving page range. | 
| setFirstPage(int value) | First page number when saving page range. | 
| getLastPage() | Last page number when saving page range. | 
| setLastPage(int value) | Last page number when saving page range. | 
| getVersion() | Version Key that will be used to access current version | 
| setVersion(Object value) | Version Key that will be used to access current version | 
SaveOptions()
public SaveOptions()
getAnnotationTypes()
public final int getAnnotationTypes()
Defines what annotations will be in resultant document.
Returns: int -
setAnnotationTypes(int value)
public final void setAnnotationTypes(int value)
Defines what annotations will be in resultant document.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
getOnlyAnnotatedPages()
public final boolean getOnlyAnnotatedPages()
Indicates whether to save only annotated pages or not;.
Returns: boolean -
setOnlyAnnotatedPages(boolean value)
public final void setOnlyAnnotatedPages(boolean value)
Indicates whether to save only annotated pages or not;.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | boolean | 
getFirstPage()
public final int getFirstPage()
First page number when saving page range.
Returns: int -
setFirstPage(int value)
public final void setFirstPage(int value)
First page number when saving page range.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
getLastPage()
public final int getLastPage()
Last page number when saving page range.
Returns: int -
setLastPage(int value)
public final void setLastPage(int value)
Last page number when saving page range.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | int | 
getVersion()
public final Object getVersion()
Version Key that will be used to access current version
Returns: java.lang.Object -
setVersion(Object value)
public final void setVersion(Object value)
Version Key that will be used to access current version
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Object |