@office-open/core 0.10.14 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/chart/index.d.mts +2 -2
- package/dist/chart/index.mjs +2 -2
- package/dist/chart-Kf_utasF.mjs +1780 -0
- package/dist/chart-Kf_utasF.mjs.map +1 -0
- package/dist/color-mapping-CFF0vRSe.mjs +117 -0
- package/dist/color-mapping-CFF0vRSe.mjs.map +1 -0
- package/dist/descriptor/index.d.mts +2 -2
- package/dist/descriptor/index.mjs +1 -1
- package/dist/{descriptor-BjNkn5jo.mjs → descriptor-BX8xW8na.mjs} +6 -2
- package/dist/{descriptor-BjNkn5jo.mjs.map → descriptor-BX8xW8na.mjs.map} +1 -1
- package/dist/drawing/index.d.mts +2 -0
- package/dist/drawing/index.mjs +2 -0
- package/dist/{drawingml-sj1J3lb0.mjs → drawing-FBzd2I0m.mjs} +2596 -1518
- package/dist/drawing-FBzd2I0m.mjs.map +1 -0
- package/dist/{converters-C_Y2QX1w.mjs → generators-CElPsAhd.mjs} +699 -258
- package/dist/generators-CElPsAhd.mjs.map +1 -0
- package/dist/index-BsTUn4K1.d.mts +28 -0
- package/dist/index-BsTUn4K1.d.mts.map +1 -0
- package/dist/index-C0ClOhmZ.d.mts +869 -0
- package/dist/index-C0ClOhmZ.d.mts.map +1 -0
- package/dist/{index-BVK2dv6C.d.mts → index-CLX7gU9J.d.mts} +8 -3
- package/dist/index-CLX7gU9J.d.mts.map +1 -0
- package/dist/index-Cgz88FU0.d.mts +308 -0
- package/dist/index-Cgz88FU0.d.mts.map +1 -0
- package/dist/{index-CE53SwpZ.d.mts → index-CnjCK-lF.d.mts} +497 -351
- package/dist/index-CnjCK-lF.d.mts.map +1 -0
- package/dist/{index-BfHfKuKy.d.mts → index-DpPeyf5f.d.mts} +61 -20
- package/dist/index-DpPeyf5f.d.mts.map +1 -0
- package/dist/index-DxwLMnBF.d.mts +384 -0
- package/dist/index-DxwLMnBF.d.mts.map +1 -0
- package/dist/index.d.mts +175 -22
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +523 -70
- package/dist/index.mjs.map +1 -1
- package/dist/patch/index.mjs +1 -1
- package/dist/{patch-BmRfghOo.mjs → patch-3KLx2yEP.mjs} +4 -4
- package/dist/patch-3KLx2yEP.mjs.map +1 -0
- package/dist/smartart/index.d.mts +2 -2
- package/dist/smartart/index.mjs +2 -2
- package/dist/smartart-BxnkROOp.mjs +1649 -0
- package/dist/smartart-BxnkROOp.mjs.map +1 -0
- package/dist/style-matrix-DAP6XrLv.mjs +123 -0
- package/dist/style-matrix-DAP6XrLv.mjs.map +1 -0
- package/dist/theme/index.d.mts +4 -2
- package/dist/theme/index.mjs +3 -2
- package/dist/theme-OAuRcA9_.mjs +460 -0
- package/dist/theme-OAuRcA9_.mjs.map +1 -0
- package/dist/theme-options-BbWccl85.d.mts +109 -0
- package/dist/theme-options-BbWccl85.d.mts.map +1 -0
- package/dist/util/index.d.mts +3 -3
- package/dist/util/index.mjs +3 -3
- package/dist/{util-Tq9PSjK0.mjs → util-C94-JKtp.mjs} +175 -429
- package/dist/util-C94-JKtp.mjs.map +1 -0
- package/dist/{values-8di32lIe.d.mts → values-aVoirbWB.d.mts} +4 -2
- package/dist/values-aVoirbWB.d.mts.map +1 -0
- package/dist/vector/index.d.mts +2 -0
- package/dist/vector/index.mjs +2 -0
- package/dist/vector-TpjW6ZSc.mjs +3092 -0
- package/dist/vector-TpjW6ZSc.mjs.map +1 -0
- package/package.json +15 -7
- package/dist/chart-DIGJna_6.mjs +0 -582
- package/dist/chart-DIGJna_6.mjs.map +0 -1
- package/dist/converters-C_Y2QX1w.mjs.map +0 -1
- package/dist/drawingml/index.d.mts +0 -2
- package/dist/drawingml/index.mjs +0 -2
- package/dist/drawingml-sj1J3lb0.mjs.map +0 -1
- package/dist/index-BVK2dv6C.d.mts.map +0 -1
- package/dist/index-BfHfKuKy.d.mts.map +0 -1
- package/dist/index-CE53SwpZ.d.mts.map +0 -1
- package/dist/index-D6VE-MnJ.d.mts +0 -43
- package/dist/index-D6VE-MnJ.d.mts.map +0 -1
- package/dist/index-DE4CLElr.d.mts +0 -145
- package/dist/index-DE4CLElr.d.mts.map +0 -1
- package/dist/index-DlPA26cw.d.mts +0 -91
- package/dist/index-DlPA26cw.d.mts.map +0 -1
- package/dist/patch-BmRfghOo.mjs.map +0 -1
- package/dist/smartart-B7ukZ-Tw.mjs +0 -305
- package/dist/smartart-B7ukZ-Tw.mjs.map +0 -1
- package/dist/theme-CiNzdl-9.mjs +0 -177
- package/dist/theme-CiNzdl-9.mjs.map +0 -1
- package/dist/util-Tq9PSjK0.mjs.map +0 -1
- package/dist/values-8di32lIe.d.mts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descriptor-BjNkn5jo.mjs","names":["stringify","parse","parseXml"],"sources":["../src/descriptor/runtime.ts","../src/descriptor/field-consistency.ts","../src/descriptor/field-spec.ts"],"sourcesContent":["/**\n * Descriptor runtime: stringify (write) and parse (parse path) functions.\n *\n * Write path: Options → stringify(desc, opts, ctx) → string\n * Parse path: Element → parse(desc, el, ctx) → Options\n *\n * Both paths delegate to the descriptor's own stringify()/parse() methods —\n * every descriptor is a CustomDescriptor.\n *\n * @module\n */\n\nimport type { Element as XmlElement } from \"@office-open/xml\";\n\nimport type { ReadContext, WriteContext } from \"./context\";\nimport type { CustomDescriptor } from \"./types\";\n\n// ── Write path ──\n\n/**\n * Serialize an Options object to an XML string using its descriptor.\n * Returns `undefined` when an optional element should be omitted.\n */\nexport function stringify<TInput, Ctx = WriteContext, TOutput = TInput>(\n desc: CustomDescriptor<TInput, Ctx, TOutput>,\n value: TInput,\n ctx: Ctx,\n): string | undefined {\n return desc.stringify(value, ctx);\n}\n\n// ── Read path ──\n\n/** Parse an XML Element into an Options object using its descriptor. */\nexport function parse<TInput, TOutput = TInput, Ctx = WriteContext>(\n desc: CustomDescriptor<TInput, Ctx, TOutput>,\n el: XmlElement,\n ctx: ReadContext,\n): TOutput {\n return desc.parse(el, ctx);\n}\n","/**\n * Field-consistency helpers for descriptor round-trip auditing.\n *\n * Pairs with {@link DescriptorFieldSpec}: {@link diffTagSets} flags the static\n * asymmetries between the interface / write / parse field sets (F1/F2/F3/F5),\n * and {@link roundTripFields} runs an actual stringify→parse cycle and reports\n * which fields were lost, gained, or mutated (F4).\n *\n * @module\n */\nimport { parse as parseXml } from \"@office-open/xml\";\nimport type { Element } from \"@office-open/xml\";\n\nimport type { DescriptorFieldSpec } from \"./field-spec\";\n\nexport interface FieldConsistencyReport {\n /** F1 — declared on the interface but never written (write-loss). */\n f1WriteLoss: readonly string[];\n /** F2 — written but absent from the interface (write-only inflation). */\n f2WriteOnly: readonly string[];\n /** F3 — written but never restored on parse (round-trip loss). */\n f3ParseLoss: readonly string[];\n /** F5 — restored on parse but never written (parse-only). */\n f5ParseOnly: readonly string[];\n}\n\n/** Diff the interface / write / parse field sets declared on a spec. */\nexport function diffTagSets(spec: DescriptorFieldSpec): FieldConsistencyReport {\n const interfaceSet = new Set(spec.interfaceFields);\n const writeSet = new Set(spec.writeFields);\n const parseSet = new Set(spec.parseFields);\n return {\n f1WriteLoss: spec.interfaceFields.filter((f) => !writeSet.has(f)),\n f2WriteOnly: spec.writeFields.filter((f) => !interfaceSet.has(f)),\n f3ParseLoss: spec.writeFields.filter((f) => !parseSet.has(f)),\n f5ParseOnly: spec.parseFields.filter((f) => !writeSet.has(f)),\n };\n}\n\nexport interface RoundTripResult {\n /** Present in the sample, absent after round-trip. */\n lost: readonly string[];\n /** Absent from the sample, present after round-trip. */\n gained: readonly string[];\n /** Present on both sides with differing values. */\n mutated: readonly string[];\n}\n\n/**\n * Run a stringify→parse cycle over a sample and diff the result field set.\n * Returns the F4 round-trip drift. The caller supplies the descriptor's own\n * stringify/parse (a `CustomDescriptor` pair or a function pair).\n */\nexport function roundTripFields<T extends object, WC = unknown, RC = unknown>(\n stringifyFn: (opts: T, ctx: WC) => string | undefined,\n parseFn: (el: Element, ctx: RC) => T,\n sample: T,\n writeCtx: WC,\n readCtx: RC,\n): RoundTripResult {\n const xml = stringifyFn(sample, writeCtx);\n if (xml === undefined) {\n throw new Error(\"roundTripFields: stringify returned undefined for the sample\");\n }\n const doc = parseXml(xml) as Element;\n const root = doc.elements?.find((e) => e.type === \"element\");\n if (!root) throw new Error(\"roundTripFields: stringify produced no root element\");\n const result = parseFn(root, readCtx);\n return diffObjects(sample, result);\n}\n\nexport interface OrderViolation {\n /** Position of the offending child within its parent. */\n index: number;\n /** Local name of the child element (namespace prefix stripped). */\n tag: string;\n /** Why the child violates the expected sequence. */\n reason: \"unexpected\" | \"out-of-order\";\n}\n\n/**\n * Verify the child element order of a stringified container against an XSD\n * sequence — the F6 check. Namespace prefixes are normalized, so `expected`\n * entries may be qualified (`w:pStyle`) or local (`pStyle`); both match a\n * `<w:pStyle>` child. Elements absent from `expected` are flagged \"unexpected\";\n * a child whose expected position precedes the previous child's is\n * \"out-of-order\".\n */\nexport function checkOrder(xml: string, expected: readonly string[]): readonly OrderViolation[] {\n const doc = parseXml(xml) as Element;\n const root = doc.elements?.find((e) => e.type === \"element\");\n if (!root) return [];\n const expectedLocal = expected.map(localName);\n const violations: OrderViolation[] = [];\n let lastIdx = -1;\n const children = (root.elements ?? []).filter((e) => e.type === \"element\");\n children.forEach((child, i) => {\n const tag = localName(child.name);\n const idx = expectedLocal.indexOf(tag);\n if (idx === -1) {\n violations.push({ index: i, tag, reason: \"unexpected\" });\n return;\n }\n if (idx < lastIdx) {\n violations.push({ index: i, tag, reason: \"out-of-order\" });\n }\n lastIdx = idx;\n });\n return violations;\n}\n\nfunction localName(name: string | undefined): string {\n if (name === undefined) return \"\";\n const colon = name.lastIndexOf(\":\");\n return colon === -1 ? name : name.slice(colon + 1);\n}\n\nfunction diffObjects(sample: object, result: object): RoundTripResult {\n const sampleKeys = enumerableKeys(sample);\n const resultKeys = enumerableKeys(result);\n const lost = sampleKeys.filter((k) => !(k in result));\n const gained = resultKeys.filter((k) => !(k in sample));\n const mutated = sampleKeys.filter(\n (k) => k in result && !deepEqual(fieldValue(sample, k), fieldValue(result, k)),\n );\n return { lost, gained, mutated };\n}\n\nfunction enumerableKeys(value: object): string[] {\n return Object.keys(value).filter((k) => fieldValue(value, k) !== undefined);\n}\n\nfunction fieldValue(value: object, key: string): unknown {\n return (value as Record<string, unknown>)[key];\n}\n\n/** Structural deep equality (objects, arrays, primitives); no special-case classes. */\nfunction deepEqual(a: unknown, b: unknown): boolean {\n if (a === b) return true;\n if (typeof a !== typeof b) return false;\n if (a === null || b === null) return a === b;\n if (typeof a !== \"object\") return a === b;\n const aArr = Array.isArray(a);\n const bArr = Array.isArray(b);\n if (aArr || bArr) {\n if (!aArr || !bArr) return false;\n const aa = a as unknown[];\n const bb = b as unknown[];\n if (aa.length !== bb.length) return false;\n return aa.every((v, i) => deepEqual(v, bb[i]));\n }\n const ao = a as Record<string, unknown>;\n const bo = b as Record<string, unknown>;\n const keys = new Set([...Object.keys(ao), ...Object.keys(bo)]);\n for (const k of keys) {\n if (!deepEqual(ao[k], bo[k])) return false;\n }\n return true;\n}\n","/**\n * Declarative field-consistency spec for descriptors.\n *\n * The `CustomDescriptor<T>` closure carries no field metadata, so the three\n * places that must agree — the Options interface, the stringify body, and the\n * parse body — drift silently (reflection dropping 9/14 props, styles\n * round-trip loss, core-properties 8-interface/10-write/8-parse inflation).\n *\n * Each entry declares the three field sets in a single semantic dimension\n * (Options field names, not XML tags), so {@link diffTagSets} can surface the\n * asymmetries directly:\n * - F1 write-loss — declared on the interface but never written\n * - F2 write-only — written but absent from the interface (inflation)\n * - F3 parse-loss — written but never restored on parse (round-trip loss)\n * - F5 parse-only — restored but never written\n *\n * @module\n */\n\nexport interface DescriptorFieldSpec {\n /** Stable identifier, matched to the descriptor under test. */\n id: string;\n /** Options interface name (documentation / assertion messages). */\n optionsInterface: string;\n /** Fields declared on the Options interface — the contract. */\n interfaceFields: readonly string[];\n /** Fields the stringify path actually emits; may carry inflation not on the interface. */\n writeFields: readonly string[];\n /** Fields the parse path actually restores. */\n parseFields: readonly string[];\n /** Expected child order when the XSD mandates sequence; omitted when order-independent. */\n order?: readonly string[];\n /** Sample exercising the interface fields, for F4 round-trip deep-equality. */\n sampleOptions: unknown;\n /**\n * Interface fields excluded from the contract comparison — input-side sugar\n * (thematicBreak→border, rightTabStop→tabStops) and control flags\n * (includeIfEmpty) that map field→XML but XML→a different field, breaking the\n * 1:1 round-trip assumption. The interface-drift test asserts\n * `interfaceFields === (live interface fields − excludeFields)`.\n */\n excludeFields?: readonly string[];\n notes?: string;\n}\n\n/**\n * Curated high-value targets — each maps to a known historical drift.\n * `settings` is intentionally absent: its round-trip is rawXml-based (byte\n * passthrough), so field-level diff would mislabel every field as F2.\n */\nexport const FIELD_SPECS: readonly DescriptorFieldSpec[] = [\n {\n id: \"core-properties\",\n optionsInterface: \"CorePropertiesOptions\",\n // 10 interface fields — created/modified are now carried for round-trip fidelity.\n interfaceFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n // stringify emits all 10 fields; created/modified default to now when absent.\n writeFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n // parse reads back all 10 interface fields.\n parseFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n sampleOptions: {\n title: \"T\",\n subject: \"S\",\n creator: \"C\",\n keywords: \"k1,k2\",\n description: \"D\",\n lastModifiedBy: \"LMB\",\n revision: 3,\n lastPrinted: \"2024-01-02T03:04:05Z\",\n created: \"2018-05-11T07:02:00Z\",\n modified: \"2026-04-10T02:02:36Z\",\n },\n notes: \"created/modified round-tripped verbatim from dcterms:created/modified.\",\n },\n {\n id: \"paragraph-properties\",\n optionsInterface: \"ParagraphPropertiesOptions\",\n interfaceFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"textDirection\",\n \"outlineLevel\",\n \"divId\",\n \"cnfStyle\",\n \"revision\",\n ],\n // stringify writes every interface field (pPrChange is revision's XML).\n writeFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"textDirection\",\n \"outlineLevel\",\n \"divId\",\n \"cnfStyle\",\n \"revision\",\n ],\n // parse omits textDirection, textboxTightWrap, divId, cnfStyle\n // (no findChild for these in parseParagraphProperties).\n parseFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"outlineLevel\",\n \"revision\",\n ],\n order: [\n \"pStyle\",\n \"keepNext\",\n \"keepLines\",\n \"pageBreakBefore\",\n \"framePr\",\n \"widowControl\",\n \"numPr\",\n \"suppressLineNumbers\",\n \"pBdr\",\n \"shd\",\n \"tabs\",\n \"suppressAutoHyphens\",\n \"kinsoku\",\n \"wordWrap\",\n \"overflowPunct\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"autoSpaceDN\",\n \"bidi\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"spacing\",\n \"ind\",\n \"contextualSpacing\",\n \"mirrorIndents\",\n \"suppressOverlap\",\n \"jc\",\n \"textDirection\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"outlineLvl\",\n \"divId\",\n \"cnfStyle\",\n \"rPr\",\n \"pPrChange\",\n ],\n sampleOptions: {\n heading: \"Heading1\",\n alignment: \"center\",\n spacing: { before: 240, after: 120, line: 278, lineRule: \"auto\" },\n indent: { left: 720, firstLine: 360 },\n keepNext: true,\n keepLines: true,\n widowControl: true,\n contextualSpacing: true,\n border: { bottom: { style: \"single\", color: \"FF0000\", size: 6, space: 1 } },\n shading: { fill: \"FFFF00\", type: \"clear\" },\n tabStops: [{ position: 720, type: \"left\" }],\n numbering: { reference: \"list_1\", level: 0 },\n outlineLevel: 1,\n textAlignment: \"center\",\n },\n excludeFields: [\"thematicBreak\", \"rightTabStop\", \"leftTabStop\", \"includeIfEmpty\"],\n notes:\n \"F3 parse-loss: textDirection, textboxTightWrap, divId, cnfStyle written but never parsed. \" +\n \"Input-side sugar excluded from the field sets: thematicBreak (→pBdr/border), \" +\n \"rightTabStop/leftTabStop (→tabs/tabStops), includeIfEmpty (control flag) — these map field→XML but XML→a different field, breaking the 1:1 round-trip assumption.\",\n },\n];\n\nexport function findFieldSpec(id: string): DescriptorFieldSpec | undefined {\n return FIELD_SPECS.find((s) => s.id === id);\n}\n"],"mappings":";;;;;;AAuBA,SAAgBA,YACd,MACA,OACA,KACoB;CACpB,OAAO,KAAK,UAAU,OAAO,GAAG;AAClC;;AAKA,SAAgBC,QACd,MACA,IACA,KACS;CACT,OAAO,KAAK,MAAM,IAAI,GAAG;AAC3B;;;;;;;;;;;;;;ACbA,SAAgB,YAAY,MAAmD;CAC7E,MAAM,eAAe,IAAI,IAAI,KAAK,eAAe;CACjD,MAAM,WAAW,IAAI,IAAI,KAAK,WAAW;CACzC,MAAM,WAAW,IAAI,IAAI,KAAK,WAAW;CACzC,OAAO;EACL,aAAa,KAAK,gBAAgB,QAAQ,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC;EAChE,aAAa,KAAK,YAAY,QAAQ,MAAM,CAAC,aAAa,IAAI,CAAC,CAAC;EAChE,aAAa,KAAK,YAAY,QAAQ,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC;EAC5D,aAAa,KAAK,YAAY,QAAQ,MAAM,CAAC,SAAS,IAAI,CAAC,CAAC;CAC9D;AACF;;;;;;AAgBA,SAAgB,gBACd,aACA,SACA,QACA,UACA,SACiB;CACjB,MAAM,MAAM,YAAY,QAAQ,QAAQ;CACxC,IAAI,QAAQ,KAAA,GACV,MAAM,IAAI,MAAM,8DAA8D;CAGhF,MAAM,OADMC,MAAS,GACN,CAAC,CAAC,UAAU,MAAM,MAAM,EAAE,SAAS,SAAS;CAC3D,IAAI,CAAC,MAAM,MAAM,IAAI,MAAM,qDAAqD;CAEh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UAAU;CACZ;CACA,OAAO;AACT,GACA;CACE,IAAI;CACJ,kBAAkB;CAClB,iBAAiB;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAGA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,eAAe;EACb,SAAS;EACT,WAAW;EACX,SAAS;GAAE,QAAQ;GAAK,OAAO;GAAK,MAAM;GAAK,UAAU;EAAO;EAChE,QAAQ;GAAE,MAAM;GAAK,WAAW;EAAI;EACpC,UAAU;EACV,WAAW;EACX,cAAc;EACd,mBAAmB;EACnB,QAAQ,EAAE,QAAQ;GAAE,OAAO;GAAU,OAAO;GAAU,MAAM;GAAG,OAAO;EAAE,EAAE;EAC1E,SAAS;GAAE,MAAM;GAAU,MAAM;EAAQ;EACzC,UAAU,CAAC;GAAE,UAAU;GAAK,MAAM;EAAO,CAAC;EAC1C,WAAW;GAAE,WAAW;GAAU,OAAO;EAAE;EAC3C,cAAc;EACd,eAAe;CACjB;CACA,eAAe;EAAC;EAAiB;EAAgB;EAAe;CAAgB;CAChF,OACE;AAGJ,CACF;AAEA,SAAgB,cAAc,IAA6C;CACzE,OAAO,YAAY,MAAM,MAAM,EAAE,OAAO,EAAE;AAC5C"}
|
|
1
|
+
{"version":3,"file":"descriptor-BX8xW8na.mjs","names":["stringify","parse","parseXml"],"sources":["../src/descriptor/runtime.ts","../src/descriptor/field-consistency.ts","../src/descriptor/field-spec.ts"],"sourcesContent":["/**\n * Descriptor runtime: stringify (write) and parse (parse path) functions.\n *\n * Write path: Options → stringify(desc, opts, ctx) → string\n * Parse path: Element → parse(desc, el, ctx) → Options\n *\n * Both paths delegate to the descriptor's own stringify()/parse() methods —\n * every descriptor is a CustomDescriptor.\n *\n * @module\n */\n\nimport type { Element as XmlElement } from \"@office-open/xml\";\n\nimport type { ReadContext, WriteContext } from \"./context\";\nimport type { CustomDescriptor } from \"./types\";\n\n// ── Write path ──\n\n/**\n * Serialize an Options object to an XML string using its descriptor.\n * Returns `undefined` when an optional element should be omitted.\n */\nexport function stringify<TInput, Ctx = WriteContext, TOutput = TInput>(\n desc: CustomDescriptor<TInput, Ctx, TOutput>,\n value: TInput,\n ctx: Ctx,\n): string | undefined {\n return desc.stringify(value, ctx);\n}\n\n// ── Read path ──\n\n/** Parse an XML Element into an Options object using its descriptor. */\nexport function parse<TInput, TOutput = TInput, Ctx = WriteContext>(\n desc: CustomDescriptor<TInput, Ctx, TOutput>,\n el: XmlElement,\n ctx: ReadContext,\n): TOutput {\n return desc.parse(el, ctx);\n}\n","/**\n * Field-consistency helpers for descriptor round-trip auditing.\n *\n * Pairs with {@link DescriptorFieldSpec}: {@link diffTagSets} flags the static\n * asymmetries between the interface / write / parse field sets (F1/F2/F3/F5),\n * and {@link roundTripFields} runs an actual stringify→parse cycle and reports\n * which fields were lost, gained, or mutated (F4).\n *\n * @module\n */\nimport { parse as parseXml } from \"@office-open/xml\";\nimport type { Element } from \"@office-open/xml\";\n\nimport type { DescriptorFieldSpec } from \"./field-spec\";\n\nexport interface FieldConsistencyReport {\n /** F1 — declared on the interface but never written (write-loss). */\n f1WriteLoss: readonly string[];\n /** F2 — written but absent from the interface (write-only inflation). */\n f2WriteOnly: readonly string[];\n /** F3 — written but never restored on parse (round-trip loss). */\n f3ParseLoss: readonly string[];\n /** F5 — restored on parse but never written (parse-only). */\n f5ParseOnly: readonly string[];\n}\n\n/** Diff the interface / write / parse field sets declared on a spec. */\nexport function diffTagSets(spec: DescriptorFieldSpec): FieldConsistencyReport {\n const interfaceSet = new Set(spec.interfaceFields);\n const writeSet = new Set(spec.writeFields);\n const parseSet = new Set(spec.parseFields);\n return {\n f1WriteLoss: spec.interfaceFields.filter((f) => !writeSet.has(f)),\n f2WriteOnly: spec.writeFields.filter((f) => !interfaceSet.has(f)),\n f3ParseLoss: spec.writeFields.filter((f) => !parseSet.has(f)),\n f5ParseOnly: spec.parseFields.filter((f) => !writeSet.has(f)),\n };\n}\n\nexport interface RoundTripResult {\n /** Present in the sample, absent after round-trip. */\n lost: readonly string[];\n /** Absent from the sample, present after round-trip. */\n gained: readonly string[];\n /** Present on both sides with differing values. */\n mutated: readonly string[];\n}\n\n/**\n * Run a stringify→parse cycle over a sample and diff the result field set.\n * Returns the F4 round-trip drift. The caller supplies the descriptor's own\n * stringify/parse (a `CustomDescriptor` pair or a function pair).\n */\nexport function roundTripFields<T extends object, WC = unknown, RC = unknown>(\n stringifyFn: (opts: T, ctx: WC) => string | undefined,\n parseFn: (el: Element, ctx: RC) => T,\n sample: T,\n writeCtx: WC,\n readCtx: RC,\n): RoundTripResult {\n const xml = stringifyFn(sample, writeCtx);\n if (xml === undefined) {\n throw new Error(\"roundTripFields: stringify returned undefined for the sample\");\n }\n const doc = parseXml(xml) as Element;\n const root = doc.elements?.find((e) => e.type === \"element\");\n if (!root) throw new Error(\"roundTripFields: stringify produced no root element\");\n const result = parseFn(root, readCtx);\n return diffObjects(sample, result);\n}\n\nexport interface OrderViolation {\n /** Position of the offending child within its parent. */\n index: number;\n /** Local name of the child element (namespace prefix stripped). */\n tag: string;\n /** Why the child violates the expected sequence. */\n reason: \"unexpected\" | \"out-of-order\";\n}\n\n/**\n * Verify the child element order of a stringified container against an XSD\n * sequence — the F6 check. Namespace prefixes are normalized, so `expected`\n * entries may be qualified (`w:pStyle`) or local (`pStyle`); both match a\n * `<w:pStyle>` child. Elements absent from `expected` are flagged \"unexpected\";\n * a child whose expected position precedes the previous child's is\n * \"out-of-order\".\n */\nexport function checkOrder(xml: string, expected: readonly string[]): readonly OrderViolation[] {\n const doc = parseXml(xml) as Element;\n const root = doc.elements?.find((e) => e.type === \"element\");\n if (!root) return [];\n const expectedLocal = expected.map(localName);\n const violations: OrderViolation[] = [];\n let lastIdx = -1;\n const children = (root.elements ?? []).filter((e) => e.type === \"element\");\n children.forEach((child, i) => {\n const tag = localName(child.name);\n const idx = expectedLocal.indexOf(tag);\n if (idx === -1) {\n violations.push({ index: i, tag, reason: \"unexpected\" });\n return;\n }\n if (idx < lastIdx) {\n violations.push({ index: i, tag, reason: \"out-of-order\" });\n }\n lastIdx = idx;\n });\n return violations;\n}\n\nfunction localName(name: string | undefined): string {\n if (name === undefined) return \"\";\n const colon = name.lastIndexOf(\":\");\n return colon === -1 ? name : name.slice(colon + 1);\n}\n\nfunction diffObjects(sample: object, result: object): RoundTripResult {\n const sampleKeys = enumerableKeys(sample);\n const resultKeys = enumerableKeys(result);\n const lost = sampleKeys.filter((k) => !(k in result));\n const gained = resultKeys.filter((k) => !(k in sample));\n const mutated = sampleKeys.filter(\n (k) => k in result && !deepEqual(fieldValue(sample, k), fieldValue(result, k)),\n );\n return { lost, gained, mutated };\n}\n\nfunction enumerableKeys(value: object): string[] {\n return Object.keys(value).filter((k) => fieldValue(value, k) !== undefined);\n}\n\nfunction fieldValue(value: object, key: string): unknown {\n return (value as Record<string, unknown>)[key];\n}\n\n/** Structural deep equality (objects, arrays, primitives); no special-case classes. */\nfunction deepEqual(a: unknown, b: unknown): boolean {\n if (a === b) return true;\n if (typeof a !== typeof b) return false;\n if (a === null || b === null) return a === b;\n if (typeof a !== \"object\") return a === b;\n const aArr = Array.isArray(a);\n const bArr = Array.isArray(b);\n if (aArr || bArr) {\n if (!aArr || !bArr) return false;\n const aa = a as unknown[];\n const bb = b as unknown[];\n if (aa.length !== bb.length) return false;\n return aa.every((v, i) => deepEqual(v, bb[i]));\n }\n const ao = a as Record<string, unknown>;\n const bo = b as Record<string, unknown>;\n const keys = new Set([...Object.keys(ao), ...Object.keys(bo)]);\n for (const k of keys) {\n if (!deepEqual(ao[k], bo[k])) return false;\n }\n return true;\n}\n","/**\n * Declarative field-consistency spec for descriptors.\n *\n * The `CustomDescriptor<T>` closure carries no field metadata, so the three\n * places that must agree — the Options interface, the stringify body, and the\n * parse body — drift silently (reflection dropping 9/14 props, styles\n * round-trip loss, core-properties 8-interface/10-write/8-parse inflation).\n *\n * Each entry declares the three field sets in a single semantic dimension\n * (Options field names, not XML tags), so {@link diffTagSets} can surface the\n * asymmetries directly:\n * - F1 write-loss — declared on the interface but never written\n * - F2 write-only — written but absent from the interface (inflation)\n * - F3 parse-loss — written but never restored on parse (round-trip loss)\n * - F5 parse-only — restored but never written\n *\n * @module\n */\n\nexport interface DescriptorFieldSpec {\n /** Stable identifier, matched to the descriptor under test. */\n id: string;\n /** Options interface name (documentation / assertion messages). */\n optionsInterface: string;\n /** Fields declared on the Options interface — the contract. */\n interfaceFields: readonly string[];\n /** Fields the stringify path actually emits; may carry inflation not on the interface. */\n writeFields: readonly string[];\n /** Fields the parse path actually restores. */\n parseFields: readonly string[];\n /** Expected child order when the XSD mandates sequence; omitted when order-independent. */\n order?: readonly string[];\n /** Sample exercising the interface fields, for F4 round-trip deep-equality. */\n sampleOptions: unknown;\n /**\n * Interface fields excluded from the contract comparison — input-side sugar\n * (thematicBreak→border, rightTabStop→tabStops) and control flags\n * (includeIfEmpty) that map field→XML but XML→a different field, breaking the\n * 1:1 round-trip assumption. The interface-drift test asserts\n * `interfaceFields === (live interface fields − excludeFields)`.\n */\n excludeFields?: readonly string[];\n notes?: string;\n}\n\n/**\n * Curated high-value targets — each maps to a known historical drift.\n * `settings` is intentionally absent: its round-trip is rawXml-based (byte\n * passthrough), so field-level diff would mislabel every field as F2.\n */\nexport const FIELD_SPECS: readonly DescriptorFieldSpec[] = [\n {\n id: \"core-properties\",\n optionsInterface: \"CorePropertiesOptions\",\n // 10 interface fields — created/modified are now carried for round-trip fidelity.\n interfaceFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n // stringify emits all 10 fields; created/modified default to now when absent.\n writeFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n // parse reads back all 10 interface fields.\n parseFields: [\n \"title\",\n \"subject\",\n \"creator\",\n \"keywords\",\n \"description\",\n \"lastModifiedBy\",\n \"revision\",\n \"lastPrinted\",\n \"created\",\n \"modified\",\n ],\n sampleOptions: {\n title: \"T\",\n subject: \"S\",\n creator: \"C\",\n keywords: \"k1,k2\",\n description: \"D\",\n lastModifiedBy: \"LMB\",\n revision: 3,\n lastPrinted: \"2024-01-02T03:04:05Z\",\n created: \"2018-05-11T07:02:00Z\",\n modified: \"2026-04-10T02:02:36Z\",\n },\n notes: \"created/modified round-tripped verbatim from dcterms:created/modified.\",\n },\n {\n id: \"paragraph-properties\",\n optionsInterface: \"ParagraphPropertiesOptions\",\n interfaceFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"textDirection\",\n \"outlineLevel\",\n \"divId\",\n \"cnfStyle\",\n \"revision\",\n ],\n // stringify writes every interface field (pPrChange is revision's XML).\n writeFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"textDirection\",\n \"outlineLevel\",\n \"divId\",\n \"cnfStyle\",\n \"revision\",\n ],\n // parse covers every write field (round-trip complete).\n parseFields: [\n \"heading\",\n \"style\",\n \"bullet\",\n \"run\",\n \"border\",\n \"shading\",\n \"numbering\",\n \"alignment\",\n \"bidirectional\",\n \"pageBreakBefore\",\n \"tabStops\",\n \"widowControl\",\n \"contextualSpacing\",\n \"indent\",\n \"spacing\",\n \"keepNext\",\n \"keepLines\",\n \"frame\",\n \"suppressLineNumbers\",\n \"wordWrap\",\n \"overflowPunctuation\",\n \"autoSpaceEastAsianText\",\n \"suppressOverlap\",\n \"suppressAutoHyphens\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"mirrorIndents\",\n \"kinsoku\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"textDirection\",\n \"outlineLevel\",\n \"divId\",\n \"cnfStyle\",\n \"revision\",\n ],\n order: [\n \"pStyle\",\n \"keepNext\",\n \"keepLines\",\n \"pageBreakBefore\",\n \"framePr\",\n \"widowControl\",\n \"numPr\",\n \"suppressLineNumbers\",\n \"pBdr\",\n \"shd\",\n \"tabs\",\n \"suppressAutoHyphens\",\n \"kinsoku\",\n \"wordWrap\",\n \"overflowPunct\",\n \"topLinePunct\",\n \"autoSpaceDE\",\n \"autoSpaceDN\",\n \"bidi\",\n \"adjustRightInd\",\n \"snapToGrid\",\n \"spacing\",\n \"ind\",\n \"contextualSpacing\",\n \"mirrorIndents\",\n \"suppressOverlap\",\n \"jc\",\n \"textDirection\",\n \"textAlignment\",\n \"textboxTightWrap\",\n \"outlineLvl\",\n \"divId\",\n \"cnfStyle\",\n \"rPr\",\n \"pPrChange\",\n ],\n sampleOptions: {\n heading: \"Heading1\",\n alignment: \"center\",\n spacing: { before: 240, after: 120, line: 278, lineRule: \"auto\" },\n indent: { left: 720, firstLine: 360 },\n keepNext: true,\n keepLines: true,\n widowControl: true,\n contextualSpacing: true,\n border: { bottom: { style: \"single\", color: \"FF0000\", size: 6, space: 1 } },\n shading: { fill: \"FFFF00\", type: \"clear\" },\n tabStops: [{ position: 720, type: \"left\" }],\n numbering: { reference: \"list_1\", level: 0 },\n outlineLevel: 1,\n textAlignment: \"center\",\n },\n excludeFields: [\"thematicBreak\", \"rightTabStop\", \"leftTabStop\", \"includeIfEmpty\"],\n notes:\n \"Input-side sugar excluded from the field sets: thematicBreak (→pBdr/border), \" +\n \"rightTabStop/leftTabStop (→tabs/tabStops), includeIfEmpty (control flag) — these map field→XML but XML→a different field, breaking the 1:1 round-trip assumption.\",\n },\n];\n\nexport function findFieldSpec(id: string): DescriptorFieldSpec | undefined {\n return FIELD_SPECS.find((s) => s.id === id);\n}\n"],"mappings":";;;;;;AAuBA,SAAgBA,YACd,MACA,O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AAC;CAC5B,MAAM,OAAO,MAAM,QAAQ,CAAC;CAC5B,IAAI,QAAQ,MAAM;EAChB,IAAI,CAAC,QAAQ,CAAC,MAAM,OAAO;EAC3B,MAAM,KAAK;EACX,MAAM,KAAK;EACX,IAAI,GAAG,WAAW,GAAG,QAAQ,OAAO;EACpC,OAAO,GAAG,OAAO,GAAG,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC;CAC/C;CACA,MAAM,KAAK;CACX,MAAM,KAAK;CACX,MAAM,OAAO,IAAI,IAAI,CAAC,GAAG,OAAO,KAAK,EAAE,GAAG,GAAG,OAAO,KAAK,EAAE,CAAC,CAAC;CAC7D,KAAK,MAAM,KAAK,MACd,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,EAAE,GAAG,OAAO;CAEvC,OAAO;AACT;;;;;;;;AC5GA,MAAa,cAA8C,CACzD;CACE,IAAI;CACJ,kBAAkB;CAElB,iBAAiB;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,eAAe;EACb,OAAO;EACP,SAAS;EACT,SAAS;EACT,UAAU;EACV,aAAa;EACb,gBAAgB;EAChB,UAAU;EACV,aAAa;EACb,SAAS;EACT,UAAU;CACZ;CACA,OAAO;AACT,GACA;CACE,IAAI;CACJ,kBAAkB;CAClB,iBAAiB;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CAEA,aAAa;EACX;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,eAAe;EACb,SAAS;EACT,WAAW;EACX,SAAS;GAAE,QAAQ;GAAK,OAAO;GAAK,MAAM;GAAK,UAAU;EAAO;EAChE,QAAQ;GAAE,MAAM;GAAK,WAAW;EAAI;EACpC,UAAU;EACV,WAAW;EACX,cAAc;EACd,mBAAmB;EACnB,QAAQ,EAAE,QAAQ;GAAE,OAAO;GAAU,OAAO;GAAU,MAAM;GAAG,OAAO;EAAE,EAAE;EAC1E,SAAS;GAAE,MAAM;GAAU,MAAM;EAAQ;EACzC,UAAU,CAAC;GAAE,UAAU;GAAK,MAAM;EAAO,CAAC;EAC1C,WAAW;GAAE,WAAW;GAAU,OAAO;EAAE;EAC3C,cAAc;EACd,eAAe;CACjB;CACA,eAAe;EAAC;EAAiB;EAAgB;EAAe;CAAgB;CAChF,OACE;AAEJ,CACF;AAEA,SAAgB,cAAc,IAA6C;CACzE,OAAO,YAAY,MAAM,MAAM,EAAE,OAAO,EAAE;AAC5C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as RunOptions, $i as createGroupFill, $n as stringifyEndpointConnection, $r as PresetMaterial, $t as StyleMatrixIndex, A as PresetTextShapeOptions, Aa as SystemColor, Ai as createOuterShadowEffect, An as HierBranchOptions, Ar as StyleMatrixReferenceOptions, At as parseColorChoice, B as BulletAutoNumOptions, Ba as PresetColor, Bi as LineJoin, Bn as createMaxChildren, Br as BlipOptions, Bt as DiagramExtensionOptions, C as stringifyTextRun, Ca as SourceRectangleOptions, Ci as ReflectionEffectOptions, Cn as AdjustListOptions, Cr as parseTableStyle, Ct as effectListDesc, D as BodyPropertiesOptions, Da as SolidFillOptions, Di as createPresetShadowEffect, Dn as AnimationLevel, Dr as cell3DDesc, Dt as gradientFillDesc, E as runPropertiesDesc, Ea as createBlipEffects, Ei as PresetShadowEffectOptions, En as AnimateOneByOneOptions, Er as bevelDesc, Et as fillDesc, F as VerticalAnchor, Fa as createSchemeColor, Fi as BlendMode, Fn as createAdjust, Fr as createTransform2D, Ft as schemeColorDesc, G as BulletStyleOptions, Ga as ColorTransformOptions, Gi as createOutline, Gn as parseNonVisualContentPartProperties, Gr as PathCommand, Gt as DiagramRelationshipIdsOptions, H as BulletNoneOption, Ha as createPresetColor, Hi as OutlineOptions, Hn as createPreferredChildren, Hr as ConnectionSite, Ht as createDiagramExtensionList, I as bodyPropertiesDesc, Ia as ScRgbColorOptions, Ii as FillOverlayEffectOptions, In as createAdjustList, Ir as stringifyStretch, It as solidFillDesc, J as DEFAULT_SHADOW_BLUR_RADIUS, Ji as LineEndType, Jn as parseNonVisualDrawingProperties, Jr as createCustomGeometry, Jt as ColorMethod, K as DEFAULT_OUTLINE_WIDTH, Ka as createColorTransforms, Ki as LineEndLength, Kn as stringifyNonVisualContentPartProperties, Kr as PathFillMode, Kt as createDiagramRelationshipIds, L as createBodyProperties, La as createScRgbColor, Li as createFillOverlayEffect, Ln as createAnimateOneByOne, Lr as createExtensionList, Lt as stringifyColorChoice, M as TextHorzOverflow, Ma as createSystemColor, Mi as createInnerShadowEffect, Mn as OrgChartOptions, Mr as GroupTransform2DOptions, Mt as presetColorDesc, N as TextVertOverflow, Na as SchemeColor, Ni as GlowEffectOptions, Nn as PreferredChildrenOptions, Nr as Transform2DOptions, Nt as rgbColorDesc, O as FlatTextOptions, Oa as createColorElement, Oi as OuterShadowEffectOptions, On as AnimationLevelOptions, Or as scene3DDesc, Ot as patternFillDesc, P as TextVertical, Pa as SchemeColorOptions, Pi as createGlowEffect, Pn as PresentationLayoutVariablesOptions, Pr as createGroupTransform2D, Pt as scRgbColorDesc, Q as RunFont, Qi as createCustomDash, Qn as parseEndpointConnection, Qr as stringifyAdjustmentValues, Qt as HueDirection, R as parseBodyProperties, Ra as RgbColorOptions, Ri as CompoundLine, Rn as createAnimationLevel, Rr as BlipFillOptions, Rt as systemColorDesc, S as paragraphDesc, Sa as createTileInfo, Si as createEffectList, Sn as createStyleDefinitionHeaderList, Sr as createTableStyleList, St as shapeLockingDesc, T as Mutable, Ta as BlipEffectsOptions, Ti as PresetShadow, Tn as AnimateOneByOne, Tr as Cell3DOptions, Tt as stringifyLineProperties, U as BulletOptions, Ua as HslColorOptions, Ui as PenAlignment, Un as createPresentationLayoutVariables, Ur as CustomGeometryOptions, Ut as createDiagramShape3D, V as BulletCharOptions, Va as PresetColorOptions, Vi as OutlineFillProperties, Vn as createOrgChart, Vr as createBlip, Vt as DiagramTextPropertiesOptions, W as BulletPictureOptions, Wa as createHslColor, Wi as PresetDash, Wn as NonVisualContentPartPropertiesOptions, Wr as GeomRect, Wt as createDiagramTextProperties, X as DEFAULT_SHADOW_DISTANCE, Xi as createLineEnd, Xn as stringifyNonVisualDrawingProperties, Xr as stringifyPresetGeometry, Xt as DiagramStyleOptions, Y as DEFAULT_SHADOW_DIRECTION, Yi as LineEndWidth, Yn as pickNonVisualDrawingProperties, Yr as PresetGeometryOptions, Yt as ColorStyleLabelOptions, Z as ParagraphPropertiesOptions, Zi as DashStop, Zn as EndpointConnectionOptions, Zr as GeometryGuide, Zt as FontCollectionIndex, _ as TextListStyleRunOptions, _a as createGradientFill, _i as createEffectDag, _n as createColorsDefinitionHeader, _r as TableStyleOptions, _t as presetGeometryDesc, a as blipDesc, aa as BlipFillMediaData, ai as createBottomBevel, an as createTextEffectColorList, ar as ShapeLockingOptions, at as TextFieldOptions, b as textListStyleDesc, ba as TileFlipMode, bi as EffectListOptions, bn as createLayoutDefinitionHeaderList, br as ThemeableLineStyleOptions, bt as groupLockingDesc, c as stretchDesc, ca as buildFill, ci as LightRigOptions, cn as ColorsDefinitionHeaderListOptions, cr as createGraphicFrameLocking, ct as TextTabAlignment, d as textBodyDesc, da as GradientShadeOptions, di as SphereCoords, dn as DiagramDescriptionOptions, dr as createShapeLocking, dt as groupShapePropertiesDesc, ea as PatternFillOptions, ei as Shape3DOptions, en as createDiagramStyle, er as ConnectorLockingOptions, et as RunPropertiesOptions, f as DEFAULT_TEXT_LIST_STYLE, fa as GradientStop, fi as Vector3D, fn as DiagramNameOptions, fr as OnOffStyleType, ft as ShapePropertiesOptions, g as TextListStyleOptions, ga as RelativeRect, gi as EffectDagOptions, gn as StyleDefinitionHeaderOptions, gr as TableStyleListOptions, gt as customGeometryDesc, h as TextListStyleLevelOptions, ha as PathShadeOptions, hi as EffectContainer, hn as StyleDefinitionHeaderListOptions, hr as TablePartStyleOptions, ht as transform2DDesc, i as presentationLayoutVariablesDesc, ia as BlipFillConfigOptions, ii as createBevel, in as createStyleLabel, ir as PictureLockingOptions, it as TextCapitalization, j as TextBodyWrapping, ja as SystemColorOptions, ji as InnerShadowEffectOptions, jn as MaxChildrenOptions, jr as BlackWhiteMode, jt as parseColorChoiceElement, k as NormalAutofitOptions, ka as createSolidFill, ki as RectAlignment, kn as HierBranch, kr as shape3DDesc, kt as hslColorDesc, l as tileDesc, la as extractBlipFillMedia, li as Point3D, ln as ColorsDefinitionHeaderOptions, lr as createGroupLocking, lt as UnderlineStyle, m as TextListStyleGroupOptions, ma as PathShade, mi as createSoftEdgeEffect, mn as LayoutDefinitionHeaderOptions, mr as TableCellStyleOptions, mt as groupTransform2DDesc, n as diagramRelationshipIdsDesc, na as createPatternFill, ni as BevelOptions, nn as createFillColorList, nr as GraphicFrameLockingOptions, nt as TabStopOptions, o as blipFillDesc, oa as FillOptions, oi as BackdropOptions, on as createTextFillColorList, or as createConnectorLocking, ot as TextFont, p as TextListStyleBulletOptions, pa as LinearShadeOptions, pi as createScene3D, pn as LayoutDefinitionHeaderListOptions, pr as TableCellBorderOptions, pt as shapePropertiesDesc, q as DEFAULT_SHADOW_ALPHA, qi as LineEndOptions, qn as NonVisualDrawingPropertiesOptions, qr as PathOptions, qt as ColorListOptions, r as diagramStyleDesc, ra as createNoFill, ri as BevelPreset, rn as createLineColorList, rr as GroupLockingOptions, rt as TextAlignment, s as sourceRectangleDesc, sa as GradientStopOptions, si as CameraOptions, sn as createTextLineColorList, sr as createContentPartLocking, st as TextHyperlinkOptions, t as diagramExtensionListDesc, ta as PresetPattern, ti as createShape3D, tn as createEffectColorList, tr as ContentPartLockingOptions, tt as StrikeStyle, u as TextBodyOptions, ua as GradientFillOptions, ui as Scene3DOptions, un as DiagramCategoryOptions, ur as createPictureLocking, ut as GroupShapePropertiesOptions, v as parseTextListStyle, va as createGradientStop, vi as BlurEffectOptions, vn as createColorsDefinitionHeaderList, vr as TableStyleRegion, vt as connectorLockingDesc, w as textRunDesc, wa as createSourceRectangle, wi as createReflectionEffect, wn as AdjustOptions, wr as parseTableStyleList, wt as outlineDesc, x as ParagraphDescriptorOptions, xa as TileOptions, xi as calculateEffectExtent, xn as createStyleDefinitionHeader, xr as createTableStyle, xt as pictureLockingDesc, y as stringifyTextListStyle, ya as TileAlignment, yi as EffectExtent, yn as createLayoutDefinitionHeader, yr as TableTextStyleOptions, yt as graphicFrameLockingDesc, z as BreakOptions, za as createRgbColor, zi as LineCap, zn as createHierBranch, zr as createBlipFill, zt as DiagramExtensionListOptions } from "../index-CnjCK-lF.mjs";
|
|
2
|
+
export { type AdjustListOptions, type AdjustOptions, type AnimateOneByOne, type AnimateOneByOneOptions, type AnimationLevel, type AnimationLevelOptions, type BackdropOptions, type BevelOptions, type BevelPreset, type BlackWhiteMode, BlendMode, type BlipEffectsOptions, type BlipFillConfigOptions, type BlipFillMediaData, type BlipFillOptions, type BlipOptions, type BlurEffectOptions, BodyPropertiesOptions, BreakOptions, BulletAutoNumOptions, BulletCharOptions, BulletNoneOption, BulletOptions, BulletPictureOptions, BulletStyleOptions, type CameraOptions, Cell3DOptions, type ColorListOptions, type ColorMethod, type ColorStyleLabelOptions, type ColorTransformOptions, type ColorsDefinitionHeaderListOptions, type ColorsDefinitionHeaderOptions, type CompoundLine, type ConnectionSite, type ConnectorLockingOptions, type ContentPartLockingOptions, type CustomGeometryOptions, DEFAULT_OUTLINE_WIDTH, DEFAULT_SHADOW_ALPHA, DEFAULT_SHADOW_BLUR_RADIUS, DEFAULT_SHADOW_DIRECTION, DEFAULT_SHADOW_DISTANCE, DEFAULT_TEXT_LIST_STYLE, type DashStop, type DiagramCategoryOptions, type DiagramDescriptionOptions, type DiagramExtensionListOptions, type DiagramExtensionOptions, type DiagramNameOptions, type DiagramRelationshipIdsOptions, type DiagramStyleOptions, type DiagramTextPropertiesOptions, type EffectContainer, type EffectDagOptions, type EffectExtent, type EffectListOptions, type EndpointConnectionOptions, type FillOptions, type FillOverlayEffectOptions, FlatTextOptions, FontCollectionIndex, type GeomRect, type GeometryGuide, type GlowEffectOptions, type GradientFillOptions, type GradientShadeOptions, type GradientStop, type GradientStopOptions, type GraphicFrameLockingOptions, type GroupLockingOptions, GroupShapePropertiesOptions, type GroupTransform2DOptions, type HierBranch, type HierBranchOptions, type HslColorOptions, type HueDirection, type InnerShadowEffectOptions, type LayoutDefinitionHeaderListOptions, type LayoutDefinitionHeaderOptions, type LightRigOptions, type LineCap, type LineEndLength, type LineEndOptions, type LineEndType, type LineEndWidth, type LineJoin, type LinearShadeOptions, type MaxChildrenOptions, Mutable, type NonVisualContentPartPropertiesOptions, type NonVisualDrawingPropertiesOptions, NormalAutofitOptions, type OnOffStyleType, type OrgChartOptions, type OuterShadowEffectOptions, type OutlineFillProperties, type OutlineOptions, ParagraphDescriptorOptions, ParagraphPropertiesOptions, type PathCommand, type PathFillMode, type PathOptions, type PathShade, type PathShadeOptions, type PatternFillOptions, type PenAlignment, type PictureLockingOptions, type Point3D, type PreferredChildrenOptions, type PresentationLayoutVariablesOptions, PresetColor, type PresetColorOptions, type PresetDash, type PresetGeometryOptions, type PresetMaterial, PresetPattern, type PresetShadow, type PresetShadowEffectOptions, PresetTextShapeOptions, type RectAlignment, type ReflectionEffectOptions, type RelativeRect, type RgbColorOptions, RunFont, RunOptions, RunPropertiesOptions, type ScRgbColorOptions, type Scene3DOptions, SchemeColor, type SchemeColorOptions, type Shape3DOptions, type ShapeLockingOptions, ShapePropertiesOptions, type SolidFillOptions, type SourceRectangleOptions, type SphereCoords, StrikeStyle, type StyleDefinitionHeaderListOptions, type StyleDefinitionHeaderOptions, type StyleMatrixIndex, type StyleMatrixReferenceOptions, SystemColor, type SystemColorOptions, TabStopOptions, type TableCellBorderOptions, type TableCellStyleOptions, type TablePartStyleOptions, type TableStyleListOptions, type TableStyleOptions, type TableStyleRegion, type TableTextStyleOptions, TextAlignment, TextBodyOptions, TextBodyWrapping, TextCapitalization, TextFieldOptions, TextFont, TextHorzOverflow, TextHyperlinkOptions, TextListStyleBulletOptions, TextListStyleGroupOptions, TextListStyleLevelOptions, TextListStyleOptions, TextListStyleRunOptions, TextTabAlignment, TextVertOverflow, TextVertical, type ThemeableLineStyleOptions, type TileAlignment, type TileFlipMode, type TileOptions, type Transform2DOptions, UnderlineStyle, type Vector3D, VerticalAnchor, bevelDesc, blipDesc, blipFillDesc, bodyPropertiesDesc, buildFill, calculateEffectExtent, cell3DDesc, connectorLockingDesc, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBodyProperties, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createConnectorLocking, createContentPartLocking, createCustomDash, createCustomGeometry, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtensionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextFillColorList, createTextLineColorList, createTileInfo, createTransform2D, customGeometryDesc, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, effectListDesc, extractBlipFillMedia, fillDesc, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupShapePropertiesDesc, groupTransform2DDesc, hslColorDesc, outlineDesc, paragraphDesc, parseBodyProperties, parseColorChoice, parseColorChoiceElement, parseEndpointConnection, parseNonVisualContentPartProperties, parseNonVisualDrawingProperties, parseTableStyle, parseTableStyleList, parseTextListStyle, patternFillDesc, pickNonVisualDrawingProperties, pictureLockingDesc, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, rgbColorDesc, runPropertiesDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shapePropertiesDesc, solidFillDesc, sourceRectangleDesc, stretchDesc, stringifyAdjustmentValues, stringifyColorChoice, stringifyEndpointConnection, stringifyLineProperties, stringifyNonVisualContentPartProperties, stringifyNonVisualDrawingProperties, stringifyPresetGeometry, stringifyStretch, stringifyTextListStyle, stringifyTextRun, systemColorDesc, textBodyDesc, textListStyleDesc, textRunDesc, tileDesc, transform2DDesc };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as createStyleDefinitionHeaderList, $t as createGroupFill, A as groupLockingDesc, An as hslColorDesc, At as createBlip, B as blipFillDesc, Bn as SystemColor, Bt as calculateEffectExtent, C as shapePropertiesDesc, Cn as createTextLineColorList, Ct as createTableStyleList, D as presetGeometryDesc, Dn as createScRgbColor, Dt as createTransform2D, E as customGeometryDesc, En as createSolidFill, Et as createGroupTransform2D, F as stringifyLineProperties, Fn as scRgbColorDesc, Ft as createShape3D, G as createDiagramShape3D, Gn as createPresetColor, Gt as createOuterShadowEffect, H as stretchDesc, Hn as SchemeColor, Ht as createSoftEdgeEffect, I as fillDesc, In as schemeColorDesc, It as createBevel, J as createColorsDefinitionHeader, Jt as BlendMode, K as createDiagramTextProperties, Kn as createColorTransforms, Kt as createInnerShadowEffect, L as gradientFillDesc, Ln as solidFillDesc, Lt as createBottomBevel, M as shapeLockingDesc, Mn as parseColorChoiceElement, Mt as createCustomGeometry, N as effectListDesc, Nn as presetColorDesc, Nt as stringifyPresetGeometry, O as connectorLockingDesc, On as createRgbColor, Ot as stringifyStretch, P as outlineDesc, Pn as rgbColorDesc, Pt as stringifyAdjustmentValues, Q as createStyleDefinitionHeader, Qt as createCustomDash, R as patternFillDesc, Rn as stringifyColorChoice, Rt as createScene3D, S as groupShapePropertiesDesc, Sn as createTextFillColorList, St as createTableStyle, T as transform2DDesc, Tn as createColorElement, Tt as parseTableStyleList, U as tileDesc, Un as createSchemeColor, Ut as createReflectionEffect, V as sourceRectangleDesc, Vn as createSystemColor, Vt as createEffectList, W as createDiagramExtensionList, Wn as PresetColor, Wt as createPresetShadowEffect, X as createLayoutDefinitionHeader, Xt as createOutline, Y as createColorsDefinitionHeaderList, Yt as createFillOverlayEffect, Z as createLayoutDefinitionHeaderList, Zt as createLineEnd, _ as DEFAULT_OUTLINE_WIDTH, _n as createEffectColorList, _t as createContentPartLocking, a as textBodyDesc, an as createGradientFill, at as createMaxChildren, b as DEFAULT_SHADOW_DIRECTION, bn as createStyleLabel, bt as createPictureLocking, c as stringifyTextListStyle, cn as createSourceRectangle, ct as createPresentationLayoutVariables, d as stringifyTextRun, dn as cell3DDesc, dt as parseNonVisualDrawingProperties, en as createNoFill, et as createAdjust, f as textRunDesc, fn as scene3DDesc, ft as pickNonVisualDrawingProperties, g as parseBodyProperties, gn as createDiagramStyle, gt as createConnectorLocking, h as createBodyProperties, ht as stringifyEndpointConnection, i as presentationLayoutVariablesDesc, in as createPatternFill, it as createHierBranch, j as pictureLockingDesc, jn as parseColorChoice, jt as createExtensionList, k as graphicFrameLockingDesc, kn as createHslColor, kt as createBlipFill, l as textListStyleDesc, ln as createBlipEffects, lt as parseNonVisualContentPartProperties, m as bodyPropertiesDesc, mn as FontCollectionIndex, mt as parseEndpointConnection, n as diagramRelationshipIdsDesc, nn as extractBlipFillMedia, nt as createAnimateOneByOne, o as DEFAULT_TEXT_LIST_STYLE, on as createGradientStop, ot as createOrgChart, p as runPropertiesDesc, pn as shape3DDesc, pt as stringifyNonVisualDrawingProperties, q as createDiagramRelationshipIds, qt as createGlowEffect, r as diagramStyleDesc, rn as PresetPattern, rt as createAnimationLevel, s as parseTextListStyle, sn as createTileInfo, st as createPreferredChildren, t as diagramExtensionListDesc, tn as buildFill, tt as createAdjustList, u as paragraphDesc, un as bevelDesc, ut as stringifyNonVisualContentPartProperties, v as DEFAULT_SHADOW_ALPHA, vn as createFillColorList, vt as createGraphicFrameLocking, w as groupTransform2DDesc, wt as parseTableStyle, x as DEFAULT_SHADOW_DISTANCE, xn as createTextEffectColorList, xt as createShapeLocking, y as DEFAULT_SHADOW_BLUR_RADIUS, yn as createLineColorList, yt as createGroupLocking, z as blipDesc, zn as systemColorDesc, zt as createEffectDag } from "../drawing-FBzd2I0m.mjs";
|
|
2
|
+
export { BlendMode, DEFAULT_OUTLINE_WIDTH, DEFAULT_SHADOW_ALPHA, DEFAULT_SHADOW_BLUR_RADIUS, DEFAULT_SHADOW_DIRECTION, DEFAULT_SHADOW_DISTANCE, DEFAULT_TEXT_LIST_STYLE, FontCollectionIndex, PresetColor, PresetPattern, SchemeColor, SystemColor, bevelDesc, blipDesc, blipFillDesc, bodyPropertiesDesc, buildFill, calculateEffectExtent, cell3DDesc, connectorLockingDesc, createAdjust, createAdjustList, createAnimateOneByOne, createAnimationLevel, createBevel, createBlip, createBlipEffects, createBlipFill, createBodyProperties, createBottomBevel, createColorElement, createColorTransforms, createColorsDefinitionHeader, createColorsDefinitionHeaderList, createConnectorLocking, createContentPartLocking, createCustomDash, createCustomGeometry, createDiagramExtensionList, createDiagramRelationshipIds, createDiagramShape3D, createDiagramStyle, createDiagramTextProperties, createEffectColorList, createEffectDag, createEffectList, createExtensionList, createFillColorList, createFillOverlayEffect, createGlowEffect, createGradientFill, createGradientStop, createGraphicFrameLocking, createGroupFill, createGroupLocking, createGroupTransform2D, createHierBranch, createHslColor, createInnerShadowEffect, createLayoutDefinitionHeader, createLayoutDefinitionHeaderList, createLineColorList, createLineEnd, createMaxChildren, createNoFill, createOrgChart, createOuterShadowEffect, createOutline, createPatternFill, createPictureLocking, createPreferredChildren, createPresentationLayoutVariables, createPresetColor, createPresetShadowEffect, createReflectionEffect, createRgbColor, createScRgbColor, createScene3D, createSchemeColor, createShape3D, createShapeLocking, createSoftEdgeEffect, createSolidFill, createSourceRectangle, createStyleDefinitionHeader, createStyleDefinitionHeaderList, createStyleLabel, createSystemColor, createTableStyle, createTableStyleList, createTextEffectColorList, createTextFillColorList, createTextLineColorList, createTileInfo, createTransform2D, customGeometryDesc, diagramExtensionListDesc, diagramRelationshipIdsDesc, diagramStyleDesc, effectListDesc, extractBlipFillMedia, fillDesc, gradientFillDesc, graphicFrameLockingDesc, groupLockingDesc, groupShapePropertiesDesc, groupTransform2DDesc, hslColorDesc, outlineDesc, paragraphDesc, parseBodyProperties, parseColorChoice, parseColorChoiceElement, parseEndpointConnection, parseNonVisualContentPartProperties, parseNonVisualDrawingProperties, parseTableStyle, parseTableStyleList, parseTextListStyle, patternFillDesc, pickNonVisualDrawingProperties, pictureLockingDesc, presentationLayoutVariablesDesc, presetColorDesc, presetGeometryDesc, rgbColorDesc, runPropertiesDesc, scRgbColorDesc, scene3DDesc, schemeColorDesc, shape3DDesc, shapeLockingDesc, shapePropertiesDesc, solidFillDesc, sourceRectangleDesc, stretchDesc, stringifyAdjustmentValues, stringifyColorChoice, stringifyEndpointConnection, stringifyLineProperties, stringifyNonVisualContentPartProperties, stringifyNonVisualDrawingProperties, stringifyPresetGeometry, stringifyStretch, stringifyTextListStyle, stringifyTextRun, systemColorDesc, textBodyDesc, textListStyleDesc, textRunDesc, tileDesc, transform2DDesc };
|