public static interface

ToolManager.PdfDocModificationListener

com.pdftron.pdf.tools.ToolManager.PdfDocModificationListener
Known Indirect Subclasses

Class Overview

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.

Summary

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()
Called when PDF bookmark has 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.

Public Methods

public abstract void onAllAnnotationsRemoved ()

Called when all annotations in the document have been removed.

public abstract void onAnnotationAction ()

Called when an annotations action has been taken place.

public abstract void onBookmarkModified ()

Called when PDF bookmark has been modified.

public abstract void onPageLabelsChanged ()

Called when page labels have been changed

public abstract void onPageMoved (int from, int to)

Called when a page has been moved.

Parameters
from The page number on which the page moved from
to The page number on which the page moved to

public abstract void onPagesAdded (List<Integer> pageList)

Called when pages have been added to the document.

Parameters
pageList The list of pages added to the document

public abstract void onPagesCropped ()

Called when document pages haven cropped.

public abstract void onPagesDeleted (List<Integer> pageList)

Called when pages have been deleted from the document.

Parameters
pageList The list of pages deleted from the document

public abstract void onPagesRotated (List<Integer> pageList)

Called when pages have been rotated.

Parameters
pageList The list of rotated pages