Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xbmlz/office-converter
https://github.com/xbmlz/office-converter
convert docx2pdf libreoffice office-converter openoffice pptx2pdf xlsx2pdf
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xbmlz/office-converter
- Owner: xbmlz
- License: mit
- Created: 2024-03-13T06:13:37.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-13T09:13:51.000Z (10 months ago)
- Last Synced: 2024-10-31T11:53:54.356Z (2 months ago)
- Topics: convert, docx2pdf, libreoffice, office-converter, openoffice, pptx2pdf, xlsx2pdf
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
- [Apache OpenOffice](https://www.openoffice.org/) or [LibreOffice](https://www.libreoffice.org/); the latest stable version is usually recommended.
## Usage
To use `office-converter`, add this to your `Cargo.toml`:
```toml
[dependencies]
office-converter = "0.1.0"
```Then, on your `main.rs`
```rust
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()
}