Go to file
bokuweb e179ac8003
Update README.md
2020-01-18 00:19:07 +09:00
.github fix:ci.yaml (#21) 2019-12-19 16:43:14 +09:00
.vscode feat: Add table property 2019-11-12 18:02:50 +09:00
docs chore: update docs (#10) 2019-12-14 10:15:36 +09:00
docx-core fix: run child for deleteText (#24) 2019-12-20 18:53:26 +09:00
docx-wasm fix: run child for deleteText (#24) 2019-12-20 18:53:26 +09:00
fixtures Support hidden (#8) 2019-12-14 00:47:47 +09:00
output feat: Support alignment 2019-11-11 13:05:07 +09:00
vrt spec: Add VRT foundation 2019-11-12 13:33:45 +09:00
.gitignore chore: allow pkg for now 2019-12-11 14:27:31 +09:00
Cargo.lock Prepare for wasm (#2) 2019-12-11 14:12:22 +09:00
Cargo.toml clean wasm dir 2019-11-07 18:11:32 +09:00
README.md Update README.md 2020-01-18 00:19:07 +09:00
logo.png Add files via upload 2020-01-17 22:31:38 +09:00
makefile chore: Add .github 2019-11-12 14:32:13 +09:00

README.md

A .docx file generater with Rust/WebAssembly.


GitHub Actions Status

Example

use docx_core::*;

pub fn hello() -> Result<(), DocxError> {
  let path = std::path::Path::new("./tests/output/hello.docx");
  let file = std::fs::File::create(&path).unwrap();
  Docx::new()
    .add_paragraph(Paragraph::new().add_run(Run::new().add_text("Hello")))
    .build()
    .pack(file)?;
  Ok(())
}

Features

  • Paragraph