@docx-editor.dev/core 2.31.0 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -1
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +16 -54
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +17 -15
- package/dist/binding.js +1 -1
- package/dist/{chrome-print-BWvaVEhD.d.ts → chrome-print-CrPI9ZQc.d.ts} +128 -38
- package/dist/chunk-23MKR33J.js +4 -0
- package/dist/chunk-2CWQY27B.cjs +1 -0
- package/dist/chunk-2DEY5NUC.cjs +32 -0
- package/dist/chunk-2DR4TH6B.js +1 -0
- package/dist/chunk-2F2UEAE2.js +2 -0
- package/dist/chunk-2GPGAFOJ.cjs +5 -0
- package/dist/chunk-ALD626VU.cjs +2 -0
- package/dist/chunk-AU33YWEJ.js +236 -0
- package/dist/chunk-AXU63LYW.cjs +1 -0
- package/dist/chunk-CM5VZRBV.js +32 -0
- package/dist/chunk-D7FAFFTN.js +1 -0
- package/dist/chunk-DYUVJNDD.cjs +1 -0
- package/dist/chunk-ESYUKD5D.js +2 -0
- package/dist/chunk-F7TGQMVR.js +5 -0
- package/dist/chunk-FLW7KIQX.js +30 -0
- package/dist/chunk-JG4A6W6I.js +7 -0
- package/dist/chunk-JNGLSBPH.js +2 -0
- package/dist/chunk-KE6ZWRIY.cjs +236 -0
- package/dist/chunk-L3YXJDPX.js +1 -0
- package/dist/chunk-LI42N7OW.cjs +4 -0
- package/dist/chunk-PLKDS4JT.js +1 -0
- package/dist/chunk-PXMTQ73F.cjs +2 -0
- package/dist/chunk-R4R3AAE4.js +1 -0
- package/dist/chunk-RFUNFTGV.cjs +1 -0
- package/dist/chunk-SVM6PGMS.js +3 -0
- package/dist/chunk-SZURLHR3.cjs +3 -0
- package/dist/chunk-UYCGCVZ2.cjs +1 -0
- package/dist/chunk-WN7ICTA5.js +1 -0
- package/dist/chunk-X34QRAUU.cjs +1 -0
- package/dist/chunk-XNBYG4XJ.cjs +30 -0
- package/dist/chunk-ZDFJW5XS.cjs +2 -0
- package/dist/chunk-ZWO4JHNN.cjs +7 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +29 -4
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +5 -5
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +13 -9
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +15 -12
- package/dist/contracts/types.d.ts +135 -2
- package/dist/{custom-node-writes-TeUvMP13.d.ts → custom-node-writes-AqY5KpVx.d.ts} +7 -2
- package/dist/diagnostic-context-CuzhOX0g.d.ts +98 -0
- package/dist/{diagnostic-hints-C9JlLz1L.d.ts → diagnostic-hints-BtCaCqQC.d.ts} +4 -4
- package/dist/{document-protection-C8x3P2J6.d.ts → document-protection-BvbpSXbQ.d.ts} +1 -1
- package/dist/drawing-graphic-kind-CXYGYbB3.d.ts +324 -0
- package/dist/drawing-preview-package-B9lSLRg4.d.ts +115 -0
- package/dist/{editor-B2ShlO23.d.ts → editor-B7OOAAie.d.ts} +181 -244
- package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
- package/dist/{editor-scope-C7ke1KJG.d.ts → editor-scope-CA6egMaK.d.ts} +6 -2
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +4 -4
- package/dist/editor.d.ts +259 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +48 -19
- package/dist/export.js +2 -2
- package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
- package/dist/{font-resolver-CWh40DYp.d.ts → font-resolver-Bm9XqTNO.d.ts} +15 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +43 -26
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-CWS3j0Xr.d.ts → layout-shaping-Ci_BTnSU.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +181 -99
- package/dist/layout.js +1 -1
- package/dist/metafile-drawing-DtMFyMKq.d.ts +107 -0
- package/dist/{note-properties-QsKh24sM.d.ts → note-properties-DCIJUKIy.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +11 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-COZJUKUY.d.ts → protocol-Cp_QzVxS.d.ts} +75 -5
- package/dist/{review-paragraph-order-C_QbCKcH.d.ts → review-paragraph-order-BJQ43_r0.d.ts} +1 -1
- package/dist/revision-projection-OVusTS77.d.ts +258 -0
- package/dist/{semantic-cell-selection-Cub9FDa8.d.ts → semantic-cell-selection-CoI5hHBm.d.ts} +2 -2
- package/dist/{semantic-interaction-dApRIYpt.d.ts → semantic-interaction-BbA4dgEo.d.ts} +1 -1
- package/dist/{semantic-paint-DLzA8sjP.d.ts → semantic-paint-B5JcIv9c.d.ts} +19 -9
- package/dist/{semantic-record-queries-3yp9o11g.d.ts → semantic-record-queries-DnO8J5_j.d.ts} +1 -1
- package/dist/{semantic-records-B-akgRch.d.ts → semantic-records-DoK0lNjS.d.ts} +439 -418
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +511 -20
- package/dist/store.js +1 -1
- package/dist/{types-barrel-CkF2JbU4.d.ts → tree-op-types-Df4oY2u4.d.ts} +1081 -524
- package/dist/{tree-package-store-B8l8DX3Z.d.ts → tree-package-store-DXhX1PE-.d.ts} +8 -3
- package/dist/{tree-session-contract-DeLRqohz.d.ts → tree-session-contract-CF2625mv.d.ts} +5 -5
- package/dist/unsupported-elements-CUojsaCr.d.ts +23 -0
- package/docs/accept-reject-without-scrolling.md +95 -0
- package/docs/comment-on-found-text.md +72 -0
- package/docs/custom-review-cards.md +178 -0
- package/docs/highlight-ranges.md +48 -0
- package/docs/index.md +36 -0
- package/docs/propose-rewrite.md +247 -0
- package/docs/tracked-replacement.md +68 -0
- package/licenses/ECMA-376.md +29 -0
- package/package.json +3 -2
- package/dist/bookmark-names-DDuAra_V.d.ts +0 -37
- package/dist/chunk-243W4WW2.cjs +0 -2
- package/dist/chunk-2E2RPEKX.js +0 -1
- package/dist/chunk-4S24UOPG.js +0 -30
- package/dist/chunk-5JPIEN54.cjs +0 -3
- package/dist/chunk-5SO5QDMV.cjs +0 -2
- package/dist/chunk-6IDOVU6L.cjs +0 -1
- package/dist/chunk-6JIJOZDW.js +0 -1
- package/dist/chunk-BTQKU64Q.cjs +0 -1
- package/dist/chunk-DBOOTED4.cjs +0 -30
- package/dist/chunk-EOTAXOJY.cjs +0 -5
- package/dist/chunk-FDAKJ2SJ.cjs +0 -30
- package/dist/chunk-FNNOJNGY.js +0 -3
- package/dist/chunk-FT33HRZP.js +0 -5
- package/dist/chunk-HC6YNKUI.cjs +0 -1
- package/dist/chunk-HZ66UCIS.js +0 -2
- package/dist/chunk-IBRBNT37.cjs +0 -1
- package/dist/chunk-IVIN7X43.js +0 -30
- package/dist/chunk-LZY6B6IV.js +0 -4
- package/dist/chunk-MOYYRVFV.cjs +0 -2
- package/dist/chunk-N6B3BXCL.js +0 -1
- package/dist/chunk-Q5K2GGNG.js +0 -2
- package/dist/chunk-R2XINWVE.js +0 -7
- package/dist/chunk-SUEXVBPR.js +0 -1
- package/dist/chunk-T2QQHG5C.js +0 -18
- package/dist/chunk-VWIJKH4A.js +0 -1
- package/dist/chunk-WO4V6PNS.cjs +0 -18
- package/dist/chunk-XMJKFURD.cjs +0 -4
- package/dist/chunk-XSTGE3NI.cjs +0 -1
- package/dist/chunk-YQWMI6J5.cjs +0 -7
- package/dist/chunk-ZCJS7D7S.js +0 -2
- package/dist/diagnostic-context-DJ0P1uZE.d.ts +0 -31
- package/dist/headless-document-view-qOpaCF82.d.ts +0 -143
- package/dist/omml-equation-BsLAa2lX.d.ts +0 -115
package/dist/store.d.ts
CHANGED
|
@@ -12,20 +12,24 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
import { O as OoxmlPart,
|
|
16
|
-
export {
|
|
17
|
-
import { F as FieldResultsMode, E as EditOptions,
|
|
18
|
-
export { l as AtomicNoteSpan, m as CascadeDeletedNoteReferencesOptions, C as ContentLockPolicy, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, n as DrawingPropertyIdResult, j as FragmentPasteInput, k as FragmentPasteResult, o as HeaderFooterKind, p as HeaderFooterLifecycleImpact, q as HeaderFooterLifecycleOp, s as HeaderFooterLifecycleRejection, t as HeaderFooterLifecycleResult,
|
|
19
|
-
import { O as OmmlEquationProjection } from './
|
|
20
|
-
export {
|
|
21
|
-
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-
|
|
22
|
-
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-
|
|
23
|
-
export { B as BookmarkNameProblem, M as MAX_AUTHORED_BOOKMARK_NAME_LENGTH,
|
|
24
|
-
export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-
|
|
25
|
-
export { D as
|
|
26
|
-
export {
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
import { bd as OoxmlAttribute, O as OoxmlPart, a4 as OoxmlNode, be as OoxmlInvariantResult, av as OoxmlElement, bf as LegacyTextArtProjection, aZ as VectorShapeComponent, bg as ChartPartResolver, bh as ChartexPartResolver, bi as ShapeSchemeColorResolver, bj as ShapeEffectList, b2 as PictureFrameEffects, b1 as VectorShapeProjection, bk as GroupTextboxProjection, bl as MetafileImageMime, aL as OoxmlParagraphNode, bm as OoxmlFldCharNode, bn as OoxmlFldSimpleNode, bo as OoxmlInstrTextNode, au as TreeDocOp, aF as TreeOpRejection, bp as TreeOpResult, a5 as OoxmlPackage, bq as RelationshipRecord, ax as OoxmlGenericElementNode, br as OoxmlHardBreakNode, bs as ShapeColor, bt as ResourceLimits, aC as OoxmlProperty, V as RevisionSiteRefusal, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, bu as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, aJ as DrawingTreeDocOp, aK as ImpactClass, ag as ImageWrapTarget } from './tree-op-types-Df4oY2u4.js';
|
|
16
|
+
export { bv as ACCEPTED_PARAGRAPH_PROPERTIES, bw as ACCEPTED_RUN_PROPERTIES, bx as BookmarkOpPosition, by as CHARTEX_GRAPHIC_DATA_URI, bz as CHARTEX_NAMESPACE_URI, bA as CHART_GRAPHIC_DATA_URI, bB as CHART_NAMESPACE_URI, bC as CHART_STYLE_NAMESPACE_URI, bD as CONTENT_CONTROL_ID_MAX, bE as CONTENT_CONTROL_PROPERTY_ORDER, bF as ChartPart, bG as ChartThemeFaces, bH as ChartexPart, bI as CommentAnchor, bJ as CommentPosition, bK as CommitTextFormFieldOp, bL as ContentControlCheckbox, bM as ContentControlCheckboxState, bN as ContentControlDataBinding, bO as ContentControlDateFormat, bP as ContentControlEntry, bQ as ContentControlKind, bR as ContentControlLevel, bS as ContentControlListItem, bT as ContentControlLock, bU as ContentControlProperties, bV as ContentTypeError, bW as ContentTypeIndex, bX as ContentTypeRecords, bY as CreateImageResourceCacheOptions, b6 as DEFAULT_IMAGE_RESOURCE_LIMITS, bZ as DEFAULT_LIMITS, b_ as DEFAULT_OOXML_PACKAGE_LIMITS, b$ as DEFAULT_ZIP_LIMITS, c0 as DIAGRAM_NAMESPACE_URI, c1 as DRAWINGML_MAIN_NAMESPACE_URI, c2 as DefaultRecord, c3 as DeleteBookmarkOp, c4 as DeleteTextOp, c5 as DiagramPartResolver, c6 as DiagramParts, a$ as DrawingImageEffects, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, c7 as HARD_CEILINGS, c8 as HYPERLINK_RELATIONSHIP_TYPE, c9 as HyperlinkKind, ca as HyperlinkTarget, cb as IMAGE_RELATIONSHIP_TYPE, cc as IMAGE_RESOURCE_HARD_CEILINGS, b7 as IMAGE_WRAP_TARGETS, ad as ImageDecodePort, cd as ImageRelationshipResolution, ae as ImageResourceLimits, ce as ImageResourceLookup, af as ImageResourceState, cf as IndexResult, cg as InsertBookmarkOp, ch as InsertBuildingBlockOp, ci as InsertComplexFieldOp, cj as InsertEquationOp, ck as InsertPageFieldOp, cl as InsertTextOp, cm as LegacyCheckboxFieldRange, cn as MAX_CONTENT_CONTROLS_PER_PART, co as MAX_CONTENT_CONTROL_NESTING, cp as MAX_SVG_SNIFF_BYTES, cq as NameRejection, cr as NameResult, cs as OFFICE_RELATIONSHIP_NAMESPACE_URI, ct as OOXML_NODE_IDENTITY_RULES, cu as OoxmlBodyNode, cv as OoxmlBookmarkEndNode, cw as OoxmlBookmarkStartNode, cx as OoxmlContentControlCalendarNode, cy as OoxmlContentControlCheckboxNode, cz as OoxmlContentControlCheckedNode, cA as OoxmlContentControlCheckedStateNode, cB as OoxmlContentControlComboBoxNode, ay as OoxmlContentControlContentNode, cC as OoxmlContentControlDataBindingNode, cD as OoxmlContentControlDateFormatNode, cE as OoxmlContentControlDateNode, cF as OoxmlContentControlDropDownListNode, cG as OoxmlContentControlEndPropertiesNode, cH as OoxmlContentControlLidNode, cI as OoxmlContentControlListItemNode, aw as OoxmlContentControlNode, cJ as OoxmlContentControlPropertiesNode, cK as OoxmlContentControlStoreMappedDataAsNode, cL as OoxmlContentControlTextNode, cM as OoxmlContentControlUncheckedStateNode, aN as OoxmlContinuationSeparatorNode, cN as OoxmlDocumentNode, aO as OoxmlEndnotesNode, cO as OoxmlExternalTarget, aP as OoxmlFootnotesNode, cP as OoxmlGenericExtensionAttribute, cQ as OoxmlHyperlinkNode, aI as OoxmlInvariantIssue, cR as OoxmlInvariantIssueCode, cS as OoxmlKnownNodeAttribute, cT as OoxmlNamespaceBinding, aG as OoxmlNodeId, cU as OoxmlNodeIdentityRules, aM as OoxmlNoteNode, aQ as OoxmlNoteRefNode, aR as OoxmlNoteReferenceNode, az as OoxmlPackageLimits, aA as OoxmlPackageRejection, aD as OoxmlPackageResult, cV as OoxmlParagraphPropertiesNode, cW as OoxmlPartMetadata, cX as OoxmlReadRejection, cY as OoxmlReadResult, cZ as OoxmlRunNode, c_ as OoxmlRunPropertiesNode, aS as OoxmlSeparatorNode, c$ as OoxmlTabNode, d0 as OoxmlTextElementNode, d1 as OoxmlTextNode, d2 as OoxmlWmlValAttribute, d3 as OoxmlXmlSpaceAttribute, d4 as OverrideRecord, aj as PreservedImageMime, d5 as RelationshipError, d6 as RelationshipSetResult, d7 as RelationshipTargetResolver, al as RenderableImageMime, d8 as ResolveResult, d9 as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, da as SetFieldResultOp, db as SetLegacyCheckboxOp, dc as SetLegacyDropdownOp, dd as SetTextFormFieldDefaultOp, de as ShapeReflection, df as ShapeShadow, aT as SourceCrop, an as SupportedImageMime, dg as TABLE_BORDER_STYLES, dh as TabStopWrite, aX as TableBorderStyle, di as TargetMode, aV as TextFormFieldOptions, aU as TextFormFieldRange, dj as TextFormFieldType, dk as TextboxStoryProjection, dl as TreeDocOpKind, dm as TreeOpEffect, ap as ValidatedImageBytesHandle, dn as ValidatedRasterHeader, dp as VectorGradient, dq as VectorPattern, dr as W15_NAMESPACE_URI, ds as WML_NAMESPACE_URI, dt as XMLNS_NAMESPACE_URI, du as XML_NAMESPACE_URI, dv as XmlLimits, dw as XmlNode, dx as XmlRejection, dy as XmlResult, dz as ZipLimits, dA as ZipReadResult, dB as ZipRejection, dC as allocateContentControlId, dD as asciiFold, dE as buildContentTypeIndex, dF as buildRelationshipSet, dG as childElements, dH as commentAnchorsOfStory, dI as commentsOfPart, dJ as contentControlContentChildren, dK as contentControlContentNodeOf, dL as contentControlEndPropertiesNodeOf, dM as contentControlLevelOf, dN as contentControlPropertiesNodeOf, dO as contentControlPropertiesOf, dP as contentControlTextOf, dQ as contentControlsIn, dR as createImageResourceCache, dS as detectDuplicateNames, dT as directFill, dU as enclosedBookmarkDeletions, dV as extensionKey, dW as findContentControl, dX as findElement, dY as firstReviewRange, dZ as flattenContentControls, d_ as hasAnyComment, d$ as hasBoundedSvgRoot, e0 as hyperlinkAnchorOf, e1 as hyperlinkRelationshipIdOf, e2 as hyperlinkTargetOf, e3 as imageResourceLookupFor, e4 as isContentControlContentNode, e5 as isContentControlNode, e6 as isContentControlWrapper, e7 as isContentRevisionKind, e8 as isElement, e9 as isHyperlinkNode, ea as isRangeMarkerKind, eb as isValidMime, ec as legacyCheckboxFieldsOf, ed as liveDrawingReferenceCount, ee as lockForbidsEdit, ef as lockForbidsRemoval, eg as normalizePartName, eh as orderedContentControlProperties, ei as parseContentControlId, ej as partNameKey, ek as planRevisionAuthorChange, el as planRevisionBatch, em as projectDrawing, en as readOnOffChild, eo as readOoxmlPackage, ep as readOoxmlPart, eq as readXml, er as readZip, es as resolveColorNode, et as resolveContentControlLock, eu as resolveContentType, ev as resolveImageRelationship, b9 as resolveImageResourceLimits, ew as resolveInternalTarget, ex as resolveLimits, ey as resolveRelationship, ez as reviewItemKey, eA as reviewItemRanges, bb as sniffImageMime, eB as textContent, eC as textFormFieldsOf, eD as threadStateOfPart, eE as validateExternalTarget, eF as validateGifHeader, eG as validateJpegHeader, eH as validatePngHeader, bc as validateRasterHeader, eI as withPart, eJ as withoutBookmarkInPart, eK as writeOoxmlPackage, eL as writeZip } from './tree-op-types-Df4oY2u4.js';
|
|
17
|
+
import { F as FieldResultsMode, E as EditOptions, c as TreeModelChange, d as TreeDocumentStore, T as TreePackageStore, S as StoryScope, b as HistoryGroup } from './tree-package-store-DXhX1PE-.js';
|
|
18
|
+
export { l as AtomicNoteSpan, m as CascadeDeletedNoteReferencesOptions, C as ContentLockPolicy, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, n as DrawingPropertyIdResult, j as FragmentPasteInput, k as FragmentPasteResult, o as HeaderFooterKind, p as HeaderFooterLifecycleImpact, q as HeaderFooterLifecycleOp, s as HeaderFooterLifecycleRejection, t as HeaderFooterLifecycleResult, e as HeaderFooterParts, f as HeaderFooterSectionResolution, u as HeaderFooterSlotMeta, H as HeaderFooterVariant, v as HistoryCaptureKind, M as MAX_FRAGMENT_DECODED_BYTES, w as MAX_NOTES_PER_PART, x as MAX_NOTE_REFERENCE_PARTS, y as MAX_NOTE_REFERENCE_SCAN, z as NOTE_ATOM_CHAR, B as NOTE_CONTINUATION_SEPARATOR_ID, G as NOTE_ID_MAX, J as NOTE_ID_MIN, K as NOTE_SEPARATOR_ID, L as NoteDiagnostic, O as NoteDiagnosticCode, N as NoteKind, P as NoteLifecycleImpact, Q as NoteLifecycleOp, U as NoteLifecycleOptions, V as NoteLifecycleRejection, W as NoteLifecycleResult, X as NoteReferenceHit, Y as NoteReferenceScanBudget, Z as NoteType, _ as OoxmlEditResult, $ as PackageTransactResult, a0 as RemotePackageAttribution, g as SelectionMark, a1 as StoryResolveResult, a as StoryTargetRejection, a2 as TransactionRevisionIds, a3 as TreeDocumentStoreOptions, a4 as TreePackageStoreOptions, a5 as TreeStoryRef, h as TreeTransactOptions, a6 as TreeTransactResult, a7 as TreeTransactionContext, a8 as allocateDrawingPropertyId, a9 as allocateNoteId, aa as applyEdits, ab as applyFragmentPaste, ac as applyHeaderFooterLifecycleOp, ad as applyNoteLifecycleOp, ae as atomicNoteSpansOf, af as cascadeDeletedNoteReferences, ag as collectNodeIds, ah as collectNoteReferences, ai as collectPackageNoteReferences, aj as collectSectionPropertyNodes, ak as createNodeIdAllocator, al as createNoteReferenceScanBudget, am as customMarkFollows, an as diagnoseNoteReferences, ao as findNode, ap as findNoteById, aq as formatNoteScopeId, ar as hasNode, as as insertChildren, at as isContinuationSeparatorNode, au as isEndnotesNode, av as isFootnotesNode, aw as isHeaderFooterLifecycleOp, ax as isNormalNote, ay as isNoteAtomNode, az as isNoteLifecycleOp, aA as isNoteNode, aB as isNoteRefNode, aC as isNoteReferenceNode, aD as isSeparatorNode, aE as normalNoteIds, aF as noteAtomText, aG as noteIdOf, aH as noteKindOf, aI as noteRefKindOf, aJ as noteReferenceKindOf, aK as noteTypeOf, aL as notesOf, aM as notesPartHasId, aN as observeHistoryGroup, aO as parentNodeOf, aP as parseNoteId, aQ as parseNoteScopeId, aR as removeNode, aS as replaceChildren, aT as replaceNode, r as reportHistoryGroup, aU as resolveHeaderFooterParts, aV as resolveHeaderFooterPartsBySection, aW as resolveHeaderFooterResolutionBySection, aX as resolveNotesPart, aY as withBinaryPart, aZ as withEmbeddedImage, a_ as withoutUnreferencedImagePart } from './tree-package-store-DXhX1PE-.js';
|
|
19
|
+
import { O as OmmlEquationProjection, a as DrawingSupport, D as DrawingGraphicKind, b as DrawingSupportIssue } from './drawing-graphic-kind-CXYGYbB3.js';
|
|
20
|
+
export { e as DEFAULT_OMML_LIMITS, c as DocumentProperties, E as EnsuredHyperlinkRelationship, f as EquationControlSource, g as EquationExpression, d as HeadlessDocumentRejection, H as HeadlessDocumentView, h as HeadlessThemeFonts, L as LinearMathOmmlResult, i as LinearMathParseResult, j as LinearMathRejection, k as OFFICE_MATH_NAMESPACE_URI, l as OmmlLimits, m as OpenHeadlessDocumentResult, n as authorableHyperlinkTarget, o as ensureHyperlinkRelationship, p as equationExpressionToLinearMath, q as headlessViewOfStore, r as linearMathToOmml, s as openHeadlessDocument, t as parseLinearMath, u as projectOmmlEquation, v as relationshipTargetIn } from './drawing-graphic-kind-CXYGYbB3.js';
|
|
21
|
+
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-AqY5KpVx.js';
|
|
22
|
+
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-AqY5KpVx.js';
|
|
23
|
+
export { B as BookmarkNameProblem, D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult, b as DrawingPreviewTarget, M as MAX_AUTHORED_BOOKMARK_NAME_LENGTH, c as bookmarkNameKey, d as bookmarkNameProblem, e as createDrawingPreviewPackage, i as isHiddenBookmarkName } from './drawing-preview-package-B9lSLRg4.js';
|
|
24
|
+
export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-BJQ43_r0.js';
|
|
25
|
+
export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-DCIJUKIy.js';
|
|
26
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-BvbpSXbQ.js';
|
|
27
|
+
import { h as MetafileRenderOptions, a as MetafileReplay } from './metafile-drawing-DtMFyMKq.js';
|
|
28
|
+
export { b as MetafileCommand, c as MetafileDrawing, M as MetafileFont, d as MetafileMatrix, e as MetafilePaint, f as MetafilePathCommand, g as MetafileRaster } from './metafile-drawing-DtMFyMKq.js';
|
|
29
|
+
import './editor-scope-CA6egMaK.js';
|
|
30
|
+
|
|
31
|
+
/** Schema-local attribute: unqualified only (no owner-namespace or foreign lookalikes). @internal */
|
|
32
|
+
declare function schemaAttributeValue(attributes: readonly OoxmlAttribute[], localName: string): string | undefined;
|
|
29
33
|
|
|
30
34
|
/**
|
|
31
35
|
* Serialize normalized XML from a canonical part using repository-controlled
|
|
@@ -50,6 +54,253 @@ declare function ooxmlTreesEqual(left: OoxmlPart | OoxmlNode, right: OoxmlPart |
|
|
|
50
54
|
*/
|
|
51
55
|
declare function validateOoxmlPart(part: OoxmlPart): OoxmlInvariantResult;
|
|
52
56
|
|
|
57
|
+
/** @internal */
|
|
58
|
+
declare function parseEmu(value: string | undefined, clamp?: boolean): number | null;
|
|
59
|
+
/** @internal */
|
|
60
|
+
declare function findDirectChild(nodes: readonly OoxmlNode[], options: {
|
|
61
|
+
readonly typedKind?: string;
|
|
62
|
+
readonly namespaceUri?: string;
|
|
63
|
+
readonly localName?: string;
|
|
64
|
+
}): OoxmlElement | null;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* A string's glyph outlines in points, x right and y down from the pen origin on the
|
|
68
|
+
* baseline. `path` holds only absolute `M`, `L`, `Q`, `C` and `Z` commands.
|
|
69
|
+
*
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
interface TextArtOutline {
|
|
73
|
+
readonly path: string;
|
|
74
|
+
readonly ink: {
|
|
75
|
+
readonly left: number;
|
|
76
|
+
readonly top: number;
|
|
77
|
+
readonly right: number;
|
|
78
|
+
readonly bottom: number;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* What a text art layout reads.
|
|
83
|
+
*
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
interface TextArtLayoutInput {
|
|
87
|
+
readonly textArt: LegacyTextArtProjection;
|
|
88
|
+
/** The unrotated shape box, in points. */
|
|
89
|
+
readonly widthPt: number;
|
|
90
|
+
readonly heightPt: number;
|
|
91
|
+
/**
|
|
92
|
+
* The outlines of `text` in the text art's face at `fontSizePt`, or null when the face has
|
|
93
|
+
* no outlines for it. A face that does not resolve falls back to the document default.
|
|
94
|
+
*/
|
|
95
|
+
readonly outline: (text: string, fontSizePt: number) => TextArtOutline | null;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Text art as painted geometry.
|
|
99
|
+
*
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
interface TextArtLayout {
|
|
103
|
+
/**
|
|
104
|
+
* Components in paint order, in EMU from the box's top-left corner, unrotated: paint turns
|
|
105
|
+
* them about the box centre with the shape.
|
|
106
|
+
*/
|
|
107
|
+
readonly components: readonly VectorShapeComponent[];
|
|
108
|
+
/** Box-local bounds of all ink in points, when it reaches past the box. */
|
|
109
|
+
readonly inkBounds?: Readonly<{
|
|
110
|
+
left: number;
|
|
111
|
+
top: number;
|
|
112
|
+
right: number;
|
|
113
|
+
bottom: number;
|
|
114
|
+
}>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Lays out text art whose projection carries `renderData`, or returns null to leave it to the
|
|
118
|
+
* engine's plain fit.
|
|
119
|
+
*
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
type TextArtLayoutRenderer = (input: TextArtLayoutInput) => TextArtLayout | null;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* What a shape effects renderer reads for one shape: its properties, the effect list the
|
|
126
|
+
* engine resolved for the outer shadow, and the components the engine painted.
|
|
127
|
+
*
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
interface ShapeEffectsInput {
|
|
131
|
+
/** The shape (`wps:wsp`) or picture (`pic:pic`) element. */
|
|
132
|
+
readonly shape: OoxmlElement;
|
|
133
|
+
/** Its shape properties (`wps:spPr` or `pic:spPr`). */
|
|
134
|
+
readonly spPr: OoxmlElement;
|
|
135
|
+
/** Its own effect list or the theme one it references; null when it has neither. */
|
|
136
|
+
readonly effectList: ShapeEffectList | null;
|
|
137
|
+
readonly resolveSchemeColor?: ShapeSchemeColorResolver;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* What a picture effects renderer returns: effects that change how the picture paints, and
|
|
141
|
+
* components that paint under it.
|
|
142
|
+
*
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
interface PictureEffectsProjection {
|
|
146
|
+
readonly effects?: PictureFrameEffects;
|
|
147
|
+
/** Painted first, under the picture's shadow, fill and image. */
|
|
148
|
+
readonly underComponents?: readonly VectorShapeComponent[];
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Shape and picture effects beyond the outer shadow: glow, inner shadow, reflection, soft
|
|
152
|
+
* edge, and the rim of a dark-edged bevel.
|
|
153
|
+
*
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
interface DrawingEffectsRenderer {
|
|
157
|
+
/**
|
|
158
|
+
* The components of a shape with its effects added, in paint order. Return `components`
|
|
159
|
+
* itself when the shape has no effect the renderer paints.
|
|
160
|
+
*/
|
|
161
|
+
readonly shape: (input: ShapeEffectsInput & {
|
|
162
|
+
readonly components: readonly VectorShapeComponent[];
|
|
163
|
+
readonly extent: Readonly<{
|
|
164
|
+
cx: number;
|
|
165
|
+
cy: number;
|
|
166
|
+
}>;
|
|
167
|
+
}) => readonly VectorShapeComponent[];
|
|
168
|
+
/**
|
|
169
|
+
* The effects of a picture. `outlineEmu` holds the closed outlines of the picture's frame in
|
|
170
|
+
* its extent, or null when the frame paints nothing (a turned picture, or one past the point
|
|
171
|
+
* budget). Null when the picture has no effect the renderer paints.
|
|
172
|
+
*/
|
|
173
|
+
readonly picture: (input: ShapeEffectsInput & {
|
|
174
|
+
readonly outlineEmu: readonly (readonly Readonly<{
|
|
175
|
+
x: number;
|
|
176
|
+
y: number;
|
|
177
|
+
}>[])[] | null;
|
|
178
|
+
}) => PictureEffectsProjection | null;
|
|
179
|
+
}
|
|
180
|
+
/** A metafile raster for the editor: PNG bytes the image pipeline validates again. @internal */
|
|
181
|
+
interface MetafileRasterImage {
|
|
182
|
+
readonly bytes: Uint8Array;
|
|
183
|
+
readonly mime: 'image/png';
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* EMF and WMF pictures: a vector replay for exporters, and a raster for the browser editor.
|
|
187
|
+
* Both run on attacker-controlled bytes and must bound their own work.
|
|
188
|
+
*
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
interface MetafileRenderer {
|
|
192
|
+
/** Vector drawing commands in canvas pixels, or null when the bytes do not replay. */
|
|
193
|
+
readonly replay: (bytes: Uint8Array, mime: MetafileImageMime, options: MetafileRenderOptions) => Promise<MetafileReplay | null>;
|
|
194
|
+
/**
|
|
195
|
+
* A PNG of the metafile no larger than `maxEdge` pixels on a side, drawn in the current
|
|
196
|
+
* browser, or null when it does not draw.
|
|
197
|
+
*/
|
|
198
|
+
readonly rasterize?: (bytes: Uint8Array, mime: MetafileImageMime, options: Readonly<{
|
|
199
|
+
maxEdge: number;
|
|
200
|
+
}>) => Promise<MetafileRasterImage | null>;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* What a drawing renderer paints: vector components over the drawing extent, and read-only
|
|
204
|
+
* stories for its text.
|
|
205
|
+
*
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
interface DrawingGraphicProjection {
|
|
209
|
+
readonly vectorShape: VectorShapeProjection | null;
|
|
210
|
+
readonly groupTextboxes: readonly GroupTextboxProjection[] | null;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* What a chart renderer reads beside the drawing.
|
|
214
|
+
*
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
interface ChartRenderContext {
|
|
218
|
+
readonly resolveChartPart?: ChartPartResolver;
|
|
219
|
+
/** The chartex part behind a `cx:chart` element (waterfall, funnel, histogram, ...). */
|
|
220
|
+
readonly resolveChartexPart?: ChartexPartResolver;
|
|
221
|
+
readonly resolveSchemeColor?: ShapeSchemeColorResolver;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* The parts a SmartArt layout engine lays a diagram out from.
|
|
225
|
+
*
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
interface DiagramLayoutParts {
|
|
229
|
+
readonly dataModel: OoxmlElement;
|
|
230
|
+
readonly layoutDef: OoxmlElement;
|
|
231
|
+
readonly styleDef: OoxmlElement | null;
|
|
232
|
+
readonly colorsDef: OoxmlElement | null;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* What a SmartArt layout engine reads beside the diagram parts.
|
|
236
|
+
*
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
interface DiagramLayoutOptions {
|
|
240
|
+
/** The theme's minor (body) Latin font, which diagram text uses by default. */
|
|
241
|
+
readonly fontFamily?: string;
|
|
242
|
+
readonly resolveSchemeColor?: ShapeSchemeColorResolver;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* What a text art renderer reads beside the shape.
|
|
246
|
+
*
|
|
247
|
+
* @internal
|
|
248
|
+
*/
|
|
249
|
+
interface LegacyTextArtContext {
|
|
250
|
+
/**
|
|
251
|
+
* The `v:shapetype` the shape names with its `type`, when the same drawing holds it. A
|
|
252
|
+
* renderer that reads its geometry accepts it; the engine refuses any other custom template.
|
|
253
|
+
*/
|
|
254
|
+
readonly template?: OoxmlElement;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Renderers a capability package installs.
|
|
258
|
+
*
|
|
259
|
+
* @internal
|
|
260
|
+
*/
|
|
261
|
+
interface DrawingRenderers {
|
|
262
|
+
/**
|
|
263
|
+
* The shapes and labels of a chart drawing, classic (`c:chart`) or chartex (`cx:chart`), or
|
|
264
|
+
* null when the drawing is not a chart or the chart is outside what the renderer paints.
|
|
265
|
+
*/
|
|
266
|
+
readonly chart?: (anchor: OoxmlElement, extent: Readonly<{
|
|
267
|
+
cx: number;
|
|
268
|
+
cy: number;
|
|
269
|
+
}>, context: ChartRenderContext) => DrawingGraphicProjection | null;
|
|
270
|
+
/**
|
|
271
|
+
* The drawing part (`dsp:drawing`) Office would save for a diagram at this extent, or null
|
|
272
|
+
* when its layout is outside what the engine places.
|
|
273
|
+
*/
|
|
274
|
+
readonly diagramLayout?: (parts: DiagramLayoutParts, extent: Readonly<{
|
|
275
|
+
cx: number;
|
|
276
|
+
cy: number;
|
|
277
|
+
}>, options: DiagramLayoutOptions) => OoxmlElement | null;
|
|
278
|
+
/** Glow, inner shadow, reflection, soft edge and bevel rim. The outer shadow is the engine's. */
|
|
279
|
+
readonly effects?: DrawingEffectsRenderer;
|
|
280
|
+
/**
|
|
281
|
+
* The text art of a VML text path (`v:shape` of a text path type, `#_x0000_t136` to
|
|
282
|
+
* `#_x0000_t175`) outside a watermark, or null when the shape is outside what the renderer
|
|
283
|
+
* projects. A watermark's text art is the engine's.
|
|
284
|
+
*/
|
|
285
|
+
readonly legacyTextArt?: (shape: OoxmlElement, context?: LegacyTextArtContext) => LegacyTextArtProjection | null;
|
|
286
|
+
/**
|
|
287
|
+
* The painted geometry of text art whose projection carries `renderData`: glyph outlines
|
|
288
|
+
* warped to the text path, with fills, outlines, shadows and extrusion. Without it, or
|
|
289
|
+
* when it returns null, the engine fits the plain text to the box.
|
|
290
|
+
*/
|
|
291
|
+
readonly textArtLayout?: TextArtLayoutRenderer;
|
|
292
|
+
/** EMF and WMF pictures. */
|
|
293
|
+
readonly metafile?: MetafileRenderer;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Install drawing renderers for every editor and export in this process. A later install
|
|
297
|
+
* replaces the renderers it names and keeps the others. Install before any document opens:
|
|
298
|
+
* a drawing already read keeps what it read.
|
|
299
|
+
*
|
|
300
|
+
* @internal
|
|
301
|
+
*/
|
|
302
|
+
declare function installDrawingRenderers(renderers: DrawingRenderers): void;
|
|
303
|
+
|
|
53
304
|
/** UTF-16 placeholder for one atomic field unit in `paragraphTextOf` / segments. */
|
|
54
305
|
declare const FIELD_ATOM_CHAR = "\uFFFC";
|
|
55
306
|
/**
|
|
@@ -424,6 +675,18 @@ type HrefProjection = {
|
|
|
424
675
|
declare function sanitizeHref(raw: string): HrefProjection;
|
|
425
676
|
/** XML-escape a value for validated serialization back into owned OOXML. */
|
|
426
677
|
declare function escapeXml(value: string): string;
|
|
678
|
+
/** XML-escape a value bound for an ATTRIBUTE, preserving CR/LF/TAB across a re-parse. @internal */
|
|
679
|
+
declare function escapeXmlAttribute(value: string): string;
|
|
680
|
+
/**
|
|
681
|
+
* Validate that a string contains only characters legal in XML 1.0 text/attributes. escapeXml
|
|
682
|
+
* handles the markup-significant characters but leaves control chars, U+FFFE/U+FFFF, and unpaired
|
|
683
|
+
* surrogates — which would emit malformed XML (or be silently mangled during UTF-8 encoding). Returns
|
|
684
|
+
* false so a caller can reject fail-closed. Valid supplementary characters (correct surrogate pairs)
|
|
685
|
+
* pass.
|
|
686
|
+
*
|
|
687
|
+
* @internal
|
|
688
|
+
*/
|
|
689
|
+
declare function isValidXmlText(value: string): boolean;
|
|
427
690
|
/**
|
|
428
691
|
* CSS string-escape a file-derived value (e.g. an `@font-face` family name or an
|
|
429
692
|
* inline style value). Emits `\<hex> ` escapes for quotes, backslash, and
|
|
@@ -605,7 +868,7 @@ declare const twips: (value: number) => Twips;
|
|
|
605
868
|
*
|
|
606
869
|
* @public
|
|
607
870
|
*/
|
|
608
|
-
declare const points: (value: number) => Points;
|
|
871
|
+
declare const points$1: (value: number) => Points;
|
|
609
872
|
/**
|
|
610
873
|
* The one twips-to-points conversion. Exact division; twips are the finer unit.
|
|
611
874
|
*
|
|
@@ -1260,6 +1523,164 @@ type CustomNodeExportResult = {
|
|
|
1260
1523
|
*/
|
|
1261
1524
|
declare function withExportedCustomNodes(pkg: OoxmlPackage, request: CustomNodeExportRequest): CustomNodeExportResult;
|
|
1262
1525
|
|
|
1526
|
+
/** Named inputs a formula may read besides adjust values and earlier formulas. @internal */
|
|
1527
|
+
interface VmlFormulaContext {
|
|
1528
|
+
readonly width: number;
|
|
1529
|
+
readonly height: number;
|
|
1530
|
+
readonly adjust: readonly number[];
|
|
1531
|
+
}
|
|
1532
|
+
/** The values of `eqns` in order, or null when one cannot be read. @internal */
|
|
1533
|
+
declare function vmlFormulaValues(eqns: readonly string[], context: VmlFormulaContext): readonly number[] | null;
|
|
1534
|
+
|
|
1535
|
+
/** The VML namespace. @internal */
|
|
1536
|
+
declare const VML = "urn:schemas-microsoft-com:vml";
|
|
1537
|
+
/** The Office VML extensions namespace (`o:`). @internal */
|
|
1538
|
+
declare const OFFICE = "urn:schemas-microsoft-com:office:office";
|
|
1539
|
+
/** The Word VML extensions namespace (`w10:`). @internal */
|
|
1540
|
+
declare const WORD_VML = "urn:schemas-microsoft-com:office:word";
|
|
1541
|
+
/** Whether `node` is the element `ns`:`name`. @internal */
|
|
1542
|
+
declare const named: (node: OoxmlNode, ns: string, name: string) => boolean;
|
|
1543
|
+
/** The value of attribute `name` in namespace `ns` (none by default). @internal */
|
|
1544
|
+
declare const attribute: (node: OoxmlElement, name: string, ns?: string) => string | undefined;
|
|
1545
|
+
/** The element children of `node`. @internal */
|
|
1546
|
+
declare function children(node: OoxmlElement): OoxmlElement[];
|
|
1547
|
+
/** Whether a VML boolean is false (`f`, `false`, `0`). @internal */
|
|
1548
|
+
declare const off: (value: string | undefined) => boolean;
|
|
1549
|
+
/** A plain decimal number, bounded; NaN when malformed. @internal */
|
|
1550
|
+
declare function numeric(value: string | undefined): number;
|
|
1551
|
+
/** A VML length in points (`pt`, `in`, `cm`, `mm`, `px`); NaN when malformed. @internal */
|
|
1552
|
+
declare function points(value: string | undefined): number;
|
|
1553
|
+
/**
|
|
1554
|
+
* VML rotation in degrees (`315`, `-45`, or `fd` sixty-five-thousandths). NaN when malformed.
|
|
1555
|
+
*
|
|
1556
|
+
* @internal
|
|
1557
|
+
*/
|
|
1558
|
+
declare function legacyRotationDegrees(raw: string | undefined): number;
|
|
1559
|
+
/** The declarations of a `style` attribute by lower-case name; null when malformed. @internal */
|
|
1560
|
+
declare function styleOf(node: OoxmlElement): ReadonlyMap<string, string> | null;
|
|
1561
|
+
/** A VML colour as `#rrggbb`, `fallback` when absent; null when malformed. @internal */
|
|
1562
|
+
declare function color(value: string | undefined, fallback: string): string | null;
|
|
1563
|
+
|
|
1564
|
+
interface GeometryGuide {
|
|
1565
|
+
readonly name: string;
|
|
1566
|
+
readonly op: string;
|
|
1567
|
+
readonly args: readonly string[];
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
type GeometryFill = 'norm' | 'none' | 'lighten' | 'lightenLess' | 'darken' | 'darkenLess';
|
|
1571
|
+
type GeometryCommand = {
|
|
1572
|
+
readonly op: 'M' | 'L';
|
|
1573
|
+
readonly args: readonly [string, string];
|
|
1574
|
+
} | {
|
|
1575
|
+
readonly op: 'A';
|
|
1576
|
+
readonly args: readonly [string, string, string, string];
|
|
1577
|
+
} | {
|
|
1578
|
+
readonly op: 'Q';
|
|
1579
|
+
readonly args: readonly [string, string, string, string];
|
|
1580
|
+
} | {
|
|
1581
|
+
readonly op: 'C';
|
|
1582
|
+
readonly args: readonly [string, string, string, string, string, string];
|
|
1583
|
+
} | {
|
|
1584
|
+
readonly op: 'Z';
|
|
1585
|
+
readonly args: readonly [];
|
|
1586
|
+
};
|
|
1587
|
+
interface GeometryPath {
|
|
1588
|
+
/** Path coordinate space; 0 means the shape's own EMU space on that axis. */
|
|
1589
|
+
readonly width: number;
|
|
1590
|
+
readonly height: number;
|
|
1591
|
+
readonly fill: GeometryFill;
|
|
1592
|
+
readonly stroke: boolean;
|
|
1593
|
+
readonly commands: readonly GeometryCommand[];
|
|
1594
|
+
}
|
|
1595
|
+
/** @internal */
|
|
1596
|
+
interface GeometryDefinition {
|
|
1597
|
+
readonly avLst: readonly GeometryGuide[];
|
|
1598
|
+
readonly gdLst: readonly GeometryGuide[];
|
|
1599
|
+
/** Text rectangle guide references l/t/r/b; null means the whole shape. */
|
|
1600
|
+
readonly textRect: readonly [string, string, string, string] | null;
|
|
1601
|
+
readonly paths: readonly GeometryPath[];
|
|
1602
|
+
}
|
|
1603
|
+
interface GeometryPoint {
|
|
1604
|
+
readonly x: number;
|
|
1605
|
+
readonly y: number;
|
|
1606
|
+
}
|
|
1607
|
+
interface EvaluatedSubpath {
|
|
1608
|
+
readonly points: readonly GeometryPoint[];
|
|
1609
|
+
readonly closed: boolean;
|
|
1610
|
+
}
|
|
1611
|
+
interface EvaluatedPath {
|
|
1612
|
+
readonly subpaths: readonly EvaluatedSubpath[];
|
|
1613
|
+
readonly fill: GeometryFill;
|
|
1614
|
+
readonly stroke: boolean;
|
|
1615
|
+
}
|
|
1616
|
+
/** @internal */
|
|
1617
|
+
interface EvaluatedGeometry {
|
|
1618
|
+
readonly paths: readonly EvaluatedPath[];
|
|
1619
|
+
readonly textRect: Readonly<{
|
|
1620
|
+
left: number;
|
|
1621
|
+
top: number;
|
|
1622
|
+
right: number;
|
|
1623
|
+
bottom: number;
|
|
1624
|
+
}>;
|
|
1625
|
+
}
|
|
1626
|
+
/** The ECMA-376 preset geometry named by `a:prstGeom/@prst`, or null for an unknown name. @internal */
|
|
1627
|
+
declare function presetGeometryDefinition(name: string): GeometryDefinition | null;
|
|
1628
|
+
/**
|
|
1629
|
+
* Evaluate a definition at a shape size. `adjust` replaces avLst values by name, as
|
|
1630
|
+
* `a:prstGeom/a:avLst` does. Null when the flattened geometry would exceed
|
|
1631
|
+
* MAX_GEOMETRY_POINTS; sizes that are negative or not finite read as 0.
|
|
1632
|
+
*
|
|
1633
|
+
* @internal
|
|
1634
|
+
*/
|
|
1635
|
+
declare function evaluateGeometry(definition: GeometryDefinition, widthEmu: number, heightEmu: number, adjust?: ReadonlyMap<string, number>): EvaluatedGeometry | null;
|
|
1636
|
+
|
|
1637
|
+
/** The text a shape's style supplies: `a:fontRef` names a theme font slot and a colour. @internal */
|
|
1638
|
+
interface DrawingTextDefaults {
|
|
1639
|
+
readonly fontSlot: 'major' | 'minor' | null;
|
|
1640
|
+
readonly color: ShapeColor | null;
|
|
1641
|
+
}
|
|
1642
|
+
/**
|
|
1643
|
+
* A lowered text body; `'no-text'` when it holds nothing to paint; `'unsupported'` when it
|
|
1644
|
+
* holds text the lowering cannot express (a vertical mode other than a quarter turn, several
|
|
1645
|
+
* columns, or a body past the bounds), so its shape must not render without it.
|
|
1646
|
+
*
|
|
1647
|
+
* @internal
|
|
1648
|
+
*/
|
|
1649
|
+
type TextBodyLowering = LoweredDrawingText | 'no-text' | 'unsupported';
|
|
1650
|
+
/** @internal */
|
|
1651
|
+
interface LoweredDrawingText {
|
|
1652
|
+
/** A `w:txbxContent` root holding the lowered paragraphs; node ids are namespaced. */
|
|
1653
|
+
readonly content: OoxmlElement;
|
|
1654
|
+
readonly insetsEmu: Readonly<{
|
|
1655
|
+
top: number;
|
|
1656
|
+
right: number;
|
|
1657
|
+
bottom: number;
|
|
1658
|
+
left: number;
|
|
1659
|
+
}>;
|
|
1660
|
+
readonly verticalAnchor: 'top' | 'center' | 'bottom';
|
|
1661
|
+
readonly noWrap: boolean;
|
|
1662
|
+
/** Clockwise turn `a:bodyPr/@rot` adds to the text, in degrees. */
|
|
1663
|
+
readonly rotationDegrees: number;
|
|
1664
|
+
/**
|
|
1665
|
+
* `vert="vert"` (90) or `vert="vert270"` (270): the lines run along the box's long side, so
|
|
1666
|
+
* the story lays out in the box turned a quarter. Insets are already in text space.
|
|
1667
|
+
*/
|
|
1668
|
+
readonly quarterTurn: 0 | 90 | 270;
|
|
1669
|
+
}
|
|
1670
|
+
/** Lower one text body; see {@link TextBodyLowering}. @internal */
|
|
1671
|
+
declare function lowerDrawingTextBody(txBody: OoxmlElement, partName: string, defaults: DrawingTextDefaults, resolveSchemeColor?: ShapeSchemeColorResolver): TextBodyLowering;
|
|
1672
|
+
|
|
1673
|
+
/** @internal */
|
|
1674
|
+
declare function findGraphicData(anchor: OoxmlElement): OoxmlElement | null;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* The theme and settings identity behind a scheme colour resolver. Resolvers are rebuilt for
|
|
1678
|
+
* every package revision; the token stays the same while the theme and settings parts do.
|
|
1679
|
+
*
|
|
1680
|
+
* @internal
|
|
1681
|
+
*/
|
|
1682
|
+
declare function shapeThemeCacheToken(resolveSchemeColor: (token: string) => string | null): string | undefined;
|
|
1683
|
+
|
|
1263
1684
|
/**
|
|
1264
1685
|
* Every kind of thing the registry gives a stable identity to.
|
|
1265
1686
|
*
|
|
@@ -2580,6 +3001,9 @@ declare function isSearchableQuery(query: unknown): query is string;
|
|
|
2580
3001
|
declare function findOccurrences(text: string, query: string, limit: number, options?: TextMatchOptions): TextOccurrences;
|
|
2581
3002
|
|
|
2582
3003
|
declare function drawingOpImpact(op: DrawingTreeDocOp): ImpactClass;
|
|
3004
|
+
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
3005
|
+
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
3006
|
+
|
|
2583
3007
|
/** Validate a drawing op's extents, crops and positions before it reaches the store. */
|
|
2584
3008
|
declare function validateDrawingOp(part: OoxmlPart, op: DrawingTreeDocOp): TreeOpRejection | null;
|
|
2585
3009
|
/** Map the nine wrap targets to anchor wrap element + behindDoc. */
|
|
@@ -2588,8 +3012,6 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
|
|
|
2588
3012
|
readonly wrapLocalName: 'wrapNone' | 'wrapSquare' | 'wrapTight' | 'wrapThrough' | 'wrapTopAndBottom';
|
|
2589
3013
|
readonly wrapText?: 'bothSides' | 'left' | 'right' | 'largest';
|
|
2590
3014
|
};
|
|
2591
|
-
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
2592
|
-
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
2593
3015
|
|
|
2594
3016
|
/**
|
|
2595
3017
|
* Fill every empty prompt-bearing control in `part` with its placeholder and mark it as
|
|
@@ -2614,8 +3036,77 @@ declare function formsProtectionEnabled(root: OoxmlNode | null | undefined): boo
|
|
|
2614
3036
|
*/
|
|
2615
3037
|
declare function sectionProtectsForms(part: OoxmlPart, nodeId: string): boolean;
|
|
2616
3038
|
|
|
3039
|
+
/**
|
|
3040
|
+
* One drawing in a {@link DrawingSupportReport}. Pass the entry to
|
|
3041
|
+
* `createDrawingPreviewPackage` with the same package to build its preview DOCX.
|
|
3042
|
+
*
|
|
3043
|
+
* @public
|
|
3044
|
+
*/
|
|
3045
|
+
interface DrawingSupportEntry {
|
|
3046
|
+
/** The part that holds the drawing, such as `/word/document.xml` or `/word/header1.xml`. */
|
|
3047
|
+
readonly ownerPartName: string;
|
|
3048
|
+
/**
|
|
3049
|
+
* The node of `source` in the inspected package. Node identifiers belong to that package
|
|
3050
|
+
* object; they do not persist in the saved XML.
|
|
3051
|
+
*/
|
|
3052
|
+
readonly nodeId: string;
|
|
3053
|
+
/**
|
|
3054
|
+
* The node of the drawing that the editor shows, inside `source`: for `mc:AlternateContent`,
|
|
3055
|
+
* the drawing in the selected branch. `null` when the drawing is `unplaced`.
|
|
3056
|
+
*/
|
|
3057
|
+
readonly drawingNodeId: string | null;
|
|
3058
|
+
/**
|
|
3059
|
+
* What the editor shows: `projected` (the drawing renders), `fallback` (a saved fallback
|
|
3060
|
+
* renders), `placeholder` (a labeled box), `hidden` (the drawing is hidden by design), or
|
|
3061
|
+
* `unplaced` (no layout position, nothing shows). Image decoding is not checked.
|
|
3062
|
+
*/
|
|
3063
|
+
readonly state: 'projected' | 'fallback' | 'placeholder' | 'hidden' | 'unplaced';
|
|
3064
|
+
/**
|
|
3065
|
+
* One verdict from `state` and `issues`: `projected` and `hidden` give `native` or
|
|
3066
|
+
* `partial`, `fallback` gives `partial`, and `placeholder` and `unplaced` give `unrendered`.
|
|
3067
|
+
*/
|
|
3068
|
+
readonly support: DrawingSupport;
|
|
3069
|
+
/** The graphic the selected drawing holds, whether or not it renders. */
|
|
3070
|
+
readonly graphicKind: DrawingGraphicKind;
|
|
3071
|
+
/**
|
|
3072
|
+
* The drawing's source: its `w:drawing`, `w:pict`, or `w:object`, or the enclosing
|
|
3073
|
+
* `mc:AlternateContent`. Treat it as read-only and untrusted.
|
|
3074
|
+
*/
|
|
3075
|
+
readonly source: OoxmlElement;
|
|
3076
|
+
/**
|
|
3077
|
+
* The features the editor does not show as authored: the same list as an editor
|
|
3078
|
+
* occurrence's `drawingIssues`, plus projection diagnostics. A `projection-diagnostic` with
|
|
3079
|
+
* `detail: 'unsupported-graphic'` appears only for placeholders, where it names the graphic.
|
|
3080
|
+
*/
|
|
3081
|
+
readonly issues: readonly DrawingSupportIssue[];
|
|
3082
|
+
}
|
|
3083
|
+
/**
|
|
3084
|
+
* Every drawing in the body, headers, footers, footnotes, and endnotes, including drawings
|
|
3085
|
+
* without a layout position. The scan is bounded. @public
|
|
3086
|
+
*/
|
|
3087
|
+
interface DrawingSupportReport {
|
|
3088
|
+
/** One entry for each drawing, in document order within each part. */
|
|
3089
|
+
readonly entries: readonly DrawingSupportEntry[];
|
|
3090
|
+
/** False when a scan budget prevented a complete inventory. */
|
|
3091
|
+
readonly complete: boolean;
|
|
3092
|
+
/**
|
|
3093
|
+
* What the issue check covers: `explicit-source-effects`, the effects, fallbacks, and 3-D
|
|
3094
|
+
* properties written in each drawing's own XML. Chart and diagram parts, inherited theme
|
|
3095
|
+
* effects, and image bytes are not checked.
|
|
3096
|
+
*/
|
|
3097
|
+
readonly coverage: 'explicit-source-effects';
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* Inspect story drawings without opening a DOM, decoding images, or loading external resources.
|
|
3101
|
+
* Pass a parsed package from the same saved snapshot you send to your rendering service.
|
|
3102
|
+
* A complete inventory is not a complete fidelity assessment. Related chart, diagram, and theme
|
|
3103
|
+
* contents, inactive alternatives, and final image decoding need separate checks.
|
|
3104
|
+
* @public
|
|
3105
|
+
*/
|
|
3106
|
+
declare function inspectDrawingSupport(pkg: OoxmlPackage): DrawingSupportReport;
|
|
3107
|
+
|
|
2617
3108
|
/** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
|
|
2618
|
-
declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "setRevisionAttribution", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "setWatermark", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock", "insertBookmark", "deleteBookmark"];
|
|
3109
|
+
declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "setRevisionAttribution", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "insertComplexField", "insertEquation", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "mergeTableCells", "splitTableCell", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "setWatermark", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setFieldResult", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock", "insertBookmark", "deleteBookmark"];
|
|
2619
3110
|
|
|
2620
|
-
export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, EditOptions, FIELD_ATOM_CHAR, FieldResultsMode, HistoryGroup, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, RevisionSiteRefusal, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, addComment, addPackageComment, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, linkRevisionReplies, listBookmarks, locateSites, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removePackageCustomNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
|
|
2621
|
-
export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BookmarkPosition, BookmarkRecord, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DigestDifference, DocumentViewSettings, EncodedEnvelope, EnforcementPhase, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LimitSpec, LimitUnit, LinkableReviewItem, ModelChangeSummary, OffsetSpan, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransportPort, Twips, ValidationResult };
|
|
3111
|
+
export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, ChartPartResolver, ChartexPartResolver, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingGraphicKind, DrawingSupport, DrawingSupportIssue, DrawingTreeDocOp, EditOptions, FIELD_ATOM_CHAR, FieldResultsMode, GroupTextboxProjection, HistoryGroup, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LegacyTextArtProjection, LimitExceededError, MAX_STORY_SDT_NESTING, MetafileImageMime, MetafileRenderOptions, MetafileReplay, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PictureFrameEffects, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, RevisionSiteRefusal, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, ShapeColor, ShapeEffectList, ShapeSchemeColorResolver, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, VML as VML_NAMESPACE_URI, OFFICE as VML_OFFICE_NAMESPACE_URI, WORD_VML as VML_WORD_NAMESPACE_URI, VectorShapeComponent, VectorShapeProjection, addComment, addPackageComment, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, escapeXmlAttribute, evaluateGeometry, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findDirectChild, findGraphicData, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertPackageCustomNode, inspectDrawingSupport, installDrawingRenderers, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isValidXmlText, isWholeWord, legacyRotationDegrees, linkRevisionReplies, listBookmarks, locateSites, lowerDrawingTextBody, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parseEmu, parseSemVer, parseTocInstruction, planTocEntries, points$1 as points, pointsToTwips, presetGeometryDefinition, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removePackageCustomNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, schemaAttributeValue, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, shapeThemeCacheToken, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, attribute as vmlAttribute, children as vmlChildren, color as vmlColor, vmlFormulaValues, named as vmlNamed, numeric as vmlNumber, off as vmlOff, points as vmlPoints, styleOf as vmlStyle, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
|
|
3112
|
+
export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BookmarkPosition, BookmarkRecord, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ChartRenderContext, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DiagramLayoutOptions, DiagramLayoutParts, DigestDifference, DocumentViewSettings, DrawingEffectsRenderer, DrawingGraphicProjection, DrawingRenderers, DrawingSupportEntry, DrawingSupportReport, DrawingTextDefaults, EncodedEnvelope, EnforcementPhase, EvaluatedGeometry, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, GeometryDefinition, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LegacyTextArtContext, LimitSpec, LimitUnit, LinkableReviewItem, LoweredDrawingText, MetafileRasterImage, MetafileRenderer, ModelChangeSummary, OffsetSpan, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, PictureEffectsProjection, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapeEffectsInput, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextArtLayout, TextArtLayoutInput, TextArtLayoutRenderer, TextArtOutline, TextBodyLowering, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransportPort, Twips, ValidationResult, VmlFormulaContext };
|