pub trait PrintOperationImpl: PrintOperationImplExt + PrintOperationPreviewImpl {
// Provided methods
fn begin_print(&self, print_operation: &Self::Type, context: &PrintContext) { ... }
fn create_custom_widget(
&self,
print_operation: &Self::Type
) -> Option<Widget> { ... }
fn custom_widget_apply(&self, print_operation: &Self::Type, widget: &Widget) { ... }
fn done(&self, print_operation: &Self::Type, result: PrintOperationResult) { ... }
fn draw_page(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32
) { ... }
fn end_print(&self, print_operation: &Self::Type, context: &PrintContext) { ... }
fn paginate(
&self,
print_operation: &Self::Type,
context: &PrintContext
) -> bool { ... }
fn preview(
&self,
print_operation: &Self::Type,
preview: &PrintOperationPreview,
context: &PrintContext,
parent: Option<&Window>
) -> bool { ... }
fn request_page_setup(
&self,
print_operation: &Self::Type,
context: &PrintContext,
page_nr: i32,
setup: &PageSetup
) { ... }
fn status_changed(&self, print_operation: &Self::Type) { ... }
fn update_custom_widget(
&self,
print_operation: &Self::Type,
widget: &Widget,
setup: &PageSetup,
settings: &PrintSettings
) { ... }
}