2020-10-10 13:41:26 +01:00
|
|
|
// http://www.datypic.com/sc/ooxml/e-m_endChr-1.html
|
2022-06-26 23:26:42 +01:00
|
|
|
import { XmlAttributeComponent, XmlComponent } from "@file/xml-components";
|
2020-10-10 13:41:26 +01:00
|
|
|
|
|
|
|
class MathEndingCharacterAttributes extends XmlAttributeComponent<{ readonly character: string }> {
|
|
|
|
protected readonly xmlKeys = { character: "m:val" };
|
|
|
|
}
|
|
|
|
|
|
|
|
export class MathEndingCharacter extends XmlComponent {
|
|
|
|
constructor(character: string) {
|
|
|
|
super("m:endChr");
|
|
|
|
|
|
|
|
this.root.push(new MathEndingCharacterAttributes({ character }));
|
|
|
|
}
|
|
|
|
}
|