Skip to main content

save_docx_bytes

Function save_docx_bytes 

Source
pub fn save_docx_bytes(
    template_bytes: &[u8],
    output_path: &Path,
    replacements: &[(&str, &str)],
) -> Result<(), Box<dyn Error>>
Expand description

Like build_docx_bytes, but writes the result directly to a file at output_path.