Add Math Summation
This commit is contained in:
14
src/file/paragraph/math/n-ary/math-naray-properties.ts
Normal file
14
src/file/paragraph/math/n-ary/math-naray-properties.ts
Normal file
@ -0,0 +1,14 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_naryPr-1.html
|
||||
import { XmlComponent } from "file/xml-components";
|
||||
|
||||
import { MathAccentCharacter } from "./math-accent-character";
|
||||
import { MathLimitLocation } from "./math-limit-location";
|
||||
|
||||
export class MathNArayProperties extends XmlComponent {
|
||||
constructor(readonly accent: string) {
|
||||
super("m:naryPr");
|
||||
|
||||
this.root.push(new MathAccentCharacter(accent));
|
||||
this.root.push(new MathLimitLocation());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user