parent
c89c42dbe2
commit
e1bd606480
|
@ -5,6 +5,9 @@ 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/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## docx-wasm@0.0.231 (19. January, 2022)
|
||||
|
||||
- Fixed a pPr reader.
|
||||
## docx-wasm@0.0.229 (19. January, 2022)
|
||||
|
||||
- Fixed a del/ins type in runProperty
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::fs::File;
|
|||
use std::io::{Read, Write};
|
||||
|
||||
pub fn main() {
|
||||
let mut file = File::open("./center.docx").unwrap();
|
||||
let mut file = File::open("./ppr_del.docx").unwrap();
|
||||
let mut buf = vec![];
|
||||
file.read_to_end(&mut buf).unwrap();
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ impl ElementReader for ParagraphProperty {
|
|||
p.widow_control = Some(true);
|
||||
}
|
||||
XMLElement::ParagraphPropertyChange => {
|
||||
if let Ok(ppr_change) = ParagraphPropertyChange::read(r, attrs) {
|
||||
if let Ok(ppr_change) = ParagraphPropertyChange::read(r, &attributes) {
|
||||
p.paragraph_property_change = Some(ppr_change);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "docx-wasm",
|
||||
"version": "0.0.230",
|
||||
"version": "0.0.231",
|
||||
"main": "dist/node/index.js",
|
||||
"browser": "dist/web/index.js",
|
||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||
|
|
|
@ -13086,8 +13086,8 @@ Object {
|
|||
"startChars": null,
|
||||
},
|
||||
"paragraphPropertyChange": Object {
|
||||
"author": "unnamed",
|
||||
"date": "1970-01-01T00:00:00Z",
|
||||
"author": "bokuweb",
|
||||
"date": "2022-01-07T17:20:00Z",
|
||||
"property": Object {
|
||||
"alignment": "left",
|
||||
"indent": Object {
|
||||
|
|
Loading…
Reference in New Issue