pub trait PdfDocumentDelegate: 'static {
// Provided methods
fn handle_notification(&mut self, _notification: PdfDocumentNotification) { ... }
fn did_match_string(&mut self, _instance: PdfSelection) { ... }
fn page_class_name(&mut self) -> Option<String> { ... }
fn annotation_class_name(
&mut self,
_annotation_type: &str,
) -> Option<String> { ... }
}Expand description
Mirrors the PDFDocumentDelegate callback surface.
Provided Methods§
Sourcefn handle_notification(&mut self, _notification: PdfDocumentNotification)
fn handle_notification(&mut self, _notification: PdfDocumentNotification)
Mirrors the corresponding PDFDocumentDelegate callback.
Sourcefn did_match_string(&mut self, _instance: PdfSelection)
fn did_match_string(&mut self, _instance: PdfSelection)
Mirrors the corresponding PDFDocumentDelegate callback.
Sourcefn page_class_name(&mut self) -> Option<String>
fn page_class_name(&mut self) -> Option<String>
Mirrors the corresponding PDFDocumentDelegate callback.
Sourcefn annotation_class_name(&mut self, _annotation_type: &str) -> Option<String>
fn annotation_class_name(&mut self, _annotation_type: &str) -> Option<String>
Mirrors the corresponding PDFDocumentDelegate callback.