Files
docx-js/src/file/paragraph/math/math-run.ts
2020-10-10 13:41:26 +01:00

13 lines
293 B
TypeScript

// http://www.datypic.com/sc/ooxml/e-m_r-1.html
import { XmlComponent } from "file/xml-components";
import { MathText } from "./math-text";
export class MathRun extends XmlComponent {
constructor(text: string) {
super("m:r");
this.root.push(new MathText(text));
}
}