Skip to content

xbmlz/office-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Office Converter

Convert between any document format supported by LibreOffice/OpenOffice.

Features

  • Using LibreOffice listener mode - This lowers the CPU load when converting many documents with somewhere between 50% and 75%
  • Auto-detecting file format
  • Supports all document formats supported by LibreOffice/OpenOffice

Requirements

Usage

To use office-converter, add this to your Cargo.toml:

[dependencies]
office-converter = "0.1.0"

Then, on your main.rs

use office_converter::{OfficeManager, Converter};

fn main() {

    let mut om = OfficeManager::new();

    om.start();

    let con = Converter::new();

    con.convert("E:/test.pptx", "E:/test.pdf");

    om.stop()
}