java.lang.Object | |
↳ | com.pdftron.pdf.ExternalAnnotManager |
The class ExternalAnnotManager. A manager class attached to a PDFView that takes care of annotations from xfdf sources ExternalAnnotManager instances are created through the PDFView using PDFView.GetExternalAnnotManager()
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ExternalAnnotManager(long impl_ptr) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | __GetHandle() | ||||||||||
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
| ||||||||||
String |
getLastJSON()
Retrieve the last JSON command string produced by the last call to either Undo, Redo, or TakeSnapshot.
| ||||||||||
String |
getLastXFDF()
Retrieve the last XFDF command string produced by the last call to either Undo, Redo, or TakeSnapshot.
| ||||||||||
String |
getNextRedoInfo()
Returns any meta-data associated with the next state in the redo chain.
| ||||||||||
String |
getNextUndoInfo()
Returns any meta-data associated with the next state in the undo chain.
| ||||||||||
Rect |
jumpToAnnotWithID(String id_string)
Set the viewer page, zoom, and pan such that the annotation with the provided ID is on screen.
| ||||||||||
void |
mergeXFDF(String xfdf_content)
Merge an xfdf string into the current document.
| ||||||||||
String |
redo()
Perform the conversion.
| ||||||||||
String |
takeSnapshot(String payload)
Take an undo snapshot, returning the xfdf command string representing any change in state since the last snapshot.
| ||||||||||
String |
undo()
Perform the conversion.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Retrieve the last JSON command string produced by the last call to either Undo, Redo, or TakeSnapshot.
PDFNetException |
---|
Retrieve the last XFDF command string produced by the last call to either Undo, Redo, or TakeSnapshot.
PDFNetException |
---|
Returns any meta-data associated with the next state in the redo chain.
PDFNetException |
---|
Returns any meta-data associated with the next state in the undo chain.
PDFNetException |
---|
Set the viewer page, zoom, and pan such that the annotation with the provided ID is on screen.
id_string | -- ID string of the annot that we will jump to. |
---|
PDFNetException |
---|
Merge an xfdf string into the current document. This Xfdf can be in normal Adobe format, or it contain xfdf commands like add, delete, and modify.
xfdf_content | -- xfdf string with content to be added to the document. |
---|
PDFNetException |
---|
Perform the conversion. Will throw an exception on failure. Does nothing if the conversion is already complete. Use GetConversionStatus() to check if there is remaining content to be converted.
PDFNetException |
---|
Take an undo snapshot, returning the xfdf command string representing any change in state since the last snapshot.
payload | -- a string that will be returned when Undo or Redo are called such that the transition marked by this snapshot is reversed.. |
---|
PDFNetException |
---|
Perform the conversion. Will throw an exception on failure.
PDFNetException |
---|