@docx-editor.dev/core 2.33.0 → 2.35.0-canary.20261102190412.sha-b9a04a3

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.
Files changed (111) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +11 -11
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +13 -13
  6. package/dist/binding.js +1 -1
  7. package/dist/{chrome-print-CrPI9ZQc.d.ts → chrome-print-DY0xsXm_.d.ts} +163 -112
  8. package/dist/chunk-36OE5A2F.cjs +3 -0
  9. package/dist/chunk-4BMTYXQL.cjs +7 -0
  10. package/dist/chunk-4UOOFSL5.cjs +4 -0
  11. package/dist/chunk-5KPONTUV.js +1 -0
  12. package/dist/{chunk-L3YXJDPX.js → chunk-5X23LOBT.js} +1 -1
  13. package/dist/chunk-6JKXXUXG.cjs +30 -0
  14. package/dist/chunk-7N553ZFH.js +1 -0
  15. package/dist/chunk-AXUSFHCQ.cjs +5 -0
  16. package/dist/chunk-BI2HHPJ7.cjs +1 -0
  17. package/dist/chunk-CCGWLTCP.cjs +1 -0
  18. package/dist/{chunk-PXMTQ73F.cjs → chunk-CNGBQ36V.cjs} +1 -1
  19. package/dist/{chunk-2F2UEAE2.js → chunk-CZIRRKXA.js} +1 -1
  20. package/dist/{chunk-2DR4TH6B.js → chunk-EVTBNATS.js} +1 -1
  21. package/dist/chunk-GVZRSFUY.cjs +2 -0
  22. package/dist/{chunk-RFUNFTGV.cjs → chunk-HBEVI765.cjs} +1 -1
  23. package/dist/chunk-HQGFS7O5.js +30 -0
  24. package/dist/chunk-I3XDNCUJ.js +3 -0
  25. package/dist/chunk-IK6L3RKU.cjs +236 -0
  26. package/dist/chunk-IVQT6HDE.js +7 -0
  27. package/dist/chunk-JWNOCKTF.js +4 -0
  28. package/dist/chunk-KDA6HKHR.js +236 -0
  29. package/dist/chunk-MCNHQCMR.js +2 -0
  30. package/dist/{chunk-X34QRAUU.cjs → chunk-MKEJJKTH.cjs} +1 -1
  31. package/dist/chunk-NMV7DRHU.cjs +1 -0
  32. package/dist/chunk-NTJWPRUU.js +5 -0
  33. package/dist/chunk-PA4BATSI.js +32 -0
  34. package/dist/chunk-SRKJYXCG.js +1 -0
  35. package/dist/chunk-TKCFTVY4.cjs +4 -0
  36. package/dist/chunk-UILTSNM6.js +4 -0
  37. package/dist/chunk-YBHYIWJH.cjs +32 -0
  38. package/dist/collaboration/replication.cjs +1 -1
  39. package/dist/collaboration/replication.d.ts +11 -4
  40. package/dist/collaboration/replication.js +1 -1
  41. package/dist/collaboration.d.ts +2 -2
  42. package/dist/contracts/document.d.ts +2 -2
  43. package/dist/contracts/editor.d.ts +9 -9
  44. package/dist/contracts/modules.d.ts +11 -11
  45. package/dist/contracts/types.d.ts +3 -3
  46. package/dist/{custom-node-writes-AqY5KpVx.d.ts → custom-node-writes-DparEcZK.d.ts} +45 -7
  47. package/dist/{diagnostic-context-CuzhOX0g.d.ts → diagnostic-context-CkZKkKvB.d.ts} +1 -1
  48. package/dist/{diagnostic-hints-BtCaCqQC.d.ts → diagnostic-hints-BTyb8yzX.d.ts} +1 -1
  49. package/dist/{document-protection-BvbpSXbQ.d.ts → document-protection-DdWxihIN.d.ts} +1 -1
  50. package/dist/{drawing-graphic-kind-CXYGYbB3.d.ts → drawing-graphic-kind-CK0cMc7H.d.ts} +91 -18
  51. package/dist/{drawing-preview-package-B9lSLRg4.d.ts → drawing-preview-package-fFjXpOMS.d.ts} +1 -1
  52. package/dist/{editor-B7OOAAie.d.ts → editor-DDCkWqfD.d.ts} +47 -15
  53. package/dist/editor.cjs +1 -1
  54. package/dist/editor.css +2 -2
  55. package/dist/editor.d.ts +200 -75
  56. package/dist/editor.js +1 -1
  57. package/dist/export.cjs +2 -2
  58. package/dist/export.d.ts +8 -8
  59. package/dist/export.js +1 -1
  60. package/dist/index.cjs +1 -1
  61. package/dist/index.d.ts +20 -20
  62. package/dist/index.js +1 -1
  63. package/dist/{layout-shaping-Ci_BTnSU.d.ts → layout-shaping-Byj-TwsI.d.ts} +1 -1
  64. package/dist/layout.cjs +1 -1
  65. package/dist/layout.d.ts +289 -129
  66. package/dist/layout.js +1 -1
  67. package/dist/{metafile-drawing-DtMFyMKq.d.ts → metafile-drawing-Ce6TuWLm.d.ts} +9 -1
  68. package/dist/{note-properties-DCIJUKIy.d.ts → note-properties-BiunaIQa.d.ts} +31 -7
  69. package/dist/output.cjs +1 -1
  70. package/dist/output.d.ts +76 -12
  71. package/dist/output.js +1 -1
  72. package/dist/{protocol-Cp_QzVxS.d.ts → protocol-Dn44dL4M.d.ts} +184 -120
  73. package/dist/{review-paragraph-order-BJQ43_r0.d.ts → review-paragraph-order-BWMXAKuA.d.ts} +1 -1
  74. package/dist/{revision-projection-OVusTS77.d.ts → revision-projection-DwFhgIR0.d.ts} +1 -1
  75. package/dist/{semantic-cell-selection-CoI5hHBm.d.ts → semantic-cell-selection-DhalxEBH.d.ts} +2 -2
  76. package/dist/{semantic-interaction-BbA4dgEo.d.ts → semantic-interaction-QeuzEtAk.d.ts} +2 -4
  77. package/dist/{semantic-paint-B5JcIv9c.d.ts → semantic-paint-BYDZbTiY.d.ts} +4 -4
  78. package/dist/{semantic-record-queries-DnO8J5_j.d.ts → semantic-record-queries-Bf5bgQL3.d.ts} +1 -1
  79. package/dist/{semantic-records-DoK0lNjS.d.ts → semantic-records-CzZiWMY8.d.ts} +99 -94
  80. package/dist/store.cjs +1 -1
  81. package/dist/store.d.ts +31 -16
  82. package/dist/store.js +1 -1
  83. package/dist/{tree-op-types-Df4oY2u4.d.ts → tree-op-types-DKvJSH8T.d.ts} +204 -147
  84. package/dist/{tree-package-store-DXhX1PE-.d.ts → tree-package-store-Cl3BkWXF.d.ts} +1 -1
  85. package/dist/{tree-session-contract-CF2625mv.d.ts → tree-session-contract-BL50pqs8.d.ts} +14 -7
  86. package/dist/{unsupported-elements-CUojsaCr.d.ts → unsupported-elements-Bra4QTOM.d.ts} +1 -1
  87. package/package.json +2 -2
  88. package/dist/chunk-23MKR33J.js +0 -4
  89. package/dist/chunk-2DEY5NUC.cjs +0 -32
  90. package/dist/chunk-2GPGAFOJ.cjs +0 -5
  91. package/dist/chunk-ALD626VU.cjs +0 -2
  92. package/dist/chunk-AU33YWEJ.js +0 -236
  93. package/dist/chunk-AXU63LYW.cjs +0 -1
  94. package/dist/chunk-CM5VZRBV.js +0 -32
  95. package/dist/chunk-D7FAFFTN.js +0 -1
  96. package/dist/chunk-DYUVJNDD.cjs +0 -1
  97. package/dist/chunk-ESYUKD5D.js +0 -2
  98. package/dist/chunk-F7TGQMVR.js +0 -5
  99. package/dist/chunk-FLW7KIQX.js +0 -30
  100. package/dist/chunk-JG4A6W6I.js +0 -7
  101. package/dist/chunk-JNGLSBPH.js +0 -2
  102. package/dist/chunk-KE6ZWRIY.cjs +0 -236
  103. package/dist/chunk-LI42N7OW.cjs +0 -4
  104. package/dist/chunk-PLKDS4JT.js +0 -1
  105. package/dist/chunk-R4R3AAE4.js +0 -1
  106. package/dist/chunk-SVM6PGMS.js +0 -3
  107. package/dist/chunk-SZURLHR3.cjs +0 -3
  108. package/dist/chunk-UYCGCVZ2.cjs +0 -1
  109. package/dist/chunk-XNBYG4XJ.cjs +0 -30
  110. package/dist/chunk-ZDFJW5XS.cjs +0 -2
  111. package/dist/chunk-ZWO4JHNN.cjs +0 -7
