Files
docx-js/src/file/paragraph/math/math-run.ts

13 lines
302 B
TypeScript
Raw Normal View History

2019-08-20 20:40:40 +01:00
// http://www.datypic.com/sc/ooxml/e-m_r-1.html
2019-08-15 00:47:55 +01:00
import { XmlComponent } from "file/xml-components";
import { MathText } from "./math-text";
export class MathRun extends XmlComponent {
constructor(readonly text: string) {
super("m:r");
this.root.push(new MathText(text));
}
}