* 0.0.257

* update
main
bokuweb 2022-05-19 14:17:56 +09:00 committed by GitHub
parent 1c2cae8352
commit 19c5dbe913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 23 additions and 15 deletions

View File

@ -81,16 +81,24 @@ impl ElementReader for ParagraphProperty {
continue;
}
XMLElement::KeepNext => {
p.keep_next = Some(true);
if read_bool(&attributes) {
p.keep_next = Some(true);
}
}
XMLElement::KeepLines => {
p.keep_lines = Some(true);
if read_bool(&attributes) {
p.keep_lines = Some(true);
}
}
XMLElement::PageBreakBefore => {
p.page_break_before = Some(true);
if read_bool(&attributes) {
p.page_break_before = Some(true);
}
}
XMLElement::WidowControl => {
p.widow_control = Some(true);
if read_bool(&attributes) {
p.widow_control = Some(true);
}
}
XMLElement::ParagraphPropertyChange => {
if let Ok(ppr_change) = ParagraphPropertyChange::read(r, &attributes) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "docx-wasm",
"version": "0.0.256",
"version": "0.0.257",
"main": "dist/node/index.js",
"browser": "dist/web/index.js",
"author": "bokuweb <bokuweb12@gmail.com>",