@@ -1 +1 @@
1
- 'use strict';var chunkX34QRAUU_cjs=require('../chunk-X34QRAUU.cjs'),chunkKE6ZWRIY_cjs=require('../chunk-KE6ZWRIY.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkX34QRAUU_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunkX34QRAUU_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkKE6ZWRIY_cjs.Qa}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkKE6ZWRIY_cjs.on}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkKE6ZWRIY_cjs.nn}});
1
+ 'use strict';var chunkMKEJJKTH_cjs=require('../chunk-MKEJJKTH.cjs'),chunkIK6L3RKU_cjs=require('../chunk-IK6L3RKU.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkMKEJJKTH_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunkMKEJJKTH_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkIK6L3RKU_cjs.Qa}});Object.defineProperty(exports,"isJournalOutsideUndo",{enumerable:true,get:function(){return chunkIK6L3RKU_cjs.Ra}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkIK6L3RKU_cjs.Hn}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkIK6L3RKU_cjs.Gn}});
@@ -14,9 +14,9 @@
14
14
  * @packageDocumentation
15
15
  * @public
16
16
  */
17
- import { b as HistoryGroup, T as TreePackageStore, c as TreeModelChange } from '../tree-package-store-DXhX1PE-.js';
18
- export { r as reportHistoryGroup } from '../tree-package-store-DXhX1PE-.js';
19
- import { av as OoxmlElement, a5 as OoxmlPackage } from '../tree-op-types-Df4oY2u4.js';
17
+ import { b as HistoryGroup, T as TreePackageStore, c as TreeModelChange } from '../tree-package-store-Cl3BkWXF.js';
18
+ export { r as reportHistoryGroup } from '../tree-package-store-Cl3BkWXF.js';
19
+ import { av as OoxmlElement, a5 as OoxmlPackage } from '../tree-op-types-DKvJSH8T.js';
20
20
  import '../editor-scope-CA6egMaK.js';
21
21
 
22
22
  /** Attribute name as the journal addresses it. Prefix is authored fidelity, not identity. @public */
@@ -126,6 +126,13 @@ interface CanonicalPrimitiveJournal {
126
126
  }
127
127
  /** The history group the transaction behind `journal` named, if any. @public */
128
128
  declare function historyGroupOfJournal(journal: CanonicalPrimitiveJournal): HistoryGroup | undefined;
129
+ /**
130
+ * Whether the transaction behind `journal` ran outside shared undo: document setup, such as
131
+ * a built-in style that content of every participant may come to use. A collaboration session
132
+ * publishes it without an undo entry, so one participant's undo cannot remove what another
133
+ * participant's content needs. @public
134
+ */
135
+ declare function isJournalOutsideUndo(journal: CanonicalPrimitiveJournal): boolean;
129
136
 
130
137
  /** Options for a canonical collaboration document port. @public */
131
138
  interface CreateCollaborationDocumentPortOptions {
@@ -290,5 +297,5 @@ interface CollaborationDocumentPort {
290
297
  binaryPart(storageKey: string): Uint8Array | null;
291
298
  }
292
299
 
293
- export { HistoryGroup, createCollaborationDocumentPort, historyGroupOfJournal, mapOffsetAcrossText, registerUndoHistoryPosition };
300
+ export { HistoryGroup, createCollaborationDocumentPort, historyGroupOfJournal, isJournalOutsideUndo, mapOffsetAcrossText, registerUndoHistoryPosition };
294
301
  export type { CanonicalAttributeName, CanonicalBinaryDescriptor, CanonicalElementNodeDescriptor, CanonicalNodeDescriptor, CanonicalPrimitiveEffect, CanonicalPrimitiveJournal, CanonicalRelationshipRecord, CanonicalTextNodeDescriptor, CollaborationApplyResult, CollaborationDocumentPort, CollaborationMutation, CollaborationParagraph, CollaborationParagraphTextUpdate, CreateCollaborationDocumentPortOptions };
@@ -1 +1 @@
1
- export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-2DR4TH6B.js';export{Qa as historyGroupOfJournal,on as registerUndoHistoryPosition,nn as reportHistoryGroup}from'../chunk-AU33YWEJ.js';
1
+ export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-EVTBNATS.js';export{Qa as historyGroupOfJournal,Ra as isJournalOutsideUndo,Hn as registerUndoHistoryPosition,Gn as reportHistoryGroup}from'../chunk-KDA6HKHR.js';
@@ -7,8 +7,8 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- import { S as StoryScope } from './tree-package-store-DXhX1PE-.js';
11
- import { au as TreeDocOp } from './tree-op-types-Df4oY2u4.js';
10
+ import { S as StoryScope } from './tree-package-store-Cl3BkWXF.js';
11
+ import { au as TreeDocOp } from './tree-op-types-DKvJSH8T.js';
12
12
  import { CollaborationDocumentPort } from './collaboration/replication.js';
13
13
  import { a as CollaborationStatus, b as CollaborationStatusSnapshot, C as CollaborationFailureCode } from './failure-6KGFrDO9.js';
14
14
  export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-6KGFrDO9.js';
@@ -13,8 +13,8 @@
13
13
  * @packageDocumentation
14
14
  * @public
15
15
  */
16
- import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../tree-op-types-Df4oY2u4.js';
17
- export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, G as ParagraphTabStop, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, 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, V as RevisionSiteRefusal, W as RevisionType, X as Run, Y as Section, Z as SectionProperties, _ as StyleDefinition, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme } from '../tree-op-types-Df4oY2u4.js';
16
+ import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../tree-op-types-DKvJSH8T.js';
17
+ export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, G as ParagraphTabStop, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, 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, V as RevisionSiteRefusal, W as RevisionType, X as Run, Y as Section, Z as SectionProperties, _ as StyleDefinition, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme } from '../tree-op-types-DKvJSH8T.js';
18
18
  export { H as HistoryGroupOutcome } from '../editor-scope-CA6egMaK.js';
19
19
 
20
20
  /**
@@ -7,18 +7,18 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-OVusTS77.js';
10
+ export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-DwFhgIR0.js';
11
11
  export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './types.js';
12
- export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as ClearAnchorHighlightOptions, h as CollaborationParticipantsDiagnostic, i as CollaborationStatusDiagnostic, j as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, k as DiagnosticBase, l as DiagnosticFailureDetail, m as DocumentChange, n as DocumentEditingMode, o as DocumentHandle, p as DocumentOpenDiagnostic, q as DocumentOpenFailure, r as DocumentOpenFailureReason, s as DocumentSaveDiagnostic, t as DocumentShape, u as DocumentSource, v as EditRejectedDiagnostic, w as EditRejectionOrigin, x as Editor, y as EditorAnchorNavigation, z as EditorBookmarkCommands, b as EditorCommand, F as EditorCommandShape, G as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, H as EditorError, I as EditorEvents, J as EditorFontError, K as EditorFormatPainterCommands, L as EditorHeaderFooterCommands, M as EditorHighlights, N as EditorHostChange, O as EditorHostDocument, P as EditorNoteCommands, Q as EditorPosition, R as EditorQueries, S as EditorQuery, T as EditorQueryResults, U as EditorReviewHits, V as EditorSelection, W as EditorSnapshot, X as FontFailedDiagnostic, Y as FormatPainterLevel, Z as FormatPainterMode, _ as FormatPainterSurfaceState, $ as FurnitureVariant, a0 as HeaderFooterSlotArgs, a1 as HeaderFooterState, a2 as HighlightHit, a3 as HighlightOptions, a4 as HighlightRange, a5 as HighlightRect, a6 as HighlightResult, a7 as HistoryDiagnosticEvent, a8 as HyperlinkInfo, a9 as ImageContext, aa as ImageCropPercent, ab as NoteKind, ac as NotePropertiesSide, ad as NotePropertiesState, ae as PageSetup, af as PerformanceDiagnostic, ag as ResolveReviewChangesOptions, ah as ResolvedNoteNumbering, ai as ReviewActivationOptions, aj as ReviewChangesAttribution, ak as ReviewChangesResolvedEvent, al as ReviewCommentPlacement, am as ReviewCustomPlacement, an as ReviewItemHit, ao as ReviewItemPlacement, ap as ReviewItemPlacementBase, aq as ReviewItemQuery, ar as ReviewItemRevealEvent, as as ReviewItemRevealSource, at as ReviewRevisionPlacement, au as ReviewSkippedDiagnostic, av as ScrollPlacement, aw as ScrollToAnchorOptions, ax as SelectedImageState, ay as SessionActivity, az as SessionDiagnostic, aA as SetReviewChangesAuthorOptions, aB as TableBorderEdgeTarget, aC as TableBorderSpec, aD as TableBorderStyle, aE as TableBorderTarget, aF as TableCellVerticalAlignment, aG as TableColumnDividerResizeTarget, aH as TableColumnOccurrenceTarget, aI as TableContext, aJ as TableRightEdgeResizeTarget, aK as TableRowOccurrenceTarget, aL as TextMatch, aM as TimingSummary, aN as TrackedChangeFilterMode, aO as TrackedChangePredicate, aP as ZoomFitTarget, aQ as ZoomMode } from '../editor-B7OOAAie.js';
12
+ export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as ClearAnchorHighlightOptions, h as CollaborationParticipantsDiagnostic, i as CollaborationStatusDiagnostic, j as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, k as DiagnosticBase, l as DiagnosticFailureDetail, m as DocumentChange, n as DocumentEditingMode, o as DocumentHandle, p as DocumentOpenDiagnostic, q as DocumentOpenFailure, r as DocumentOpenFailureReason, s as DocumentSaveDiagnostic, t as DocumentShape, u as DocumentSource, v as EditRejectedDiagnostic, w as EditRejectionOrigin, x as Editor, y as EditorAnchorNavigation, z as EditorBookmarkCommands, b as EditorCommand, F as EditorCommandShape, G as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, H as EditorError, I as EditorEvents, J as EditorFontError, K as EditorFormatPainterCommands, L as EditorHeaderFooterCommands, M as EditorHighlights, N as EditorHostChange, O as EditorHostDocument, P as EditorNoteCommands, Q as EditorPosition, R as EditorQueries, S as EditorQuery, T as EditorQueryResults, U as EditorReviewHits, V as EditorSelection, W as EditorSnapshot, X as FontFailedDiagnostic, Y as FormatPainterLevel, Z as FormatPainterMode, _ as FormatPainterSurfaceState, $ as FurnitureVariant, a0 as HeaderFooterSlotArgs, a1 as HeaderFooterState, a2 as HighlightHit, a3 as HighlightOptions, a4 as HighlightRange, a5 as HighlightRect, a6 as HighlightResult, a7 as HistoryDiagnosticEvent, a8 as HyperlinkInfo, a9 as ImageContext, aa as ImageCropPercent, ab as NoteKind, ac as NotePropertiesSide, ad as NotePropertiesState, ae as PageSetup, af as PerformanceDiagnostic, ag as ResolveReviewChangesOptions, ah as ResolvedNoteNumbering, ai as ReviewActivationOptions, aj as ReviewChangesAttribution, ak as ReviewChangesResolvedEvent, al as ReviewCommentPlacement, am as ReviewCustomPlacement, an as ReviewItemHit, ao as ReviewItemPlacement, ap as ReviewItemPlacementBase, aq as ReviewItemQuery, ar as ReviewItemRevealEvent, as as ReviewItemRevealSource, at as ReviewRevisionPlacement, au as ReviewSkippedDiagnostic, av as ScrollPlacement, aw as ScrollToAnchorOptions, ax as SelectedImageState, ay as SessionActivity, az as SessionDiagnostic, aA as SetReviewChangesAuthorOptions, aB as TableBorderEdgeTarget, aC as TableBorderSpec, aD as TableBorderStyle, aE as TableBorderTarget, aF as TableCellVerticalAlignment, aG as TableColumnDividerResizeTarget, aH as TableColumnOccurrenceTarget, aI as TableContext, aJ as TableInteractionLabelKey, aK as TableRightEdgeResizeTarget, aL as TableRowOccurrenceTarget, aM as TextMatch, aN as TimingSummary, aO as TrackedChangeFilterMode, aP as TrackedChangePredicate, aQ as ZoomFitTarget, aR as ZoomMode } from '../editor-DDCkWqfD.js';
13
13
  export { E as EditorFontErrorCode, F as FontConfiguration, a as FontFaceRequest, b as FontSource, c as FontSourceSubstitution } from '../editor-fonts-D_-vjuJi.js';
14
- export { B as Block, r as ColorValue, C as CommentRecord, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, a7 as DrawingHorizontalReferenceFrame, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, ab as DrawingVerticalReferenceFrame, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, af as ImageResourceState, ag as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, aj as PreservedImageMime, ak as Rect, al as RenderableImageMime, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, an as SupportedImageMime, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ap as ValidatedImageBytesHandle, aq as VectorImageMime, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-Df4oY2u4.js';
14
+ export { B as Block, r as ColorValue, C as CommentRecord, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, a7 as DrawingHorizontalReferenceFrame, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, ab as DrawingVerticalReferenceFrame, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, af as ImageResourceState, ag as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, aj as PreservedImageMime, ak as Rect, al as RenderableImageMime, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, an as SupportedImageMime, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ap as ValidatedImageBytesHandle, aq as VectorImageMime, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-DKvJSH8T.js';
15
15
  export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
16
16
  export { a as EditorExecOptions, E as EditorScope, b as HistoryDiagnostic, c as HistoryGroup, d as HistoryGroupOptions, H as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-CA6egMaK.js';
17
17
  export { InteractionAffinity, InteractionOutcome, InteractionOutcomeCode, SemanticIdentity, SemanticTarget } from './interaction.js';
18
- export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-BbA4dgEo.js';
19
- export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-BvbpSXbQ.js';
18
+ export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-QeuzEtAk.js';
19
+ export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-DdWxihIN.js';
20
20
  export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
21
- export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, a as CountBucket, b as CustomNodeDiagnosticCode, D as DiagnosticCode, c as DiagnosticErrorName, d as DiagnosticExplanation, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, j as ReviewChangeKind, R as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-BtCaCqQC.js';
22
- import '../semantic-records-DoK0lNjS.js';
23
- import '../drawing-graphic-kind-CXYGYbB3.js';
24
- import '../tree-package-store-DXhX1PE-.js';
21
+ export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, a as CountBucket, b as CustomNodeDiagnosticCode, D as DiagnosticCode, c as DiagnosticErrorName, d as DiagnosticExplanation, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, j as ReviewChangeKind, R as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-BTyb8yzX.js';
22
+ import '../semantic-records-CzZiWMY8.js';
23
+ import '../drawing-graphic-kind-CK0cMc7H.js';
24
+ import '../tree-package-store-Cl3BkWXF.js';
@@ -17,24 +17,24 @@
17
17
  * @packageDocumentation
18
18
  * @public
19
19
  */
20
- import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-OVusTS77.js';
21
- export { b as RevisionDisplayMode } from '../revision-projection-OVusTS77.js';
20
+ import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-DwFhgIR0.js';
21
+ export { b as RevisionDisplayMode } from '../revision-projection-DwFhgIR0.js';
22
22
  import { ReviewPaneOptions } from './types.js';
23
- import { E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-B7OOAAie.js';
24
- import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../tree-op-types-Df4oY2u4.js';
25
- export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../tree-op-types-Df4oY2u4.js';
23
+ import { E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-DDCkWqfD.js';
24
+ import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../tree-op-types-DKvJSH8T.js';
25
+ export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../tree-op-types-DKvJSH8T.js';
26
26
  import { CollaborationModuleContribution } from '../collaboration.js';
27
27
  import '../failure-6KGFrDO9.js';
28
- import '../document-protection-BvbpSXbQ.js';
28
+ import '../document-protection-DdWxihIN.js';
29
29
  import '../editor-scope-CA6egMaK.js';
30
30
  import '../editor-fonts-D_-vjuJi.js';
31
- import '../diagnostic-hints-BtCaCqQC.js';
31
+ import '../diagnostic-hints-BTyb8yzX.js';
32
32
  import './document.js';
33
33
  import './interaction.js';
34
- import '../semantic-interaction-BbA4dgEo.js';
35
- import '../semantic-records-DoK0lNjS.js';
36
- import '../drawing-graphic-kind-CXYGYbB3.js';
37
- import '../tree-package-store-DXhX1PE-.js';
34
+ import '../semantic-interaction-QeuzEtAk.js';
35
+ import '../semantic-records-CzZiWMY8.js';
36
+ import '../drawing-graphic-kind-CK0cMc7H.js';
37
+ import '../tree-package-store-Cl3BkWXF.js';
38
38
  import '../collaboration/replication.js';
39
39
 
40
40
  /**
@@ -7,10 +7,10 @@
7
7
  * @packageDocumentation
8
8
  * @public
9
9
  */
10
- export { B as Block, r as ColorValue, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, ak as Rect, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-Df4oY2u4.js';
10
+ export { B as Block, r as ColorValue, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, a6 as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, ak as Rect, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-DKvJSH8T.js';
11
11
  export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
12
- export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-OVusTS77.js';
13
- export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-BvbpSXbQ.js';
12
+ export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-DwFhgIR0.js';
13
+ export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-DdWxihIN.js';
14
14
  export { H as HistoryGroupOutcome } from '../editor-scope-CA6egMaK.js';
15
15
 
16
16
  /**
@@ -1,5 +1,5 @@
1
- import { a5 as OoxmlPackage, O as OoxmlPart, a4 as OoxmlNode, aE as RevisionAttributionInput, aF as TreeOpRejection } from './tree-op-types-Df4oY2u4.js';
2
- import { c as TreeModelChange, d as TreeDocumentStore } from './tree-package-store-DXhX1PE-.js';
1
+ import { a5 as OoxmlPackage, O as OoxmlPart, av as OoxmlElement, a4 as OoxmlNode, aE as RevisionAttributionInput, aF as TreeOpRejection } from './tree-op-types-DKvJSH8T.js';
2
+ import { c as TreeModelChange, d as TreeDocumentStore } from './tree-package-store-Cl3BkWXF.js';
3
3
 
4
4
  /** Which of a family's four faces an embedded font relationship supplies. */
5
5
  type FontStyleKey = 'regular' | 'bold' | 'italic' | 'boldItalic';
@@ -47,6 +47,38 @@ declare function readEmbeddedFonts(pkg: OoxmlPackage, fontTable: OoxmlPart | und
47
47
 
48
48
  /** The two list kinds a toolbar offers. */
49
49
  type ListKind = 'bullet' | 'ordered';
50
+ /**
51
+ * Where one level puts its marker and text, in twips, as the list being converted resolved it.
52
+ *
53
+ * Switching a list item between bullets and numbers changes what the marker SAYS, never
54
+ * where the item sits. A field left out is one the old level did not state, so the new level
55
+ * does not state it either and the paragraph style's value keeps applying.
56
+ */
57
+ interface ListLevelGeometry {
58
+ /** `w:left`: the leading indent of the text, in either paragraph direction. */
59
+ readonly left?: number;
60
+ /** `w:right`: the trailing indent. */
61
+ readonly right?: number;
62
+ /** `w:hanging`; exclusive with {@link firstLine}, and preferred when both are given. */
63
+ readonly hanging?: number;
64
+ /** `w:firstLine`: how far the first line starts past the leading indent. */
65
+ readonly firstLine?: number;
66
+ /** `w:suff`: what separates the marker from the text. Omitted means a tab. */
67
+ readonly suffix?: 'tab' | 'space' | 'nothing';
68
+ /** `w:lvlJc`: how the marker aligns at its position. */
69
+ readonly align?: 'left' | 'center' | 'right';
70
+ /**
71
+ * The old level's own `w:pPr`, carried for everything it states besides the indent above:
72
+ * direction (`w:bidi`), tab stops, spacing and alignment move the item as surely as `w:ind`.
73
+ * Must be a node of this package's numbering part; it is copied, never shared.
74
+ */
75
+ readonly paragraphProperties?: OoxmlElement;
76
+ }
77
+ /**
78
+ * Geometry for each of the nine levels, indexed by `w:ilvl`. A missing entry takes the stock
79
+ * geometry, which is what a level the old list never declared would have been given anyway.
80
+ */
81
+ type ListDefinitionGeometry = readonly (ListLevelGeometry | undefined)[];
50
82
  interface EnsuredListDefinition {
51
83
  readonly pkg: OoxmlPackage;
52
84
  /** The `w:numId` a paragraph's `w:numPr` should name. */
@@ -56,10 +88,16 @@ interface EnsuredListDefinition {
56
88
  * Find or create a list definition of `kind`, returning the package that holds it.
57
89
  *
58
90
  * An existing abstract definition of the same kind is reused, but every disconnected list
59
- * gets a fresh `w:num` instance. Counters belong to `w:num`, so reusing that instance would
60
- * continue an earlier list. Returns null only when the part cannot be built at all.
91
+ * gets a fresh `w:num` instance. Counters belong to the abstract definition, shared by every
92
+ * `w:num` over it, so the fresh instance restarts each level with a
93
+ * `w:startOverride` (see {@link restartOverridesXml}). Returns null only when the part cannot
94
+ * be built at all.
95
+ *
96
+ * With `geometry`, the definition is the one a list item SWITCHING kind needs: `kind`'s
97
+ * markers at the positions its old list gave each level, so the item does not move. Only a
98
+ * definition with exactly those levels is reused; any other one is created.
61
99
  */
62
- declare function ensureListDefinition(pkg: OoxmlPackage, kind: ListKind): EnsuredListDefinition | null;
100
+ declare function ensureListDefinition(pkg: OoxmlPackage, kind: ListKind, geometry?: ListDefinitionGeometry): EnsuredListDefinition | null;
63
101
  /**
64
102
  * Declare `level` in the definition `numId` names, with Word's default format for that
65
103
  * level, or refuse.
@@ -324,5 +362,5 @@ type CustomNodeSweepOutcome = {
324
362
  readonly reason: string;
325
363
  };
326
364
 
327
- export { MAX_CUSTOM_NODE_LABEL_LENGTH as M, NO_TRACKING_SETTINGS as N, MAX_CUSTOM_NODE_PAYLOAD_LENGTH as g, buildBookmarkIndex as h, customNodePayloadsByControl as i, customNodePayloadsOf as j, deobfuscateFont as k, ensureListDefinition as l, ensureNumberingLevel as m, insertCustomNodeWrite as n, readTrackingSettings as o, removeCustomNodeWrite as p, readEmbeddedFonts as r, sweepCustomNodePayloads as s };
328
- export type { BookmarkIndex as B, CustomNodeWriteResult as C, DocumentTrackingSettings as D, EmbeddedFont as E, FontStyleKey as F, InsertCustomNodeWrite as I, ListKind as L, ReadEmbeddedFontsOptions as R, CustomNodeSweepOutcome as a, BookmarkAnchor as b, CustomNodePayloadRead as c, CustomNodePayloadWrite as d, CustomNodeSweepResult as e, CustomNodeWriteRejection as f };
365
+ export { MAX_CUSTOM_NODE_LABEL_LENGTH as M, NO_TRACKING_SETTINGS as N, MAX_CUSTOM_NODE_PAYLOAD_LENGTH as i, buildBookmarkIndex as j, customNodePayloadsByControl as k, customNodePayloadsOf as l, deobfuscateFont as m, ensureListDefinition as n, ensureNumberingLevel as o, insertCustomNodeWrite as p, readTrackingSettings as q, readEmbeddedFonts as r, removeCustomNodeWrite as s, sweepCustomNodePayloads as t };
366
+ export type { BookmarkIndex as B, CustomNodeWriteResult as C, DocumentTrackingSettings as D, EmbeddedFont as E, FontStyleKey as F, InsertCustomNodeWrite as I, ListKind as L, ReadEmbeddedFontsOptions as R, CustomNodeSweepOutcome as a, ListDefinitionGeometry as b, BookmarkAnchor as c, CustomNodePayloadRead as d, CustomNodePayloadWrite as e, CustomNodeSweepResult as f, CustomNodeWriteRejection as g, ListLevelGeometry as h };
@@ -1,4 +1,4 @@
1
- import { R as ReviewDiagnosticCode, B as ByteSizeBucket, a as CountBucket, e as DocumentOpenDiagnosticCode, E as EditDiagnosticCode, c as DiagnosticErrorName, f as DocumentPartKind } from './diagnostic-hints-BtCaCqQC.js';
1
+ import { R as ReviewDiagnosticCode, B as ByteSizeBucket, a as CountBucket, e as DocumentOpenDiagnosticCode, E as EditDiagnosticCode, c as DiagnosticErrorName, f as DocumentPartKind } from './diagnostic-hints-BTyb8yzX.js';
2
2
 
3
3
  /**
4
4
  * The public code for a refused open. `too-large` is the one reason two layers share: the
@@ -16,7 +16,7 @@ type DocumentOpenDiagnosticCode = 'open.unsupported-source' | 'open.zip-corrupt'
16
16
  */
17
17
  type DocumentSaveDiagnosticCode = 'save.no-document' | 'save.document-changed' | 'save.failed';
18
18
  /** Why an edit, a command or a tracked change was refused. @public */
19
- type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.comment-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.tracked-deleted-text-only' | 'edit.tracked-foreign-revision-unsupported' | 'edit.tracked-own-pending-change' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.field-unsupported' | 'edit.field-result-unsupported' | 'edit.ooxml-unsupported' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-merge-not-rectangle' | 'edit.table-split-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.preview-active' | 'edit.preview-unsupported' | 'edit.preview-composing' | 'edit.preview-diverged' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
19
+ type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.comment-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.tracked-deleted-text-only' | 'edit.tracked-foreign-revision-unsupported' | 'edit.tracked-own-pending-change' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.field-unsupported' | 'edit.field-result-unsupported' | 'edit.ooxml-unsupported' | 'edit.style-not-defined' | 'edit.no-styles-defined' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-merge-not-rectangle' | 'edit.table-split-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.preview-active' | 'edit.preview-unsupported' | 'edit.preview-composing' | 'edit.preview-diverged' | 'edit.read-after-commit' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
20
20
  /** Why accepting, rejecting or re-authoring a tracked change skipped an item. @public */
21
21
  type ReviewDiagnosticCode = 'review.revision-unsupported' | 'review.incomplete-group' | 'review.retained-structure' | 'review.locked-content' | 'review.bound-content' | 'review.stale-revision';
22
22
  /** Why a font did not load. The family name is never reported. @public */
@@ -1,4 +1,4 @@
1
- import { a4 as OoxmlNode } from './tree-op-types-Df4oY2u4.js';
1
+ import { a4 as OoxmlNode } from './tree-op-types-DKvJSH8T.js';
2
2
 
3
3
  /** `ST_DocProtect`: the restriction a document asks for. `none` also stands for "no element". */
4
4
  type DocumentProtectionEdit = 'none' | 'readOnly' | 'comments' | 'trackedChanges' | 'forms';
@@ -1,19 +1,6 @@
1
- import { aG as OoxmlNodeId, ax as OoxmlGenericElementNode, a4 as OoxmlNode, a5 as OoxmlPackage, O as OoxmlPart, av as OoxmlElement, aA as OoxmlPackageRejection } from './tree-op-types-Df4oY2u4.js';
2
- import { e as HeaderFooterParts, f as HeaderFooterSectionResolution, T as TreePackageStore } from './tree-package-store-DXhX1PE-.js';
1
+ import { aG as OoxmlNodeId, ax as OoxmlGenericElementNode, a4 as OoxmlNode, a5 as OoxmlPackage, O as OoxmlPart, av as OoxmlElement, aA as OoxmlPackageRejection } from './tree-op-types-DKvJSH8T.js';
2
+ import { e as HeaderFooterParts, f as HeaderFooterSectionResolution, T as TreePackageStore } from './tree-package-store-Cl3BkWXF.js';
3
3
 
4
- /** Office Math Markup Language namespace. */
5
- declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
6
- declare const DEFAULT_OMML_LIMITS: Readonly<{
7
- maxDepth: 24;
8
- maxNodes: 256;
9
- maxTextLength: 512;
10
- }>;
11
- /** Shared work limits for untrusted OMML and linear-math input. */
12
- interface OmmlLimits {
13
- readonly maxDepth?: number;
14
- readonly maxNodes?: number;
15
- readonly maxTextLength?: number;
16
- }
17
4
  /**
18
5
  * Marks a structure whose property element carries `m:ctrlPr` operator run formatting that
19
6
  * compact replacement cannot reproduce.
@@ -26,6 +13,17 @@ interface OmmlLimits {
26
13
  interface EquationControlSource {
27
14
  /** The structure carries non-default `m:ctrlPr` properties, so compact replacement refuses it. */
28
15
  readonly controlProperties?: true;
16
+ /**
17
+ * Font size of the structure, in points. The source is the `w:sz` value of the run
18
+ * properties in the structure's `m:ctrlPr`, which counts half-points.
19
+ *
20
+ * Layout sizes script offsets and bar strokes and gaps from this size, not from the size of
21
+ * the runs inside the structure. When it is not set, those use the size of the text around
22
+ * the equation. A script or fraction after the first atom of the equation takes its offsets
23
+ * from the size of that first atom instead. Set whether or not the control properties are
24
+ * default. Radicals and n-ary operators with limits below and above do not use it yet.
25
+ */
26
+ readonly controlFontSizePt?: number;
29
27
  }
30
28
  type EquationExpression = {
31
29
  readonly kind: 'row';
@@ -33,8 +31,32 @@ type EquationExpression = {
33
31
  } | {
34
32
  readonly kind: 'text';
35
33
  readonly value: string;
34
+ /**
35
+ * Authored font size of the run, in points. The source is the `w:sz` value of the
36
+ * run properties (`w:rPr`), which counts half-points.
37
+ *
38
+ * Set only when every run of the equation holds the same default math formatting: the
39
+ * Cambria Math font, italic, one size, and at most a language. Such runs have no
40
+ * `format`, so compact replacement stays available and writes the same `w:rPr` back.
41
+ * Otherwise the size is in `format.fontSizePt`. When neither field is set, the text
42
+ * takes the size of the surrounding text. To read the size of any text expression,
43
+ * use `format?.fontSizePt ?? fontSizePt`.
44
+ */
45
+ readonly fontSizePt?: number;
46
+ /**
47
+ * Source formatting of the run. Set when the run has its own supported formatting and
48
+ * the equation does not use the uniform default math formatting. Compact replacement
49
+ * refuses an equation that has a text expression with a `format`, because it cannot
50
+ * write that formatting back.
51
+ */
36
52
  readonly format?: {
37
53
  readonly fontFamily?: string;
54
+ /**
55
+ * Authored font size of the run, in points. The source is the `w:sz` value of the
56
+ * run properties (`w:rPr`), which counts half-points. Set when the run has a
57
+ * `format` and a `w:sz`. The top-level `fontSizePt` is not set in that case.
58
+ */
59
+ readonly fontSizePt?: number;
38
60
  readonly bold?: boolean;
39
61
  readonly italic?: boolean;
40
62
  readonly literal?: boolean;
@@ -60,14 +82,64 @@ type EquationExpression = {
60
82
  readonly superscript?: EquationExpression;
61
83
  } & EquationControlSource) | ({
62
84
  readonly kind: 'nary';
85
+ /** The operator character from `m:chr`, or `∫` when the source names none. */
63
86
  readonly operator: string;
64
87
  readonly body: EquationExpression;
65
88
  readonly lowerLimit?: EquationExpression;
66
89
  readonly upperLimit?: EquationExpression;
90
+ /**
91
+ * Where the limits sit, from `m:limLoc`: `undOvr` below and above the operator, `subSup`
92
+ * to its right as a subscript and superscript. Not set when the source names none.
93
+ * Inline equations place the limits to the right either way. An `m:oMath` alone in its
94
+ * paragraph is a display equation, as an `m:oMathPara` is, and follows this location.
95
+ */
96
+ readonly limitLocation?: 'undOvr' | 'subSup';
97
+ } & EquationControlSource) | ({
98
+ /**
99
+ * `m:borderBox`: the body inside a rectangle. A hidden edge draws no rule and keeps no
100
+ * gap. Strikes cross the box horizontally, vertically, or along a diagonal.
101
+ */
102
+ readonly kind: 'borderBox';
103
+ readonly body: EquationExpression;
104
+ readonly hidden: EquationBoxEdges;
105
+ readonly strikes: EquationBoxStrikes;
67
106
  } & EquationControlSource) | {
68
107
  readonly kind: 'fallback';
69
108
  readonly text: string;
70
109
  };
110
+ /** The edges of an `m:borderBox` that its properties hide. */
111
+ interface EquationBoxEdges {
112
+ readonly top: boolean;
113
+ readonly bottom: boolean;
114
+ readonly left: boolean;
115
+ readonly right: boolean;
116
+ }
117
+ /** The strikes an `m:borderBox` draws across its body. */
118
+ interface EquationBoxStrikes {
119
+ /** `m:strikeH`: a horizontal line through the centre. */
120
+ readonly horizontal: boolean;
121
+ /** `m:strikeV`: a vertical line through the centre. */
122
+ readonly vertical: boolean;
123
+ /** `m:strikeBLTR`: from the bottom-left corner to the top-right corner. */
124
+ readonly bottomLeftToTopRight: boolean;
125
+ /** `m:strikeTLBR`: from the top-left corner to the bottom-right corner. */
126
+ readonly topLeftToBottomRight: boolean;
127
+ }
128
+
129
+ /** Office Math Markup Language namespace. */
130
+ declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
131
+ declare const DEFAULT_OMML_LIMITS: Readonly<{
132
+ maxDepth: 24;
133
+ maxNodes: 256;
134
+ maxTextLength: 512;
135
+ }>;
136
+ /** Shared work limits for untrusted OMML and linear-math input. */
137
+ interface OmmlLimits {
138
+ readonly maxDepth?: number;
139
+ readonly maxNodes?: number;
140
+ readonly maxTextLength?: number;
141
+ }
142
+
71
143
  interface OmmlEquationProjection {
72
144
  readonly sourceNodeId: OoxmlNodeId;
73
145
  readonly expression: EquationExpression;
@@ -76,7 +148,8 @@ interface OmmlEquationProjection {
76
148
  readonly visitedNodes: number;
77
149
  /**
78
150
  * The font size, in points, that every run of the equation shares through default run
79
- * properties (`w:sz`). Absent, the equation takes the size of the surrounding text.
151
+ * properties (`w:sz`). Individual run sizes remain on their text expressions. Without a
152
+ * shared size, structural spacing takes the size of the surrounding text.
80
153
  */
81
154
  readonly fontSizePt?: number;
82
155
  }
@@ -320,5 +393,5 @@ type DrawingSupport = 'native' | 'partial' | 'unrendered';
320
393
  */
321
394
  type DrawingGraphicKind = 'picture' | 'chart' | 'diagram' | 'shape' | 'group' | 'textbox' | 'canvas' | 'graphic';
322
395
 
323
- export { DEFAULT_OMML_LIMITS as e, OFFICE_MATH_NAMESPACE_URI as k, authorableHyperlinkTarget as n, ensureHyperlinkRelationship as o, equationExpressionToLinearMath as p, headlessViewOfStore as q, linearMathToOmml as r, openHeadlessDocument as s, parseLinearMath as t, projectOmmlEquation as u, relationshipTargetIn as v };
324
- export type { DrawingGraphicKind as D, EnsuredHyperlinkRelationship as E, HeadlessDocumentView as H, LinearMathOmmlResult as L, OmmlEquationProjection as O, DrawingSupport as a, DrawingSupportIssue as b, DocumentProperties as c, HeadlessDocumentRejection as d, EquationControlSource as f, EquationExpression as g, HeadlessThemeFonts as h, LinearMathParseResult as i, LinearMathRejection as j, OmmlLimits as l, OpenHeadlessDocumentResult as m };
396
+ export { DEFAULT_OMML_LIMITS as e, OFFICE_MATH_NAMESPACE_URI as m, authorableHyperlinkTarget as p, ensureHyperlinkRelationship as q, equationExpressionToLinearMath as r, headlessViewOfStore as s, linearMathToOmml as t, openHeadlessDocument as u, parseLinearMath as v, projectOmmlEquation as w, relationshipTargetIn as x };
397
+ export type { DrawingGraphicKind as D, EnsuredHyperlinkRelationship as E, HeadlessDocumentView as H, LinearMathOmmlResult as L, OmmlEquationProjection as O, DrawingSupport as a, DrawingSupportIssue as b, DocumentProperties as c, HeadlessDocumentRejection as d, EquationBoxEdges as f, EquationBoxStrikes as g, EquationControlSource as h, EquationExpression as i, HeadlessThemeFonts as j, LinearMathParseResult as k, LinearMathRejection as l, OmmlLimits as n, OpenHeadlessDocumentResult as o };
@@ -1,4 +1,4 @@
1
- import { a5 as OoxmlPackage } from './tree-op-types-Df4oY2u4.js';
1
+ import { a5 as OoxmlPackage } from './tree-op-types-DKvJSH8T.js';
2
2
 
3
3
  /** The longest name a bookmark is written with. */
4
4
  declare const MAX_AUTHORED_BOOKMARK_NAME_LENGTH = 40;
@@ -1,13 +1,13 @@
1
- import { d as ResolvedRevisionMarkup, a as ReviewDisplayMode } from './revision-projection-OVusTS77.js';
1
+ import { d as ResolvedRevisionMarkup, a as ReviewDisplayMode } from './revision-projection-DwFhgIR0.js';
2
2
  import { ResolvedReviewPane } from './contracts/types.js';
3
3
  import { V as ViewScope, b as HistoryDiagnostic, c as HistoryGroup, a as EditorExecOptions, E as EditorScope, d as HistoryGroupOptions } from './editor-scope-CA6egMaK.js';
4
4
  import { E as EditorFontErrorCode, a as FontFaceRequest } from './editor-fonts-D_-vjuJi.js';
5
- import { T as RevisionBatchSkipDetail, t as DocAnchor, g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem, aT as SourceCrop, a8 as DrawingKind, ag as ImageWrapTarget, aa as DrawingPositionInput, a9 as DrawingLocks, af as ImageResourceState, r as ColorValue, x as ExecErrorCode, ah as ParagraphFormatCommand, an as SupportedImageMime, ar as Watermark, E as ExecResult, at as WatermarkState, n as ContentControlFilter, o as DocRange, k as RunFormatting, p as Revision, ak as Rect, am as SelectionPin, ao as Unsubscribe } from './tree-op-types-Df4oY2u4.js';
6
- import { C as CollaborationDiagnosticCode, b as CustomNodeDiagnosticCode, c as DiagnosticErrorName, F as FailureStage, B as ByteSizeBucket, a as CountBucket, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, R as ReviewDiagnosticCode, k as ReviewOperation, j as ReviewChangeKind, i as FormattingChangeKind, h as FontDiagnosticCode, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode } from './diagnostic-hints-BtCaCqQC.js';
5
+ import { T as RevisionBatchSkipDetail, t as DocAnchor, g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem, aT as SourceCrop, a8 as DrawingKind, ag as ImageWrapTarget, aa as DrawingPositionInput, a9 as DrawingLocks, af as ImageResourceState, r as ColorValue, x as ExecErrorCode, ah as ParagraphFormatCommand, an as SupportedImageMime, ar as Watermark, E as ExecResult, at as WatermarkState, n as ContentControlFilter, o as DocRange, k as RunFormatting, p as Revision, ak as Rect, am as SelectionPin, ao as Unsubscribe } from './tree-op-types-DKvJSH8T.js';
6
+ import { C as CollaborationDiagnosticCode, b as CustomNodeDiagnosticCode, c as DiagnosticErrorName, F as FailureStage, B as ByteSizeBucket, a as CountBucket, e as DocumentOpenDiagnosticCode, f as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, R as ReviewDiagnosticCode, k as ReviewOperation, j as ReviewChangeKind, i as FormattingChangeKind, h as FontDiagnosticCode, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode } from './diagnostic-hints-BTyb8yzX.js';
7
7
  import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.js';
8
8
  import { InteractionOutcome } from './contracts/interaction.js';
9
- import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-BbA4dgEo.js';
10
- import { a as DocumentProtectionState } from './document-protection-BvbpSXbQ.js';
9
+ import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-QeuzEtAk.js';
10
+ import { a as DocumentProtectionState } from './document-protection-DdWxihIN.js';
11
11
  import { a as CollaborationStatus } from './failure-6KGFrDO9.js';
12
12
 
13
13
  /**
@@ -1206,7 +1206,11 @@ interface AuthoredNoteNumbering {
1206
1206
  readonly numStart?: number;
1207
1207
  readonly numRestart?: string;
1208
1208
  }
1209
- /** Resolved note-numbering fields after document/section cascade. */
1209
+ /**
1210
+ * Resolved note-numbering fields for one section. Numbering and the footnote position come
1211
+ * from the section's own properties and the defaults; the endnote position comes from the
1212
+ * document settings.
1213
+ */
1210
1214
  interface ResolvedNoteNumbering {
1211
1215
  readonly pos: string;
1212
1216
  readonly numFmt: string;
@@ -1216,7 +1220,12 @@ interface ResolvedNoteNumbering {
1216
1220
  /** One note kind's resolved + authored properties for the caret section. */
1217
1221
  interface NotePropertiesSide {
1218
1222
  readonly resolved: ResolvedNoteNumbering;
1223
+ /**
1224
+ * The document settings (settings.xml) values. Only the endnote `pos` affects `resolved`;
1225
+ * the other fields are kept for files that carry them.
1226
+ */
1219
1227
  readonly documentAuthored?: AuthoredNoteNumbering;
1228
+ /** The caret section's own values, which set numbering and the footnote position. */
1220
1229
  readonly sectionAuthored?: AuthoredNoteNumbering;
1221
1230
  }
1222
1231
  /** Resolved and authored note properties for the caret section — properties dialog read-model. */
@@ -1316,8 +1325,17 @@ interface EditorNoteCommands {
1316
1325
  fromKind: NoteKind;
1317
1326
  };
1318
1327
  /**
1319
- * Footnote and endnote properties for the section — numbering format, restart rule
1320
- * and position, as Word's dialog offers them.
1328
+ * Footnote and endnote properties: numbering format, start value, restart rule and
1329
+ * position.
1330
+ *
1331
+ * - `scope: 'document'` (the default) writes every section and the document settings.
1332
+ * - `scope: 'section'` writes the `sectionIndex` section.
1333
+ * - The endnote `position` applies to the whole document, so it always goes to the document
1334
+ * settings, in either scope, and never to a section.
1335
+ * - Fields you omit keep each section's value. A value equal to the default is not added
1336
+ * where nothing authors the field, so applying the values a section already shows
1337
+ * leaves the document unchanged.
1338
+ * - The write is not tracked in suggesting mode, like other section property writes.
1321
1339
  */
1322
1340
  setNoteProperties: {
1323
1341
  scope?: 'document' | 'section';
@@ -1683,6 +1701,9 @@ interface TableColumnOccurrenceTarget {
1683
1701
  readonly isHeaderRepeat: boolean;
1684
1702
  }
1685
1703
 
1704
+ /** Keys for the table furniture's accessible names, resolved by `tableInteractionLabel`. */
1705
+ type TableInteractionLabelKey = 'table.insertRowBelow' | 'table.insertColumnRight' | 'table.selectTable';
1706
+
1686
1707
  /**
1687
1708
  * An opaque handle to a loaded document — its stable identity and current
1688
1709
  * revision. The canonical authored state is the engine's `PackageModel`, NOT a
@@ -1956,7 +1977,7 @@ interface Editor extends EditorAnchorNavigation, EditorHighlights, EditorReviewH
1956
1977
  readonly cellIds: readonly string[];
1957
1978
  } | null;
1958
1979
  /** Update table furniture aria labels without remounting the editor. */
1959
- setTableInteractionLabel(resolver: (key: 'table.insertRowBelow' | 'table.insertColumnRight') => string): void;
1980
+ setTableInteractionLabel(resolver: (key: TableInteractionLabelKey) => string): void;
1960
1981
  /** Section page setup — size, orientation and margins — for the page-setup dialog. */
1961
1982
  getPageSetup(): PageSetup | null;
1962
1983
  /**
@@ -2726,6 +2747,15 @@ interface EditorCommands extends EditorCommandShape<DocEdits>, EditorHeaderFoote
2726
2747
  tocId?: string;
2727
2748
  mode?: 'entire' | 'pageNumbers';
2728
2749
  };
2750
+ /**
2751
+ * Remove a table of contents: its field, or the table of contents control around it with
2752
+ * its heading. Text before and after the field stays. Without `tocId`, removes the table of
2753
+ * contents last right-clicked, the one at the selection, or the only one. One undo step.
2754
+ * Refuses with `notFound` when there is none, and while suggesting.
2755
+ */
2756
+ removeToc: {
2757
+ tocId?: string;
2758
+ };
2729
2759
  undo: Record<never, never>;
2730
2760
  redo: Record<never, never>;
2731
2761
  /**
@@ -2950,8 +2980,8 @@ interface EditorSnapshot {
2950
2980
  /**
2951
2981
  * The table of contents the last right-click landed on, or null.
2952
2982
  *
2953
- * NOT caret context, unlike `table`: a right-click leaves the selection where it was, and
2954
- * a generated TOC refuses the caret outright, so a host's context menu could otherwise
2983
+ * NOT caret context, unlike `table`: a generated TOC refuses the caret outright, so a
2984
+ * right-click on it leaves the selection where it was, and a host's context menu could otherwise
2955
2985
  * never tell which table of contents it was opened over. Cleared by a right-click
2956
2986
  * anywhere else.
2957
2987
  */
@@ -3048,8 +3078,10 @@ interface EditorSnapshot {
3048
3078
  * A family the app answers with a metric-compatible stand-in — Word's Times New Roman
3049
3079
  * with Liberation Serif — is AVAILABLE and stays out: the outlines differ, the advance
3050
3080
  * widths do not, so wrap and pagination land where Word puts them. The face a `w:sym`
3051
- * names (MS Gothic for a checkbox, Wingdings for a bullet) stays out too, because it
3052
- * paints one code point rather than text, and has no metric twin an app could supply.
3081
+ * names (MS Gothic for a checkbox, Wingdings for a bullet) stays out while each glyph it
3082
+ * draws has a Unicode equivalent, because any face can paint that. A `w:sym` face joins
3083
+ * when one of its glyphs is a private-use code point with no equivalent, because that
3084
+ * glyph shows as a missing-glyph box in every other face.
3053
3085
  *
3054
3086
  * Optional and additive like `canUndo`: absent means the implementation has not derived
3055
3087
  * it; empty means every family resolved (or no document is loaded).
@@ -3074,5 +3106,5 @@ interface EditorError extends Error {
3074
3106
  readonly code?: string;
3075
3107
  }
3076
3108
 
3077
- export { DIAGNOSTIC_SCHEMA_VERSION as D, EditorFontError as J, cropPercentFromCropPermille as aS, cropPercentFromPermille as aT, cropPercentFromSourceCrop as aU, cropPermilleFromCropPercent as aV, cropPermilleFromPercent as aW, sourceCropFromCropPercent as aX, validateImageCropPercent as aY };
3078
- export type { FurnitureVariant as $, AnchorHighlightAnimation as A, BookmarkPlace as B, CanResult as C, EditorDiagnostic as E, EditorCommandShape as F, EditorCommands as G, EditorError as H, EditorEvents as I, EditorFormatPainterCommands as K, EditorHeaderFooterCommands as L, EditorHighlights as M, EditorHostChange as N, EditorHostDocument as O, EditorNoteCommands as P, EditorPosition as Q, EditorQueries as R, EditorQuery as S, EditorQueryResults as T, EditorReviewHits as U, EditorSelection as V, EditorSnapshot as W, FontFailedDiagnostic as X, FormatPainterLevel as Y, FormatPainterMode as Z, FormatPainterSurfaceState as _, EditorDiagnosticKind as a, HeaderFooterSlotArgs as a0, HeaderFooterState as a1, HighlightHit as a2, HighlightOptions as a3, HighlightRange as a4, HighlightRect as a5, HighlightResult as a6, HistoryDiagnosticEvent as a7, HyperlinkInfo as a8, ImageContext as a9, SetReviewChangesAuthorOptions as aA, TableBorderEdgeTarget as aB, TableBorderSpec as aC, TableBorderStyle as aD, TableBorderTarget as aE, TableCellVerticalAlignment as aF, TableColumnDividerResizeTarget as aG, TableColumnOccurrenceTarget as aH, TableContext as aI, TableRightEdgeResizeTarget as aJ, TableRowOccurrenceTarget as aK, TextMatch as aL, TimingSummary as aM, TrackedChangeFilterMode as aN, TrackedChangePredicate as aO, ZoomFitTarget as aP, ZoomMode as aQ, ImageCropPermille as aR, ImageCropPercent as aa, NoteKind as ab, NotePropertiesSide as ac, NotePropertiesState as ad, PageSetup as ae, PerformanceDiagnostic as af, ResolveReviewChangesOptions as ag, ResolvedNoteNumbering as ah, ReviewActivationOptions as ai, ReviewChangesAttribution as aj, ReviewChangesResolvedEvent as ak, ReviewCommentPlacement as al, ReviewCustomPlacement as am, ReviewItemHit as an, ReviewItemPlacement as ao, ReviewItemPlacementBase as ap, ReviewItemQuery as aq, ReviewItemRevealEvent as ar, ReviewItemRevealSource as as, ReviewRevisionPlacement as at, ReviewSkippedDiagnostic as au, ScrollPlacement as av, ScrollToAnchorOptions as aw, SelectedImageState as ax, SessionActivity as ay, SessionDiagnostic as az, EditorCommand as b, AnchorHighlightOptions as c, AuthoredNoteNumbering as d, BookmarkStory as e, BookmarkSummary as f, ClearAnchorHighlightOptions as g, CollaborationParticipantsDiagnostic as h, CollaborationStatusDiagnostic as i, CustomNodeDiagnosticEvent as j, DiagnosticBase as k, DiagnosticFailureDetail as l, DocumentChange as m, DocumentEditingMode as n, DocumentHandle as o, DocumentOpenDiagnostic as p, DocumentOpenFailure as q, DocumentOpenFailureReason as r, DocumentSaveDiagnostic as s, DocumentShape as t, DocumentSource as u, EditRejectedDiagnostic as v, EditRejectionOrigin as w, Editor as x, EditorAnchorNavigation as y, EditorBookmarkCommands as z };
3109
+ export { DIAGNOSTIC_SCHEMA_VERSION as D, EditorFontError as J, cropPercentFromCropPermille as aT, cropPercentFromPermille as aU, cropPercentFromSourceCrop as aV, cropPermilleFromCropPercent as aW, cropPermilleFromPercent as aX, sourceCropFromCropPercent as aY, validateImageCropPercent as aZ };
3110
+ export type { FurnitureVariant as $, AnchorHighlightAnimation as A, BookmarkPlace as B, CanResult as C, EditorDiagnostic as E, EditorCommandShape as F, EditorCommands as G, EditorError as H, EditorEvents as I, EditorFormatPainterCommands as K, EditorHeaderFooterCommands as L, EditorHighlights as M, EditorHostChange as N, EditorHostDocument as O, EditorNoteCommands as P, EditorPosition as Q, EditorQueries as R, EditorQuery as S, EditorQueryResults as T, EditorReviewHits as U, EditorSelection as V, EditorSnapshot as W, FontFailedDiagnostic as X, FormatPainterLevel as Y, FormatPainterMode as Z, FormatPainterSurfaceState as _, EditorDiagnosticKind as a, HeaderFooterSlotArgs as a0, HeaderFooterState as a1, HighlightHit as a2, HighlightOptions as a3, HighlightRange as a4, HighlightRect as a5, HighlightResult as a6, HistoryDiagnosticEvent as a7, HyperlinkInfo as a8, ImageContext as a9, SetReviewChangesAuthorOptions as aA, TableBorderEdgeTarget as aB, TableBorderSpec as aC, TableBorderStyle as aD, TableBorderTarget as aE, TableCellVerticalAlignment as aF, TableColumnDividerResizeTarget as aG, TableColumnOccurrenceTarget as aH, TableContext as aI, TableInteractionLabelKey as aJ, TableRightEdgeResizeTarget as aK, TableRowOccurrenceTarget as aL, TextMatch as aM, TimingSummary as aN, TrackedChangeFilterMode as aO, TrackedChangePredicate as aP, ZoomFitTarget as aQ, ZoomMode as aR, ImageCropPermille as aS, ImageCropPercent as aa, NoteKind as ab, NotePropertiesSide as ac, NotePropertiesState as ad, PageSetup as ae, PerformanceDiagnostic as af, ResolveReviewChangesOptions as ag, ResolvedNoteNumbering as ah, ReviewActivationOptions as ai, ReviewChangesAttribution as aj, ReviewChangesResolvedEvent as ak, ReviewCommentPlacement as al, ReviewCustomPlacement as am, ReviewItemHit as an, ReviewItemPlacement as ao, ReviewItemPlacementBase as ap, ReviewItemQuery as aq, ReviewItemRevealEvent as ar, ReviewItemRevealSource as as, ReviewRevisionPlacement as at, ReviewSkippedDiagnostic as au, ScrollPlacement as av, ScrollToAnchorOptions as aw, SelectedImageState as ax, SessionActivity as ay, SessionDiagnostic as az, EditorCommand as b, AnchorHighlightOptions as c, AuthoredNoteNumbering as d, BookmarkStory as e, BookmarkSummary as f, ClearAnchorHighlightOptions as g, CollaborationParticipantsDiagnostic as h, CollaborationStatusDiagnostic as i, CustomNodeDiagnosticEvent as j, DiagnosticBase as k, DiagnosticFailureDetail as l, DocumentChange as m, DocumentEditingMode as n, DocumentHandle as o, DocumentOpenDiagnostic as p, DocumentOpenFailure as q, DocumentOpenFailureReason as r, DocumentSaveDiagnostic as s, DocumentShape as t, DocumentSource as u, EditRejectedDiagnostic as v, EditRejectionOrigin as w, Editor as x, EditorAnchorNavigation as y, EditorBookmarkCommands as z };