pub trait DocumentExt: 'static {
    fn get_attribute_value(&self, attribute_name: &str) -> Option<GString>;
    fn get_current_page_number(&self) -> i32;
    fn get_document_type(&self) -> Option<GString>;
    fn get_page_count(&self) -> i32;
    fn set_attribute_value(
        &self,
        attribute_name: &str,
        attribute_value: &str
    ) -> bool; fn connect_load_complete<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_load_stopped<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_page_changed<F: Fn(&Self, i32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_reload<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; }

Required Methods

Implementors