More math components
This commit is contained in:
13
src/file/paragraph/math/radical/math-radical-properties.ts
Normal file
13
src/file/paragraph/math/radical/math-radical-properties.ts
Normal file
@ -0,0 +1,13 @@
|
||||
// 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());
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user