2019-08-20 20:40:40 +01:00
|
|
|
// http://www.datypic.com/sc/ooxml/e-m_limLoc-1.html
|
2025-04-14 16:43:15 +05:30
|
|
|
import { BuilderElement, XmlComponent } from "@file/xml-components";
|
2019-08-20 20:40:40 +01:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
type MathLimitLocationOptions = { readonly value?: string };
|
2019-08-20 20:40:40 +01:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
export const createMathLimitLocation = ({ value }: MathLimitLocationOptions): XmlComponent =>
|
|
|
|
new BuilderElement<Required<MathLimitLocationOptions>>({
|
|
|
|
name: "m:limLoc",
|
|
|
|
attributes: {
|
|
|
|
value: { key: "m:val", value: value || "undOvr" },
|
|
|
|
},
|
|
|
|
});
|