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

14 lines
375 B
TypeScript

// http://www.datypic.com/sc/ooxml/e-m_radPr-1.html
import { XmlComponent } from "file/xml-components";
import { MathDegreeHide } from "./math-degree-hide";
export class MathRadicalProperties extends XmlComponent {
constructor(hasDegree: boolean) {
super("m:radPr");
if (!hasDegree) {
this.root.push(new MathDegreeHide());
}
}
}