parent
1c2cae8352
commit
19c5dbe913
|
@ -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
|
@ -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>",
|
||||
|
|
Loading…
Reference in New Issue