[][src]Struct mupdf_sys::pdf_document

#[repr(C)]pub struct pdf_document {
    pub super_: fz_document,
    pub file: *mut fz_stream,
    pub version: c_int,
    pub startxref: i64,
    pub file_size: i64,
    pub crypt: *mut pdf_crypt,
    pub ocg: *mut pdf_ocg_descriptor,
    pub oi: *mut fz_colorspace,
    pub max_xref_len: c_int,
    pub num_xref_sections: c_int,
    pub saved_num_xref_sections: c_int,
    pub num_incremental_sections: c_int,
    pub xref_base: c_int,
    pub disallow_new_increments: c_int,
    pub xref_sections: *mut pdf_xref,
    pub saved_xref_sections: *mut pdf_xref,
    pub xref_index: *mut c_int,
    pub save_in_progress: c_int,
    pub has_xref_streams: c_int,
    pub has_old_style_xrefs: c_int,
    pub has_linearization_object: c_int,
    pub rev_page_count: c_int,
    pub rev_page_map: *mut pdf_rev_page_map,
    pub repair_attempted: c_int,
    pub file_reading_linearly: c_int,
    pub file_length: i64,
    pub linear_page_count: c_int,
    pub linear_obj: *mut pdf_obj,
    pub linear_page_refs: *mut *mut pdf_obj,
    pub linear_page1_obj_num: c_int,
    pub linear_pos: i64,
    pub linear_page_num: c_int,
    pub hint_object_offset: c_int,
    pub hint_object_length: c_int,
    pub hints_loaded: c_int,
    pub hint_page: *mut pdf_hint_page,
    pub hint_shared_ref: *mut c_int,
    pub hint_shared: *mut pdf_hint_shared,
    pub hint_obj_offsets_max: c_int,
    pub hint_obj_offsets: *mut i64,
    pub resources_localised: c_int,
    pub lexbuf: pdf_lexbuf_large,
    pub js: *mut pdf_js,
    pub recalculate: c_int,
    pub dirty: c_int,
    pub redacted: c_int,
    pub event_cb: pdf_doc_event_cb,
    pub event_cb_data: *mut c_void,
    pub num_type3_fonts: c_int,
    pub max_type3_fonts: c_int,
    pub type3_fonts: *mut *mut fz_font,
    pub resources: pdf_document__bindgen_ty_1,
    pub orphans_max: c_int,
    pub orphans_count: c_int,
    pub orphans: *mut *mut pdf_obj,
    pub xfa: pdf_xfa,
}

Fields

super_: fz_documentfile: *mut fz_streamversion: c_intstartxref: i64file_size: i64crypt: *mut pdf_cryptocg: *mut pdf_ocg_descriptoroi: *mut fz_colorspacemax_xref_len: c_intnum_xref_sections: c_intsaved_num_xref_sections: c_intnum_incremental_sections: c_intxref_base: c_intdisallow_new_increments: c_intxref_sections: *mut pdf_xrefsaved_xref_sections: *mut pdf_xrefxref_index: *mut c_intsave_in_progress: c_inthas_xref_streams: c_inthas_old_style_xrefs: c_inthas_linearization_object: c_intrev_page_count: c_intrev_page_map: *mut pdf_rev_page_maprepair_attempted: c_intfile_reading_linearly: c_intfile_length: i64linear_page_count: c_intlinear_obj: *mut pdf_objlinear_page_refs: *mut *mut pdf_objlinear_page1_obj_num: c_intlinear_pos: i64linear_page_num: c_inthint_object_offset: c_inthint_object_length: c_inthints_loaded: c_inthint_page: *mut pdf_hint_pagehint_shared_ref: *mut c_inthint_shared: *mut pdf_hint_sharedhint_obj_offsets_max: c_inthint_obj_offsets: *mut i64resources_localised: c_intlexbuf: pdf_lexbuf_largejs: *mut pdf_jsrecalculate: c_intdirty: c_intredacted: c_intevent_cb: pdf_doc_event_cbevent_cb_data: *mut c_voidnum_type3_fonts: c_intmax_type3_fonts: c_inttype3_fonts: *mut *mut fz_fontresources: pdf_document__bindgen_ty_1orphans_max: c_intorphans_count: c_intorphans: *mut *mut pdf_objxfa: pdf_xfa

Trait Implementations

impl Clone for pdf_document[src]

impl Copy for pdf_document[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.