@stll/folio-core 0.14.1 → 0.15.1

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 (444) hide show
  1. package/dist/ai-edits/apply.d.ts +2 -2
  2. package/dist/ai-edits/blockRange.d.ts +3 -17
  3. package/dist/ai-edits/clean-text.d.ts +0 -1
  4. package/dist/ai-edits/headless.d.ts +23 -19
  5. package/dist/ai-edits/read.d.ts +8 -5
  6. package/dist/ai-edits/scoped-reading.d.ts +0 -1
  7. package/dist/ai-edits/snapshot.d.ts +1 -7
  8. package/dist/ai-edits/table-cell-mutations.d.ts +4 -31
  9. package/dist/ai-edits/table-row-column-mutations.d.ts +9 -39
  10. package/dist/ai-edits/table-targets.d.ts +0 -1
  11. package/dist/ai-edits/types.d.ts +32 -17
  12. package/dist/ai-suggestions/apply.d.ts +0 -1
  13. package/dist/ai-suggestions/conflict.d.ts +0 -1
  14. package/dist/ai-suggestions/text-positions.d.ts +2 -2
  15. package/dist/ai-suggestions/types.d.ts +27 -13
  16. package/dist/compat/eigenpal.d.ts +2 -1
  17. package/dist/compat/eigenpal.js +2 -1
  18. package/dist/content-controls/errors.d.ts +0 -1
  19. package/dist/content-controls/findContentControls.d.ts +6 -4
  20. package/dist/content-controls/mutateContentControls.d.ts +0 -1
  21. package/dist/controller/activeEditorStory.d.ts +1 -6
  22. package/dist/controller/collaborationModules.d.ts +0 -1
  23. package/dist/controller/contentControlWidgetController.d.ts +0 -1
  24. package/dist/controller/folioEditor.d.ts +2 -2
  25. package/dist/controller/folioEditorEvents.d.ts +5 -3
  26. package/dist/controller/fontReadiness.d.ts +0 -1
  27. package/dist/controller/headerFooterEditorManager.d.ts +1 -5
  28. package/dist/controller/hiddenEditorApi.d.ts +35 -18
  29. package/dist/controller/hiddenEditorManager.d.ts +5 -3
  30. package/dist/controller/latestRequestGate.d.ts +3 -1
  31. package/dist/controller/layoutPipeline.d.ts +1 -1
  32. package/dist/controller/layoutScheduler.d.ts +8 -5
  33. package/dist/controller/layoutSession.d.ts +0 -1
  34. package/dist/controller/noteEditorManager.d.ts +0 -1
  35. package/dist/document-operations.d.ts +5 -12
  36. package/dist/document-stories.d.ts +0 -1
  37. package/dist/docx/blockContentParser.d.ts +0 -1
  38. package/dist/docx/blockContentParser.js +1 -0
  39. package/dist/docx/bookmarkParser.d.ts +5 -3
  40. package/dist/docx/bookmarkPlacement.d.ts +0 -1
  41. package/dist/docx/commentParser.d.ts +0 -1
  42. package/dist/docx/commentRangeIntegrity.d.ts +0 -1
  43. package/dist/docx/commentReferenceNormalization.d.ts +1 -9
  44. package/dist/docx/commentReplyMarkers.d.ts +0 -1
  45. package/dist/docx/compatibility.d.ts +0 -1
  46. package/dist/docx/conformance.d.ts +0 -1
  47. package/dist/docx/corePropertiesParser.d.ts +0 -1
  48. package/dist/docx/documentParser.d.ts +0 -1
  49. package/dist/docx/documentParser.js +3 -1
  50. package/dist/docx/drawingUtils.d.ts +23 -2
  51. package/dist/docx/drawingUtils.js +23 -1
  52. package/dist/docx/encryption/agileDecryption.d.ts +0 -1
  53. package/dist/docx/encryption/cryptoBytes.js +4 -1
  54. package/dist/docx/encryption/openEncryptedDocx.d.ts +5 -2
  55. package/dist/docx/ensureParaIds.d.ts +7 -3
  56. package/dist/docx/fieldParser.d.ts +23 -11
  57. package/dist/docx/fontTableParser.d.ts +0 -1
  58. package/dist/docx/footnoteParser.d.ts +26 -13
  59. package/dist/docx/footnoteParser.js +4 -2
  60. package/dist/docx/groupDrawingParser.d.ts +0 -1
  61. package/dist/docx/headerFooterParser.d.ts +9 -5
  62. package/dist/docx/headerFooterRefParser.d.ts +0 -1
  63. package/dist/docx/headerFooterReferenceNormalization.d.ts +1 -6
  64. package/dist/docx/headerFooterVerbatim.d.ts +2 -2
  65. package/dist/docx/hyperlinkParser.d.ts +0 -1
  66. package/dist/docx/hyperlinkParser.js +1 -9
  67. package/dist/docx/imageParser.d.ts +0 -1
  68. package/dist/docx/imageParser.js +15 -7
  69. package/dist/docx/mathToMathml.d.ts +0 -1
  70. package/dist/docx/metadataPrivacy.d.ts +1 -3
  71. package/dist/docx/modelValidation.d.ts +0 -1
  72. package/dist/docx/newImage.d.ts +11 -0
  73. package/dist/docx/newImage.js +11 -0
  74. package/dist/docx/normalizeBaseDirection.d.ts +0 -1
  75. package/dist/docx/notePropertiesParser.d.ts +0 -1
  76. package/dist/docx/numberingParser.d.ts +10 -6
  77. package/dist/docx/numberingParser.js +4 -2
  78. package/dist/docx/numberingReferenceNormalization.d.ts +1 -9
  79. package/dist/docx/paragraphParser.d.ts +0 -1
  80. package/dist/docx/paragraphParser.js +27 -14
  81. package/dist/docx/paragraphTextBoxEnrichment.d.ts +0 -1
  82. package/dist/docx/paragraphTextBoxEnrichment.js +2 -1
  83. package/dist/docx/paragraphTraversal.d.ts +1 -8
  84. package/dist/docx/parser.d.ts +15 -8
  85. package/dist/docx/parser.js +12 -1
  86. package/dist/docx/parserEnums.d.ts +2 -2
  87. package/dist/docx/parserEnums.js +3 -2
  88. package/dist/docx/relsParser.d.ts +1 -0
  89. package/dist/docx/renderedPageBreakNormalization.d.ts +12 -0
  90. package/dist/docx/renderedPageBreakNormalization.js +59 -0
  91. package/dist/docx/replyToComment.d.ts +2 -2
  92. package/dist/docx/rezip.d.ts +6 -7
  93. package/dist/docx/rezip.js +136 -102
  94. package/dist/docx/runConsolidator.d.ts +0 -1
  95. package/dist/docx/runParser.d.ts +0 -1
  96. package/dist/docx/runParser.js +9 -12
  97. package/dist/docx/sdtProperties.d.ts +0 -1
  98. package/dist/docx/sdtPropertiesPatch.d.ts +0 -1
  99. package/dist/docx/sectionParser.d.ts +0 -1
  100. package/dist/docx/selectiveSave.d.ts +5 -3
  101. package/dist/docx/selectiveSave.js +2 -2
  102. package/dist/docx/selectiveSaveFlags.d.ts +4 -2
  103. package/dist/docx/selectiveXmlPatch.js +20 -8
  104. package/dist/docx/serializer/blockSdtSerializer.d.ts +0 -1
  105. package/dist/docx/serializer/blockSdtSerializer.js +2 -1
  106. package/dist/docx/serializer/borderSerializer.d.ts +0 -1
  107. package/dist/docx/serializer/commentSerializer.d.ts +0 -1
  108. package/dist/docx/serializer/commentSerializer.js +11 -37
  109. package/dist/docx/serializer/documentSerializer.d.ts +0 -1
  110. package/dist/docx/serializer/documentSerializer.js +1 -1
  111. package/dist/docx/serializer/fontTableSerializer.d.ts +0 -1
  112. package/dist/docx/serializer/headerFooterSerializer.d.ts +0 -1
  113. package/dist/docx/serializer/headerFooterSerializer.js +1 -1
  114. package/dist/docx/serializer/noteSerializer.d.ts +0 -1
  115. package/dist/docx/serializer/noteSerializer.js +1 -1
  116. package/dist/docx/serializer/numberingSerializer.d.ts +0 -1
  117. package/dist/docx/serializer/paragraphSerializer.d.ts +0 -1
  118. package/dist/docx/serializer/paragraphSerializer.js +10 -23
  119. package/dist/docx/serializer/runSerializer.d.ts +0 -1
  120. package/dist/docx/serializer/runSerializer.js +37 -22
  121. package/dist/docx/serializer/sectionPropertiesSerializer.d.ts +0 -1
  122. package/dist/docx/serializer/sectionPropertiesSerializer.js +5 -4
  123. package/dist/docx/serializer/settingsSerializer.d.ts +0 -1
  124. package/dist/docx/serializer/stylesSerializer.d.ts +0 -1
  125. package/dist/docx/serializer/tableSerializer.d.ts +0 -1
  126. package/dist/docx/serializer/tableSerializer.js +2 -0
  127. package/dist/docx/serializer/themeSerializer.d.ts +0 -1
  128. package/dist/docx/serializer/xmlUtils.js +10 -1
  129. package/dist/docx/server/applyDocxXmlPatchProposal.d.ts +3 -10
  130. package/dist/docx/server/docxToMarkdown.d.ts +0 -1
  131. package/dist/docx/server/evaluateDocxXmlPatchProposal.d.ts +3 -9
  132. package/dist/docx/server/inspectDocxPackage.d.ts +3 -8
  133. package/dist/docx/server/validateDocxConformance.d.ts +0 -1
  134. package/dist/docx/settingsParser.d.ts +2 -2
  135. package/dist/docx/shapeParser.d.ts +0 -1
  136. package/dist/docx/shapeParser.js +11 -10
  137. package/dist/docx/streamingXmlParser.d.ts +16 -0
  138. package/dist/docx/streamingXmlParser.js +248 -0
  139. package/dist/docx/styleParser.d.ts +0 -1
  140. package/dist/docx/styleParser.js +6 -4
  141. package/dist/docx/tableParser.d.ts +1 -2
  142. package/dist/docx/tableParser.js +3 -6
  143. package/dist/docx/textBoxParser.d.ts +1 -2
  144. package/dist/docx/textBoxParser.js +4 -1
  145. package/dist/docx/textWhitespace.d.ts +4 -0
  146. package/dist/docx/textWhitespace.js +4 -0
  147. package/dist/docx/themeParser.d.ts +0 -1
  148. package/dist/docx/trackedMoveRangeNormalization.d.ts +1 -8
  149. package/dist/docx/unzip.d.ts +6 -3
  150. package/dist/docx/unzip.js +96 -40
  151. package/dist/docx/vmlImageParser.d.ts +0 -1
  152. package/dist/docx/vmlImageParser.js +3 -1
  153. package/dist/docx/watermarkParser.d.ts +0 -1
  154. package/dist/docx/xmlParser.d.ts +21 -8
  155. package/dist/docx/xmlParser.js +126 -43
  156. package/dist/fields/bookmarkPages.d.ts +0 -1
  157. package/dist/fields/bookmarkText.d.ts +0 -1
  158. package/dist/fields/evaluateField.d.ts +5 -3
  159. package/dist/fields/fieldContext.d.ts +11 -5
  160. package/dist/fields/resolveFieldValues.d.ts +4 -3
  161. package/dist/fields/sectionPageCounts.d.ts +0 -1
  162. package/dist/fields/seqValues.d.ts +0 -1
  163. package/dist/fonts/embeddedFontTable.d.ts +5 -2
  164. package/dist/fonts/embeddedFonts.d.ts +15 -7
  165. package/dist/index.d.ts +3 -1
  166. package/dist/index.js +2 -1
  167. package/dist/layout-bridge/cellSelectionHighlight.d.ts +0 -1
  168. package/dist/layout-bridge/convert/footnoteLayout.d.ts +5 -3
  169. package/dist/layout-bridge/convert/headerFooterLayout.d.ts +2 -2
  170. package/dist/layout-bridge/convert/paragraphFrames.d.ts +0 -1
  171. package/dist/layout-bridge/convert/templatePreviewFlow.d.ts +8 -8
  172. package/dist/layout-bridge/convert/toFlowBlocks.d.ts +25 -13
  173. package/dist/layout-bridge/convert/wrapEditorViewAsSurface.d.ts +3 -2
  174. package/dist/layout-bridge/dom/findHfPmSpans.d.ts +2 -1
  175. package/dist/layout-bridge/dom/noteStoryDom.d.ts +0 -1
  176. package/dist/layout-bridge/engine/clickToPosition.d.ts +5 -3
  177. package/dist/layout-bridge/engine/hitTest.d.ts +40 -19
  178. package/dist/layout-bridge/engine/selectionRects.d.ts +16 -8
  179. package/dist/layout-bridge/engine/tableWidthUtils.d.ts +0 -1
  180. package/dist/layout-bridge/headerFooterLayout.d.ts +0 -1
  181. package/dist/layout-bridge/sectionColumns.d.ts +0 -1
  182. package/dist/layout-bridge/tableInsertHover.d.ts +8 -4
  183. package/dist/layout-engine/headerFooterRefs.d.ts +0 -1
  184. package/dist/layout-engine/index.d.ts +0 -1
  185. package/dist/layout-engine/justificationCompatibility.d.ts +0 -1
  186. package/dist/layout-engine/keep-together.d.ts +7 -4
  187. package/dist/layout-engine/layoutInstrumentation.d.ts +0 -1
  188. package/dist/layout-engine/lineFlow.d.ts +0 -1
  189. package/dist/layout-engine/measure/cache.d.ts +0 -1
  190. package/dist/layout-engine/measure/effectiveLineBreakPolicy.d.ts +6 -7
  191. package/dist/layout-engine/measure/floatingTablePosition.d.ts +0 -1
  192. package/dist/layout-engine/measure/floatingZones.d.ts +14 -6
  193. package/dist/layout-engine/measure/font-metrics.worker.d.ts +0 -1
  194. package/dist/layout-engine/measure/lineBreakProvider.d.ts +20 -9
  195. package/dist/layout-engine/measure/lineBreaks.d.ts +0 -1
  196. package/dist/layout-engine/measure/listMarkerWidth.d.ts +0 -1
  197. package/dist/layout-engine/measure/measureBlocks.d.ts +1 -0
  198. package/dist/layout-engine/measure/measureContainer.d.ts +0 -1
  199. package/dist/layout-engine/measure/measureHelpers.d.ts +0 -1
  200. package/dist/layout-engine/measure/measureParagraph.d.ts +3 -2
  201. package/dist/layout-engine/measure/measureParagraph.js +23 -3
  202. package/dist/layout-engine/measure/measureProvider.d.ts +0 -1
  203. package/dist/layout-engine/measure/measureTypes.d.ts +4 -2
  204. package/dist/layout-engine/measure/measureWorker.d.ts +0 -1
  205. package/dist/layout-engine/measure/measureWorkerProtocol.d.ts +0 -1
  206. package/dist/layout-engine/measure/tableCellFloating.d.ts +0 -1
  207. package/dist/layout-engine/measure/tableCellFlow.d.ts +0 -1
  208. package/dist/layout-engine/measure/tableCellGrid.d.ts +0 -1
  209. package/dist/layout-engine/measure/textBoxParagraphLayout.d.ts +0 -1
  210. package/dist/layout-engine/measure/textMeasurementPolicy.d.ts +0 -1
  211. package/dist/layout-engine/paginator.d.ts +66 -33
  212. package/dist/layout-engine/paragraphFragmentRange.d.ts +0 -1
  213. package/dist/layout-engine/paragraphFrame.d.ts +0 -1
  214. package/dist/layout-engine/paragraphSequence.d.ts +0 -1
  215. package/dist/layout-engine/paragraphSpacing.d.ts +1 -5
  216. package/dist/layout-engine/pmPageIndex.d.ts +0 -1
  217. package/dist/layout-engine/renderedBreakReconciliation.d.ts +2 -17
  218. package/dist/layout-engine/section-breaks.d.ts +34 -17
  219. package/dist/layout-engine/tableRowBreak.d.ts +4 -3
  220. package/dist/layout-engine/textBoxFlow.d.ts +0 -1
  221. package/dist/layout-engine/textBoxGroup.d.ts +0 -1
  222. package/dist/layout-engine/types.d.ts +382 -189
  223. package/dist/layout-painter/anchoredImagePosition.d.ts +0 -1
  224. package/dist/layout-painter/borderStroke.d.ts +0 -1
  225. package/dist/layout-painter/imageLayout.d.ts +14 -7
  226. package/dist/layout-painter/index.d.ts +9 -5
  227. package/dist/layout-painter/registry/modules/image.d.ts +0 -1
  228. package/dist/layout-painter/registry/modules/paragraph.d.ts +0 -1
  229. package/dist/layout-painter/registry/modules/table.d.ts +0 -1
  230. package/dist/layout-painter/registry/modules/textBox.d.ts +0 -1
  231. package/dist/layout-painter/registry/modules.d.ts +0 -1
  232. package/dist/layout-painter/registry/registry.d.ts +0 -1
  233. package/dist/layout-painter/registry/types.d.ts +0 -1
  234. package/dist/layout-painter/renderFragment.d.ts +2 -2
  235. package/dist/layout-painter/renderImage.d.ts +0 -1
  236. package/dist/layout-painter/renderPage.d.ts +71 -42
  237. package/dist/layout-painter/renderParagraph.d.ts +28 -14
  238. package/dist/layout-painter/renderParagraph.js +6 -2
  239. package/dist/layout-painter/renderTable.d.ts +0 -1
  240. package/dist/layout-painter/renderTextBox.d.ts +0 -1
  241. package/dist/layout-painter/renderUtils.d.ts +17 -9
  242. package/dist/layout-painter/renderWatermark.d.ts +2 -2
  243. package/dist/layout-painter/sdtBoundary.d.ts +0 -1
  244. package/dist/managers/AutoSaveManager.d.ts +22 -11
  245. package/dist/managers/ClipboardManager.d.ts +0 -1
  246. package/dist/managers/ContextMenuManager.d.ts +5 -8
  247. package/dist/managers/DocumentLoaderManager.d.ts +12 -6
  248. package/dist/managers/EditorModeManager.d.ts +3 -2
  249. package/dist/managers/ErrorManager.d.ts +0 -1
  250. package/dist/managers/FindReplaceManager.d.ts +0 -1
  251. package/dist/managers/HistoryManager.d.ts +19 -9
  252. package/dist/managers/TableSelectionManager.d.ts +0 -1
  253. package/dist/managers/editorShortcuts.d.ts +4 -6
  254. package/dist/markdown/annotations.d.ts +0 -1
  255. package/dist/markdown/fromMarkdown.d.ts +0 -1
  256. package/dist/markdown/fromMarkdown.js +55 -5
  257. package/dist/markdown/images.d.ts +0 -1
  258. package/dist/markdown/index.d.ts +0 -1
  259. package/dist/markdown/internals.d.ts +0 -1
  260. package/dist/markdown/renderBlock.d.ts +0 -1
  261. package/dist/markdown/renderParagraph.d.ts +0 -1
  262. package/dist/markdown/renderRuns.d.ts +0 -1
  263. package/dist/markdown/renderTable.d.ts +0 -1
  264. package/dist/markdown/trailers.d.ts +0 -1
  265. package/dist/markdown/types.d.ts +39 -18
  266. package/dist/model.d.ts +3 -5
  267. package/dist/model.js +2 -2
  268. package/dist/paged-layout/incrementalMeasure.d.ts +1 -10
  269. package/dist/paged-layout/pageText.d.ts +1 -1
  270. package/dist/paged-layout/paragraphFlash.d.ts +0 -1
  271. package/dist/paged-layout/paragraphFlashTypes.d.ts +5 -2
  272. package/dist/paged-layout/rangeProjection.d.ts +10 -5
  273. package/dist/paged-layout/scrollNavigation.d.ts +0 -1
  274. package/dist/paged-layout/scrollPageInfo.d.ts +12 -13
  275. package/dist/paged-layout/scrollToPmPosition.d.ts +0 -1
  276. package/dist/paged-layout/sectionBlockWidths.d.ts +2 -11
  277. package/dist/paged-layout/sectionGeometry.d.ts +0 -1
  278. package/dist/paged-layout/selectionViewportRect.d.ts +0 -1
  279. package/dist/paged-layout/transactionDirtyRange.d.ts +0 -1
  280. package/dist/paged-layout/zoomScrollAnchor.d.ts +2 -12
  281. package/dist/prosemirror/attrs/index.d.ts +2 -2
  282. package/dist/prosemirror/attrs/index.js +5 -0
  283. package/dist/prosemirror/autospacingBase.d.ts +0 -1
  284. package/dist/prosemirror/cellDragSelection.d.ts +6 -4
  285. package/dist/prosemirror/commands/comments.d.ts +6 -4
  286. package/dist/prosemirror/commands/contentControls.d.ts +5 -3
  287. package/dist/prosemirror/commands/contentControlsBlockFill.d.ts +1 -1
  288. package/dist/prosemirror/commands/formatPainter.d.ts +0 -1
  289. package/dist/prosemirror/commands/formatting.d.ts +1 -1
  290. package/dist/prosemirror/commands/hyperlink.d.ts +4 -9
  291. package/dist/prosemirror/commands/image.d.ts +0 -1
  292. package/dist/prosemirror/commands/pageBreak.d.ts +0 -1
  293. package/dist/prosemirror/commands/paragraph.d.ts +0 -1
  294. package/dist/prosemirror/commands/pastePlainText.d.ts +0 -1
  295. package/dist/prosemirror/commands/propertyChangeScope.d.ts +0 -1
  296. package/dist/prosemirror/commands/sectionBreak.d.ts +0 -1
  297. package/dist/prosemirror/commands/table.d.ts +0 -1
  298. package/dist/prosemirror/commands/tableCellMergeResolution.d.ts +0 -1
  299. package/dist/prosemirror/commentIdAllocator.d.ts +2 -2
  300. package/dist/prosemirror/commentOps.d.ts +0 -1
  301. package/dist/prosemirror/conversion/effectiveTableCellFormatting.d.ts +1 -10
  302. package/dist/prosemirror/conversion/fromProseDoc.d.ts +0 -1
  303. package/dist/prosemirror/conversion/fromProseDoc.js +7 -4
  304. package/dist/prosemirror/conversion/runShadingMark.d.ts +0 -1
  305. package/dist/prosemirror/conversion/sdtAttrs.d.ts +0 -1
  306. package/dist/prosemirror/conversion/toProseDoc.d.ts +3 -2
  307. package/dist/prosemirror/conversion/toProseDoc.js +16 -2
  308. package/dist/prosemirror/extensions/ExtensionManager.d.ts +0 -1
  309. package/dist/prosemirror/extensions/StarterKit.d.ts +7 -4
  310. package/dist/prosemirror/extensions/core/DocExtension.d.ts +0 -1
  311. package/dist/prosemirror/extensions/core/HistoryExtension.d.ts +0 -1
  312. package/dist/prosemirror/extensions/core/ParagraphExtension.d.ts +0 -1
  313. package/dist/prosemirror/extensions/core/TextExtension.d.ts +0 -1
  314. package/dist/prosemirror/extensions/create.d.ts +0 -1
  315. package/dist/prosemirror/extensions/features/AutoBidiDetectionExtension.d.ts +0 -1
  316. package/dist/prosemirror/extensions/features/BaseKeymapExtension.d.ts +0 -1
  317. package/dist/prosemirror/extensions/features/BidiShortcutExtension.d.ts +0 -1
  318. package/dist/prosemirror/extensions/features/ContentControlWidgetsExtension.d.ts +0 -1
  319. package/dist/prosemirror/extensions/features/DropCursorExtension.d.ts +0 -1
  320. package/dist/prosemirror/extensions/features/EmptyParagraphFormatExtension.d.ts +0 -1
  321. package/dist/prosemirror/extensions/features/GapCursorExtension.d.ts +0 -1
  322. package/dist/prosemirror/extensions/features/ImageDragExtension.d.ts +0 -1
  323. package/dist/prosemirror/extensions/features/ImagePasteExtension.d.ts +0 -1
  324. package/dist/prosemirror/extensions/features/ListExtension.d.ts +0 -1
  325. package/dist/prosemirror/extensions/features/ParaIdAllocatorExtension.d.ts +0 -1
  326. package/dist/prosemirror/extensions/features/ParagraphChangeTrackerExtension.d.ts +7 -4
  327. package/dist/prosemirror/extensions/features/PasteCleanupExtension.d.ts +0 -1
  328. package/dist/prosemirror/extensions/features/PasteStyleInlinerExtension.d.ts +0 -1
  329. package/dist/prosemirror/extensions/features/SelectionTrackerExtension.d.ts +0 -1
  330. package/dist/prosemirror/extensions/features/bidiShortcutController.d.ts +3 -1
  331. package/dist/prosemirror/extensions/marks/AllCapsExtension.d.ts +0 -1
  332. package/dist/prosemirror/extensions/marks/BoldExtension.d.ts +0 -1
  333. package/dist/prosemirror/extensions/marks/CharacterSpacingExtension.d.ts +0 -1
  334. package/dist/prosemirror/extensions/marks/CharacterStyleExtension.d.ts +0 -1
  335. package/dist/prosemirror/extensions/marks/CommentExtension.d.ts +0 -1
  336. package/dist/prosemirror/extensions/marks/FontFamilyExtension.d.ts +0 -1
  337. package/dist/prosemirror/extensions/marks/FontFamilyExtension.js +1 -0
  338. package/dist/prosemirror/extensions/marks/FontSizeExtension.d.ts +0 -1
  339. package/dist/prosemirror/extensions/marks/FootnoteRefExtension.d.ts +0 -1
  340. package/dist/prosemirror/extensions/marks/HiddenTextExtension.d.ts +0 -1
  341. package/dist/prosemirror/extensions/marks/HighlightExtension.d.ts +0 -1
  342. package/dist/prosemirror/extensions/marks/HyperlinkExtension.d.ts +0 -1
  343. package/dist/prosemirror/extensions/marks/ItalicExtension.d.ts +0 -1
  344. package/dist/prosemirror/extensions/marks/LanguageExtension.d.ts +0 -1
  345. package/dist/prosemirror/extensions/marks/RtlExtension.d.ts +0 -1
  346. package/dist/prosemirror/extensions/marks/RunFormattingOverrideExtension.d.ts +0 -1
  347. package/dist/prosemirror/extensions/marks/RunShadingExtension.d.ts +0 -1
  348. package/dist/prosemirror/extensions/marks/SmallCapsExtension.d.ts +0 -1
  349. package/dist/prosemirror/extensions/marks/StrikeExtension.d.ts +0 -1
  350. package/dist/prosemirror/extensions/marks/SubscriptExtension.d.ts +0 -1
  351. package/dist/prosemirror/extensions/marks/SuperscriptExtension.d.ts +0 -1
  352. package/dist/prosemirror/extensions/marks/TextColorExtension.d.ts +0 -1
  353. package/dist/prosemirror/extensions/marks/TextEffectExtension.d.ts +0 -1
  354. package/dist/prosemirror/extensions/marks/TextEffectsExtensions.d.ts +0 -1
  355. package/dist/prosemirror/extensions/marks/TrackedChangeExtensions.d.ts +0 -1
  356. package/dist/prosemirror/extensions/marks/UnderlineExtension.d.ts +0 -1
  357. package/dist/prosemirror/extensions/marks/markUtils.d.ts +0 -1
  358. package/dist/prosemirror/extensions/marks/markUtils.js +4 -1
  359. package/dist/prosemirror/extensions/nodes/BlockSdtExtension.d.ts +0 -1
  360. package/dist/prosemirror/extensions/nodes/FieldExtension.d.ts +0 -1
  361. package/dist/prosemirror/extensions/nodes/HardBreakExtension.d.ts +0 -1
  362. package/dist/prosemirror/extensions/nodes/HorizontalRuleExtension.d.ts +0 -1
  363. package/dist/prosemirror/extensions/nodes/ImageExtension.d.ts +0 -1
  364. package/dist/prosemirror/extensions/nodes/ImageExtension.js +2 -0
  365. package/dist/prosemirror/extensions/nodes/MathExtension.d.ts +0 -1
  366. package/dist/prosemirror/extensions/nodes/PageBreakExtension.d.ts +0 -1
  367. package/dist/prosemirror/extensions/nodes/RenderedPageBreakExtension.d.ts +0 -1
  368. package/dist/prosemirror/extensions/nodes/SdtExtension.d.ts +0 -1
  369. package/dist/prosemirror/extensions/nodes/ShapeExtension.d.ts +0 -1
  370. package/dist/prosemirror/extensions/nodes/ShapeExtension.js +2 -0
  371. package/dist/prosemirror/extensions/nodes/TabExtension.d.ts +0 -1
  372. package/dist/prosemirror/extensions/nodes/TableExtension.d.ts +4 -3
  373. package/dist/prosemirror/extensions/nodes/TextBoxAnchorExtension.d.ts +0 -1
  374. package/dist/prosemirror/extensions/nodes/TextBoxExtension.d.ts +53 -27
  375. package/dist/prosemirror/extensions/types.d.ts +0 -1
  376. package/dist/prosemirror/findReplaceSelection.d.ts +5 -3
  377. package/dist/prosemirror/imageCommit.d.ts +0 -1
  378. package/dist/prosemirror/index.d.ts +4 -0
  379. package/dist/prosemirror/insertOperations.d.ts +0 -1
  380. package/dist/prosemirror/paraText.d.ts +0 -1
  381. package/dist/prosemirror/plugins/aiCitationDecorations.d.ts +2 -2
  382. package/dist/prosemirror/plugins/aiSuggestionDecorations.d.ts +0 -1
  383. package/dist/prosemirror/plugins/anonymizationDecorations.d.ts +9 -7
  384. package/dist/prosemirror/plugins/autocompleteSuggestion.d.ts +2 -2
  385. package/dist/prosemirror/plugins/contentControlWidgets.d.ts +4 -7
  386. package/dist/prosemirror/plugins/createDocScanPlugin.d.ts +3 -8
  387. package/dist/prosemirror/plugins/documentStyles.d.ts +0 -1
  388. package/dist/prosemirror/plugins/pmTextScan.d.ts +2 -2
  389. package/dist/prosemirror/plugins/revisionIds.d.ts +0 -1
  390. package/dist/prosemirror/plugins/selectionTracker.d.ts +23 -12
  391. package/dist/prosemirror/plugins/suggestionMode.d.ts +0 -1
  392. package/dist/prosemirror/plugins/templateDirectives.d.ts +10 -8
  393. package/dist/prosemirror/plugins/templatePreviewValues.d.ts +10 -5
  394. package/dist/prosemirror/plugins/templateSlashMenu.d.ts +2 -2
  395. package/dist/prosemirror/queries.d.ts +0 -1
  396. package/dist/prosemirror/schema/index.d.ts +0 -1
  397. package/dist/prosemirror/schema/marks.d.ts +8 -5
  398. package/dist/prosemirror/schema/nodes.d.ts +340 -163
  399. package/dist/prosemirror/selectionState.d.ts +13 -7
  400. package/dist/prosemirror/styles/resolvedStyleAttrs.d.ts +0 -1
  401. package/dist/prosemirror/styles/styleResolver.d.ts +3 -2
  402. package/dist/prosemirror/tableCellMergeRevision.d.ts +0 -1
  403. package/dist/prosemirror/tableResize.d.ts +0 -1
  404. package/dist/prosemirror/textBoxAnchorAttrs.d.ts +0 -1
  405. package/dist/prosemirror/utils/extractTrackedChanges.d.ts +8 -5
  406. package/dist/prosemirror/utils/findParagraphByParaId.d.ts +0 -1
  407. package/dist/prosemirror/utils/tabCalculator.d.ts +18 -7
  408. package/dist/prosemirror/utils/visualLineNavigation.d.ts +0 -1
  409. package/dist/prosemirror/validation.d.ts +0 -1
  410. package/dist/redline.d.ts +16 -8
  411. package/dist/render-dom/BodySelectionOverlay.d.ts +1 -9
  412. package/dist/render-dom/HeaderFooterSelectionOverlay.d.ts +0 -1
  413. package/dist/render-dom/RemoteSelectionOverlay.d.ts +1 -8
  414. package/dist/render-dom/resolveSidebarItemPositions.d.ts +1 -9
  415. package/dist/style-engine/styleEngine.d.ts +21 -11
  416. package/dist/style-sets/extract.d.ts +4 -3
  417. package/dist/style-sets/stellaStyle.d.ts +0 -1
  418. package/dist/style-sets/types.d.ts +0 -1
  419. package/dist/symbols.d.ts +6 -2
  420. package/dist/types/block-id.d.ts +3 -6
  421. package/dist/types/document.d.ts +0 -3
  422. package/dist/types/documentEnumValues.d.ts +2 -1
  423. package/dist/types/documentEnumValues.js +6 -1
  424. package/dist/utils/clipboard.d.ts +17 -8
  425. package/dist/utils/colorResolver.d.ts +9 -5
  426. package/dist/utils/createDocument.d.ts +19 -10
  427. package/dist/utils/documentLoaderBehavior.d.ts +1 -5
  428. package/dist/utils/docxInput.js +1 -0
  429. package/dist/utils/findReplace.d.ts +0 -1
  430. package/dist/utils/fontFamilyMerge.d.ts +0 -1
  431. package/dist/utils/fontResolver.d.ts +10 -4
  432. package/dist/utils/formatToStyle.d.ts +0 -1
  433. package/dist/utils/headerFooter.d.ts +8 -16
  434. package/dist/utils/headingCollector.d.ts +7 -4
  435. package/dist/utils/mergeDocumentContent.d.ts +28 -0
  436. package/dist/utils/mergeDocumentContent.js +145 -0
  437. package/dist/utils/paragraphFormattingMerge.d.ts +0 -1
  438. package/dist/utils/replaceText.d.ts +0 -1
  439. package/dist/utils/rotationBoundingBox.d.ts +0 -1
  440. package/dist/utils/tableOperations.d.ts +0 -1
  441. package/dist/utils/textFormattingMerge.d.ts +0 -1
  442. package/dist/version-comparison.d.ts +12 -6
  443. package/dist/watermark/index.d.ts +0 -1
  444. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { document_d_exports } from "../../types/document.js";
