15 lines
478 B
TypeScript
15 lines
478 B
TypeScript
// http://officeopenxml.com/WPalignment.php
|
|
// http://officeopenxml.com/WPtableAlignment.php
|
|
import { XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
|
|
|
export class WordWrapAttributes extends XmlAttributeComponent<{ readonly val: 0 }> {
|
|
protected readonly xmlKeys = { val: "w:val" };
|
|
}
|
|
|
|
export class WordWrap extends XmlComponent {
|
|
public constructor() {
|
|
super("w:wordWrap");
|
|
this.root.push(new WordWrapAttributes({ val: 0 }));
|
|
}
|
|
}
|