use office_crypto::decrypt_from_file;
use std::io::Cursor;
let file_name = "xxx.xlsx";
let ret = decrypt_from_file(file_name, "password").unwrap();
let mut spreadsheet = umya_spreadsheet::reader::xlsx::read_reader(Cursor::new(ret), true).unwrap();
...
评论区
写评论已解决