2025-03-15 10:04:01 +07:00
|
|
|
// https://www.datypic.com/sc/ooxml/e-m_barPr-1.html
|
2025-04-14 16:43:15 +05:30
|
|
|
import { BuilderElement, XmlComponent } from "@file/xml-components";
|
2025-03-15 10:04:01 +07:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
import { createMathBarPos } from "./math-bar-pos";
|
2025-03-15 10:04:01 +07:00
|
|
|
|
2025-04-14 16:43:15 +05:30
|
|
|
export const createMathBarProperties = ({ type }: { readonly type: string }): XmlComponent =>
|
|
|
|
new BuilderElement({
|
|
|
|
name: "m:barPr",
|
|
|
|
children: [createMathBarPos({ val: type })],
|
|
|
|
});
|