This commit adds it to the three places where paragraph formatting can be applied right now (directly on the paragraph, paragraph styles, and bullets/numbering styles). I'm separately adding an entry to the wiki regarding what these methods do (widow/orphan control)
14 lines
258 B
TypeScript
14 lines
258 B
TypeScript
import { XmlComponent } from "../xml-components";
|
|
|
|
export class KeepLines extends XmlComponent {
|
|
constructor() {
|
|
super("w:keepLines");
|
|
}
|
|
}
|
|
|
|
export class KeepNext extends XmlComponent {
|
|
constructor() {
|
|
super("w:keepNext");
|
|
}
|
|
}
|