parent
2c06b30b68
commit
c0fe422830
|
@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## @0.4.14 (12. Apr, 2024)
|
||||||
|
|
||||||
|
- Remove `dbg!`
|
||||||
|
- Support `caps`
|
||||||
|
|
||||||
## @0.4.13 (29. Mar, 2024)
|
## @0.4.13 (29. Mar, 2024)
|
||||||
|
|
||||||
- Support `tblppr`
|
- Support `tblppr`
|
||||||
|
|
|
@ -143,7 +143,7 @@ checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "docx-rs"
|
name = "docx-rs"
|
||||||
version = "0.4.13"
|
version = "0.4.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"image",
|
"image",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "docx-rs"
|
name = "docx-rs"
|
||||||
version = "0.4.13"
|
version = "0.4.14"
|
||||||
authors = ["bokuweb <bokuweb12@gmail.com>"]
|
authors = ["bokuweb <bokuweb12@gmail.com>"]
|
||||||
repository = "https://github.com/bokuweb/docx-rs"
|
repository = "https://github.com/bokuweb/docx-rs"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -475,7 +475,6 @@ fn add_images(
|
||||||
if let Some(paths) = media {
|
if let Some(paths) = media {
|
||||||
for (id, media, ..) in paths {
|
for (id, media, ..) in paths {
|
||||||
if let Ok(data) = read_zip(archive, media.to_str().expect("should have media")) {
|
if let Ok(data) = read_zip(archive, media.to_str().expect("should have media")) {
|
||||||
dbg!("--0-0", &media);
|
|
||||||
docx = docx.add_image(id, media.to_str().unwrap().to_string(), data);
|
docx = docx.add_image(id, media.to_str().unwrap().to_string(), data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docx-wasm",
|
"name": "docx-wasm",
|
||||||
"version": "0.4.14-beta4",
|
"version": "0.4.14",
|
||||||
"main": "dist/node/index.js",
|
"main": "dist/node/index.js",
|
||||||
"browser": "dist/web/index.js",
|
"browser": "dist/web/index.js",
|
||||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||||
|
|
Loading…
Reference in New Issue