@stll/docx-core 0.39.1 → 0.40.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/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { T as borderStyleToken, Z as headingOutlineLevel, _t as isCanonicallyEmptyParagraphFormatting, ct as paragraphNumberingReferenceId, d as isNoteReferenceId, f as isOoxmlSymbolCharacter, gt as finalizeParagraphFormatting, k as statesNoBorder, lt as paragraphNumberingSlots, ot as paragraphNumberingLevel, r as DOCX_CONFORMANCE_CLASSES, s as MAX_REVISION_ID, st as paragraphNumberingReference, vt as setDocumentBodyComments } from "./document-oU-dz9zs.js";
2
- import { i as serializeSequenceChildren } from "./sequenceChildren-9SUK1Tm1.js";
3
- import { writeZipPart } from "./zip/writeZipPart.js";
4
- import { a as hasIllegalXmlCharacters, i as escapeXmlText, n as sanitizeMarkdownHref, o as sanitizeXmlCharacters, r as escapeXmlAttribute, t as sanitizeExternalUrl } from "./href-2XSCK-T8.js";
1
+ import { T as borderStyleToken, Z as headingOutlineLevel, _t as isCanonicallyEmptyParagraphFormatting, ct as paragraphNumberingReferenceId, d as isNoteReferenceId, f as isOoxmlSymbolCharacter, gt as finalizeParagraphFormatting, k as statesNoBorder, lt as paragraphNumberingSlots, ot as paragraphNumberingLevel, r as DOCX_CONFORMANCE_CLASSES, s as MAX_REVISION_ID, st as paragraphNumberingReference, vt as setDocumentBodyComments } from "./document-NtScxyHH.js";
2
+ import { i as serializeSequenceChildren } from "./sequenceChildren-CrMcryEF.js";
3
+ import { _ as ZipError } from "./format-DXPXB02u.js";
4
+ import { t as ZipArchive } from "./archive-yBR7X-Qc.js";
5
+ import { a as hasIllegalXmlCharacters, i as escapeXmlText, n as sanitizeMarkdownHref, o as sanitizeXmlCharacters, r as escapeXmlAttribute, t as sanitizeExternalUrl } from "./href-ogmJmncc.js";
5
6
  import { Result, TaggedError, panic } from "better-result";
6
- import JSZip from "jszip";
7
- import { decodeText, encodeUtf8 } from "@stll/utf8-boundaries";
8
7
  import { XMLParser, XMLValidator } from "fast-xml-parser";
8
+ import { decodeText } from "@stll/utf8-boundaries";
9
9
  import { ENTITY_ACTION, EntityDecoder } from "@nodable/entities";
10
10
  import { Marked } from "marked";
11
- //#region src/serialize/numericIds.ts
11
+ // src/serialize/numericIds.ts
12
12
  const WORD_NAMESPACES = /* @__PURE__ */ new Set(["http://schemas.openxmlformats.org/wordprocessingml/2006/main", "http://purl.oclc.org/ooxml/wordprocessingml/main"]);