2
2
  import { TrackedChangeProvenance } from "./marks.js";
3
+ import "../../types/index.js";
3
4
  import { OutlineStyleAttr } from "../../types/documentEnumValues.js";
4
5
  import { SpacingExplicit } from "../../types/formatting.js";
5
6
  import { ParagraphDirection } from "../paragraphDirection.js";
6
-
7
7
  //#region src/prosemirror/schema/nodes.d.ts
8
8
  type HardBreakAttrs = {
9
9
  breakType?: "column";
@@ -14,17 +14,22 @@ type HardBreakAttrs = {
14
14
  type ParagraphAttrs = {
15
15
  paraId?: string;
16
16
  textId?: string;
17
- alignment?: document_d_exports.ParagraphAlignment; /** Effective East Asian line-edge policy (`w:kinsoku`). */
18
- kinsoku?: boolean; /** Effective hanging-punctuation policy (`w:overflowPunct`). */
19
- overflowPunctuation?: boolean; /** Effective paragraph opt-out from document automatic hyphenation. */
17
+ alignment?: document_d_exports.ParagraphAlignment;
18
+ /** Effective East Asian line-edge policy (`w:kinsoku`). */
19
+ kinsoku?: boolean;
20
+ /** Effective hanging-punctuation policy (`w:overflowPunct`). */
21
+ overflowPunctuation?: boolean;
22
+ /** Effective paragraph opt-out from document automatic hyphenation. */
20
23
  suppressAutoHyphens?: boolean;
21
24
  spaceBefore?: number;
22
25
  spaceAfter?: number;
23
26
  lineSpacing?: number;
24
27
  lineSpacingRule?: document_d_exports.LineSpacingRule;
25
28
  snapToGrid?: boolean;
26
- spacingExplicit?: SpacingExplicit; /** Layout provenance: document defaults survive on empty paragraphs. */
27
- spacingFromDocDefaults?: SpacingExplicit; /** Layout provenance: implicit default-style spacing survives on empty paragraphs. */
29
+ spacingExplicit?: SpacingExplicit;
30
+ /** Layout provenance: document defaults survive on empty paragraphs. */
31
+ spacingFromDocDefaults?: SpacingExplicit;
32
+ /** Layout provenance: implicit default-style spacing survives on empty paragraphs. */
28
33
  spacingFromImplicitDefaultStyle?: SpacingExplicit;
29
34
  indentLeft?: number;
30
35
  indentRight?: number;
@@ -45,22 +50,32 @@ type ParagraphAttrs = {
45
50
  numPrFromStyle?: {
46
51
  numId?: number;
47
52
  ilvl?: number;
48
- }; /** List number format (decimal, lowerRoman, upperRoman, etc.) for CSS counter styling */
49
- listNumFmt?: document_d_exports.NumberFormat; /** Whether this is a bullet list */
50
- listIsBullet?: boolean; /** Whether this level uses legal numbering (parent placeholders render decimal). */
51
- listIsLegal?: boolean; /** Computed list marker text (e.g., "1.", "1.1.", "•") */
52
- listMarker?: string; /** Whether the list marker is hidden (w:vanish on numbering level rPr) */
53
- listMarkerHidden?: boolean; /** Marker font family from numbering level rPr */
54
- listMarkerFontFamily?: string; /** Marker font size from numbering level rPr, in points */
55
- listMarkerFontSize?: number; /** Marker bold state from numbering level rPr */
56
- listMarkerBold?: boolean; /** Horizontal alignment of the marker around the paragraph's list anchor. */
53
+ };
54
+ /** List number format (decimal, lowerRoman, upperRoman, etc.) for CSS counter styling */
55
+ listNumFmt?: document_d_exports.NumberFormat;
56
+ /** Whether this is a bullet list */
57
+ listIsBullet?: boolean;
58
+ /** Whether this level uses legal numbering (parent placeholders render decimal). */
59
+ listIsLegal?: boolean;
60
+ /** Computed list marker text (e.g., "1.", "1.1.", "•") */
61
+ listMarker?: string;
62
+ /** Whether the list marker is hidden (w:vanish on numbering level rPr) */
63
+ listMarkerHidden?: boolean;
64
+ /** Marker font family from numbering level rPr */
65
+ listMarkerFontFamily?: string;
66
+ /** Marker font size from numbering level rPr, in points */
67
+ listMarkerFontSize?: number;
68
+ /** Marker bold state from numbering level rPr */
69
+ listMarkerBold?: boolean;
70
+ /** Horizontal alignment of the marker around the paragraph's list anchor. */
57
71
  listMarkerAlignment?: "left" | "center" | "right";
58
72
  /**
59
73
  * `w:suff` (§17.9.25) — what follows the marker before body text.
60
74
  * `tab` (default) grows the marker to the next tab stop; `space` adds one
61
75
  * space glyph; `nothing` lets body text butt against the marker.
62
76
  */
63
- listMarkerSuffix?: "tab" | "space" | "nothing"; /** `w:caps` on the numbering level rPr — render marker in upper case. */
77
+ listMarkerSuffix?: "tab" | "space" | "nothing";
78
+ /** `w:caps` on the numbering level rPr — render marker in upper case. */
64
79
  listMarkerAllCaps?: boolean;
65
80
  /**
66
81
  * Inline LISTNUM count carried by this paragraph. Each advances the
@@ -73,10 +88,14 @@ type ParagraphAttrs = {
73
88
  * twips) is where the slot after the tab should land — used to align an
74
89
  * inline LISTNUM "(a)" with the deeper level's marker column.
75
90
  */
76
- listMarkerSecondSlotOffsetTwips?: number; /** Number format for each level used by multi-level marker templates. */
77
- listLevelNumFmts?: document_d_exports.NumberFormat[]; /** Initial counter for each level used by multi-level marker templates. */
78
- listLevelStarts?: number[]; /** Abstract numbering ID shared by numbering instances. */
79
- listAbstractNumId?: number; /** Numbering start override for this numId/level. */
91
+ listMarkerSecondSlotOffsetTwips?: number;
92
+ /** Number format for each level used by multi-level marker templates. */
93
+ listLevelNumFmts?: document_d_exports.NumberFormat[];
94
+ /** Initial counter for each level used by multi-level marker templates. */
95
+ listLevelStarts?: number[];
96
+ /** Abstract numbering ID shared by numbering instances. */
97
+ listAbstractNumId?: number;
98
+ /** Numbering start override for this numId/level. */
80
99
  listStartOverride?: number;
81
100
  styleId?: string;
82
101
  borders?: {
@@ -89,13 +108,17 @@ type ParagraphAttrs = {
89
108
  };
90
109
  shading?: document_d_exports.ShadingProperties;
91
110
  tabs?: document_d_exports.TabStop[];
92
- pageBreakBefore?: boolean; /** Word's cached rendered-page-break marker; preserved for round-trip only. */
93
- renderedPageBreakBefore?: boolean; /** Internal import marker for a paragraph whose only run content is a hard page break. */
94
- _pageBreakCarrier?: boolean; /** Internal import marker for a hard page break after this paragraph's text. */
111
+ pageBreakBefore?: boolean;
112
+ /** Word's cached rendered-page-break marker; preserved for round-trip only. */
113
+ renderedPageBreakBefore?: boolean;
114
+ /** Internal import marker for a paragraph whose only run content is a hard page break. */
115
+ _pageBreakCarrier?: boolean;
116
+ /** Internal import marker for a hard page break after this paragraph's text. */
95
117
  _trailingPageBreak?: boolean;
96
118
  keepNext?: boolean;
97
119
  keepLines?: boolean;
98
- widowControl?: boolean; /** Contextual spacing — suppress space between same-style paragraphs */
120
+ widowControl?: boolean;
121
+ /** Contextual spacing — suppress space between same-style paragraphs */
99
122
  contextualSpacing?: boolean;
100
123
  defaultTextFormatting?: document_d_exports.TextFormatting;
101
124
  sectionBreakType?: "nextPage" | "continuous" | "oddPage" | "evenPage";
@@ -115,7 +138,8 @@ type ParagraphAttrs = {
115
138
  * Preserve their relationship metadata at the paragraph boundary so a
116
139
  * no-edit DOCX round-trip does not silently drop hyperlink elements. */
117
140
  _emptyHyperlinks?: {
118
- /** ProseMirror inline offset where the zero-width hyperlink appeared. */offset: number;
141
+ /** ProseMirror inline offset where the zero-width hyperlink appeared. */
142
+ offset: number;
119
143
  href?: document_d_exports.Hyperlink["href"];
120
144
  anchor?: document_d_exports.Hyperlink["anchor"];
121
145
  tooltip?: document_d_exports.Hyperlink["tooltip"];
@@ -180,23 +204,34 @@ type ImagePositionAttrs = {
180
204
  */
181
205
  type ImageAttrs = {
182
206
  src: string;
207
+ docPrName?: string;
183
208
  alt?: string;
184
- title?: string; /** Width in pixels (already converted from EMU) */
185
- width?: number; /** Height in pixels (already converted from EMU) */
209
+ title?: string;
210
+ /** Width in pixels (already converted from EMU) */
211
+ width?: number;
212
+ /** Height in pixels (already converted from EMU) */
186
213
  height?: number;
187
- rId?: string; /** Wrap type from DOCX: inline, square, tight, through, topAndBottom, behind, inFront */
188
- wrapType?: document_d_exports.ImageWrap["type"]; /** Display mode for CSS: inline (flows with text), float (left/right float), block (centered) */
189
- displayMode?: "inline" | "float" | "block"; /** CSS float direction for floating images */
190
- cssFloat?: "left" | "right" | "none"; /** CSS transform string (rotation, flip) */
214
+ rId?: string;
215
+ /** Wrap type from DOCX: inline, square, tight, through, topAndBottom, behind, inFront */
216
+ wrapType?: document_d_exports.ImageWrap["type"];
217
+ /** Display mode for CSS: inline (flows with text), float (left/right float), block (centered) */
218
+ displayMode?: "inline" | "float" | "block";
219
+ /** CSS float direction for floating images */
220
+ cssFloat?: "left" | "right" | "none";
221
+ /** CSS transform string (rotation, flip) */
191
222
  transform?: string;
192
223
  /**
193
224
  * Opacity in [0, 1] from `<a:alphaModFix amt>`. Undefined / 1 means fully
194
225
  * opaque (no CSS `opacity` emitted). eigenpal #424.
195
226
  */
196
- opacity?: number; /** Distance from text above (pixels) */
197
- distTop?: number; /** Distance from text below (pixels) */
198
- distBottom?: number; /** Distance from text left (pixels) */
199
- distLeft?: number; /** Distance from text right (pixels) */
227
+ opacity?: number;
228
+ /** Distance from text above (pixels) */
229
+ distTop?: number;
230
+ /** Distance from text below (pixels) */
231
+ distBottom?: number;
232
+ /** Distance from text left (pixels) */
233
+ distLeft?: number;
234
+ /** Distance from text right (pixels) */
200
235
  distRight?: number;
201
236
  /**
202
237
  * wp:srcRect crop fractions in [0, 1]. Carried through the editor so a
@@ -206,53 +241,87 @@ type ImageAttrs = {
206
241
  cropTop?: number;
207
242
  cropRight?: number;
208
243
  cropBottom?: number;
209
- cropLeft?: number; /** Position for floating images (horizontal and vertical alignment) */
210
- position?: ImagePositionAttrs; /** Use the containing table cell as the anchor's positioning scope (the OOXML default). */
211
- layoutInCell?: boolean; /** Border width in pixels */
212
- borderWidth?: number; /** Border color as CSS color string */
213
- borderColor?: string; /** Border style (CSS border-style value) */
214
- borderStyle?: string; /** Wrap text setting from DOCX (left, right, bothSides, largest) for round-trip */
215
- wrapText?: NonNullable<document_d_exports.ImageWrap["wrapText"]>; /** Hyperlink URL for clickable image */
216
- hlinkHref?: string; /** Original OOXML for opaque/unsupported DOCX drawings. */
217
- _docxRawXml?: string; /** Embedded-object previews use their authored box as the exact line height. */
244
+ cropLeft?: number;
245
+ /** Position for floating images (horizontal and vertical alignment) */
246
+ position?: ImagePositionAttrs;
247
+ /** Use the containing table cell as the anchor's positioning scope (the OOXML default). */
248
+ layoutInCell?: boolean;
249
+ /** Border width in pixels */
250
+ borderWidth?: number;
251
+ /** Border color as CSS color string */
252
+ borderColor?: string;
253
+ /** Border style (CSS border-style value) */
254
+ borderStyle?: string;
255
+ /** Wrap text setting from DOCX (left, right, bothSides, largest) for round-trip */
256
+ wrapText?: NonNullable<document_d_exports.ImageWrap["wrapText"]>;
257
+ /** Hyperlink URL for clickable image */
258
+ hlinkHref?: string;
259
+ /** DOCX relationship ID for the clickable image hyperlink */
260
+ hlinkRId?: string;
261
+ /** Original OOXML for opaque/unsupported DOCX drawings. */
262
+ _docxRawXml?: string;
263
+ /** Embedded-object previews use their authored box as the exact line height. */
218
264
  _docxObjectPreview?: boolean;
219
265
  };
220
266
  /**
221
267
  * Field node attributes
222
268
  */
223
269
  type FieldAttrs = {
224
- /** Field type: PAGE, NUMPAGES, DATE, MERGEFIELD, etc. */fieldType: document_d_exports.FieldType; /** Full field instruction (e.g. "PAGE \\* MERGEFORMAT") */
225
- instruction: string; /** Current/cached display text */
226
- displayText: string; /** Whether the field came from w:fldSimple or a complex fldChar range */
227
- fieldKind: "simple" | "complex"; /** Field is locked */
228
- fldLock?: boolean; /** Field is dirty and should be recalculated by the host application */
270
+ /** Field type: PAGE, NUMPAGES, DATE, MERGEFIELD, etc. */
271
+ fieldType: document_d_exports.FieldType;
272
+ /** Full field instruction (e.g. "PAGE \\* MERGEFORMAT") */
273
+ instruction: string;
274
+ /** Current/cached display text */
275
+ displayText: string;
276
+ /** Whether the field came from w:fldSimple or a complex fldChar range */
277
+ fieldKind: "simple" | "complex";
278
+ /** Field is locked */
279
+ fldLock?: boolean;
280
+ /** Field is dirty and should be recalculated by the host application */
229
281
  dirty?: boolean;
230
282
  };
231
283
  /**
232
284
  * Math equation node attributes
233
285
  */
234
286
  type MathAttrs = {
235
- /** Whether this is inline OMML or a block equation paragraph */display?: "inline" | "block"; /** Raw OMML XML for round-trip preservation */
236
- ommlXml: string; /** Plain text fallback used by the editor and layout engine */
287
+ /** Whether this is inline OMML or a block equation paragraph */
288
+ display?: "inline" | "block";
289
+ /** Raw OMML XML for round-trip preservation */
290
+ ommlXml: string;
291
+ /** Plain text fallback used by the editor and layout engine */
237
292
  plainText?: string;
238
293
  };
239
294
  /**
240
295
  * Structured document tag node attributes
241
296
  */
242
297
  type SdtAttrs = {
243
- /** SDT type */sdtType: document_d_exports.SdtType; /** Alias (friendly name) */
244
- alias?: string; /** Tag (developer identifier) */
245
- tag?: string; /** Numeric `w:id/@w:val`. */
246
- id?: number; /** Lock setting */
247
- lock?: NonNullable<document_d_exports.SdtProperties["lock"]>; /** Placeholder text */
248
- placeholder?: string; /** Whether showing placeholder */
249
- showingPlaceholder?: boolean; /** Date format for date controls */
250
- dateFormat?: string; /** ISO 8601 bound date value (`w:date@w:fullDate`). */
251
- dateValueISO?: string; /** Dropdown/combobox list items as JSON string */
252
- listItems?: string; /** Selected dropdown / comboBox value (`w:dropDownList@w:lastValue`). */
253
- dropdownLastValue?: string; /** Checkbox checked state */
254
- checked?: boolean; /** Captured `<w:sdtPr>…</w:sdtPr>` for round-trip replay. */
255
- rawPropertiesXml?: string; /** Captured `<w:sdtEndPr>…</w:sdtEndPr>` for round-trip replay. */
298
+ /** SDT type */
299
+ sdtType: document_d_exports.SdtType;
300
+ /** Alias (friendly name) */
301
+ alias?: string;
302
+ /** Tag (developer identifier) */
303
+ tag?: string;
304
+ /** Numeric `w:id/@w:val`. */
305
+ id?: number;
306
+ /** Lock setting */
307
+ lock?: NonNullable<document_d_exports.SdtProperties["lock"]>;
308
+ /** Placeholder text */
309
+ placeholder?: string;
310
+ /** Whether showing placeholder */
311
+ showingPlaceholder?: boolean;
312
+ /** Date format for date controls */
313
+ dateFormat?: string;
314
+ /** ISO 8601 bound date value (`w:date@w:fullDate`). */
315
+ dateValueISO?: string;
316
+ /** Dropdown/combobox list items as JSON string */
317
+ listItems?: string;
318
+ /** Selected dropdown / comboBox value (`w:dropDownList@w:lastValue`). */
319
+ dropdownLastValue?: string;
320
+ /** Checkbox checked state */
321
+ checked?: boolean;
322
+ /** Captured `<w:sdtPr>…</w:sdtPr>` for round-trip replay. */
323
+ rawPropertiesXml?: string;
324
+ /** Captured `<w:sdtEndPr>…</w:sdtEndPr>` for round-trip replay. */
256
325
  rawEndPropertiesXml?: string;
257
326
  };
258
327
  /**
@@ -263,14 +332,18 @@ type SdtAttrs = {
263
332
  type BlockSdtAttrs = {
264
333
  sdtType: document_d_exports.SdtType;
265
334
  alias?: string;
266
- tag?: string; /** Numeric `w:id/@w:val`. */
335
+ tag?: string;
336
+ /** Numeric `w:id/@w:val`. */
267
337
  id?: number;
268
338
  lock?: NonNullable<document_d_exports.SdtProperties["lock"]>;
269
339
  placeholder?: string;
270
340
  showingPlaceholder?: boolean;
271
- dateFormat?: string; /** ISO 8601 bound date value (`w:date@w:fullDate`). */
272
- dateValueISO?: string; /** Dropdown/combobox list items as JSON string. */
273
- listItems?: string; /** Selected dropdown / comboBox value (`w:dropDownList@w:lastValue`). */
341
+ dateFormat?: string;
342
+ /** ISO 8601 bound date value (`w:date@w:fullDate`). */
343
+ dateValueISO?: string;
344
+ /** Dropdown/combobox list items as JSON string. */
345
+ listItems?: string;
346
+ /** Selected dropdown / comboBox value (`w:dropDownList@w:lastValue`). */
274
347
  dropdownLastValue?: string;
275
348
  checked?: boolean;
276
349
  /**
@@ -278,77 +351,142 @@ type BlockSdtAttrs = {
278
351
  * filler paragraph to satisfy PM's `block+`; on save the converter
279
352
  * uses this flag to drop the filler instead of guessing from shape.
280
353
  */
281
- _originallyEmpty?: boolean; /** Captured `<w:sdtPr>…</w:sdtPr>` for round-trip replay. */
282
- rawPropertiesXml?: string; /** Captured `<w:sdtEndPr>…</w:sdtEndPr>` for round-trip replay. */
283
- rawEndPropertiesXml?: string; /** Verbatim XML for sdt siblings before sdtContent (range markers). */
284
- rawSdtChildrenBeforeContent?: string; /** Verbatim XML for sdt siblings after sdtContent (range markers). */
354
+ _originallyEmpty?: boolean;
355
+ /** Captured `<w:sdtPr>…</w:sdtPr>` for round-trip replay. */
356
+ rawPropertiesXml?: string;
357
+ /** Captured `<w:sdtEndPr>…</w:sdtEndPr>` for round-trip replay. */
358
+ rawEndPropertiesXml?: string;
359
+ /** Verbatim XML for sdt siblings before sdtContent (range markers). */
360
+ rawSdtChildrenBeforeContent?: string;
361
+ /** Verbatim XML for sdt siblings after sdtContent (range markers). */
285
362
  rawSdtChildrenAfterContent?: string;
286
363
  };
287
364
  /**
288
365
  * Shape node attributes
289
366
  */
290
367
  type ShapeAttrs = {
291
- /** Shape type preset */shapeType?: string; /** Unique identifier */
292
- shapeId?: string; /** Width in pixels */
293
- width?: number; /** Height in pixels */
294
- height?: number; /** Fill color as CSS color */
295
- fillColor?: string; /** Fill type: none, solid, gradient, pattern, picture */
296
- fillType?: document_d_exports.ShapeFill["type"]; /** Gradient type: linear, radial, rectangular, path */
297
- gradientType?: NonNullable<document_d_exports.ShapeFill["gradient"]>["type"]; /** Gradient angle in degrees (for linear) */
298
- gradientAngle?: number; /** Gradient stops as JSON string: [{position, color}] */
299
- gradientStops?: string; /** Outline width in pixels */
300
- outlineWidth?: number; /** Outline color as CSS color */
301
- outlineColor?: string; /** Outline dash style, or `"none"` for an explicit no-outline. */
302
- outlineStyle?: OutlineStyleAttr; /** Line cap */
303
- outlineCap?: NonNullable<document_d_exports.ShapeOutline["cap"]>; /** Head arrow/end marker */
304
- outlineHeadEnd?: NonNullable<document_d_exports.ShapeOutline["headEnd"]>; /** Tail arrow/end marker */
305
- outlineTailEnd?: NonNullable<document_d_exports.ShapeOutline["tailEnd"]>; /** CSS transform */
306
- transform?: string; /** Display mode */
307
- displayMode?: "inline" | "float" | "block"; /** CSS float */
308
- cssFloat?: "left" | "right" | "none"; /** Wrap type */
309
- wrapType?: document_d_exports.ImageWrap["type"]; /** Wrap text setting from DOCX (left, right, bothSides, largest) for round-trip */
310
- wrapText?: NonNullable<document_d_exports.ImageWrap["wrapText"]>; /** Distance from text above (pixels) */
311
- distTop?: number; /** Distance from text below (pixels) */
312
- distBottom?: number; /** Distance from text left (pixels) */
313
- distLeft?: number; /** Distance from text right (pixels) */
314
- distRight?: number; /** Position for floating shapes (horizontal and vertical alignment) */
315
- position?: ImagePositionAttrs; /** Shadow color as CSS color */
316
- shadowColor?: string; /** Shadow blur radius in pixels */
317
- shadowBlur?: number; /** Shadow X offset in pixels */
318
- shadowOffsetX?: number; /** Shadow Y offset in pixels */
319
- shadowOffsetY?: number; /** Glow color as CSS color */
320
- glowColor?: string; /** Glow radius in pixels */
368
+ /** Shape type preset */
369
+ shapeType?: string;
370
+ /** Unique identifier */
371
+ shapeId?: string;
372
+ /** Width in pixels */
373
+ width?: number;
374
+ /** Height in pixels */
375
+ height?: number;
376
+ /** Fill color as CSS color */
377
+ fillColor?: string;
378
+ /** Authored OOXML fill color, retained when it references a theme slot. */
379
+ fillColorValue?: document_d_exports.ShapeFill["color"];
380
+ /** Fill type: none, solid, gradient, pattern, picture */
381
+ fillType?: document_d_exports.ShapeFill["type"];
382
+ /** Gradient type: linear, radial, rectangular, path */
383
+ gradientType?: NonNullable<document_d_exports.ShapeFill["gradient"]>["type"];
384
+ /** Gradient angle in degrees (for linear) */
385
+ gradientAngle?: number;
386
+ /** Gradient stops as JSON string: [{position, color}] */
387
+ gradientStops?: string;
388
+ /** Outline width in pixels */
389
+ outlineWidth?: number;
390
+ /** Outline color as CSS color */
391
+ outlineColor?: string;
392
+ /** Authored OOXML outline color, retained when it references a theme slot. */
393
+ outlineColorValue?: document_d_exports.ShapeOutline["color"];
394
+ /** Outline dash style, or `"none"` for an explicit no-outline. */
395
+ outlineStyle?: OutlineStyleAttr;
396
+ /** Line cap */
397
+ outlineCap?: NonNullable<document_d_exports.ShapeOutline["cap"]>;
398
+ /** Head arrow/end marker */
399
+ outlineHeadEnd?: NonNullable<document_d_exports.ShapeOutline["headEnd"]>;
400
+ /** Tail arrow/end marker */
401
+ outlineTailEnd?: NonNullable<document_d_exports.ShapeOutline["tailEnd"]>;
402
+ /** CSS transform */
403
+ transform?: string;
404
+ /** Display mode */
405
+ displayMode?: "inline" | "float" | "block";
406
+ /** CSS float */
407
+ cssFloat?: "left" | "right" | "none";
408
+ /** Wrap type */
409
+ wrapType?: document_d_exports.ImageWrap["type"];
410
+ /** Wrap text setting from DOCX (left, right, bothSides, largest) for round-trip */
411
+ wrapText?: NonNullable<document_d_exports.ImageWrap["wrapText"]>;
412
+ /** Distance from text above (pixels) */
413
+ distTop?: number;
414
+ /** Distance from text below (pixels) */
415
+ distBottom?: number;
416
+ /** Distance from text left (pixels) */
417
+ distLeft?: number;
418
+ /** Distance from text right (pixels) */
419
+ distRight?: number;
420
+ /** Position for floating shapes (horizontal and vertical alignment) */
421
+ position?: ImagePositionAttrs;
422
+ /** Shadow color as CSS color */
423
+ shadowColor?: string;
424
+ /** Shadow blur radius in pixels */
425
+ shadowBlur?: number;
426
+ /** Shadow X offset in pixels */
427
+ shadowOffsetX?: number;
428
+ /** Shadow Y offset in pixels */
429
+ shadowOffsetY?: number;
430
+ /** Glow color as CSS color */
431
+ glowColor?: string;
432
+ /** Glow radius in pixels */
321
433
  glowRadius?: number;
322
434
  };
323
435
  /**
324
436
  * Text box node attributes
325
437
  */
326
438
  type TextBoxAttrs = {
327
- /** Width in pixels */width?: number; /** Height in pixels */
328
- height?: number; /** Text fitting behavior */
329
- autoFit?: document_d_exports.ShapeTextBody["autoFit"]; /** Unique identifier */
330
- textBoxId?: string; /** Fill color as CSS color */
331
- fillColor?: string; /** Outline width in pixels */
332
- outlineWidth?: number; /** Outline color as CSS color */
333
- outlineColor?: string; /** Outline dash style, or `"none"` for an explicit no-outline. */
334
- outlineStyle?: OutlineStyleAttr; /** Internal margin top in pixels */
335
- marginTop?: number; /** Internal margin bottom in pixels */
336
- marginBottom?: number; /** Internal margin left in pixels */
337
- marginLeft?: number; /** Internal margin right in pixels */
338
- marginRight?: number; /** Vertical text alignment */
339
- verticalAlign?: string; /** Display mode */
340
- displayMode?: "inline" | "float" | "block"; /** CSS float direction */
341
- cssFloat?: "left" | "right" | "none"; /** Wrap type */
342
- wrapType?: document_d_exports.ImageWrap["type"]; /** OOXML wrapText direction for anchored text boxes (eigenpal #474). */
343
- wrapText?: "bothSides" | "left" | "right" | "largest"; /** Wrap distance from top edge, in pixels (OOXML distT, EMU-converted). */
344
- distTop?: number; /** Wrap distance from bottom edge, in pixels. */
345
- distBottom?: number; /** Wrap distance from left edge, in pixels. */
346
- distLeft?: number; /** Wrap distance from right edge, in pixels. */
347
- distRight?: number; /** Position for floating/anchored text boxes */
348
- position?: ImagePositionAttrs; /** Original DOCX placement hint for save-path reconstruction. */
349
- _docxPlacement?: "standalone" | "inlineWithPrevious"; /** Original DOCX paragraph group for standalone text-box reconstruction. */
350
- _docxGroupId?: string; /** Inline anchor linking this block node to its source run position. */
351
- _docxAnchorId?: string; /** Original run-level revision wrapper for save-path reconstruction. */
439
+ /** Width in pixels */
440
+ width?: number;
441
+ /** Height in pixels */
442
+ height?: number;
443
+ /** Text fitting behavior */
444
+ autoFit?: document_d_exports.ShapeTextBody["autoFit"];
445
+ /** Unique identifier */
446
+ textBoxId?: string;
447
+ /** Fill color as CSS color */
448
+ fillColor?: string;
449
+ /** Outline width in pixels */
450
+ outlineWidth?: number;
451
+ /** Outline color as CSS color */
452
+ outlineColor?: string;
453
+ /** Outline dash style, or `"none"` for an explicit no-outline. */
454
+ outlineStyle?: OutlineStyleAttr;
455
+ /** Internal margin top in pixels */
456
+ marginTop?: number;
457
+ /** Internal margin bottom in pixels */
458
+ marginBottom?: number;
459
+ /** Internal margin left in pixels */
460
+ marginLeft?: number;
461
+ /** Internal margin right in pixels */
462
+ marginRight?: number;
463
+ /** Vertical text alignment */
464
+ verticalAlign?: string;
465
+ /** Display mode */
466
+ displayMode?: "inline" | "float" | "block";
467
+ /** CSS float direction */
468
+ cssFloat?: "left" | "right" | "none";
469
+ /** Wrap type */
470
+ wrapType?: document_d_exports.ImageWrap["type"];
471
+ /** OOXML wrapText direction for anchored text boxes (eigenpal #474). */
472
+ wrapText?: "bothSides" | "left" | "right" | "largest";
473
+ /** Wrap distance from top edge, in pixels (OOXML distT, EMU-converted). */
474
+ distTop?: number;
475
+ /** Wrap distance from bottom edge, in pixels. */
476
+ distBottom?: number;
477
+ /** Wrap distance from left edge, in pixels. */
478
+ distLeft?: number;
479
+ /** Wrap distance from right edge, in pixels. */
480
+ distRight?: number;
481
+ /** Position for floating/anchored text boxes */
482
+ position?: ImagePositionAttrs;
483
+ /** Original DOCX placement hint for save-path reconstruction. */
484
+ _docxPlacement?: "standalone" | "inlineWithPrevious";
485
+ /** Original DOCX paragraph group for standalone text-box reconstruction. */
486
+ _docxGroupId?: string;
487
+ /** Inline anchor linking this block node to its source run position. */
488
+ _docxAnchorId?: string;
489
+ /** Original run-level revision wrapper for save-path reconstruction. */
352
490
  _docxTrackedChange?: {
353
491
  type: "insertion";
354
492
  info: document_d_exports.TrackedChangeInfo;
@@ -361,7 +499,8 @@ type TextBoxAttrs = {
361
499
  } | {
362
500
  type: "moveTo";
363
501
  info: document_d_exports.TrackedChangeInfo;
364
- }; /** Original inline content-control ancestry for save-path reconstruction. */
502
+ };
503
+ /** Original inline content-control ancestry for save-path reconstruction. */
365
504
  _docxInlineSdts?: SdtAttrs[];
366
505
  };
367
506
  /** Internal inline position marker for an extracted text box block. */
@@ -372,22 +511,34 @@ type TextBoxAnchorAttrs = {
372
511
  * Table node attributes
373
512
  */
374
513
  type TableAttrs = {
375
- /** Table style ID */styleId?: string; /** Table width (in twips) */
376
- width?: number; /** Table width type ('auto', 'pct', 'dxa') */
377
- widthType?: document_d_exports.TableWidthType; /** Table justification/alignment */
378
- justification?: "left" | "center" | "right"; /** Column widths (in twips) from w:tblGrid */
379
- columnWidths?: number[]; /** Floating table properties (w:tblpPr) */
380
- floating?: document_d_exports.FloatingTableProperties; /** Default cell margins for the table (w:tblCellMar), in twips */
514
+ /** Table style ID */
515
+ styleId?: string;
516
+ /** Table width (in twips) */
517
+ width?: number;
518
+ /** Table width type ('auto', 'pct', 'dxa') */
519
+ widthType?: document_d_exports.TableWidthType;
520
+ /** Table justification/alignment */
521
+ justification?: "left" | "center" | "right";
522
+ /** Column widths (in twips) from w:tblGrid */
523
+ columnWidths?: number[];
524
+ /** Floating table properties (w:tblpPr) */
525
+ floating?: document_d_exports.FloatingTableProperties;
526
+ /** Default cell margins for the table (w:tblCellMar), in twips */
381
527
  cellMargins?: {
382
528
  top?: number;
383
529
  bottom?: number;
384
530
  left?: number;
385
531
  right?: number;
386
- }; /** Table look flags for conditional formatting (w:tblLook) */
387
- look?: document_d_exports.TableLook; /** Table-level borders (w:tblBorders) — full BorderSpec per side */
388
- borders?: document_d_exports.TableBorders; /** Effective table indent after style resolution. PM-only; never serialized. */
389
- _resolvedIndent?: NonNullable<document_d_exports.TableFormatting["indent"]>; /** Original table formatting from DOCX for lossless round-trip serialization */
390
- _originalFormatting?: document_d_exports.TableFormatting; /** Tracked table property changes (w:tblPrChange) for round-trip + accept/reject */
532
+ };
533
+ /** Table look flags for conditional formatting (w:tblLook) */
534
+ look?: document_d_exports.TableLook;
535
+ /** Table-level borders (w:tblBorders) full BorderSpec per side */
536
+ borders?: document_d_exports.TableBorders;
537
+ /** Effective table indent after style resolution. PM-only; never serialized. */
538
+ _resolvedIndent?: NonNullable<document_d_exports.TableFormatting["indent"]>;
539
+ /** Original table formatting from DOCX for lossless round-trip serialization */
540
+ _originalFormatting?: document_d_exports.TableFormatting;
541
+ /** Tracked table property changes (w:tblPrChange) for round-trip + accept/reject */
391
542
  tblPrChange?: document_d_exports.TablePropertyChange[];
392
543
  /**
393
544
  * Marks this whole table as a *suggested* insertion (AI proposal). The table
@@ -400,11 +551,17 @@ type TableAttrs = {
400
551
  * Table row attributes
401
552
  */
402
553
  type TableRowAttrs = {
403
- /** Row height (in twips) */height?: number; /** Height rule ('auto', 'exact', 'atLeast') */
404
- heightRule?: NonNullable<document_d_exports.TableRowFormatting["heightRule"]>; /** Is header row */
405
- isHeader?: boolean; /** Whether the row is hidden (`w:hidden`) */
406
- hidden?: boolean; /** Original row formatting from DOCX for lossless round-trip serialization */
407
- _originalFormatting?: document_d_exports.TableRowFormatting; /** Tracked row property changes (w:trPrChange) for round-trip + accept/reject */
554
+ /** Row height (in twips) */
555
+ height?: number;
556
+ /** Height rule ('auto', 'exact', 'atLeast') */
557
+ heightRule?: NonNullable<document_d_exports.TableRowFormatting["heightRule"]>;
558
+ /** Is header row */
559
+ isHeader?: boolean;
560
+ /** Whether the row is hidden (`w:hidden`) */
561
+ hidden?: boolean;
562
+ /** Original row formatting from DOCX for lossless round-trip serialization */
563
+ _originalFormatting?: document_d_exports.TableRowFormatting;
564
+ /** Tracked row property changes (w:trPrChange) for round-trip + accept/reject */
408
565
  trPrChange?: document_d_exports.TableRowPropertyChange[];
409
566
  } & ({
410
567
  /**
@@ -423,7 +580,8 @@ type TableRowAttrs = {
423
580
  };
424
581
  trDel?: never;
425
582
  } | {
426
- trIns?: never; /** Tracked structural row deletion (w:trPr/w:del). */
583
+ trIns?: never;
584
+ /** Tracked structural row deletion (w:trPr/w:del). */
427
585
  trDel: {
428
586
  revisionId: number;
429
587
  author: string;
@@ -454,33 +612,50 @@ type SuggestedStructuralMarker = {
454
612
  * Table cell attributes
455
613
  */
456
614
  type TableCellAttrs = {
457
- /** Column span */colspan: number; /** Row span */
458
- rowspan: number; /** Column widths for prosemirror-tables resizing (array of pixel widths) */
459
- colwidth?: number[] | null; /** Cell width (in twips) */
460
- width?: number; /** Cell width type */
461
- widthType?: document_d_exports.TableWidthType; /** Vertical alignment */
462
- verticalAlign?: "top" | "center" | "bottom"; /** Background color (RGB hex) */
463
- backgroundColor?: string; /** Resolved source color. PM-only; distinguishes theme rendering from a user override. */
464
- _resolvedBackgroundColor?: string; /** OOXML text direction (e.g. 'tbRl', 'btLr') */
465
- textDirection?: NonNullable<document_d_exports.TableCellFormatting["textDirection"]>; /** No text wrapping in cell */
466
- noWrap?: boolean; /** Effective end-of-cell marker suppression (`w:hideMark`). */
467
- hideMark?: boolean; /** Cell borders — full BorderSpec per side (style, color, size) */
468
- borders?: document_d_exports.TableCellBorders; /** Cell margins/padding in twips per side */
615
+ /** Column span */
616
+ colspan: number;
617
+ /** Row span */
618
+ rowspan: number;
619
+ /** Column widths for prosemirror-tables resizing (array of pixel widths) */
620
+ colwidth?: number[] | null;
621
+ /** Cell width (in twips) */
622
+ width?: number;
623
+ /** Cell width type */
624
+ widthType?: document_d_exports.TableWidthType;
625
+ /** Vertical alignment */
626
+ verticalAlign?: "top" | "center" | "bottom";
627
+ /** Background color (RGB hex) */
628
+ backgroundColor?: string;
629
+ /** Resolved source color. PM-only; distinguishes theme rendering from a user override. */
630
+ _resolvedBackgroundColor?: string;
631
+ /** OOXML text direction (e.g. 'tbRl', 'btLr') */
632
+ textDirection?: NonNullable<document_d_exports.TableCellFormatting["textDirection"]>;
633
+ /** No text wrapping in cell */
634
+ noWrap?: boolean;
635
+ /** Effective end-of-cell marker suppression (`w:hideMark`). */
636
+ hideMark?: boolean;
637
+ /** Cell borders — full BorderSpec per side (style, color, size) */
638
+ borders?: document_d_exports.TableCellBorders;
639
+ /** Cell margins/padding in twips per side */
469
640
  margins?: {
470
641
  top?: number;
471
642
  bottom?: number;
472
643
  left?: number;
473
644
  right?: number;
474
- }; /** Original cell formatting from DOCX for lossless round-trip serialization */
475
- _originalFormatting?: document_d_exports.TableCellFormatting; /** Tracked cell property changes (w:tcPrChange) for round-trip + accept/reject */
476
- tcPrChange?: document_d_exports.TableCellPropertyChange[]; /** Tracked cell structural revision for round-trip + accept/reject. */
645
+ };
646
+ /** Original cell formatting from DOCX for lossless round-trip serialization */
647
+ _originalFormatting?: document_d_exports.TableCellFormatting;
648
+ /** Tracked cell property changes (w:tcPrChange) for round-trip + accept/reject */
649
+ tcPrChange?: document_d_exports.TableCellPropertyChange[];
650
+ /** Tracked cell structural revision for round-trip + accept/reject. */
477
651
  cellMarker?: {
478
652
  kind: "ins" | "del";
479
653
  info: {
480
654
  revisionId: number;
481
655
  author: string;
482
656
  date?: string | null;
483
- initials?: string | null; /** `"suggested"` marks this as an AI proposal (stripped until accepted). */
657
+ initials?: string | null;
658
+ /** `"suggested"` marks this as an AI proposal (stripped until accepted). */
484
659
  provenance?: TrackedChangeProvenance;
485
660
  suggestionId?: string | null;
486
661
  };
@@ -499,8 +674,10 @@ type TableCellAttrs = {
499
674
  };
500
675
  verticalMerge?: "continue" | "rest";
501
676
  verticalMergeOriginal?: "continue" | "rest";
502
- }; /** Preserve a DOCX vMerge restart even when PM cannot model it as a rowspan. */
503
- _preserveVMergeRestart?: boolean; /** Original DOCX vMerge continuation cells skipped into this PM rowspan. */
677
+ };
678
+ /** Preserve a DOCX vMerge restart even when PM cannot model it as a rowspan. */
679
+ _preserveVMergeRestart?: boolean;
680
+ /** Original DOCX vMerge continuation cells skipped into this PM rowspan. */
504
681
  _docxVMergeContinuationCells?: document_d_exports.TableCell[];
505
682
  };
506
683
  //#endregion