parent
d0455d7c08
commit
7e89f9a50e
|
@ -137,7 +137,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
|
||||
[[package]]
|
||||
name = "docx-rs"
|
||||
version = "0.2.8"
|
||||
version = "0.2.9"
|
||||
dependencies = [
|
||||
"image 0.23.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"insta 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -154,7 +154,7 @@ dependencies = [
|
|||
name = "docx-wasm"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"docx-rs 0.2.8",
|
||||
"docx-rs 0.2.9",
|
||||
"wasm-bindgen 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "docx-rs"
|
||||
version = "0.2.8"
|
||||
version = "0.2.9"
|
||||
authors = ["bokuweb <bokuweb12@gmail.com>"]
|
||||
repository = "https://github.com/bokuweb/docx-rs"
|
||||
edition = "2018"
|
||||
|
|
|
@ -102,13 +102,13 @@ mod tests {
|
|||
str::from_utf8(&b).unwrap(),
|
||||
r#"<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<w:settings xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml"><w:defaultTabStop w:val="709" /><w:zoom w:percent="100" /><w:compat>
|
||||
<spaceForUL />
|
||||
<balanceSingleByteDoubleByteWidth />
|
||||
<doNotLeaveBackslashAlone />
|
||||
<ulTrailSpace />
|
||||
<doNotExpandShiftReturn />
|
||||
<adjustLineHeightInTable />
|
||||
<useFELayout />
|
||||
<w:spaceForUL />
|
||||
<w:balanceSingleByteDoubleByteWidth />
|
||||
<w:doNotLeaveBackslashAlone />
|
||||
<w:ulTrailSpace />
|
||||
<w:doNotExpandShiftReturn />
|
||||
<w:adjustLineHeightInTable />
|
||||
<w:useFELayout />
|
||||
<w:compatSetting w:name="compatibilityMode" w:uri="http://schemas.microsoft.com/office/word" w:val="15" />
|
||||
<w:compatSetting w:name="overrideTableStyleFontSizeAndJustification" w:uri="http://schemas.microsoft.com/office/word" w:val="1" />
|
||||
<w:compatSetting w:name="enableOpenTypeFeatures" w:uri="http://schemas.microsoft.com/office/word" w:val="1" />
|
||||
|
|
|
@ -258,16 +258,16 @@ impl XMLBuilder {
|
|||
|
||||
// compat
|
||||
open!(open_compat, "w:compat");
|
||||
closed!(space_for_ul, "spaceForUL");
|
||||
closed!(space_for_ul, "w:spaceForUL");
|
||||
closed!(
|
||||
balance_single_byte_double_byte_width,
|
||||
"balanceSingleByteDoubleByteWidth"
|
||||
"w:balanceSingleByteDoubleByteWidth"
|
||||
);
|
||||
closed!(do_not_leave_backslash_alone, "doNotLeaveBackslashAlone");
|
||||
closed!(ul_trail_space, "ulTrailSpace");
|
||||
closed!(do_not_expand_shift_return, "doNotExpandShiftReturn");
|
||||
closed!(adjust_line_height_table, "adjustLineHeightInTable");
|
||||
closed!(use_fe_layout, "useFELayout");
|
||||
closed!(do_not_leave_backslash_alone, "w:doNotLeaveBackslashAlone");
|
||||
closed!(ul_trail_space, "w:ulTrailSpace");
|
||||
closed!(do_not_expand_shift_return, "w:doNotExpandShiftReturn");
|
||||
closed!(adjust_line_height_table, "w:adjustLineHeightInTable");
|
||||
closed!(use_fe_layout, "w:useFELayout");
|
||||
closed!(
|
||||
compat_setting,
|
||||
"w:compatSetting",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "docx-wasm",
|
||||
"version": "0.0.107",
|
||||
"version": "0.0.108",
|
||||
"main": "dist/node/index.js",
|
||||
"browser": "dist/web/index.js",
|
||||
"author": "bokuweb <bokuweb12@gmail.com>",
|
||||
|
|
Loading…
Reference in New Issue