13
13
  const DRAWING_NAMESPACES = /* @__PURE__ */ new Set([
14
14
  "http://schemas.openxmlformats.org/drawingml/2006/main",
@@ -206,8 +206,7 @@ const assertValidOoxmlNumericIds = (xml, partPath) => {
206
206
  };
207
207
  visit(parser.parse(xml), /* @__PURE__ */ new Map());
208
208
  };
209
- //#endregion
210
- //#region src/serialize/textWhitespace.ts
209
+ // src/serialize/textWhitespace.ts
211
210
  /**
212
211
  * Whether `<w:t>` needs `xml:space="preserve"` to render the text as written.
213
212
  *
@@ -219,8 +218,7 @@ const assertValidOoxmlNumericIds = (xml, partPath) => {
219
218
  * runs merged, because ProseMirror has nowhere to carry it.
220
219
  */
221
220
  const requiresXmlSpacePreserve = (text) => text.startsWith(" ") || text.endsWith(" ") || text.includes(" ");
222
- //#endregion
223
- //#region src/serialize/xml.ts
221
+ // src/serialize/xml.ts
224
222
  const attr = (name, value) => value === void 0 ? "" : ` ${name}="${escapeXmlAttribute(String(value))}"`;
225
223
  /**
226
224
  * The one writer for a `CT_OnOff` element: `w:b`, `w:cantSplit`, `w:hideMark`,
@@ -259,8 +257,7 @@ const pushOnOffElement = (parts, value, name) => {
259
257
  const xml = serializeOnOffElement(value, name);
260
258
  if (xml) parts.push(xml);
261
259
  };
262
- //#endregion
263
- //#region src/serialize/docx.ts
260
+ // src/serialize/docx.ts
264
261
  const DEFAULT_FOOTER_REL_ID = "rId10";
265
262
  const DEFAULT_FOOTER_PART_NAME = "footer1.xml";
266
263
  const FOOTER_LABEL_FALLBACK = {
@@ -363,62 +360,22 @@ const APP_XML = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><P
363
360
  * not the other way round.
364
361
  */
365
362
  const serializeDocumentToDocx = async (document, options = {}) => {
366
- const zip = new JSZip();
363
+ const zip = new ZipArchive();
367
364
  const hasNumbering = hasNumberingDefinitions(document.package.numbering);
368
- writeZipPart({
369
- zip,
370
- path: "[Content_Types].xml",
371
- data: encodeUtf8(contentTypesXml(hasNumbering))
372
- });
373
- writeZipPart({
374
- zip,
375
- path: "_rels/.rels",
376
- data: encodeUtf8(ROOT_RELS_XML)
377
- });
378
- writeZipPart({
379
- zip,
380
- path: "docProps/app.xml",
381
- data: encodeUtf8(APP_XML)
382
- });
383
- writeZipPart({
384
- zip,
385
- path: "docProps/core.xml",
386
- data: encodeUtf8(serializeCoreProperties(document))
387
- });
388
- writeZipPart({
389
- zip,
390
- path: "word/document.xml",
391
- data: encodeUtf8(serializeDocumentXml(document))
392
- });
393
- writeZipPart({
394
- zip,
395
- path: "word/styles.xml",
396
- data: encodeUtf8(serializeStyles(document.package.styles))
397
- });
398
- if (hasNumbering) writeZipPart({
399
- zip,
400
- path: "word/numbering.xml",
401
- data: encodeUtf8(serializeNumbering(document.package.numbering))
402
- });
403
- writeZipPart({
404
- zip,
405
- path: `word/${DEFAULT_FOOTER_PART_NAME}`,
406
- data: encodeUtf8(buildFooterXml(options.language))
407
- });
408
- writeZipPart({
409
- zip,
410
- path: "word/_rels/document.xml.rels",
411
- data: encodeUtf8(documentRelsXml(hasNumbering))
412
- });
413
- for (const [path, file] of Object.entries(zip.files)) {
414
- if (file.dir || !path.endsWith(".xml")) continue;
415
- assertValidOoxmlNumericIds(await file.async("uint8array").then((bytes) => decodeText(bytes, { ignoreBOM: true })), path);
416
- }
417
- return await zip.generateAsync({
418
- type: "arraybuffer",
419
- compression: "DEFLATE",
420
- compressionOptions: { level: 6 }
421
- });
365
+ zip.set("[Content_Types].xml", contentTypesXml(hasNumbering));
366
+ zip.set("_rels/.rels", ROOT_RELS_XML);
367
+ zip.set("docProps/app.xml", APP_XML);
368
+ zip.set("docProps/core.xml", serializeCoreProperties(document));
369
+ zip.set("word/document.xml", serializeDocumentXml(document));
370
+ zip.set("word/styles.xml", serializeStyles(document.package.styles));
371
+ if (hasNumbering) zip.set("word/numbering.xml", serializeNumbering(document.package.numbering));
372
+ zip.set(`word/${DEFAULT_FOOTER_PART_NAME}`, buildFooterXml(options.language));
373
+ zip.set("word/_rels/document.xml.rels", documentRelsXml(hasNumbering));
374
+ for (const entry of zip.entries()) {
375
+ if (!entry.path.endsWith(".xml")) continue;
376
+ assertValidOoxmlNumericIds(await entry.text(), entry.path);
377
+ }
378
+ return (await zip.generate()).buffer;
422
379
  };
423
380
  const hasNumberingDefinitions = (numbering) => (numbering?.abstractNums.length ?? 0) > 0 || (numbering?.nums.length ?? 0) > 0;
424
381
  const serializeDocumentXml = (document) => {
@@ -694,8 +651,7 @@ const serializeCoreProperties = (document) => {
694
651
  const modified = properties?.modified?.toISOString() ?? now;
695
652
  return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?><cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:title>${escapeXmlText(title)}</dc:title><dc:creator>${escapeXmlText(creator)}</dc:creator><cp:lastModifiedBy>${escapeXmlText(creator)}</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">${created}</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">${modified}</dcterms:modified></cp:coreProperties>`;
696
653
  };
697
- //#endregion
698
- //#region src/validate/xmlEntityDecoder.ts
654
+ // src/validate/xmlEntityDecoder.ts
699
655
  const MAX_XML_ENTITY_EXPANDED_LENGTH = 1e5;
700
656
  const createXmlEntityDecoder = () => new EntityDecoder({
701
657
  numericAllowed: true,
@@ -705,8 +661,7 @@ const createXmlEntityDecoder = () => new EntityDecoder({
705
661
  applyLimitsTo: "all"
706
662
  }
707
663
  });
708
- //#endregion
709
- //#region src/validate/packageGraph.ts
664
+ // src/validate/packageGraph.ts
710
665
  const CONTENT_TYPES_NS = "http://schemas.openxmlformats.org/package/2006/content-types";
711
666
  const RELATIONSHIPS_NS = "http://schemas.openxmlformats.org/package/2006/relationships";
712
667
  const WORDPROCESSING_PART_ROLES = /* @__PURE__ */ new Set([
@@ -863,12 +818,10 @@ const validatePackageGraph = (parts, paths) => {
863
818
  }
864
819
  return documentRelationship ? null : "Missing package officeDocument relationship";
865
820
  };
866
- //#endregion
867
- //#region src/validate/schemaAttributes.gen.ts
821
+ // src/validate/schemaAttributes.gen.ts
868
822
  const loadSchemaAttributeFacts = (json) => JSON.parse(json);
869
823
  const SCHEMA_ATTRIBUTE_FACTS = loadSchemaAttributeFacts("{\"namespaces\":[\"http://schemas.openxmlformats.org/drawingml/2006/chart\",\"http://schemas.openxmlformats.org/drawingml/2006/chartDrawing\",\"http://schemas.openxmlformats.org/drawingml/2006/diagram\",\"http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas\",\"http://schemas.openxmlformats.org/drawingml/2006/main\",\"http://schemas.openxmlformats.org/drawingml/2006/picture\",\"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing\",\"http://schemas.openxmlformats.org/officeDocument/2006/math\",\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\",\"http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes\",\"http://schemas.openxmlformats.org/package/2006/content-types\",\"http://schemas.openxmlformats.org/package/2006/digital-signature\",\"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\",\"http://schemas.openxmlformats.org/package/2006/relationships\",\"http://schemas.openxmlformats.org/schemaLibrary/2006/main\",\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"],\"definitions\":[{\"name\":\"{15}abstractNumId\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}name\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}caption\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}color\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"auto\"],\"whitespace\":\"preserve\"},{\"type\":\"any\",\"whitespace\":\"collapse\"}]}},{\"name\":\"{15}themeColor\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"background1\",\"background2\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\",\"none\",\"text1\",\"text2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"ltr\",\"rtl\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}colFirst\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}colLast\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}displacedByCustomXml\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"next\",\"prev\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}id\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\",\"min\":\"-2147483648\",\"max\":\"2147483647\"}},{\"name\":\"{15}frame\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}shadow\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}space\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}sz\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"apples\",\"archedScallops\",\"babyPacifier\",\"babyRattle\",\"balloons3Colors\",\"balloonsHotAir\",\"basicBlackDashes\",\"basicBlackDots\",\"basicBlackSquares\",\"basicThinLines\",\"basicWhiteDashes\",\"basicWhiteDots\",\"basicWhiteSquares\",\"basicWideInline\",\"basicWideMidline\",\"basicWideOutline\",\"bats\",\"birds\",\"birdsFlight\",\"cabins\",\"cakeSlice\",\"candyCorn\",\"celticKnotwork\",\"certificateBanner\",\"chainLink\",\"champagneBottle\",\"checkedBarBlack\",\"checkedBarColor\",\"checkered\",\"christmasTree\",\"circlesLines\",\"circlesRectangles\",\"classicalWave\",\"clocks\",\"compass\",\"confetti\",\"confettiGrays\",\"confettiOutline\",\"confettiStreamers\",\"confettiWhite\",\"cornerTriangles\",\"couponCutoutDashes\",\"couponCutoutDots\",\"crazyMaze\",\"creaturesButterfly\",\"creaturesFish\",\"creaturesInsects\",\"creaturesLadyBug\",\"crossStitch\",\"cup\",\"custom\",\"dashDotStroked\",\"dashSmallGap\",\"dashed\",\"decoArch\",\"decoArchColor\",\"decoBlocks\",\"diamondsGray\",\"dotDash\",\"dotDotDash\",\"dotted\",\"double\",\"doubleD\",\"doubleDiamonds\",\"doubleWave\",\"earth1\",\"earth2\",\"earth3\",\"eclipsingSquares1\",\"eclipsingSquares2\",\"eggsBlack\",\"fans\",\"film\",\"firecrackers\",\"flowersBlockPrint\",\"flowersDaisies\",\"flowersModern1\",\"flowersModern2\",\"flowersPansy\",\"flowersRedRose\",\"flowersRoses\",\"flowersTeacup\",\"flowersTiny\",\"gems\",\"gingerbreadMan\",\"gradient\",\"handmade1\",\"handmade2\",\"heartBalloon\",\"heartGray\",\"hearts\",\"heebieJeebies\",\"holly\",\"houseFunky\",\"hypnotic\",\"iceCreamCones\",\"inset\",\"lightBulb\",\"lightning1\",\"lightning2\",\"mapPins\",\"mapleLeaf\",\"mapleMuffins\",\"marquee\",\"marqueeToothed\",\"moons\",\"mosaic\",\"musicNotes\",\"nil\",\"none\",\"northwest\",\"outset\",\"ovals\",\"packages\",\"palmsBlack\",\"palmsColor\",\"paperClips\",\"papyrus\",\"partyFavor\",\"partyGlass\",\"pencils\",\"people\",\"peopleHats\",\"peopleWaving\",\"poinsettias\",\"postageStamp\",\"pumpkin1\",\"pushPinNote1\",\"pushPinNote2\",\"pyramids\",\"pyramidsAbove\",\"quadrants\",\"rings\",\"safari\",\"sawtooth\",\"sawtoothGray\",\"scaredCat\",\"seattle\",\"shadowedSquares\",\"shapes1\",\"shapes2\",\"sharksTeeth\",\"shorebirdTracks\",\"single\",\"skyrocket\",\"snowflakeFancy\",\"snowflakes\",\"sombrero\",\"southwest\",\"stars\",\"stars3d\",\"starsBlack\",\"starsShadowed\",\"starsTop\",\"sun\",\"swirligig\",\"thick\",\"thickThinLargeGap\",\"thickThinMediumGap\",\"thickThinSmallGap\",\"thinThickLargeGap\",\"thinThickMediumGap\",\"thinThickSmallGap\",\"thinThickThinLargeGap\",\"thinThickThinMediumGap\",\"thinThickThinSmallGap\",\"threeDEmboss\",\"threeDEngrave\",\"tornPaper\",\"tornPaperBlack\",\"trees\",\"triangle1\",\"triangle2\",\"triangleCircle1\",\"triangleCircle2\",\"triangleParty\",\"triangles\",\"triple\",\"twistedLines1\",\"twistedLines2\",\"vine\",\"wave\",\"waveline\",\"weavingAngles\",\"weavingBraid\",\"weavingRibbon\",\"weavingStrips\",\"whiteFlowers\",\"woodwork\",\"xIllusions\",\"zanyTriangles\",\"zigZag\",\"zigZagStitch\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}clear\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"all\",\"left\",\"none\",\"right\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"column\",\"page\",\"textWrapping\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"gregorian\",\"gregorianArabic\",\"gregorianMeFrench\",\"gregorianUs\",\"gregorianXlitEnglish\",\"gregorianXlitFrench\",\"hebrew\",\"hijri\",\"japan\",\"korea\",\"none\",\"saka\",\"taiwan\",\"thai\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}chapNum\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}heading\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}noLabel\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}numFmt\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"aiueo\",\"aiueoFullWidth\",\"arabicAbjad\",\"arabicAlpha\",\"bahtText\",\"bullet\",\"cardinalText\",\"chicago\",\"chineseCounting\",\"chineseCountingThousand\",\"chineseLegalSimplified\",\"chosung\",\"custom\",\"decimal\",\"decimalEnclosedCircle\",\"decimalEnclosedCircleChinese\",\"decimalEnclosedFullstop\",\"decimalEnclosedParen\",\"decimalFullWidth\",\"decimalFullWidth2\",\"decimalHalfWidth\",\"decimalZero\",\"dollarText\",\"ganada\",\"hebrew1\",\"hebrew2\",\"hex\",\"hindiConsonants\",\"hindiCounting\",\"hindiNumbers\",\"hindiVowels\",\"ideographDigital\",\"ideographEnclosedCircle\",\"ideographLegalTraditional\",\"ideographTraditional\",\"ideographZodiac\",\"ideographZodiacTraditional\",\"iroha\",\"irohaFullWidth\",\"japaneseCounting\",\"japaneseDigitalTenThousand\",\"japaneseLegal\",\"koreanCounting\",\"koreanDigital\",\"koreanDigital2\",\"koreanLegal\",\"lowerLetter\",\"lowerRoman\",\"none\",\"numberInDash\",\"ordinal\",\"ordinalText\",\"russianLower\",\"russianUpper\",\"taiwaneseCounting\",\"taiwaneseCountingThousand\",\"taiwaneseDigital\",\"thaiCounting\",\"thaiLetters\",\"thaiNumbers\",\"upperLetter\",\"upperRoman\",\"vietnameseCounting\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}pos\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"above\",\"below\",\"left\",\"right\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}sep\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"colon\",\"emDash\",\"enDash\",\"hyphen\",\"period\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}author\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}vMerge\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"cont\",\"rest\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}vMergeOrig\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"cont\",\"rest\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"compressPunctuation\",\"compressPunctuationAndJapaneseKana\",\"doNotCompress\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}evenHBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}evenVBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}firstColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}firstRow\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}firstRowFirstColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}firstRowLastColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lastColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lastRow\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lastRowFirstColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lastRowLastColumn\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}oddHBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}oddVBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"pattern\",\"patterns\":[\"[01]*\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"auto\"],\"whitespace\":\"preserve\"},{\"type\":\"any\",\"whitespace\":\"collapse\"}]}},{\"name\":\"{15}accent1\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}accent2\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}accent3\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}accent4\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}accent5\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}accent6\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}bg1\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}bg2\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}followedHyperlink\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}hyperlink\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}t1\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}t2\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}space\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}w\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}equalWidth\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}num\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}sep\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}element\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}storeItemID\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}xpath\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?%\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}charSpace\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}linePitch\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"default\",\"lines\",\"linesAndChars\",\"snapToChars\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"content\",\"p\",\"pg\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"any\",\"autoTxt\",\"bib\",\"coverPg\",\"custAutoTxt\",\"custBib\",\"custCoverPg\",\"custEq\",\"custFtrs\",\"custHdrs\",\"custPgNum\",\"custPgNumB\",\"custPgNumMargins\",\"custPgNumT\",\"custQuickParts\",\"custTblOfContents\",\"custTbls\",\"custTxtBox\",\"custWatermarks\",\"custom1\",\"custom2\",\"custom3\",\"custom4\",\"custom5\",\"default\",\"docParts\",\"eq\",\"ftrs\",\"hdrs\",\"pgNum\",\"pgNumB\",\"pgNumMargins\",\"pgNumT\",\"placeholder\",\"tblOfContents\",\"tbls\",\"txtBox\",\"watermarks\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}decorated\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"autoExp\",\"bbPlcHdr\",\"formFld\",\"none\",\"normal\",\"speller\",\"toolbar\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}all\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}cryptAlgorithmClass\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"custom\",\"hash\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}cryptAlgorithmSid\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}cryptAlgorithmType\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"custom\",\"typeAny\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}cryptProviderType\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"custom\",\"rsaAES\",\"rsaFull\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}cryptSpinCount\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}edit\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"comments\",\"forms\",\"none\",\"readOnly\",\"trackedChanges\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}enforcement\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}formatting\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}spinCount\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}conformance\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"strict\",\"transitional\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}combine\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}combineBrackets\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"angle\",\"curly\",\"none\",\"round\",\"square\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}id\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\",\"min\":\"-2147483648\",\"max\":\"2147483647\"}},{\"name\":\"{15}vert\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}vertCompress\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"docEnd\",\"sectEnd\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"circle\",\"comma\",\"dot\",\"none\",\"underDot\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"autoText\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"calculated\",\"currentDate\",\"currentTime\",\"date\",\"number\",\"regular\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}dirty\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}fldCharType\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"begin\",\"end\",\"separate\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}fldLock\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"auto\",\"decorative\",\"modern\",\"roman\",\"script\",\"swiss\"],\"whitespace\":\"preserve\"}},{\"name\":\"{8}id\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}subsetted\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}asciiTheme\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"majorAscii\",\"majorBidi\",\"majorEastAsia\",\"majorHAnsi\",\"minorAscii\",\"minorBidi\",\"minorEastAsia\",\"minorHAnsi\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}cstheme\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"majorAscii\",\"majorBidi\",\"majorEastAsia\",\"majorHAnsi\",\"minorAscii\",\"minorBidi\",\"minorEastAsia\",\"minorHAnsi\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}eastAsiaTheme\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"majorAscii\",\"majorBidi\",\"majorEastAsia\",\"majorHAnsi\",\"minorAscii\",\"minorBidi\",\"minorEastAsia\",\"minorHAnsi\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}hAnsiTheme\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"majorAscii\",\"majorBidi\",\"majorEastAsia\",\"majorHAnsi\",\"minorAscii\",\"minorBidi\",\"minorEastAsia\",\"minorHAnsi\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}hint\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"default\",\"eastAsia\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}csb0\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}csb1\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}usb0\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}usb1\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}usb2\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}usb3\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"cols\",\"none\",\"rows\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}anchorLock\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}dropCap\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"drop\",\"margin\",\"none\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}h\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}hAnchor\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"margin\",\"page\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}hRule\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"atLeast\",\"auto\",\"exact\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}hSpace\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lines\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}vAnchor\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"margin\",\"page\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}vSpace\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}wrap\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"around\",\"auto\",\"none\",\"notBeside\",\"through\",\"tight\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}x\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}xAlign\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"center\",\"inside\",\"left\",\"outside\",\"right\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}y\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}yAlign\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"bottom\",\"center\",\"inline\",\"inside\",\"outside\",\"top\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"auto\",\"off\",\"on\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"continuationNotice\",\"continuationSeparator\",\"normal\",\"separator\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}customMarkFollows\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"beneathText\",\"docEnd\",\"pageBottom\",\"sectEnd\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"default\",\"even\",\"first\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"black\",\"blue\",\"cyan\",\"darkBlue\",\"darkCyan\",\"darkGray\",\"darkGreen\",\"darkMagenta\",\"darkRed\",\"darkYellow\",\"green\",\"lightGray\",\"magenta\",\"none\",\"red\",\"white\",\"yellow\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"continue\",\"restart\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}history\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}end\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}endChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}firstLine\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}firstLineChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}hanging\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}hangingChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}left\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}leftChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}right\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}rightChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}start\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}startChars\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"both\",\"center\",\"distribute\",\"end\",\"highKashida\",\"left\",\"lowKashida\",\"mediumKashida\",\"numTab\",\"right\",\"start\",\"thaiDistribute\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"center\",\"end\",\"left\",\"right\",\"start\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}lang\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}count\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}defLockedState\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}defQFormat\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}defSemiHidden\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}defUIPriority\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}defUnhideWhenUsed\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"nothing\",\"space\",\"tab\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}null\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}countBy\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}distance\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}restart\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"continuous\",\"newPage\",\"newSection\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}start\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"contentLocked\",\"sdtContentLocked\",\"sdtLocked\",\"unlocked\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}locked\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}qFormat\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}semiHidden\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}uiPriority\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}unhideWhenUsed\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}ilvl\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}tentative\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}legacy\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}legacyIndent\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}legacySpace\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"email\",\"fax\",\"newDocument\",\"printer\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"catalog\",\"email\",\"envelopes\",\"fax\",\"formLetters\",\"mailingLabels\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"dbColumn\",\"null\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"addressBook\",\"database\",\"document1\",\"document2\",\"email\",\"legacy\",\"master\",\"native\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}date\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"hybridMultilevel\",\"multilevel\",\"singleLevel\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}numId\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"aiueo\",\"aiueoFullWidth\",\"arabicAbjad\",\"arabicAlpha\",\"bahtText\",\"bullet\",\"cardinalText\",\"chicago\",\"chineseCounting\",\"chineseCountingThousand\",\"chineseLegalSimplified\",\"chosung\",\"custom\",\"decimal\",\"decimalEnclosedCircle\",\"decimalEnclosedCircleChinese\",\"decimalEnclosedFullstop\",\"decimalEnclosedParen\",\"decimalFullWidth\",\"decimalFullWidth2\",\"decimalHalfWidth\",\"decimalZero\",\"dollarText\",\"ganada\",\"hebrew1\",\"hebrew2\",\"hex\",\"hindiConsonants\",\"hindiCounting\",\"hindiNumbers\",\"hindiVowels\",\"ideographDigital\",\"ideographEnclosedCircle\",\"ideographLegalTraditional\",\"ideographTraditional\",\"ideographZodiac\",\"ideographZodiacTraditional\",\"iroha\",\"irohaFullWidth\",\"japaneseCounting\",\"japaneseDigitalTenThousand\",\"japaneseLegal\",\"koreanCounting\",\"koreanDigital\",\"koreanDigital2\",\"koreanLegal\",\"lowerLetter\",\"lowerRoman\",\"none\",\"numberInDash\",\"ordinal\",\"ordinalText\",\"russianLower\",\"russianUpper\",\"taiwaneseCounting\",\"taiwaneseCountingThousand\",\"taiwaneseDigital\",\"thaiCounting\",\"thaiLetters\",\"thaiNumbers\",\"upperLetter\",\"upperRoman\",\"vietnameseCounting\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}numPicBulletId\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"continuous\",\"eachPage\",\"eachSect\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}dxaOrig\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}dyaOrig\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}drawAspect\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"content\",\"icon\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}lockedField\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}updateMode\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"always\",\"onCall\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}display\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"allPages\",\"firstPage\",\"notFirstPage\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}offsetFrom\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"page\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}zOrder\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"back\",\"front\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}bottom\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}footer\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}gutter\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}header\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}left\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}right\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}top\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}chapSep\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"colon\",\"emDash\",\"enDash\",\"hyphen\",\"period\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}chapStyle\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}fmt\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"aiueo\",\"aiueoFullWidth\",\"arabicAbjad\",\"arabicAlpha\",\"bahtText\",\"bullet\",\"cardinalText\",\"chicago\",\"chineseCounting\",\"chineseCountingThousand\",\"chineseLegalSimplified\",\"chosung\",\"custom\",\"decimal\",\"decimalEnclosedCircle\",\"decimalEnclosedCircleChinese\",\"decimalEnclosedFullstop\",\"decimalEnclosedParen\",\"decimalFullWidth\",\"decimalFullWidth2\",\"decimalHalfWidth\",\"decimalZero\",\"dollarText\",\"ganada\",\"hebrew1\",\"hebrew2\",\"hex\",\"hindiConsonants\",\"hindiCounting\",\"hindiNumbers\",\"hindiVowels\",\"ideographDigital\",\"ideographEnclosedCircle\",\"ideographLegalTraditional\",\"ideographTraditional\",\"ideographZodiac\",\"ideographZodiacTraditional\",\"iroha\",\"irohaFullWidth\",\"japaneseCounting\",\"japaneseDigitalTenThousand\",\"japaneseLegal\",\"koreanCounting\",\"koreanDigital\",\"koreanDigital2\",\"koreanLegal\",\"lowerLetter\",\"lowerRoman\",\"none\",\"numberInDash\",\"ordinal\",\"ordinalText\",\"russianLower\",\"russianUpper\",\"taiwaneseCounting\",\"taiwaneseCountingThousand\",\"taiwaneseDigital\",\"thaiCounting\",\"thaiLetters\",\"thaiNumbers\",\"upperLetter\",\"upperRoman\",\"vietnameseCounting\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}code\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}orient\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"landscape\",\"portrait\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}first\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}other\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}id\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}edGrp\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"administrators\",\"contributors\",\"current\",\"editors\",\"everyone\",\"none\",\"owners\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"default\",\"fixed\",\"variable\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}grammar\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"clean\",\"dirty\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}spelling\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"clean\",\"dirty\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"gramEnd\",\"gramStart\",\"spellEnd\",\"spellStart\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}alignment\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"center\",\"left\",\"right\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}leader\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"dot\",\"hyphen\",\"middleDot\",\"none\",\"underscore\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}relativeTo\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"indent\",\"margin\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}actualPg\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}fontSz\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?%\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}h\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}w\",\"required\":true,\"constraint\":{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"center\",\"distributeLetter\",\"distributeSpace\",\"left\",\"right\",\"rightVertical\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"date\",\"dateTime\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}multiLine\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"continuous\",\"evenPage\",\"nextColumn\",\"nextPage\",\"oddPage\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}fill\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"auto\"],\"whitespace\":\"preserve\"},{\"type\":\"any\",\"whitespace\":\"collapse\"}]}},{\"name\":\"{15}themeFill\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"accent1\",\"accent2\",\"accent3\",\"accent4\",\"accent5\",\"accent6\",\"background1\",\"background2\",\"dark1\",\"dark2\",\"followedHyperlink\",\"hyperlink\",\"light1\",\"light2\",\"none\",\"text1\",\"text2\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"clear\",\"diagCross\",\"diagStripe\",\"horzCross\",\"horzStripe\",\"nil\",\"pct10\",\"pct12\",\"pct15\",\"pct20\",\"pct25\",\"pct30\",\"pct35\",\"pct37\",\"pct40\",\"pct45\",\"pct5\",\"pct50\",\"pct55\",\"pct60\",\"pct62\",\"pct65\",\"pct70\",\"pct75\",\"pct80\",\"pct85\",\"pct87\",\"pct90\",\"pct95\",\"reverseDiagStripe\",\"solid\",\"thinDiagCross\",\"thinDiagStripe\",\"thinHorzCross\",\"thinHorzStripe\",\"thinReverseDiagStripe\",\"thinVertStripe\",\"vertStripe\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}instr\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}after\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}afterAutospacing\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}afterLines\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}before\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}beforeAutospacing\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}beforeLines\",\"required\":false,\"constraint\":{\"type\":\"integer\",\"whitespace\":\"collapse\"}},{\"name\":\"{15}line\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}lineRule\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"atLeast\",\"auto\",\"exact\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}customStyle\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}default\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"character\",\"numbering\",\"paragraph\",\"table\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}allStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}alternateStyleNames\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}clearFormatting\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}customStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}directFormattingOnNumbering\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}directFormattingOnParagraphs\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}directFormattingOnRuns\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}directFormattingOnTables\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}headingStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}latentStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}numberingStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}stylesInUse\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}tableStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}top3HeadingStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}visibleStyles\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"0000\",\"0001\",\"0002\",\"0003\",\"0004\",\"0005\",\"basedOn\",\"default\",\"font\",\"name\",\"priority\",\"type\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}leader\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"dot\",\"heavy\",\"hyphen\",\"middleDot\",\"none\",\"underscore\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}pos\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"bar\",\"center\",\"clear\",\"decimal\",\"end\",\"left\",\"num\",\"right\",\"start\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"1024x768\",\"1152x882\",\"1152x900\",\"1280x1024\",\"1600x1200\",\"1800x1440\",\"1920x1200\",\"544x376\",\"640x480\",\"720x512\",\"800x600\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"autofit\",\"fixed\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}noHBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}noVBand\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"never\",\"overlap\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}bottomFromText\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}horzAnchor\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"margin\",\"page\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}leftFromText\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}rightFromText\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}tblpX\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}tblpXSpec\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"center\",\"inside\",\"left\",\"outside\",\"right\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}tblpY\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}tblpYSpec\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"bottom\",\"center\",\"inline\",\"inside\",\"outside\",\"top\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}topFromText\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"min\":\"0\",\"max\":\"18446744073709551615\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}vertAnchor\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"margin\",\"page\",\"text\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"band1Horz\",\"band1Vert\",\"band2Horz\",\"band2Vert\",\"firstCol\",\"firstRow\",\"lastCol\",\"lastRow\",\"neCell\",\"nwCell\",\"seCell\",\"swCell\",\"wholeTable\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}type\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"auto\",\"dxa\",\"nil\",\"pct\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}w\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?%\"],\"whitespace\":\"preserve\"}]},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?(mm|cm|in|pt|pc|pi)\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"auto\",\"baseline\",\"bottom\",\"center\",\"top\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"allLines\",\"firstAndLastLine\",\"firstLineOnly\",\"lastLineOnly\",\"none\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"btLr\",\"lr\",\"lrTb\",\"lrTbV\",\"lrV\",\"rl\",\"rlV\",\"tb\",\"tbLrV\",\"tbRl\",\"tbRlV\",\"tbV\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"antsBlack\",\"antsRed\",\"blinkBackground\",\"lights\",\"none\",\"shimmer\",\"sparkle\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"pattern\",\"patterns\":[\"0*(600|([0-5]?[0-9]?[0-9]))%\"],\"whitespace\":\"preserve\"},{\"type\":\"integer\",\"whitespace\":\"collapse\",\"min\":\"0\",\"max\":\"600\"}]}},{\"name\":\"{15}comments\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}inkAnnotations\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}insDel\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}markup\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"dash\",\"dashDotDotHeavy\",\"dashDotHeavy\",\"dashLong\",\"dashLongHeavy\",\"dashedHeavy\",\"dotDash\",\"dotDotDash\",\"dotted\",\"dottedHeavy\",\"double\",\"none\",\"single\",\"thick\",\"wave\",\"wavyDouble\",\"wavyHeavy\",\"words\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"baseline\",\"subscript\",\"superscript\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"both\",\"bottom\",\"center\",\"top\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}val\",\"required\":true,\"constraint\":{\"type\":\"enum\",\"values\":[\"masterPages\",\"none\",\"normal\",\"outline\",\"print\",\"web\"],\"whitespace\":\"preserve\"}},{\"name\":\"{15}recommended\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}appName\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}checkStyle\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}dllVersion\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}nlCheck\",\"required\":false,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"enum\",\"values\":[\"0\",\"1\",\"false\",\"true\"],\"whitespace\":\"collapse\"},{\"type\":\"enum\",\"values\":[\"off\",\"on\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}vendorID\",\"required\":true,\"constraint\":{\"type\":\"any\",\"whitespace\":\"preserve\"}},{\"name\":\"{15}percent\",\"required\":true,\"constraint\":{\"type\":\"union\",\"members\":[{\"type\":\"integer\",\"whitespace\":\"collapse\"},{\"type\":\"pattern\",\"patterns\":[\"-?[0-9]+(\\\\.[0-9]+)?%\"],\"whitespace\":\"preserve\"}]}},{\"name\":\"{15}val\",\"required\":false,\"constraint\":{\"type\":\"enum\",\"values\":[\"bestFit\",\"fullPage\",\"none\",\"textFit\"],\"whitespace\":\"preserve\"}}],\"elements\":{\"{15}abstractNum\":[\"0\"],\"{15}abstractNumId\":[\"37\"],\"{15}active\":[\"149\"],\"{15}activeRecord\":[\"37\"],\"{15}activeWritingStyle\":[\"283\"],\"{15}addressFieldName\":[\"224\"],\"{15}adjustLineHeightInTable\":[\"149\"],\"{15}adjustRightInd\":[\"149\"],\"{15}alias\":[\"224\"],\"{15}aliases\":[\"224\"],\"{15}alignBordersAndEdges\":[\"149\"],\"{15}alignTablesRowByRow\":[\"149\"],\"{15}allowPNG\":[\"149\"],\"{15}allowSpaceOfSameStyleInTable\":[\"149\"],\"{15}altChunk\":[\"1\"],\"{15}altChunkPr\":[\"2\"],\"{15}altName\":[\"224\"],\"{15}alwaysMergeEmptyNamespace\":[\"149\"],\"{15}alwaysShowPlaceholderText\":[\"149\"],\"{15}annotationRef\":[\"68\"],\"{15}applyBreakingRules\":[\"149\"],\"{15}attachedSchema\":[\"224\"],\"{15}attachedTemplate\":[\"181\"],\"{15}attr\":[\"3\"],\"{15}autoCaption\":[\"4\"],\"{15}autoCaptions\":[\"5\"],\"{15}autofitToFirstFixedWidthCell\":[\"149\"],\"{15}autoFormatOverride\":[\"149\"],\"{15}autoHyphenation\":[\"149\"],\"{15}autoRedefine\":[\"149\"],\"{15}autoSpaceDE\":[\"149\"],\"{15}autoSpaceDN\":[\"149\"],\"{15}autoSpaceLikeWord95\":[\"149\"],\"{15}b\":[\"149\"],\"{15}background\":[\"6\"],\"{15}balanceSingleByteDoubleByteWidth\":[\"149\"],\"{15}bar\":[\"12\"],\"{15}basedOn\":[\"224\"],\"{15}bCs\":[\"149\"],\"{15}bdo\":[\"8\"],\"{15}bdr\":[\"12\"],\"{15}behavior\":[\"46\"],\"{15}behaviors\":[\"47\"],\"{15}between\":[\"12\"],\"{15}bibliography\":[\"68\"],\"{15}bidi\":[\"149\"],\"{15}bidiVisual\":[\"149\"],\"{15}blockQuote\":[\"149\"],\"{15}body\":[\"9\"],\"{15}bodyDiv\":[\"149\"],\"{15}bookFoldPrinting\":[\"149\"],\"{15}bookFoldPrintingSheets\":[\"37\"],\"{15}bookFoldRevPrinting\":[\"149\"],\"{15}bookmarkEnd\":[\"132\"],\"{15}bookmarkStart\":[\"10\"],\"{15}bordersDoNotSurroundFooter\":[\"149\"],\"{15}bordersDoNotSurroundHeader\":[\"149\"],\"{15}bottom\":[\"12\",\"13\",\"251\"],\"{15}br\":[\"14\"],\"{15}cachedColBalance\":[\"149\"],\"{15}calcOnExit\":[\"149\"],\"{15}calendar\":[\"15\"],\"{15}cantSplit\":[\"149\"],\"{15}caps\":[\"149\"],\"{15}caption\":[\"16\"],\"{15}captions\":[\"17\"],\"{15}category\":[\"48\"],\"{15}cellDel\":[\"266\"],\"{15}cellIns\":[\"266\"],\"{15}cellMerge\":[\"18\"],\"{15}characterSpacingControl\":[\"19\"],\"{15}charset\":[\"20\"],\"{15}checkBox\":[\"70\"],\"{15}checked\":[\"149\"],\"{15}checkErrors\":[\"37\"],\"{15}citation\":[\"68\"],\"{15}clickAndTypeStyle\":[\"224\"],\"{15}clrSchemeMapping\":[\"23\"],\"{15}cnfStyle\":[\"21\"],\"{15}col\":[\"24\"],\"{15}colDelim\":[\"37\"],\"{15}color\":[\"22\"],\"{15}cols\":[\"25\"],\"{15}column\":[\"37\"],\"{15}comboBox\":[\"195\"],\"{15}comment\":[\"26\"],\"{15}commentRangeEnd\":[\"132\"],\"{15}commentRangeStart\":[\"132\"],\"{15}commentReference\":[\"131\"],\"{15}comments\":[\"27\"],\"{15}compat\":[\"28\"],\"{15}compatSetting\":[\"29\"],\"{15}connectString\":[\"224\"],\"{15}consecutiveHyphenLimit\":[\"37\"],\"{15}contentPart\":[\"181\"],\"{15}contextualSpacing\":[\"149\"],\"{15}continuationSeparator\":[\"68\"],\"{15}control\":[\"30\"],\"{15}convMailMergeEsc\":[\"149\"],\"{15}cr\":[\"68\"],\"{15}cs\":[\"149\"],\"{15}customXml\":[\"31\",\"32\",\"34\",\"35\"],\"{15}customXmlDelRangeEnd\":[\"131\"],\"{15}customXmlDelRangeStart\":[\"266\"],\"{15}customXmlInsRangeEnd\":[\"131\"],\"{15}customXmlInsRangeStart\":[\"266\"],\"{15}customXmlMoveFromRangeEnd\":[\"131\"],\"{15}customXmlMoveFromRangeStart\":[\"266\"],\"{15}customXmlMoveToRangeEnd\":[\"131\"],\"{15}customXmlMoveToRangeStart\":[\"266\"],\"{15}customXmlPr\":[\"33\"],\"{15}dataBinding\":[\"36\"],\"{15}dataSource\":[\"181\"],\"{15}dataType\":[\"126\"],\"{15}date\":[\"200\"],\"{15}dateFormat\":[\"224\"],\"{15}dayLong\":[\"68\"],\"{15}dayShort\":[\"68\"],\"{15}ddList\":[\"72\"],\"{15}decimalSymbol\":[\"224\"],\"{15}default\":[\"149\",\"37\",\"224\"],\"{15}defaultTableStyle\":[\"224\"],\"{15}defaultTabStop\":[\"273\"],\"{15}del\":[\"184\",\"266\",\"133\",\"191\"],\"{15}delInstrText\":[\"259\"],\"{15}delText\":[\"259\"],\"{15}description\":[\"224\"],\"{15}destination\":[\"127\"],\"{15}dir\":[\"39\"],\"{15}dirty\":[\"149\"],\"{15}displayBackgroundShape\":[\"149\"],\"{15}displayHangulFixedWidth\":[\"149\"],\"{15}displayHorizontalDrawingGridEvery\":[\"37\"],\"{15}displayVerticalDrawingGridEvery\":[\"37\"],\"{15}div\":[\"40\"],\"{15}divBdr\":[\"41\"],\"{15}divId\":[\"37\"],\"{15}divs\":[\"42\"],\"{15}divsChild\":[\"42\"],\"{15}docDefaults\":[\"43\"],\"{15}docGrid\":[\"44\"],\"{15}docPart\":[\"45\",\"224\"],\"{15}docPartBody\":[\"9\"],\"{15}docPartCategory\":[\"224\"],\"{15}docPartGallery\":[\"224\"],\"{15}docPartList\":[\"202\"],\"{15}docPartObj\":[\"202\"],\"{15}docPartPr\":[\"51\"],\"{15}docParts\":[\"52\"],\"{15}docPartUnique\":[\"149\"],\"{15}document\":[\"58\"],\"{15}documentProtection\":[\"55\"],\"{15}documentType\":[\"57\"],\"{15}docVar\":[\"60\"],\"{15}docVars\":[\"61\"],\"{15}doNotAutoCompressPictures\":[\"149\"],\"{15}doNotAutofitConstrainedTables\":[\"149\"],\"{15}doNotBreakConstrainedForcedTable\":[\"149\"],\"{15}doNotBreakWrappedTables\":[\"149\"],\"{15}doNotDemarcateInvalidXml\":[\"149\"],\"{15}doNotDisplayPageBoundaries\":[\"149\"],\"{15}doNotEmbedSmartTags\":[\"149\"],\"{15}doNotExpandShiftReturn\":[\"149\"],\"{15}doNotHyphenateCaps\":[\"149\"],\"{15}doNotIncludeSubdocsInStats\":[\"149\"],\"{15}doNotLeaveBackslashAlone\":[\"149\"],\"{15}doNotOrganizeInFolder\":[\"149\"],\"{15}doNotRelyOnCSS\":[\"149\"],\"{15}doNotSaveAsSingleFile\":[\"149\"],\"{15}doNotShadeFormData\":[\"149\"],\"{15}doNotSnapToGridInCell\":[\"149\"],\"{15}doNotSuppressBlankLines\":[\"149\"],\"{15}doNotSuppressIndentation\":[\"149\"],\"{15}doNotSuppressParagraphBorders\":[\"149\"],\"{15}doNotTrackFormatting\":[\"149\"],\"{15}doNotTrackMoves\":[\"149\"],\"{15}doNotUseEastAsianBreakRules\":[\"149\"],\"{15}doNotUseHTMLParagraphAutoSpacing\":[\"149\"],\"{15}doNotUseIndentAsNumberingTabStop\":[\"149\"],\"{15}doNotUseLongFileNames\":[\"149\"],\"{15}doNotUseMarginsForDrawingGridOrigin\":[\"149\"],\"{15}doNotValidateAgainstSchema\":[\"149\"],\"{15}doNotVertAlignCellWithSp\":[\"149\"],\"{15}doNotVertAlignInTxbx\":[\"149\"],\"{15}doNotWrapTextWithPunct\":[\"149\"],\"{15}drawing\":[\"62\"],\"{15}drawingGridHorizontalOrigin\":[\"273\"],\"{15}drawingGridHorizontalSpacing\":[\"273\"],\"{15}drawingGridVerticalOrigin\":[\"273\"],\"{15}drawingGridVerticalSpacing\":[\"273\"],\"{15}dropDownList\":[\"203\"],\"{15}dstrike\":[\"149\"],\"{15}dynamicAddress\":[\"149\"],\"{15}eastAsianLayout\":[\"63\"],\"{15}effect\":[\"263\"],\"{15}em\":[\"67\"],\"{15}embedBold\":[\"82\"],\"{15}embedBoldItalic\":[\"82\"],\"{15}embedItalic\":[\"82\"],\"{15}embedRegular\":[\"82\"],\"{15}embedSystemFonts\":[\"149\"],\"{15}embedTrueTypeFonts\":[\"149\"],\"{15}emboss\":[\"149\"],\"{15}enabled\":[\"149\"],\"{15}encoding\":[\"224\"],\"{15}end\":[\"12\",\"251\"],\"{15}endnote\":[\"96\",\"94\"],\"{15}endnotePr\":[\"64\",\"66\"],\"{15}endnoteRef\":[\"68\"],\"{15}endnoteReference\":[\"95\"],\"{15}endnotes\":[\"69\"],\"{15}entryMacro\":[\"124\"],\"{15}equation\":[\"68\"],\"{15}evenAndOddHeaders\":[\"149\"],\"{15}exitMacro\":[\"124\"],\"{15}family\":[\"81\"],\"{15}ffData\":[\"71\"],\"{15}fHdr\":[\"149\"],\"{15}fieldMapData\":[\"148\"],\"{15}fitText\":[\"78\"],\"{15}flatBorders\":[\"149\"],\"{15}fldChar\":[\"79\"],\"{15}fldData\":[\"259\"],\"{15}fldSimple\":[\"219\"],\"{15}font\":[\"80\"],\"{15}fonts\":[\"85\"],\"{15}footerReference\":[\"102\"],\"{15}footnote\":[\"94\",\"96\"],\"{15}footnoteLayoutLikeWW8\":[\"149\"],\"{15}footnotePr\":[\"93\",\"98\"],\"{15}footnoteRef\":[\"68\"],\"{15}footnoteReference\":[\"95\"],\"{15}footnotes\":[\"86\"],\"{15}forceUpgrade\":[\"68\"],\"{15}forgetLastTabAlignment\":[\"149\"],\"{15}format\":[\"224\"],\"{15}formProt\":[\"149\"],\"{15}formsDesign\":[\"149\"],\"{15}frame\":[\"87\"],\"{15}frameLayout\":[\"88\"],\"{15}framePr\":[\"89\"],\"{15}frameset\":[\"91\"],\"{15}framesetSplitbar\":[\"92\"],\"{15}ftr\":[\"101\"],\"{15}gallery\":[\"49\"],\"{15}glossaryDocument\":[\"99\"],\"{15}gridAfter\":[\"37\"],\"{15}gridBefore\":[\"37\"],\"{15}gridCol\":[\"239\"],\"{15}gridSpan\":[\"37\"],\"{15}group\":[\"68\"],\"{15}growAutofit\":[\"149\"],\"{15}guid\":[\"100\"],\"{15}gutterAtTop\":[\"149\"],\"{15}hdr\":[\"101\"],\"{15}hdrShapeDefaults\":[\"215\"],\"{15}header\":[\"224\"],\"{15}headerReference\":[\"102\"],\"{15}headers\":[\"103\"],\"{15}headerSource\":[\"181\"],\"{15}helpText\":[\"73\"],\"{15}hidden\":[\"149\"],\"{15}hideGrammaticalErrors\":[\"149\"],\"{15}hideMark\":[\"149\"],\"{15}hideSpellingErrors\":[\"149\"],\"{15}highlight\":[\"105\"],\"{15}hMerge\":[\"106\"],\"{15}hps\":[\"107\"],\"{15}hpsBaseText\":[\"107\"],\"{15}hpsRaise\":[\"107\"],\"{15}hyperlink\":[\"108\"],\"{15}hyphenationZone\":[\"273\"],\"{15}i\":[\"149\"],\"{15}iCs\":[\"149\"],\"{15}id\":[\"37\"],\"{15}ignoreMixedContent\":[\"149\"],\"{15}ilvl\":[\"37\"],\"{15}imprint\":[\"149\"],\"{15}ind\":[\"109\"],\"{15}ins\":[\"266\",\"134\",\"191\"],\"{15}insideH\":[\"12\"],\"{15}insideV\":[\"12\"],\"{15}instrText\":[\"259\"],\"{15}isLgl\":[\"149\"],\"{15}jc\":[\"110\",\"111\"],\"{15}keepLines\":[\"149\"],\"{15}keepNext\":[\"149\"],\"{15}kern\":[\"107\"],\"{15}kinsoku\":[\"149\"],\"{15}label\":[\"37\"],\"{15}lang\":[\"114\"],\"{15}lastRenderedPageBreak\":[\"68\"],\"{15}latentStyles\":[\"115\"],\"{15}layoutRawTableWidth\":[\"149\"],\"{15}layoutTableRowsApart\":[\"149\"],\"{15}left\":[\"12\",\"152\",\"251\"],\"{15}legacy\":[\"123\"],\"{15}lid\":[\"113\"],\"{15}lineWrapLikeWord6\":[\"149\"],\"{15}link\":[\"224\"],\"{15}linkedToFile\":[\"149\"],\"{15}linkStyles\":[\"149\"],\"{15}linkToQuery\":[\"149\"],\"{15}listEntry\":[\"224\"],\"{15}listItem\":[\"205\"],\"{15}listSeparator\":[\"224\"],\"{15}lnNumType\":[\"118\"],\"{15}lock\":[\"119\"],\"{15}locked\":[\"149\"],\"{15}longDesc\":[\"181\"],\"{15}lsdException\":[\"121\"],\"{15}lvl\":[\"122\"],\"{15}lvlJc\":[\"110\"],\"{15}lvlOverride\":[\"140\"],\"{15}lvlPicBulletId\":[\"37\"],\"{15}lvlRestart\":[\"37\"],\"{15}lvlText\":[\"117\"],\"{15}mailAsAttachment\":[\"149\"],\"{15}mailMerge\":[\"125\"],\"{15}mailSubject\":[\"224\"],\"{15}mainDocumentType\":[\"128\"],\"{15}mappedName\":[\"224\"],\"{15}marBottom\":[\"218\"],\"{15}marH\":[\"167\"],\"{15}marLeft\":[\"218\"],\"{15}marRight\":[\"218\"],\"{15}marTop\":[\"218\"],\"{15}marW\":[\"167\"],\"{15}matchSrc\":[\"149\"],\"{15}maxLength\":[\"37\"],\"{15}mirrorIndents\":[\"149\"],\"{15}mirrorMargins\":[\"149\"],\"{15}monthLong\":[\"68\"],\"{15}monthShort\":[\"68\"],\"{15}moveFrom\":[\"266\",\"191\"],\"{15}moveFromRangeEnd\":[\"132\"],\"{15}moveFromRangeStart\":[\"135\"],\"{15}moveTo\":[\"266\",\"191\"],\"{15}moveToRangeEnd\":[\"132\"],\"{15}moveToRangeStart\":[\"135\"],\"{15}movie\":[\"181\"],\"{15}multiLevelType\":[\"136\"],\"{15}mwSmallCaps\":[\"149\"],\"{15}name\":[\"224\",\"50\",\"74\"],\"{15}next\":[\"224\"],\"{15}noBorder\":[\"149\"],\"{15}noBreakHyphen\":[\"68\"],\"{15}noColumnBalance\":[\"149\"],\"{15}noEndnote\":[\"149\"],\"{15}noExtraLineSpacing\":[\"149\"],\"{15}noLeading\":[\"149\"],\"{15}noLineBreaksAfter\":[\"112\"],\"{15}noLineBreaksBefore\":[\"112\"],\"{15}noProof\":[\"149\"],\"{15}noPunctuationKerning\":[\"149\"],\"{15}noResizeAllowed\":[\"149\"],\"{15}noSpaceRaiseLower\":[\"149\"],\"{15}noTabHangInd\":[\"149\"],\"{15}notTrueType\":[\"149\"],\"{15}noWrap\":[\"149\"],\"{15}nsid\":[\"120\"],\"{15}num\":[\"137\"],\"{15}numbering\":[\"138\"],\"{15}numberingChange\":[\"267\"],\"{15}numFmt\":[\"139\"],\"{15}numId\":[\"37\"],\"{15}numIdMacAtCleanup\":[\"37\"],\"{15}numPicBullet\":[\"141\"],\"{15}numPr\":[\"142\"],\"{15}numRestart\":[\"143\"],\"{15}numStart\":[\"37\"],\"{15}numStyleLink\":[\"224\"],\"{15}object\":[\"144\"],\"{15}objectEmbed\":[\"145\"],\"{15}objectLink\":[\"146\"],\"{15}odso\":[\"147\"],\"{15}oMath\":[\"149\"],\"{15}optimizeForBrowser\":[\"150\"],\"{15}outline\":[\"149\"],\"{15}outlineLvl\":[\"37\"],\"{15}overflowPunct\":[\"149\"],\"{15}p\":[\"151\"],\"{15}pageBreakBefore\":[\"149\"],\"{15}panose1\":[\"157\"],\"{15}paperSrc\":[\"158\"],\"{15}pBdr\":[\"162\"],\"{15}permEnd\":[\"163\"],\"{15}permStart\":[\"164\"],\"{15}personal\":[\"149\"],\"{15}personalCompose\":[\"149\"],\"{15}personalReply\":[\"149\"],\"{15}pgBorders\":[\"153\"],\"{15}pgMar\":[\"154\"],\"{15}pgNum\":[\"68\"],\"{15}pgNumType\":[\"155\"],\"{15}pgSz\":[\"156\"],\"{15}pict\":[\"165\"],\"{15}picture\":[\"68\"],\"{15}pitch\":[\"166\"],\"{15}pixelsPerInch\":[\"37\"],\"{15}placeholder\":[\"224\",\"168\"],\"{15}pos\":[\"65\",\"97\"],\"{15}position\":[\"217\"],\"{15}pPr\":[\"173\",\"169\",\"170\"],\"{15}pPrChange\":[\"171\"],\"{15}pPrDefault\":[\"172\"],\"{15}printBodyTextBeforeHeader\":[\"149\"],\"{15}printColBlack\":[\"149\"],\"{15}printerSettings\":[\"181\"],\"{15}printFormsData\":[\"149\"],\"{15}printFractionalCharacterWidth\":[\"149\"],\"{15}printPostScriptOverText\":[\"149\"],\"{15}printTwoOnOne\":[\"149\"],\"{15}proofErr\":[\"175\"],\"{15}proofState\":[\"174\"],\"{15}pStyle\":[\"224\"],\"{15}ptab\":[\"176\"],\"{15}qFormat\":[\"149\"],\"{15}query\":[\"224\"],\"{15}r\":[\"177\"],\"{15}readModeInkLockDown\":[\"178\"],\"{15}recipientData\":[\"181\",\"179\"],\"{15}recipients\":[\"180\"],\"{15}relyOnVML\":[\"149\"],\"{15}removeDateAndTime\":[\"149\"],\"{15}removePersonalInformation\":[\"149\"],\"{15}result\":[\"37\"],\"{15}revisionView\":[\"269\"],\"{15}rFonts\":[\"83\"],\"{15}richText\":[\"68\"],\"{15}right\":[\"12\",\"152\",\"251\"],\"{15}rPr\":[\"183\",\"159\",\"161\",\"186\"],\"{15}rPrChange\":[\"160\",\"184\"],\"{15}rPrDefault\":[\"185\"],\"{15}rsid\":[\"120\"],\"{15}rsidRoot\":[\"120\"],\"{15}rsids\":[\"56\"],\"{15}rStyle\":[\"224\"],\"{15}rt\":[\"189\"],\"{15}rtl\":[\"149\"],\"{15}rtlGutter\":[\"149\"],\"{15}ruby\":[\"187\"],\"{15}rubyAlign\":[\"188\"],\"{15}rubyBase\":[\"189\"],\"{15}rubyPr\":[\"190\"],\"{15}saveFormsData\":[\"149\"],\"{15}saveInvalidXml\":[\"149\"],\"{15}savePreviewPicture\":[\"149\"],\"{15}saveSmartTagsAsXml\":[\"149\"],\"{15}saveSubsetFonts\":[\"149\"],\"{15}saveThroughXslt\":[\"192\"],\"{15}saveXmlDataOnly\":[\"149\"],\"{15}scrollbar\":[\"90\"],\"{15}sdt\":[\"193\",\"194\",\"207\",\"208\"],\"{15}sdtContent\":[\"196\",\"197\",\"198\",\"199\"],\"{15}sdtEndPr\":[\"204\"],\"{15}sdtPr\":[\"206\"],\"{15}sectPr\":[\"210\",\"211\"],\"{15}sectPrChange\":[\"212\"],\"{15}selectFldWithFirstOrLastChar\":[\"149\"],\"{15}semiHidden\":[\"149\"],\"{15}separator\":[\"68\"],\"{15}settings\":[\"214\"],\"{15}shadow\":[\"149\"],\"{15}shapeDefaults\":[\"215\"],\"{15}shapeLayoutLikeWW8\":[\"149\"],\"{15}shd\":[\"216\"],\"{15}showBreaksInFrames\":[\"149\"],\"{15}showEnvelope\":[\"149\"],\"{15}showingPlcHdr\":[\"149\"],\"{15}showXMLTags\":[\"149\"],\"{15}sig\":[\"84\"],\"{15}size\":[\"107\"],\"{15}sizeAuto\":[\"149\"],\"{15}smallCaps\":[\"149\"],\"{15}smartTag\":[\"221\"],\"{15}smartTagPr\":[\"220\"],\"{15}smartTagType\":[\"222\"],\"{15}snapToGrid\":[\"149\"],\"{15}softHyphen\":[\"68\"],\"{15}sourceFileName\":[\"181\"],\"{15}spaceForUL\":[\"149\"],\"{15}spacing\":[\"223\",\"218\"],\"{15}spacingInWholePoints\":[\"149\"],\"{15}specVanish\":[\"149\"],\"{15}splitPgBreakAndParaMark\":[\"149\"],\"{15}src\":[\"181\"],\"{15}start\":[\"37\",\"12\",\"251\"],\"{15}startOverride\":[\"37\"],\"{15}statusText\":[\"75\"],\"{15}storeMappedDataAs\":[\"201\"],\"{15}strictFirstAndLastChars\":[\"149\"],\"{15}strike\":[\"149\"],\"{15}style\":[\"224\",\"225\"],\"{15}styleLink\":[\"224\"],\"{15}styleLockQFSet\":[\"149\"],\"{15}styleLockTheme\":[\"149\"],\"{15}stylePaneFormatFilter\":[\"226\"],\"{15}stylePaneSortMethod\":[\"228\"],\"{15}styles\":[\"227\"],\"{15}subDoc\":[\"181\"],\"{15}subFontBySize\":[\"149\"],\"{15}suff\":[\"116\"],\"{15}summaryLength\":[\"38\"],\"{15}suppressAutoHyphens\":[\"149\"],\"{15}suppressBottomSpacing\":[\"149\"],\"{15}suppressLineNumbers\":[\"149\"],\"{15}suppressOverlap\":[\"149\"],\"{15}suppressSpacingAtTopOfPage\":[\"149\"],\"{15}suppressSpBfAfterPgBrk\":[\"149\"],\"{15}suppressTopSpacing\":[\"149\"],\"{15}suppressTopSpacingWP\":[\"149\"],\"{15}swapBordersFacingPages\":[\"149\"],\"{15}sym\":[\"229\"],\"{15}sz\":[\"224\",\"107\"],\"{15}szCs\":[\"107\"],\"{15}t\":[\"259\"],\"{15}tab\":[\"231\",\"68\"],\"{15}tabIndex\":[\"276\"],\"{15}table\":[\"224\"],\"{15}tabs\":[\"230\"],\"{15}tag\":[\"224\"],\"{15}targetScreenSz\":[\"232\"],\"{15}tbl\":[\"233\"],\"{15}tblBorders\":[\"234\"],\"{15}tblCaption\":[\"224\"],\"{15}tblCellMar\":[\"235\"],\"{15}tblCellSpacing\":[\"251\"],\"{15}tblDescription\":[\"224\"],\"{15}tblGrid\":[\"236\",\"237\"],\"{15}tblGridChange\":[\"238\"],\"{15}tblHeader\":[\"149\"],\"{15}tblInd\":[\"251\"],\"{15}tblLayout\":[\"240\"],\"{15}tblLook\":[\"241\"],\"{15}tblOverlap\":[\"242\"],\"{15}tblpPr\":[\"243\"],\"{15}tblPr\":[\"245\",\"244\"],\"{15}tblPrChange\":[\"246\"],\"{15}tblPrEx\":[\"247\",\"248\"],\"{15}tblPrExChange\":[\"249\"],\"{15}tblStyle\":[\"224\"],\"{15}tblStyleColBandSize\":[\"37\"],\"{15}tblStylePr\":[\"250\"],\"{15}tblStyleRowBandSize\":[\"37\"],\"{15}tblW\":[\"251\"],\"{15}tc\":[\"252\"],\"{15}tcBorders\":[\"253\"],\"{15}tcFitText\":[\"149\"],\"{15}tcMar\":[\"254\"],\"{15}tcPr\":[\"255\",\"258\"],\"{15}tcPrChange\":[\"257\"],\"{15}tcW\":[\"251\"],\"{15}temporary\":[\"149\"],\"{15}text\":[\"209\"],\"{15}textAlignment\":[\"260\"],\"{15}textboxTightWrap\":[\"261\"],\"{15}textDirection\":[\"262\"],\"{15}textInput\":[\"76\"],\"{15}themeFontLang\":[\"114\"],\"{15}title\":[\"224\"],\"{15}titlePg\":[\"149\"],\"{15}tl2br\":[\"12\"],\"{15}tmpl\":[\"120\"],\"{15}top\":[\"12\",\"265\",\"251\"],\"{15}topLinePunct\":[\"149\"],\"{15}tr\":[\"182\"],\"{15}tr2bl\":[\"12\"],\"{15}trackRevisions\":[\"149\"],\"{15}trHeight\":[\"104\"],\"{15}trPr\":[\"270\",\"271\"],\"{15}trPrChange\":[\"272\"],\"{15}truncateFontHeightsLikeWP6\":[\"149\"],\"{15}txbxContent\":[\"274\"],\"{15}type\":[\"53\",\"77\",\"130\",\"129\",\"213\"],\"{15}types\":[\"54\"],\"{15}u\":[\"275\"],\"{15}udl\":[\"224\"],\"{15}uiPriority\":[\"37\"],\"{15}ulTrailSpace\":[\"149\"],\"{15}underlineTabInNumList\":[\"149\"],\"{15}unhideWhenUsed\":[\"149\"],\"{15}uniqueTag\":[\"7\"],\"{15}updateFields\":[\"149\"],\"{15}useAltKinsokuLineBreakRules\":[\"149\"],\"{15}useAnsiKerningPairs\":[\"149\"],\"{15}useFELayout\":[\"149\"],\"{15}useNormalStyleForList\":[\"149\"],\"{15}usePrinterMetrics\":[\"149\"],\"{15}useSingleBorderforContiguousCells\":[\"149\"],\"{15}useWord2002TableStyleRules\":[\"149\"],\"{15}useWord97LineBreakRules\":[\"149\"],\"{15}useXSLTWhenSaving\":[\"149\"],\"{15}vAlign\":[\"278\"],\"{15}vanish\":[\"149\"],\"{15}vertAlign\":[\"277\"],\"{15}view\":[\"279\"],\"{15}viewMergedData\":[\"149\"],\"{15}vMerge\":[\"280\"],\"{15}w\":[\"273\",\"264\"],\"{15}wAfter\":[\"251\"],\"{15}wBefore\":[\"251\"],\"{15}webHidden\":[\"149\"],\"{15}webSettings\":[\"281\"],\"{15}widowControl\":[\"149\"],\"{15}wordWrap\":[\"149\"],\"{15}wpJustification\":[\"149\"],\"{15}wpSpaceWidth\":[\"149\"],\"{15}wrapTrailSpaces\":[\"149\"],\"{15}writeProtection\":[\"282\"],\"{15}yearLong\":[\"68\"],\"{15}yearShort\":[\"68\"],\"{15}zoom\":[\"284\"]},\"types\":{\"0\":{\"attributes\":[0],\"children\":{\"{15}name\":[\"224\"]}},\"1\":{\"attributes\":[],\"children\":{}},\"2\":{\"attributes\":[],\"children\":{}},\"3\":{\"attributes\":[1,2],\"children\":{}},\"4\":{\"attributes\":[3,1],\"children\":{}},\"5\":{\"attributes\":[],\"children\":{}},\"6\":{\"attributes\":[4,5],\"children\":{}},\"7\":{\"attributes\":[6],\"children\":{}},\"8\":{\"attributes\":[7],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"9\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"],\"{15}sectPr\":[\"210\"]}},\"10\":{\"attributes\":[8,9,10,11,1],\"children\":{}},\"11\":{\"attributes\":[8,9,10,11],\"children\":{}},\"12\":{\"attributes\":[4,12,13,14,15,5,16],\"children\":{}},\"13\":{\"attributes\":[4,12,13,14,15,5,16],\"children\":{}},\"14\":{\"attributes\":[17,18],\"children\":{}},\"15\":{\"attributes\":[19],\"children\":{}},\"16\":{\"attributes\":[20,21,1,22,23,24,25],\"children\":{}},\"17\":{\"attributes\":[],\"children\":{}},\"18\":{\"attributes\":[26,11,27,28],\"children\":{}},\"19\":{\"attributes\":[29],\"children\":{}},\"20\":{\"attributes\":[],\"children\":{}},\"21\":{\"attributes\":[30,31,32,33,34,35,36,37,38,39,40,41,42],\"children\":{}},\"22\":{\"attributes\":[5,43],\"children\":{}},\"23\":{\"attributes\":[44,45,46,47,48,49,50,51,52,53,54,55],\"children\":{}},\"24\":{\"attributes\":[56,57],\"children\":{}},\"25\":{\"attributes\":[58,59,60,56],\"children\":{}},\"26\":{\"attributes\":[26,11],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"27\":{\"attributes\":[],\"children\":{}},\"28\":{\"attributes\":[],\"children\":{}},\"29\":{\"attributes\":[],\"children\":{}},\"30\":{\"attributes\":[],\"children\":{}},\"31\":{\"attributes\":[61],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"32\":{\"attributes\":[61],\"children\":{\"{15}customXml\":[\"32\"],\"{15}sdt\":[\"194\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"33\":{\"attributes\":[],\"children\":{\"{15}placeholder\":[\"224\"]}},\"34\":{\"attributes\":[61],\"children\":{\"{15}customXml\":[\"34\"],\"{15}sdt\":[\"207\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"35\":{\"attributes\":[61],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"36\":{\"attributes\":[62,63],\"children\":{}},\"37\":{\"attributes\":[64],\"children\":{}},\"38\":{\"attributes\":[65],\"children\":{}},\"39\":{\"attributes\":[7],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"40\":{\"attributes\":[11],\"children\":{}},\"41\":{\"attributes\":[],\"children\":{\"{15}top\":[\"12\"],\"{15}left\":[\"12\"],\"{15}bottom\":[\"12\"],\"{15}right\":[\"12\"]}},\"42\":{\"attributes\":[],\"children\":{}},\"43\":{\"attributes\":[],\"children\":{}},\"44\":{\"attributes\":[66,67,68],\"children\":{}},\"45\":{\"attributes\":[],\"children\":{}},\"46\":{\"attributes\":[69],\"children\":{}},\"47\":{\"attributes\":[],\"children\":{}},\"48\":{\"attributes\":[],\"children\":{\"{15}name\":[\"224\"]}},\"49\":{\"attributes\":[70],\"children\":{}},\"50\":{\"attributes\":[71,2],\"children\":{}},\"51\":{\"attributes\":[],\"children\":{\"{15}name\":[\"50\"],\"{15}style\":[\"224\"]}},\"52\":{\"attributes\":[],\"children\":{\"{15}docPart\":[\"45\"]}},\"53\":{\"attributes\":[72],\"children\":{}},\"54\":{\"attributes\":[73],\"children\":{\"{15}type\":[\"53\"]}},\"55\":{\"attributes\":[74,75,76,77,78,79,80,81,82],\"children\":{}},\"56\":{\"attributes\":[],\"children\":{}},\"57\":{\"attributes\":[2],\"children\":{}},\"58\":{\"attributes\":[83],\"children\":{}},\"59\":{\"attributes\":[],\"children\":{}},\"60\":{\"attributes\":[1,2],\"children\":{}},\"61\":{\"attributes\":[],\"children\":{}},\"62\":{\"attributes\":[],\"children\":{}},\"63\":{\"attributes\":[84,85,86,87,88],\"children\":{}},\"64\":{\"attributes\":[],\"children\":{\"{15}pos\":[\"65\"],\"{15}endnote\":[\"96\"]}},\"65\":{\"attributes\":[89],\"children\":{}},\"66\":{\"attributes\":[],\"children\":{\"{15}pos\":[\"65\"]}},\"67\":{\"attributes\":[90],\"children\":{}},\"68\":{\"attributes\":[],\"children\":{}},\"69\":{\"attributes\":[],\"children\":{\"{15}endnote\":[\"94\"]}},\"70\":{\"attributes\":[],\"children\":{\"{15}default\":[\"149\"]}},\"71\":{\"attributes\":[],\"children\":{\"{15}name\":[\"74\"]}},\"72\":{\"attributes\":[],\"children\":{\"{15}default\":[\"37\"]}},\"73\":{\"attributes\":[91],\"children\":{}},\"74\":{\"attributes\":[],\"children\":{}},\"75\":{\"attributes\":[91],\"children\":{}},\"76\":{\"attributes\":[],\"children\":{\"{15}type\":[\"77\"],\"{15}default\":[\"224\"]}},\"77\":{\"attributes\":[92],\"children\":{}},\"78\":{\"attributes\":[86,93],\"children\":{}},\"79\":{\"attributes\":[94,95,96],\"children\":{}},\"80\":{\"attributes\":[1],\"children\":{}},\"81\":{\"attributes\":[97],\"children\":{}},\"82\":{\"attributes\":[98,99],\"children\":{}},\"83\":{\"attributes\":[100,101,102,103,104],\"children\":{}},\"84\":{\"attributes\":[105,106,107,108,109,110],\"children\":{}},\"85\":{\"attributes\":[],\"children\":{}},\"86\":{\"attributes\":[],\"children\":{\"{15}footnote\":[\"94\"]}},\"87\":{\"attributes\":[],\"children\":{\"{15}sz\":[\"224\"],\"{15}name\":[\"224\"]}},\"88\":{\"attributes\":[111],\"children\":{}},\"89\":{\"attributes\":[112,113,114,115,116,117,118,119,120,57,121,122,123,124,125],\"children\":{}},\"90\":{\"attributes\":[126],\"children\":{}},\"91\":{\"attributes\":[],\"children\":{\"{15}sz\":[\"224\"]}},\"92\":{\"attributes\":[],\"children\":{\"{15}w\":[\"273\"]}},\"93\":{\"attributes\":[],\"children\":{\"{15}pos\":[\"97\"],\"{15}footnote\":[\"96\"]}},\"94\":{\"attributes\":[11,127],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"95\":{\"attributes\":[128,11],\"children\":{}},\"96\":{\"attributes\":[11],\"children\":{}},\"97\":{\"attributes\":[129],\"children\":{}},\"98\":{\"attributes\":[],\"children\":{\"{15}pos\":[\"97\"]}},\"99\":{\"attributes\":[],\"children\":{}},\"100\":{\"attributes\":[],\"children\":{}},\"101\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"102\":{\"attributes\":[98,130],\"children\":{}},\"103\":{\"attributes\":[],\"children\":{}},\"104\":{\"attributes\":[116,131],\"children\":{}},\"105\":{\"attributes\":[132],\"children\":{}},\"106\":{\"attributes\":[133],\"children\":{}},\"107\":{\"attributes\":[93],\"children\":{}},\"108\":{\"attributes\":[134],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"109\":{\"attributes\":[135,136,137,138,139,140,141,142,143,144,145,146],\"children\":{}},\"110\":{\"attributes\":[147],\"children\":{}},\"111\":{\"attributes\":[148],\"children\":{}},\"112\":{\"attributes\":[149,2],\"children\":{}},\"113\":{\"attributes\":[2],\"children\":{}},\"114\":{\"attributes\":[],\"children\":{}},\"115\":{\"attributes\":[150,151,152,153,154,155],\"children\":{}},\"116\":{\"attributes\":[156],\"children\":{}},\"117\":{\"attributes\":[157],\"children\":{}},\"118\":{\"attributes\":[158,159,160,161],\"children\":{}},\"119\":{\"attributes\":[162],\"children\":{}},\"120\":{\"attributes\":[6],\"children\":{}},\"121\":{\"attributes\":[163,1,164,165,166,167],\"children\":{}},\"122\":{\"attributes\":[168,169],\"children\":{\"{15}start\":[\"37\"],\"{15}pPr\":[\"173\"],\"{15}rPr\":[\"183\"]}},\"123\":{\"attributes\":[170,171,172],\"children\":{}},\"124\":{\"attributes\":[2],\"children\":{}},\"125\":{\"attributes\":[],\"children\":{}},\"126\":{\"attributes\":[2],\"children\":{}},\"127\":{\"attributes\":[173],\"children\":{}},\"128\":{\"attributes\":[174],\"children\":{}},\"129\":{\"attributes\":[175],\"children\":{}},\"130\":{\"attributes\":[176],\"children\":{}},\"131\":{\"attributes\":[11],\"children\":{}},\"132\":{\"attributes\":[10,11],\"children\":{}},\"133\":{\"attributes\":[26,11],\"children\":{\"{15}rPr\":[\"183\"]}},\"134\":{\"attributes\":[26,11],\"children\":{\"{15}del\":[\"184\"],\"{15}rPr\":[\"183\"]}},\"135\":{\"attributes\":[26,8,9,177,10,11,1],\"children\":{}},\"136\":{\"attributes\":[178],\"children\":{}},\"137\":{\"attributes\":[179],\"children\":{}},\"138\":{\"attributes\":[],\"children\":{}},\"139\":{\"attributes\":[180],\"children\":{}},\"140\":{\"attributes\":[168],\"children\":{}},\"141\":{\"attributes\":[181],\"children\":{}},\"142\":{\"attributes\":[],\"children\":{\"{15}ins\":[\"266\"]}},\"143\":{\"attributes\":[182],\"children\":{}},\"144\":{\"attributes\":[183,184],\"children\":{}},\"145\":{\"attributes\":[98,185],\"children\":{}},\"146\":{\"attributes\":[98,185,186,187],\"children\":{}},\"147\":{\"attributes\":[],\"children\":{\"{15}type\":[\"130\"],\"{15}recipientData\":[\"181\"]}},\"148\":{\"attributes\":[],\"children\":{\"{15}type\":[\"129\"],\"{15}name\":[\"224\"]}},\"149\":{\"attributes\":[188],\"children\":{}},\"150\":{\"attributes\":[188],\"children\":{}},\"151\":{\"attributes\":[],\"children\":{\"{15}pPr\":[\"169\"],\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"152\":{\"attributes\":[4,12,13,14,15,5,16],\"children\":{}},\"153\":{\"attributes\":[189,190,191],\"children\":{\"{15}top\":[\"265\"],\"{15}left\":[\"152\"],\"{15}bottom\":[\"13\"],\"{15}right\":[\"152\"]}},\"154\":{\"attributes\":[192,193,194,195,196,197,198],\"children\":{}},\"155\":{\"attributes\":[199,200,201,161],\"children\":{}},\"156\":{\"attributes\":[202,114,203,57],\"children\":{}},\"157\":{\"attributes\":[6],\"children\":{}},\"158\":{\"attributes\":[204,205],\"children\":{}},\"159\":{\"attributes\":[],\"children\":{\"{15}ins\":[\"266\"],\"{15}del\":[\"266\"],\"{15}moveFrom\":[\"266\"],\"{15}moveTo\":[\"266\"],\"{15}spacing\":[\"218\"],\"{15}w\":[\"264\"],\"{15}sz\":[\"107\"],\"{15}rPrChange\":[\"160\"]}},\"160\":{\"attributes\":[26,11],\"children\":{\"{15}rPr\":[\"161\"]}},\"161\":{\"attributes\":[],\"children\":{\"{15}ins\":[\"266\"],\"{15}del\":[\"266\"],\"{15}moveFrom\":[\"266\"],\"{15}moveTo\":[\"266\"],\"{15}spacing\":[\"218\"],\"{15}w\":[\"264\"],\"{15}sz\":[\"107\"]}},\"162\":{\"attributes\":[],\"children\":{\"{15}top\":[\"12\"],\"{15}left\":[\"12\"],\"{15}bottom\":[\"12\"],\"{15}right\":[\"12\"]}},\"163\":{\"attributes\":[10,206],\"children\":{}},\"164\":{\"attributes\":[8,9,10,207,206],\"children\":{}},\"165\":{\"attributes\":[],\"children\":{}},\"166\":{\"attributes\":[208],\"children\":{}},\"167\":{\"attributes\":[209],\"children\":{}},\"168\":{\"attributes\":[],\"children\":{\"{15}docPart\":[\"224\"]}},\"169\":{\"attributes\":[],\"children\":{\"{15}spacing\":[\"223\"],\"{15}jc\":[\"110\"],\"{15}rPr\":[\"159\"],\"{15}sectPr\":[\"210\"]}},\"170\":{\"attributes\":[],\"children\":{\"{15}spacing\":[\"223\"],\"{15}jc\":[\"110\"]}},\"171\":{\"attributes\":[26,11],\"children\":{\"{15}pPr\":[\"170\"]}},\"172\":{\"attributes\":[],\"children\":{\"{15}pPr\":[\"173\"]}},\"173\":{\"attributes\":[],\"children\":{\"{15}spacing\":[\"223\"],\"{15}jc\":[\"110\"]}},\"174\":{\"attributes\":[210,211],\"children\":{}},\"175\":{\"attributes\":[212],\"children\":{}},\"176\":{\"attributes\":[213,214,215],\"children\":{}},\"177\":{\"attributes\":[],\"children\":{\"{15}rPr\":[\"183\"],\"{15}tab\":[\"68\"]}},\"178\":{\"attributes\":[216,217,218,219],\"children\":{}},\"179\":{\"attributes\":[],\"children\":{}},\"180\":{\"attributes\":[],\"children\":{\"{15}recipientData\":[\"179\"]}},\"181\":{\"attributes\":[98],\"children\":{}},\"182\":{\"attributes\":[],\"children\":{\"{15}tblPrEx\":[\"247\"],\"{15}trPr\":[\"270\"],\"{15}customXml\":[\"32\"],\"{15}sdt\":[\"194\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"183\":{\"attributes\":[],\"children\":{\"{15}spacing\":[\"218\"],\"{15}w\":[\"264\"],\"{15}sz\":[\"107\"],\"{15}rPrChange\":[\"184\"]}},\"184\":{\"attributes\":[26,11],\"children\":{\"{15}rPr\":[\"186\"]}},\"185\":{\"attributes\":[],\"children\":{\"{15}rPr\":[\"183\"]}},\"186\":{\"attributes\":[],\"children\":{\"{15}spacing\":[\"218\"],\"{15}w\":[\"264\"],\"{15}sz\":[\"107\"]}},\"187\":{\"attributes\":[],\"children\":{}},\"188\":{\"attributes\":[220],\"children\":{}},\"189\":{\"attributes\":[],\"children\":{\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"190\":{\"attributes\":[],\"children\":{}},\"191\":{\"attributes\":[26,11],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"192\":{\"attributes\":[],\"children\":{}},\"193\":{\"attributes\":[],\"children\":{\"{15}sdtContent\":[\"196\"]}},\"194\":{\"attributes\":[],\"children\":{\"{15}sdtContent\":[\"197\"]}},\"195\":{\"attributes\":[],\"children\":{}},\"196\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"197\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"32\"],\"{15}sdt\":[\"194\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"198\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"34\"],\"{15}sdt\":[\"207\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"199\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"200\":{\"attributes\":[],\"children\":{}},\"201\":{\"attributes\":[221],\"children\":{}},\"202\":{\"attributes\":[],\"children\":{}},\"203\":{\"attributes\":[],\"children\":{}},\"204\":{\"attributes\":[],\"children\":{\"{15}rPr\":[\"183\"]}},\"205\":{\"attributes\":[],\"children\":{}},\"206\":{\"attributes\":[],\"children\":{\"{15}rPr\":[\"183\"],\"{15}placeholder\":[\"168\"]}},\"207\":{\"attributes\":[],\"children\":{\"{15}sdtContent\":[\"198\"]}},\"208\":{\"attributes\":[],\"children\":{\"{15}sdtContent\":[\"199\"]}},\"209\":{\"attributes\":[222],\"children\":{}},\"210\":{\"attributes\":[],\"children\":{\"{15}footnotePr\":[\"98\"],\"{15}endnotePr\":[\"66\"],\"{15}type\":[\"213\"]}},\"211\":{\"attributes\":[],\"children\":{\"{15}footnotePr\":[\"98\"],\"{15}endnotePr\":[\"66\"],\"{15}type\":[\"213\"]}},\"212\":{\"attributes\":[26,11],\"children\":{\"{15}sectPr\":[\"211\"]}},\"213\":{\"attributes\":[223],\"children\":{}},\"214\":{\"attributes\":[],\"children\":{\"{15}footnotePr\":[\"93\"],\"{15}endnotePr\":[\"64\"]}},\"215\":{\"attributes\":[],\"children\":{}},\"216\":{\"attributes\":[4,224,5,225,226],\"children\":{}},\"217\":{\"attributes\":[227],\"children\":{}},\"218\":{\"attributes\":[227],\"children\":{}},\"219\":{\"attributes\":[94,96,228],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"220\":{\"attributes\":[],\"children\":{}},\"221\":{\"attributes\":[61],\"children\":{\"{15}customXml\":[\"35\"],\"{15}sdt\":[\"208\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"222\":{\"attributes\":[],\"children\":{}},\"223\":{\"attributes\":[229,230,231,232,233,234,235,236],\"children\":{}},\"224\":{\"attributes\":[2],\"children\":{}},\"225\":{\"attributes\":[237,238,239],\"children\":{\"{15}name\":[\"224\"],\"{15}pPr\":[\"173\"],\"{15}rPr\":[\"183\"],\"{15}tblPr\":[\"245\"],\"{15}trPr\":[\"270\"],\"{15}tcPr\":[\"255\"]}},\"226\":{\"attributes\":[240,241,242,243,244,245,246,247,248,249,250,251,252,253,254],\"children\":{}},\"227\":{\"attributes\":[],\"children\":{\"{15}style\":[\"225\"]}},\"228\":{\"attributes\":[255],\"children\":{}},\"229\":{\"attributes\":[],\"children\":{}},\"230\":{\"attributes\":[],\"children\":{\"{15}tab\":[\"231\"]}},\"231\":{\"attributes\":[256,257,258],\"children\":{}},\"232\":{\"attributes\":[259],\"children\":{}},\"233\":{\"attributes\":[],\"children\":{\"{15}tblPr\":[\"244\"],\"{15}tblGrid\":[\"236\"],\"{15}customXml\":[\"34\"],\"{15}sdt\":[\"207\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"234\":{\"attributes\":[],\"children\":{\"{15}top\":[\"12\"],\"{15}start\":[\"12\"],\"{15}left\":[\"12\"],\"{15}bottom\":[\"12\"],\"{15}end\":[\"12\"],\"{15}right\":[\"12\"]}},\"235\":{\"attributes\":[],\"children\":{\"{15}top\":[\"251\"],\"{15}start\":[\"251\"],\"{15}left\":[\"251\"],\"{15}bottom\":[\"251\"],\"{15}end\":[\"251\"],\"{15}right\":[\"251\"]}},\"236\":{\"attributes\":[],\"children\":{}},\"237\":{\"attributes\":[],\"children\":{}},\"238\":{\"attributes\":[11],\"children\":{\"{15}tblGrid\":[\"237\"]}},\"239\":{\"attributes\":[57],\"children\":{}},\"240\":{\"attributes\":[260],\"children\":{}},\"241\":{\"attributes\":[32,33,36,37,261,262],\"children\":{}},\"242\":{\"attributes\":[263],\"children\":{}},\"243\":{\"attributes\":[264,265,266,267,268,269,270,271,272,273],\"children\":{}},\"244\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"]}},\"245\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"]}},\"246\":{\"attributes\":[26,11],\"children\":{\"{15}tblPr\":[\"245\"]}},\"247\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"]}},\"248\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"]}},\"249\":{\"attributes\":[26,11],\"children\":{\"{15}tblPrEx\":[\"248\"]}},\"250\":{\"attributes\":[274],\"children\":{\"{15}pPr\":[\"173\"],\"{15}rPr\":[\"183\"],\"{15}tblPr\":[\"245\"],\"{15}trPr\":[\"270\"],\"{15}tcPr\":[\"255\"]}},\"251\":{\"attributes\":[275,276],\"children\":{}},\"252\":{\"attributes\":[],\"children\":{\"{15}tcPr\":[\"255\"],\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"253\":{\"attributes\":[],\"children\":{\"{15}top\":[\"12\"],\"{15}start\":[\"12\"],\"{15}left\":[\"12\"],\"{15}bottom\":[\"12\"],\"{15}end\":[\"12\"],\"{15}right\":[\"12\"]}},\"254\":{\"attributes\":[],\"children\":{\"{15}top\":[\"251\"],\"{15}start\":[\"251\"],\"{15}left\":[\"251\"],\"{15}bottom\":[\"251\"],\"{15}end\":[\"251\"],\"{15}right\":[\"251\"]}},\"255\":{\"attributes\":[],\"children\":{}},\"256\":{\"attributes\":[],\"children\":{}},\"257\":{\"attributes\":[26,11],\"children\":{\"{15}tcPr\":[\"258\"]}},\"258\":{\"attributes\":[],\"children\":{}},\"259\":{\"attributes\":[],\"children\":{}},\"260\":{\"attributes\":[277],\"children\":{}},\"261\":{\"attributes\":[278],\"children\":{}},\"262\":{\"attributes\":[279],\"children\":{}},\"263\":{\"attributes\":[280],\"children\":{}},\"264\":{\"attributes\":[281],\"children\":{}},\"265\":{\"attributes\":[4,12,13,14,15,5,16],\"children\":{}},\"266\":{\"attributes\":[26,11],\"children\":{}},\"267\":{\"attributes\":[26,11],\"children\":{}},\"268\":{\"attributes\":[26,10,11],\"children\":{}},\"269\":{\"attributes\":[282,81,283,284,285],\"children\":{}},\"270\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"],\"{15}ins\":[\"266\"],\"{15}del\":[\"266\"]}},\"271\":{\"attributes\":[],\"children\":{\"{15}jc\":[\"111\"]}},\"272\":{\"attributes\":[26,11],\"children\":{\"{15}trPr\":[\"271\"]}},\"273\":{\"attributes\":[93],\"children\":{}},\"274\":{\"attributes\":[],\"children\":{\"{15}customXml\":[\"31\"],\"{15}sdt\":[\"193\"],\"{15}ins\":[\"191\"],\"{15}del\":[\"191\"],\"{15}moveFrom\":[\"191\"],\"{15}moveTo\":[\"191\"]}},\"275\":{\"attributes\":[4,5,286],\"children\":{}},\"276\":{\"attributes\":[209],\"children\":{}},\"277\":{\"attributes\":[287],\"children\":{}},\"278\":{\"attributes\":[288],\"children\":{}},\"279\":{\"attributes\":[289],\"children\":{}},\"280\":{\"attributes\":[133],\"children\":{}},\"281\":{\"attributes\":[],\"children\":{}},\"282\":{\"attributes\":[74,75,76,77,78,290,82],\"children\":{}},\"283\":{\"attributes\":[291,292,293,149,294,295],\"children\":{}},\"284\":{\"attributes\":[296,297],\"children\":{}}}}");
870
- //#endregion
871
- //#region src/validate/schemaAttributes.ts
824
+ // src/validate/schemaAttributes.ts
872
825
  const XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace";
873
826
  const namespaceIndex = new Map(SCHEMA_ATTRIBUTE_FACTS.namespaces.map((uri, index) => [uri, index]));
874
827
  const strictToTransitional = (uri) => uri.replace("http://purl.oclc.org/ooxml/wordprocessingml/main", "http://schemas.openxmlformats.org/wordprocessingml/2006/main").replace("http://purl.oclc.org/ooxml/drawingml/", "http://schemas.openxmlformats.org/drawingml/2006/").replace("http://purl.oclc.org/ooxml/officeDocument/", "http://schemas.openxmlformats.org/officeDocument/2006/");
@@ -1002,8 +955,7 @@ const validateSchemaAttributes = (xml) => {
1002
955
  }
1003
956
  return null;
1004
957
  };
1005
- //#endregion
1006
- //#region src/validate/docx.ts
958
+ // src/validate/docx.ts
1007
959
  const DOCX_PACKAGE_ISSUE_CODES = {
1008
960
  ArchiveBoundsExceeded: "archive_bounds_exceeded",
1009
961
  InvalidArchive: "invalid_archive",
@@ -1046,14 +998,6 @@ const packageXmlParser = new XMLParser({
1046
998
  processEntities: false,
1047
999
  ignoreDeclaration: true
1048
1000
  });
1049
- const getDeclaredUncompressedSize = (file) => {
1050
- const metadata = file._data;
1051
- return typeof metadata?.uncompressedSize === "number" ? metadata.uncompressedSize : null;
1052
- };
1053
- const getCompressedSize = (file) => {
1054
- const metadata = file._data;
1055
- return typeof metadata?.compressedSize === "number" ? metadata.compressedSize : null;
1056
- };
1057
1001
  const RATIO_BOUNDED_EXTENSIONS = /* @__PURE__ */ new Set([
1058
1002
  "xml",
1059
1003
  "rels",
@@ -1066,106 +1010,79 @@ const RATIO_BOUNDED_EXTENSIONS = /* @__PURE__ */ new Set([
1066
1010
  "rtf"
1067
1011
  ]);
1068
1012
  const isRatioBoundedPart = (path) => RATIO_BOUNDED_EXTENSIONS.has(path.slice(path.lastIndexOf(".") + 1).toLowerCase());
1069
- const exceedsCompressionRatio = (inflatedBytes, compressedBytes) => compressedBytes !== null && inflatedBytes > VALIDATE_DOCX_COMPRESSION_RATIO_GRACE_BYTES && inflatedBytes > compressedBytes * VALIDATE_DOCX_MAX_COMPRESSION_RATIO;
1070
- /**
1071
- * Upper bound on the archive's central-directory records, counted before JSZip
1072
- * builds an object per record: each record starts with the `PK\x01\x02`
1073
- * signature, so JSZip cannot find more records than there are signatures.
1074
- */
1075
- const countCentralDirectoryRecords = (bytes, stopAfter) => {
1076
- let count = 0;
1077
- let offset = bytes.indexOf(80);
1078
- while (offset !== -1 && offset + 3 < bytes.length) {
1079
- if (bytes[offset + 1] === 75 && bytes[offset + 2] === 1 && bytes[offset + 3] === 2) {
1080
- count += 1;
1081
- if (count > stopAfter) return count;
1082
- }
1083
- offset = bytes.indexOf(80, offset + 1);
1084
- }
1085
- return count;
1086
- };
1087
- const concatChunks = (chunks, totalBytes) => {
1088
- const merged = new Uint8Array(totalBytes);
1089
- let offset = 0;
1090
- for (const chunk of chunks) {
1091
- merged.set(chunk, offset);
1092
- offset += chunk.length;
1013
+ /** The archive refusal `validateDocxPackage` reports for a read limit. */
1014
+ const archiveBoundsMessage = (error) => {
1015
+ const entry = error.path === void 0 ? "" : ` entry "${error.path}"`;
1016
+ switch (error.reason) {
1017
+ case "too-many-entries": return `Generated DOCX holds more than ${VALIDATE_DOCX_MAX_ENTRIES} archive entries.`;
1018
+ case "entry-too-large": return `Generated DOCX${entry} declares more than ${VALIDATE_DOCX_MAX_ENTRY_BYTES} uncompressed bytes.`;
1019
+ case "total-too-large": return `Generated DOCX declares more than ${VALIDATE_DOCX_MAX_TOTAL_BYTES} cumulative uncompressed bytes.`;
1020
+ case "compression-ratio": return error.path === void 0 ? `Generated DOCX declares more than ${VALIDATE_DOCX_MAX_COMPRESSION_RATIO} uncompressed bytes per archive byte.` : `Generated DOCX${entry} declares more than ${VALIDATE_DOCX_MAX_COMPRESSION_RATIO} uncompressed bytes per compressed byte.`;
1021
+ case "declared-size-exceeded": return `Generated DOCX${entry} inflates past its declared size.`;
1022
+ case "corrupt-entry": return `Generated DOCX${entry} does not match its declared size and checksum.`;
1023
+ case "malformed":
1024
+ case "unsupported":
1025
+ case "invalid-entry-name":
1026
+ case "duplicate-entry": return null;
1093
1027
  }
1094
- return merged;
1095
1028
  };
1096
1029
  /**
1097
- * Inflate one entry chunk by chunk and stop as soon as it passes `maxBytes`,
1098
- * its declared size or the compression-ratio cap. JSZip compares an entry
1099
- * with its declared size only after inflating all of it, so the declared
1100
- * size alone does not bound the allocation.
1030
+ * Read one XML part, refusing it from its declared size before inflating.
1031
+ * Inflation itself stops at the declared size.
1101
1032
  */
1102
- const readEntryWithinBounds = async (entry, maxBytes) => {
1103
- const declaredBytes = getDeclaredUncompressedSize(entry);
1104
- const compressedBytes = getCompressedSize(entry);
1105
- return await new Promise((resolve, reject) => {
1106
- const stream = entry.internalStream("uint8array");
1107
- const chunks = [];
1108
- let entryBytes = 0;
1109
- let settled = false;
1110
- const stop = (error) => {
1111
- settled = true;
1112
- stream.pause();
1113
- resolve({
1114
- ok: false,
1115
- error
1116
- });
1117
- };
1118
- stream.on("data", (chunk) => {
1119
- if (settled) return;
1120
- entryBytes += chunk.length;
1121
- if (declaredBytes !== null && entryBytes > declaredBytes) {
1122
- stop(`Generated DOCX entry "${entry.name}" inflates past its declared size.`);
1123
- return;
1124
- }
1125
- if (exceedsCompressionRatio(entryBytes, compressedBytes)) {
1126
- stop(`Generated DOCX entry "${entry.name}" exceeds the ${VALIDATE_DOCX_MAX_COMPRESSION_RATIO}:1 compression ratio limit.`);
1127
- return;
1128
- }
1129
- if (entryBytes > maxBytes) {
1130
- stop(`Generated DOCX ${entry.name} exceeds the ${maxBytes}-byte limit.`);
1131
- return;
1132
- }
1133
- chunks.push(chunk);
1134
- }).on("end", () => {
1135
- if (settled) return;
1136
- settled = true;
1137
- resolve({
1138
- ok: true,
1139
- bytes: concatChunks(chunks, entryBytes)
1140
- });
1141
- }).on("error", (error) => {
1142
- if (settled) return;
1143
- settled = true;
1144
- reject(error);
1145
- }).resume();
1033
+ const readXmlPart = async (entry, maxBytes) => {
1034
+ if (entry.size > maxBytes) return {
1035
+ ok: false,
1036
+ error: `Generated DOCX ${entry.path} declares ${entry.size} uncompressed bytes, over the ${maxBytes}-byte limit.`
1037
+ };
1038
+ const bytes = await Result.tryPromise({
1039
+ try: async () => await entry.bytes(),
1040
+ catch: (cause) => cause
1146
1041
  });
1042
+ if (Result.isOk(bytes)) return {
1043
+ ok: true,
1044
+ text: decodeText(bytes.value)
1045
+ };
1046
+ const error = bytes.error;
1047
+ if (!(error instanceof ZipError)) throw error;
1048
+ return {
1049
+ ok: false,
1050
+ error: archiveBoundsMessage(error) ?? error.message
1051
+ };
1147
1052
  };
1148
- /**
1149
- * Reject an archive whose entry count or declared uncompressed size (total
1150
- * or per-entry) exceeds the local bounds above, before any part is inflated.
1151
- * A declared size JSZip could not determine is skipped rather than treated
1152
- * as unbounded — the per-entry cap below still bounds what an inflate call
1153
- * can actually produce once it runs.
1154
- */
1155
- const checkDocxArchiveBounds = (zip, archiveBytes) => {
1156
- const entries = Object.values(zip.files);
1157
- if (entries.length > VALIDATE_DOCX_MAX_ENTRIES) return `Generated DOCX declares ${entries.length} archive entries, over the ${VALIDATE_DOCX_MAX_ENTRIES}-entry limit.`;
1158
- let totalUncompressedBytes = 0;
1159
- for (const entry of entries) {
1160
- const declaredBytes = getDeclaredUncompressedSize(entry);
1161
- if (declaredBytes === null) continue;
1162
- if (declaredBytes > VALIDATE_DOCX_MAX_ENTRY_BYTES) return `Generated DOCX entry "${entry.name}" declares ${declaredBytes} uncompressed bytes, over the ${VALIDATE_DOCX_MAX_ENTRY_BYTES}-byte limit.`;
1163
- if (isRatioBoundedPart(entry.name) && exceedsCompressionRatio(declaredBytes, getCompressedSize(entry))) return `Generated DOCX entry "${entry.name}" declares more than ${VALIDATE_DOCX_MAX_COMPRESSION_RATIO} uncompressed bytes per compressed byte.`;
1164
- totalUncompressedBytes += declaredBytes;
1165
- if (totalUncompressedBytes > VALIDATE_DOCX_MAX_TOTAL_BYTES) return `Generated DOCX declares more than ${VALIDATE_DOCX_MAX_TOTAL_BYTES} cumulative uncompressed bytes.`;
1166
- }
1167
- if (exceedsCompressionRatio(totalUncompressedBytes, archiveBytes)) return `Generated DOCX declares more than ${VALIDATE_DOCX_MAX_COMPRESSION_RATIO} uncompressed bytes per archive byte.`;
1168
- return null;
1053
+ const openArchive = async (bytes) => {
1054
+ const read = await Result.tryPromise({
1055
+ try: async () => await ZipArchive.read(bytes, {
1056
+ limits: {
1057
+ maxEntries: VALIDATE_DOCX_MAX_ENTRIES,
1058
+ maxEntryBytes: VALIDATE_DOCX_MAX_ENTRY_BYTES,
1059
+ maxTotalBytes: VALIDATE_DOCX_MAX_TOTAL_BYTES,
1060
+ maxCompressionRatio: VALIDATE_DOCX_MAX_COMPRESSION_RATIO,
1061
+ compressionRatioGraceBytes: VALIDATE_DOCX_COMPRESSION_RATIO_GRACE_BYTES
1062
+ },
1063
+ isCompressionRatioExempt: (path) => !isRatioBoundedPart(path)
1064
+ }),
1065
+ catch: (cause) => cause
1066
+ });
1067
+ if (Result.isOk(read)) return {
1068
+ ok: true,
1069
+ zip: read.value
1070
+ };
1071
+ const error = read.error;
1072
+ if (!(error instanceof ZipError)) throw error;
1073
+ const bounds = archiveBoundsMessage(error);
1074
+ return {
1075
+ ok: false,
1076
+ result: bounds === null ? {
1077
+ valid: false,
1078
+ code: DOCX_PACKAGE_ISSUE_CODES.InvalidArchive,
1079
+ error: error.message
1080
+ } : {
1081
+ valid: false,
1082
+ code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1083
+ error: bounds
1084
+ }
1085
+ };
1169
1086
  };
1170
1087
  const isRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
1171
1088
  const elementName = (node) => Object.keys(node).find((key) => key !== ":@" && !key.startsWith("?")) ?? null;
@@ -1200,57 +1117,46 @@ const validateDocumentXml = (xml) => {
1200
1117
  const validateDocxPackage = async (buffer) => {
1201
1118
  try {
1202
1119
  const archiveBytes = buffer instanceof Uint8Array ? buffer : new Uint8Array(buffer);
1203
- if (countCentralDirectoryRecords(archiveBytes, VALIDATE_DOCX_MAX_ENTRIES) > VALIDATE_DOCX_MAX_ENTRIES) return {
1204
- valid: false,
1205
- code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1206
- error: `Generated DOCX holds more than ${VALIDATE_DOCX_MAX_ENTRIES} archive entries.`
1207
- };
1208
- const zip = await JSZip.loadAsync(buffer);
1209
- const boundsError = checkDocxArchiveBounds(zip, archiveBytes.byteLength);
1210
- if (boundsError) return {
1211
- valid: false,
1212
- code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1213
- error: boundsError
1214
- };
1120
+ const opened = await openArchive(archiveBytes);
1121
+ if (!opened.ok) return opened.result;
1122
+ const { zip } = opened;
1215
1123
  for (const requiredPath of [
1216
1124
  "[Content_Types].xml",
1217
1125
  "_rels/.rels",
1218
1126
  "word/document.xml"
1219
- ]) if (!zip.file(requiredPath)) return {
1127
+ ]) if (!zip.has(requiredPath)) return {
1220
1128
  valid: false,
1221
1129
  code: DOCX_PACKAGE_ISSUE_CODES.MissingPackagePart,
1222
1130
  error: `Generated DOCX is missing required package part: ${requiredPath}`
1223
1131
  };
1224
- const documentPart = zip.file("word/document.xml");
1225
- const declaredDocumentBytes = documentPart ? getDeclaredUncompressedSize(documentPart) : null;
1226
- if (declaredDocumentBytes !== null && declaredDocumentBytes > VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) return {
1132
+ const documentPart = zip.entry("word/document.xml");
1133
+ if (documentPart !== void 0 && documentPart.size > VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) return {
1227
1134
  valid: false,
1228
1135
  code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1229
- error: `Generated DOCX word/document.xml declares ${declaredDocumentBytes} uncompressed bytes, over the ${VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES}-byte limit.`
1136
+ error: `Generated DOCX word/document.xml declares ${documentPart.size} uncompressed bytes, over the ${VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES}-byte limit.`
1230
1137
  };
1231
- const documentRead = documentPart ? await readEntryWithinBounds(documentPart, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) : void 0;
1138
+ const documentRead = documentPart ? await readXmlPart(documentPart, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) : void 0;
1232
1139
  if (documentRead !== void 0 && !documentRead.ok) return {
1233
1140
  valid: false,
1234
1141
  code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1235
1142
  error: documentRead.error
1236
1143
  };
1237
- const documentBytes = documentRead?.bytes;
1238
- const documentXml = documentBytes ? decodeText(documentBytes) : void 0;
1144
+ const documentXml = documentRead?.text;
1239
1145
  const documentError = documentXml ? validateDocumentXml(documentXml) : "Generated DOCX has no word/document.xml root document.";
1240
1146
  if (documentError) return {
1241
1147
  valid: false,
1242
1148
  code: DOCX_PACKAGE_ISSUE_CODES.InvalidDocumentRoot,
1243
1149
  error: documentError
1244
1150
  };
1245
- const documentRelsPart = zip.file("word/_rels/document.xml.rels");
1246
- const documentRelsRead = documentRelsPart ? await readEntryWithinBounds(documentRelsPart, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) : void 0;
1151
+ const documentRelsPart = zip.entry("word/_rels/document.xml.rels");
1152
+ const documentRelsRead = documentRelsPart ? await readXmlPart(documentRelsPart, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES) : void 0;
1247
1153
  if (documentRelsRead !== void 0 && !documentRelsRead.ok) return {
1248
1154
  valid: false,
1249
1155
  code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1250
1156
  error: documentRelsRead.error
1251
1157
  };
1252
- const documentRelsXml = documentRelsRead ? decodeText(documentRelsRead.bytes) : void 0;
1253
- if (documentRelsXml?.includes("/relationships/numbering") && !zip.file("word/numbering.xml")) return {
1158
+ const documentRelsXml = documentRelsRead?.text;
1159
+ if (documentRelsXml?.includes("/relationships/numbering") && !zip.has("word/numbering.xml")) return {
1254
1160
  valid: false,
1255
1161
  code: DOCX_PACKAGE_ISSUE_CODES.MissingNumberingPart,
1256
1162
  error: "Generated DOCX references numbering.xml but does not include it."
@@ -1259,27 +1165,26 @@ const validateDocxPackage = async (buffer) => {
1259
1165
  if (documentXml) parts.set("word/document.xml", documentXml);
1260
1166
  if (documentRelsXml) parts.set("word/_rels/document.xml.rels", documentRelsXml);
1261
1167
  const paths = /* @__PURE__ */ new Set();
1262
- for (const entry of Object.values(zip.files)) {
1263
- if (entry.dir) continue;
1264
- paths.add(entry.name);
1265
- if (!entry.name.endsWith(".xml") && !entry.name.endsWith(".rels")) continue;
1266
- let xml = parts.get(entry.name);
1168
+ for (const entry of zip.entries()) {
1169
+ paths.add(entry.path);
1170
+ if (!entry.path.endsWith(".xml") && !entry.path.endsWith(".rels")) continue;
1171
+ let xml = parts.get(entry.path);
1267
1172
  if (xml === void 0) {
1268
- const read = await readEntryWithinBounds(entry, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES);
1173
+ const read = await readXmlPart(entry, VALIDATE_DOCX_MAX_DOCUMENT_XML_BYTES);
1269
1174
  if (!read.ok) return {
1270
1175
  valid: false,
1271
1176
  code: DOCX_PACKAGE_ISSUE_CODES.ArchiveBoundsExceeded,
1272
1177
  error: read.error
1273
1178
  };
1274
- xml = decodeText(read.bytes);
1179
+ xml = read.text;
1275
1180
  }
1276
1181
  const issue = validateSchemaAttributes(xml);
1277
1182
  if (issue) return {
1278
1183
  valid: false,
1279
1184
  code: DOCX_PACKAGE_ISSUE_CODES.InvalidSchemaAttribute,
1280
- error: `${entry.name}: ${issue}`
1185
+ error: `${entry.path}: ${issue}`
1281
1186
  };
1282
- parts.set(entry.name, xml);
1187
+ parts.set(entry.path, xml);
1283
1188
  }
1284
1189
  const graphIssue = validatePackageGraph(parts, paths);
1285
1190
  if (graphIssue) return {
@@ -1725,8 +1630,7 @@ const validateCounterPairs = (starts, ends, { label, startName, endName, ctx, se
1725
1630
  addError(ctx, "package.document", message);
1726
1631
  }
1727
1632
  };
1728
- //#endregion
1729
- //#region src/markdown/lexer.ts
1633
+ // src/markdown/lexer.ts
1730
1634
  /**
1731
1635
  * One `marked` configuration for every markdown surface in docx-core. Plain
1732
1636
  * markdown (`compileMarkdownToContent`) and the legal-source compiler read the
@@ -1803,8 +1707,7 @@ const lexLegalSource = (source) => {
1803
1707
  const lexInlineMarkdown = (text) => plainMarkdown.Lexer.lexInline(text, plainMarkdown.defaults);
1804
1708
  const isLegalDirectiveToken = (token) => token.type === LEGAL_DIRECTIVE_TOKEN_TYPE;
1805
1709
  const isTokenType = (token, type) => token.type === type;
1806
- //#endregion
1807
- //#region src/markdown/inline.ts
1710
+ // src/markdown/inline.ts
1808
1711
  const MONO_FONT = {
1809
1712
  ascii: "Courier New",
1810
1713
  hAnsi: "Courier New"
@@ -1913,8 +1816,7 @@ const linkRuns = (tokens, text, rawHref, format, context) => {
1913
1816
  const inlineTokensToRuns = (tokens, fallback, options = {}) => tokensToRuns(tokens, fallback, options.base ?? {}, { placeholders: options.placeholders ?? false });
1914
1817
  /** Lex and render one paragraph's inline markdown. */
1915
1818
  const inlineMarkdownToRuns = (text, options = {}) => inlineTokensToRuns(lexInlineMarkdown(text), text, options);
1916
- //#endregion
1917
- //#region src/legal-source/parser.ts
1819
+ // src/legal-source/parser.ts
1918
1820
  const DEFAULT_KIND = "agreement";
1919
1821
  const DEFAULT_LOCALE = "en-GB";
1920
1822
  const DEFAULT_NUMBERING = "legal";
@@ -2599,8 +2501,7 @@ const isLegalKind = (value) => value === "agreement" || value === "letter" || va
2599
2501
  const isNumberingProfile = (value) => value === "legal" || value === "none" || value === "checklist";
2600
2502
  const isPageSize = (value) => value === "A4" || value === "Letter";
2601
2503
  const isPageOrientation = (value) => value === "portrait" || value === "landscape";
2602
- //#endregion
2603
- //#region src/legal-source/validate.ts
2504
+ // src/legal-source/validate.ts
2604
2505
  const WHOLE_TEXT_EMPHASIS = /^(?:\*\*[^*]+\*\*|__[^_]+__)$/u;
2605
2506
  /** Body strings of a block that a reader would expect to be prose, not a heading. */
2606
2507
  const bodyStrings = (block) => {
@@ -2667,8 +2568,7 @@ const validateLegalDraft = (draft) => {
2667
2568
  }
2668
2569
  return diagnostics;
2669
2570
  };
2670
- //#endregion
2671
- //#region src/legal-source/compile.ts
2571
+ // src/legal-source/compile.ts
2672
2572
  const LEGAL_NUMBERING_ID = 1;
2673
2573
  const LEGAL_ABSTRACT_NUMBERING_ID = 1;
2674
2574
  const BULLET_NUMBERING_ID = 2;
@@ -3197,8 +3097,7 @@ const createChecklistNumberingDefinitions = () => ({
3197
3097
  abstractNumId: CHECKLIST_ABSTRACT_NUMBERING_ID
3198
3098
  }]
3199
3099
  });
3200
- //#endregion
3201
- //#region src/legal-source/index.ts
3100
+ // src/legal-source/index.ts
3202
3101
  const compileLegalSourceToDocx = async (source, options = {}) => {
3203
3102
  const result = compileLegalSourceToDocument(source, options);
3204
3103
  if (result.status !== "ok") return result;
@@ -3219,8 +3118,7 @@ const compileLegalSourceToDocx = async (source, options = {}) => {
3219
3118
  buffer
3220
3119
  };
3221
3120
  };
3222
- //#endregion
3223
- //#region src/markdown/content.ts
3121
+ // src/markdown/content.ts
3224
3122
  const para = (runs, styleId) => {
3225
3123
  const formatting = finalizeParagraphFormatting(styleId ? { styleId } : {});
3226
3124
  return {
@@ -3426,5 +3324,4 @@ const compileMarkdownToContent = (markdown) => {
3426
3324
  ...state.warnings.length > 0 && { warnings: state.warnings }
3427
3325
  };
3428
3326
  };
3429
- //#endregion
3430
3327
  export { DOCX_CONFORMANCE_CLASSES, DOCX_PACKAGE_ISSUE_CODES, InvalidOoxmlNumericIdError, assertValidDocumentModel, assertValidOoxmlNumericId, assertValidOoxmlNumericIds, compileLegalSourceToDocument, compileLegalSourceToDocx, compileMarkdownToContent, escapeXmlAttribute, escapeXmlText, finalizeParagraphFormatting, hasIllegalXmlCharacters, isCanonicallyEmptyParagraphFormatting, isOoxmlNumericIdAttributeName, isValidOoxmlNumericId, mayContainInvalidOoxmlNumericIds, mayContainOoxmlNumericIds, ooxmlNumericIdDomain, parseLegalSource, pushOnOffElement, requiresXmlSpacePreserve, sanitizeExternalUrl, sanitizeXmlCharacters, serializeDocumentToDocx, serializeOnOffElement, setDocumentBodyComments, validateDocumentModel, validateDocxPackage, validateLegalDraft };