#![allow(unused)]
fn main() {
use s1engine::{Engine, Format};
let engine = Engine::new();
let doc = engine.open(&std::fs::read("input.docx")?)?;
// Convert to any supported format
std::fs::write("output.odt", doc.export(Format::Odt)?)?;
std::fs::write("output.pdf", doc.export(Format::Pdf)?)?;
std::fs::write("output.txt", doc.export(Format::Txt)?)?;
std::fs::write("output.md", doc.export(Format::Md)?)?;
}