Interface PDFDocumentDelegate


  • public interface PDFDocumentDelegate
    Document delegate
    • Method Detail

      • classForAnnotationType

        default org.moe.natj.objc.Class classForAnnotationType​(java.lang.String annotationType)
        If implemented by the delegate, will be called when a PDFAnnotation is instantiated by a page. PDFPage by default will instantiate object of class. This allows you to instead return your own PDFAnnotation subclass. Return nil for annotation types you do not subclass.
      • classForPage

        default org.moe.natj.objc.Class classForPage()
        If implemented by the delegate, will be called when a PDFPage is instantiated. PDFDocument's implementation calls -[PDFDocument pageClass] (see above).
      • didMatchString

        default void didMatchString​(PDFSelection instance)
        If implemented by the delegate, called for every search instance found during a find. PDFDocument's implementation accumulates each PDFSelection (instance) in an NSArray.
      • documentDidBeginDocumentFind

        default void documentDidBeginDocumentFind​(NSNotification notification)
      • documentDidBeginPageFind

        default void documentDidBeginPageFind​(NSNotification notification)
      • documentDidEndDocumentFind

        default void documentDidEndDocumentFind​(NSNotification notification)
      • documentDidEndPageFind

        default void documentDidEndPageFind​(NSNotification notification)
      • documentDidFindMatch

        default void documentDidFindMatch​(NSNotification notification)
      • documentDidUnlock

        default void documentDidUnlock​(NSNotification notification)
        Notification delegate methods. If implemented by the delegate, these are called. See notification comments above.