pub unsafe trait PDFDocumentDelegate: NSObjectProtocol {
// Provided methods
unsafe fn documentDidUnlock(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn documentDidBeginDocumentFind(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn documentDidEndDocumentFind(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn documentDidBeginPageFind(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn documentDidEndPageFind(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn documentDidFindMatch(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
unsafe fn didMatchString(&self, instance: &PDFSelection)
where Self: Sized + Message { ... }
unsafe fn classForPage(&self) -> &'static AnyClass
where Self: Sized + Message { ... }
unsafe fn classForAnnotationType(
&self,
annotation_type: &NSString,
) -> &'static AnyClass
where Self: Sized + Message { ... }
unsafe fn classForAnnotationClass(
&self,
annotation_class: &AnyClass,
) -> &'static AnyClass
where Self: Sized + Message { ... }
}Available on crate feature
PDFDocument only.Expand description
Provided Methods§
unsafe fn documentDidUnlock(&self, notification: &NSNotification)
unsafe fn documentDidBeginDocumentFind(&self, notification: &NSNotification)
unsafe fn documentDidEndDocumentFind(&self, notification: &NSNotification)
unsafe fn documentDidBeginPageFind(&self, notification: &NSNotification)
unsafe fn documentDidEndPageFind(&self, notification: &NSNotification)
unsafe fn documentDidFindMatch(&self, notification: &NSNotification)
unsafe fn didMatchString(&self, instance: &PDFSelection)
Available on crate feature
PDFSelection only.