java.lang.Object | |
↳ | com.pdftron.pdf.tools.AnnotManager |
This class is responsible for generating local annotation changes XFDF string and merging remote annotation changes XFDF string
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | AnnotManager.AnnotItem | Annotation custom properties | |||||||||
interface | AnnotManager.AnnotationAction | Annotation actions | |||||||||
interface | AnnotManager.AnnotationSyncingListener | This interface can be used to monitor local annotation changes, which can then be forwarded to a remote server. | |||||||||
enum | AnnotManager.EditPermissionMode |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
exportToFile(File targetFile)
Export all annotations to a file
| ||||||||||
AnnotManager.EditPermissionMode | getEditMode() | ||||||||||
PDFViewCtrl.AnnotationManagerMode | getUndoMode() | ||||||||||
void |
jumpToAnnot(String annotId, int page)
Jump to an annotation by id and selects it
| ||||||||||
void |
jumpToAnnot(String annotId)
Jump to an annotation by id
| ||||||||||
void |
onRemoteChange(String incoming)
Used when annotation change event is received from remote service
| ||||||||||
void |
setAnnotationSyncingListener(AnnotManager.AnnotationSyncingListener listener)
Sets AnnotationSyncingListener
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Export all annotations to a file
targetFile | the target file |
---|
Jump to an annotation by id and selects it
annotId | annotation id |
---|---|
page | xfdf zero-indexed page number |
Jump to an annotation by id
annotId | the annotation id |
---|
Used when annotation change event is received from remote service
incoming | the XFDF command string |
---|
Sets AnnotationSyncingListener
listener | the listener |
---|