Struct crowbook::OdtRenderer
[−]
[src]
pub struct OdtRenderer<'a> { /* fields omitted */ }
Rendererer for ODT
Still very experimental.
Methods
impl<'a> OdtRenderer<'a>
[src]
fn new(book: &'a Book) -> OdtRenderer
Creates a new OdtRenderer
fn render_book(&mut self) -> Result<String>
Renders a full book
This will try to generate an ODT file according to self.book options.
Returns
Ok(s)
wheres
contains the output of thezip
command used to create the ODT file.- An error if there was somel problem during either the rendering to ODT format, or the generation of the ODT file itself.