14 lines
375 B
TypeScript
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());
|
|
}
|
|
}
|
|
}
|