Add setting for not justify lines ending in soft line break
This commit is contained in:
19
src/file/settings/compatibility.ts
Normal file
19
src/file/settings/compatibility.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
class DoNotExpandShiftReturn extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:doNotExpandShiftReturn");
|
||||
}
|
||||
}
|
||||
|
||||
export class Compatibility extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:compat");
|
||||
}
|
||||
|
||||
public doNotExpandShiftReturn(): Compatibility {
|
||||
this.root.push(new DoNotExpandShiftReturn());
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user