feat:
- Add support for .doc and .docx files - Use FILES_TO_CONVERT constant for document types to convert to PDF - Refactor code, file checking and help text for formats
This commit is contained in:
parent
a0b78e3c7e
commit
640ce8334c
@ -31,4 +31,3 @@ fn main() {
|
||||
eprintln!("Error processing directory: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,7 @@ use std::path::Path;
|
||||
use std::process::Command;
|
||||
use std::env;
|
||||
|
||||
|
||||
pub fn get_soffice_path() -> Result<String, String> {
|
||||
// First try environment variable if set
|
||||
if let Ok(path) = env::var("LIBREOFFICE_PATH") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user