[−][src]Trait pdf_extract::OutputDev
Required methods
fn begin_page(
&mut self,
page_num: u32,
media_box: &MediaBox,
art_box: Option<(f64, f64, f64, f64)>
)
&mut self,
page_num: u32,
media_box: &MediaBox,
art_box: Option<(f64, f64, f64, f64)>
)
fn end_page(&mut self)
fn output_character(
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
fn begin_word(&mut self)
fn end_word(&mut self)
fn end_line(&mut self)
Provided methods
fn stroke(
&mut self,
ctm: &Transform2D<f64>,
colorspace: &ColorSpace,
color: &[f64],
&Path
)
&mut self,
ctm: &Transform2D<f64>,
colorspace: &ColorSpace,
color: &[f64],
&Path
)
fn fill(
&mut self,
ctm: &Transform2D<f64>,
colorspace: &ColorSpace,
color: &[f64],
&Path
)
&mut self,
ctm: &Transform2D<f64>,
colorspace: &ColorSpace,
color: &[f64],
&Path
)
Implementors
impl<'a> OutputDev for HTMLOutput<'a>
[src]
fn begin_page(
&mut self,
page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
)
[src]
&mut self,
page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
)
fn end_page(&mut self)
[src]
fn output_character(
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
[src]
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
fn begin_word(&mut self)
[src]
fn end_word(&mut self)
[src]
fn end_line(&mut self)
[src]
impl<'a> OutputDev for SVGOutput<'a>
[src]
fn begin_page(
&mut self,
page_num: u32,
media_box: &MediaBox,
art_box: Option<(f64, f64, f64, f64)>
)
[src]
&mut self,
page_num: u32,
media_box: &MediaBox,
art_box: Option<(f64, f64, f64, f64)>
)
fn end_page(&mut self)
[src]
fn output_character(
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
[src]
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
fn begin_word(&mut self)
[src]
fn end_word(&mut self)
[src]
fn end_line(&mut self)
[src]
fn fill(
&mut self,
ctm: &Transform2D<f64>,
_colorspace: &ColorSpace,
_color: &[f64],
path: &Path
)
[src]
&mut self,
ctm: &Transform2D<f64>,
_colorspace: &ColorSpace,
_color: &[f64],
path: &Path
)
impl<W: ConvertToFmt> OutputDev for PlainTextOutput<W>
[src]
fn begin_page(
&mut self,
page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
)
[src]
&mut self,
page_num: u32,
media_box: &MediaBox,
_: Option<(f64, f64, f64, f64)>
)
fn end_page(&mut self)
[src]
fn output_character(
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)
[src]
&mut self,
trm: &Transform2D<f64>,
width: f64,
spacing: f64,
font_size: f64,
char: &str
)