TOC PREV NEXT INDEX




Implementing an AnnotationCallback


ICEpdf can optionally be configured to support interacting with link annotations. The Viewer RI and Pilot RI by default come configured with their own implementation of the com.icesoft.pdf.AnnotationCallback. They differ only by how they handle external URI Actions. The Viewer RI will load an external URI with the Operating Systems default web browser. The Pilot RI will load external URI links in a new ICEbrowser viewport.

ICEpdf only supports annotation via the mouse pointer; there is no keyboard support at this time. When the mouse is moved over a portion of a PDF document which is marked as an annotation, the mouse cursor will change into a hand pointer. When a user clicks on the annotation, ICEpdf will draw any effect specified by the selected annotation, but it will not execute the annotation action; it instead passes the selected annotation to the AnnotationCallback. It is up to the AnnotationCallback implementation to process the annotation's actions. A default implementation of an AnnotationCallback can be found in at com.icesoft.pdf.ri.common.MyAnnotationCallback.



Copyright 2005-2007. ICEsoft Technologies, Inc.
http://www.icesoft.com

TOC PREV NEXT INDEX