fix: add missing if (#635)
parent
cfe2887387
commit
1282686931
|
@ -5,6 +5,10 @@ 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).
|
||||||
|
|
||||||
|
## docx-wasm@0.0.278-rc9 (23. Jun, 2023)
|
||||||
|
|
||||||
|
- Support character space control function
|
||||||
|
|
||||||
## docx-rs@0.4.7 (23. Jun, 2023)
|
## docx-rs@0.4.7 (23. Jun, 2023)
|
||||||
|
|
||||||
- Support character space control
|
- Support character space control
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { AbstractNumbering } from "./abstract-numbering";
|
||||||
import { Numbering } from "./numbering";
|
import { Numbering } from "./numbering";
|
||||||
import { BookmarkStart } from "./bookmark-start";
|
import { BookmarkStart } from "./bookmark-start";
|
||||||
import { BookmarkEnd } from "./bookmark-end";
|
import { BookmarkEnd } from "./bookmark-end";
|
||||||
import { Settings } from "./settings";
|
import { CharacterSpacingValues, Settings } from "./settings";
|
||||||
import { DocProps } from "./doc-props";
|
import { DocProps } from "./doc-props";
|
||||||
import { Style } from "./style";
|
import { Style } from "./style";
|
||||||
import { Styles } from "./styles";
|
import { Styles } from "./styles";
|
||||||
|
@ -177,6 +177,11 @@ export class Docx {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
characterSpacingControl(v: CharacterSpacingValues) {
|
||||||
|
this.settings._characterSpacingControl = v;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
defaultSize(size: number) {
|
defaultSize(size: number) {
|
||||||
this.styles.defaultSize(size);
|
this.styles.defaultSize(size);
|
||||||
return this;
|
return this;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "docx-wasm",
|
"name": "docx-wasm",
|
||||||
"version": "0.0.278-rc8",
|
"version": "0.0.278-rc9",
|
||||||
"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