pub trait DocumentFile {
    // Required methods
    fn pages(&self) -> u32;
    fn author(&self) -> Option<String>;
    fn title(&self) -> Option<String>;
    fn has_javascript(&self) -> bool;
    fn has_form(&self) -> bool;
}

Required Methods§

source

fn pages(&self) -> u32

source

fn author(&self) -> Option<String>

source

fn title(&self) -> Option<String>

source

fn has_javascript(&self) -> bool

source

fn has_form(&self) -> bool

Implementors§

source§

impl<'a> DocumentFile for Office95<'a>

source§

impl<'a> DocumentFile for PDF<'a>

source§

impl<'a> DocumentFile for Rtf<'a>