com.pdftron.pdf.tools.ToolManager.PdfDocModificationListener |
![]() |
This interface can be used to monitor any modification events that change the structure of the PDF document such as page manipulation, bookmark modification, etc.
For listening to annotation modification events see ToolManager.AnnotationModificationListener
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onAllAnnotationsRemoved()
Called when all annotations in the document have been removed.
| ||||||||||
abstract void |
onAnnotationAction()
Called when an annotations action has been taken place.
| ||||||||||
abstract void |
onBookmarkModified(List<UserBookmarkItem> bookmarkItems)
Called when PDF bookmarks have been modified.
| ||||||||||
abstract void |
onPageLabelsChanged()
Called when page labels have been changed
| ||||||||||
abstract void |
onPageMoved(int from, int to)
Called when a page has been moved.
| ||||||||||
abstract void |
onPagesAdded(List<Integer> pageList)
Called when pages have been added to the document.
| ||||||||||
abstract void |
onPagesCropped()
Called when document pages haven cropped.
| ||||||||||
abstract void |
onPagesDeleted(List<Integer> pageList)
Called when pages have been deleted from the document.
| ||||||||||
abstract void |
onPagesRotated(List<Integer> pageList)
Called when pages have been rotated.
|
Called when all annotations in the document have been removed.
Called when an annotations action has been taken place.
Called when PDF bookmarks have been modified.
bookmarkItems | the new bookmarks after modification |
---|
Called when page labels have been changed
Called when a page has been moved.
from | The page number on which the page moved from |
---|---|
to | The page number on which the page moved to |
Called when pages have been added to the document.
pageList | The list of pages added to the document |
---|
Called when document pages haven cropped.
Called when pages have been deleted from the document.
pageList | The list of pages deleted from the document |
---|
Called when pages have been rotated.
pageList | The list of rotated pages |
---|