Gnostice PDFOne
Pro. Ed. v5.0.0


com.gnostice.pdfone
Interface PdfDocumentChangeHandler


public interface PdfDocumentChangeHandler

This interface defines run-time events for loading and closing a document. User class can implement this interface to get notified after a new PDF document is loaded and before a loaded PDF document is closed. In the event handler methods, user classes will be able do some processing on the newly loaded document. For example, a PDF viewer application will be able to display the title of the newly loaded document in the title bar by implementing the onLoad() event. Similarly, just before a document is closed, the user application will be able to remove any information related to the document on the end-user application interface.


Method Summary
 void onClose()
          Called before a loaded PDF document is closed.
 void onLoad()
          Called after a PDF document is loaded.
 

Method Detail

onLoad

public void onLoad()
            throws PdfException,
                   IOException
Called after a PDF document is loaded.

Throws:
PdfException - if an illegal argument is supplied.
IOException - if an I/O error occurs.

onClose

public void onClose()
             throws PdfException,
                    IOException
Called before a loaded PDF document is closed.

Throws:
PdfException - if an illegal argument is supplied.
IOException - if an I/O error occurs.

Gnostice PDFOne
Pro. Ed. v5.0.0

To contact our support team, send an e-mail to support@gnostice.com.
 
© 2010 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com