oasis-editor 0.0.1 → 0.0.3

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 (363) hide show
  1. package/README.md +388 -1
  2. package/dist/OasisEditorApp-DEnDLTaw.js +45893 -0
  3. package/dist/app/bootstrap/createOasisEditorApp.d.ts +2 -3
  4. package/dist/app/bootstrap/createOasisEditorContainer.d.ts +2 -3
  5. package/dist/app/client/OasisEditorClient.d.ts +97 -0
  6. package/dist/app/controllers/EditorCommandsController.d.ts +1 -1
  7. package/dist/app/controllers/createResizeSession.d.ts +43 -0
  8. package/dist/app/controllers/createRotateSession.d.ts +36 -0
  9. package/dist/app/controllers/documentIO/DocumentImporter.d.ts +1 -1
  10. package/dist/app/controllers/tableResize/tableResizeApply.d.ts +5 -0
  11. package/dist/app/controllers/tableResize/tableResizeConstraints.d.ts +17 -0
  12. package/dist/app/controllers/tableResize/tableResizeDom.d.ts +9 -0
  13. package/dist/app/controllers/tableResize/tableResizeGeometry.d.ts +5 -0
  14. package/dist/app/controllers/tableResize/tableResizeHitTest.d.ts +4 -0
  15. package/dist/app/controllers/tableResize/tableResizeTypes.d.ts +65 -0
  16. package/dist/app/controllers/tableResize/tableResizeUnits.d.ts +6 -0
  17. package/dist/app/controllers/useEditorDocumentIO.d.ts +3 -3
  18. package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -1
  19. package/dist/app/controllers/useEditorImageOperations.d.ts +6 -14
  20. package/dist/app/controllers/useEditorLayout.d.ts +2 -2
  21. package/dist/app/controllers/useEditorStyle.d.ts +1 -1
  22. package/dist/app/controllers/useEditorSurfaceEvents.d.ts +1 -0
  23. package/dist/app/controllers/useEditorTableOperations.d.ts +2 -2
  24. package/dist/app/controllers/useEditorTableResize.d.ts +2 -24
  25. package/dist/app/controllers/useEditorTextBoxOperations.d.ts +24 -0
  26. package/dist/app/services/userPreferences.d.ts +4 -0
  27. package/dist/assets/importDocxWorker-R5rI6JIO.js +12 -0
  28. package/dist/branding/apple-touch-icon.png +0 -0
  29. package/dist/branding/brand-mark.webp +0 -0
  30. package/dist/branding/favicon-16x16.png +0 -0
  31. package/dist/branding/favicon-32x32.png +0 -0
  32. package/dist/branding/favicon.ico +0 -0
  33. package/dist/branding/github-pages-icon.png +0 -0
  34. package/dist/branding/icon-192.png +0 -0
  35. package/dist/branding/icon-512.png +0 -0
  36. package/dist/branding/logo-full.png +0 -0
  37. package/dist/branding/logo-mark-square.png +0 -0
  38. package/dist/branding/social-card.png +0 -0
  39. package/dist/core/Editor.d.ts +4 -5
  40. package/dist/core/cloneState.d.ts +3 -1
  41. package/dist/core/commands/CommandRegistry.d.ts +6 -1
  42. package/dist/core/commands/block.d.ts +1 -1
  43. package/dist/core/commands/builtinCommands.d.ts +2 -0
  44. package/dist/core/commands/floatingLayout.d.ts +29 -0
  45. package/dist/core/commands/image.d.ts +16 -8
  46. package/dist/core/commands/list.d.ts +1 -1
  47. package/dist/core/commands/publicCommandTypes.d.ts +110 -0
  48. package/dist/core/commands/selectedObjectRun.d.ts +20 -0
  49. package/dist/core/commands/table/insertTableCommand.d.ts +3 -0
  50. package/dist/core/commands/table/tableCellStyleCommands.d.ts +5 -0
  51. package/dist/core/commands/table/tableColumnCommands.d.ts +3 -0
  52. package/dist/core/commands/table/tableCommandUtils.d.ts +16 -0
  53. package/dist/core/commands/table/tableRowCommands.d.ts +5 -0
  54. package/dist/core/commands/table/tableStyleCommands.d.ts +4 -0
  55. package/dist/core/commands/table.d.ts +5 -10
  56. package/dist/core/commands/text.d.ts +1 -1
  57. package/dist/core/commands/textBox.d.ts +21 -0
  58. package/dist/core/document/blockReplacement.d.ts +7 -0
  59. package/dist/core/document/bookmarkAnchors.d.ts +8 -0
  60. package/dist/core/document/clone.d.ts +8 -0
  61. package/dist/core/document/paragraphRunBuild.d.ts +14 -0
  62. package/dist/core/document/paragraphRunEdit.d.ts +3 -0
  63. package/dist/core/document/paragraphRunQuery.d.ts +14 -0
  64. package/dist/core/document/paragraphRuns.d.ts +3 -0
  65. package/dist/core/editorCommands.d.ts +2 -0
  66. package/dist/core/editorState.d.ts +5 -3
  67. package/dist/core/endnotes.d.ts +41 -0
  68. package/dist/core/engine.d.ts +18 -3
  69. package/dist/core/html/htmlBlockWalker.d.ts +17 -0
  70. package/dist/core/html/htmlEscape.d.ts +1 -0
  71. package/dist/core/html/htmlStyleParser.d.ts +3 -0
  72. package/dist/core/html/htmlTextSerializer.d.ts +5 -0
  73. package/dist/core/html/inlineImageParser.d.ts +3 -0
  74. package/dist/core/html/inlineStyleParser.d.ts +3 -0
  75. package/dist/core/html/paragraphStyleParser.d.ts +3 -0
  76. package/dist/core/html/styleCss.d.ts +5 -0
  77. package/dist/core/model/assets.d.ts +7 -0
  78. package/dist/core/model/documentIndex.d.ts +58 -0
  79. package/dist/core/model/documentSections.d.ts +4 -0
  80. package/dist/core/model/editingZones.d.ts +26 -0
  81. package/dist/core/model/editorState.d.ts +18 -0
  82. package/dist/core/model/index.d.ts +31 -0
  83. package/dist/core/model/pageGeometry.d.ts +14 -0
  84. package/dist/core/model/paragraphWalker.d.ts +5 -0
  85. package/dist/core/model/queries.d.ts +2 -1
  86. package/dist/core/model/styleDefaults.d.ts +6 -0
  87. package/dist/core/model/styleResolution.d.ts +44 -0
  88. package/dist/core/model/types/document.d.ts +86 -0
  89. package/dist/core/model/types/documentBookmarks.d.ts +49 -0
  90. package/dist/core/model/types/documentEndnotes.d.ts +8 -0
  91. package/dist/core/model/types/documentFootnotes.d.ts +8 -0
  92. package/dist/core/model/types/layout.d.ts +93 -0
  93. package/dist/core/model/types/nodes.d.ts +192 -0
  94. package/dist/core/model/types/primitives.d.ts +140 -0
  95. package/dist/core/model/types/selection.d.ts +14 -0
  96. package/dist/core/model/types/styles.d.ts +149 -0
  97. package/dist/core/model.d.ts +7 -444
  98. package/dist/core/plugin.d.ts +59 -6
  99. package/dist/core/plugins/PluginCollection.d.ts +1 -0
  100. package/dist/core/plugins/PluginUiRegistry.d.ts +20 -0
  101. package/dist/core/selection/navigation.d.ts +5 -0
  102. package/dist/core/selection/rangeEditing.d.ts +13 -0
  103. package/dist/core/textStyle/textStyleKeys.d.ts +6 -0
  104. package/dist/core/textStyle/textStyleMutations.d.ts +8 -0
  105. package/dist/export/docx/bookmarksXml.d.ts +21 -0
  106. package/dist/export/docx/borders.d.ts +25 -0
  107. package/dist/export/docx/docxTypes.d.ts +35 -2
  108. package/dist/export/docx/endnotesXml.d.ts +24 -0
  109. package/dist/export/docx/stylesXml.d.ts +3 -0
  110. package/dist/export/docx/tableXml.d.ts +7 -1
  111. package/dist/export/docx/text/blocksXml.d.ts +7 -0
  112. package/dist/export/docx/text/constants.d.ts +6 -0
  113. package/dist/export/docx/text/drawingContainerXml.d.ts +16 -0
  114. package/dist/export/docx/text/dropCapXml.d.ts +9 -0
  115. package/dist/export/docx/text/endnoteRunXml.d.ts +5 -0
  116. package/dist/export/docx/text/fieldRunXml.d.ts +11 -0
  117. package/dist/export/docx/text/footnoteRunXml.d.ts +5 -0
  118. package/dist/export/docx/text/hyperlinkXml.d.ts +3 -0
  119. package/dist/export/docx/text/imageRunXml.d.ts +3 -0
  120. package/dist/export/docx/text/paragraphPropertiesXml.d.ts +16 -0
  121. package/dist/export/docx/text/runPropertiesXml.d.ts +3 -0
  122. package/dist/export/docx/text/runTextXml.d.ts +1 -0
  123. package/dist/export/docx/text/runXml.d.ts +5 -0
  124. package/dist/export/docx/text/styleMaterialization.d.ts +4 -0
  125. package/dist/export/docx/text/textBoxRunXml.d.ts +4 -0
  126. package/dist/export/docx/textXml.d.ts +1 -6
  127. package/dist/export/pdf/OasisPdfWriter.d.ts +1 -0
  128. package/dist/export/pdf/draw/borderDash.d.ts +11 -0
  129. package/dist/export/pdf/draw/drawFragment.d.ts +1 -0
  130. package/dist/export/pdf/draw/drawParagraph.d.ts +8 -1
  131. package/dist/export/pdf/fonts/TrueTypePdfFontSubsetter.d.ts +5 -0
  132. package/dist/export/pdf/fonts/officeFontAssets.d.ts +24 -0
  133. package/dist/export/pdf/units.d.ts +2 -1
  134. package/dist/i18n/index.d.ts +1 -1
  135. package/dist/i18n/locales/en.d.ts +108 -0
  136. package/dist/i18n/locales/pt-BR.d.ts +108 -0
  137. package/dist/import/DocumentFormatImporter.d.ts +26 -0
  138. package/dist/import/documentImporterRegistry.d.ts +6 -0
  139. package/dist/import/docx/bookmarks.d.ts +8 -0
  140. package/dist/import/docx/borders.d.ts +37 -0
  141. package/dist/import/docx/docxImporter.d.ts +3 -0
  142. package/dist/import/docx/dropCap.d.ts +13 -0
  143. package/dist/import/docx/endnotes.d.ts +17 -0
  144. package/dist/import/docx/footnotes.d.ts +2 -2
  145. package/dist/import/docx/headerFooter.d.ts +2 -2
  146. package/dist/import/docx/nestedBlocks.d.ts +15 -0
  147. package/dist/import/docx/numbering.d.ts +16 -1
  148. package/dist/import/docx/{styles.d.ts → paragraphStyle.d.ts} +2 -8
  149. package/dist/import/docx/paragraphs.d.ts +5 -4
  150. package/dist/import/docx/runStyle.d.ts +6 -0
  151. package/dist/import/docx/runs/drawingImage.d.ts +13 -0
  152. package/dist/import/docx/runs/fields.d.ts +3 -0
  153. package/dist/import/docx/runs/relationships.d.ts +11 -0
  154. package/dist/import/docx/runs/textBox.d.ts +6 -0
  155. package/dist/import/docx/runs/types.d.ts +42 -0
  156. package/dist/import/docx/runs/units.d.ts +11 -0
  157. package/dist/import/docx/runs/vmlImage.d.ts +6 -0
  158. package/dist/import/docx/runs.d.ts +14 -34
  159. package/dist/import/docx/sectionProperties.d.ts +1 -1
  160. package/dist/import/docx/settings.d.ts +1 -0
  161. package/dist/import/docx/styleUtils.d.ts +6 -0
  162. package/dist/import/docx/stylesXml.d.ts +4 -0
  163. package/dist/import/docx/tables.d.ts +2 -2
  164. package/dist/import/docx/theme.d.ts +17 -0
  165. package/dist/import/docx/themeColors.d.ts +37 -0
  166. package/dist/import/docx/themeFonts.d.ts +5 -1
  167. package/dist/import/docx/xmlHelpers.d.ts +3 -1
  168. package/dist/import/html/htmlImporter.d.ts +3 -0
  169. package/dist/import/html/importHtmlToEditorDocument.d.ts +8 -0
  170. package/dist/index-DuS88s1l.js +36810 -0
  171. package/dist/index.d.ts +39 -14
  172. package/dist/layoutProjection/blockHeights.d.ts +1 -1
  173. package/dist/layoutProjection/blocksPagination.d.ts +1 -1
  174. package/dist/layoutProjection/constants.d.ts +9 -1
  175. package/dist/layoutProjection/documentLayout.d.ts +0 -1
  176. package/dist/layoutProjection/dropCapExclusion.d.ts +23 -0
  177. package/dist/layoutProjection/endnotePagination.d.ts +8 -0
  178. package/dist/layoutProjection/floatingObjects.d.ts +45 -0
  179. package/dist/layoutProjection/footnotePagination.d.ts +1 -2
  180. package/dist/layoutProjection/headerFooterFootnotes.d.ts +1 -1
  181. package/dist/layoutProjection/headerFooterProjection.d.ts +3 -3
  182. package/dist/layoutProjection/index.d.ts +9 -7
  183. package/dist/layoutProjection/paragraphBorders.d.ts +14 -0
  184. package/dist/layoutProjection/paragraphPagination.d.ts +23 -9
  185. package/dist/layoutProjection/paragraphProjection.d.ts +1 -1
  186. package/dist/layoutProjection/sectionPagination.d.ts +3 -2
  187. package/dist/layoutProjection/tablePagination.d.ts +3 -2
  188. package/dist/layoutProjection/tableProjection.d.ts +1 -1
  189. package/dist/oasis-editor.css +1 -1
  190. package/dist/oasis-editor.js +52 -80462
  191. package/dist/oasis-editor.umd.cjs +4 -4
  192. package/dist/plugins/internal/createEssentialsPlugin.d.ts +8 -1
  193. package/dist/react.d.ts +12 -0
  194. package/dist/react.js +24 -0
  195. package/dist/testing/wordLayoutParity.d.ts +0 -3
  196. package/dist/text/fonts/FontMetricsProvider.d.ts +38 -0
  197. package/dist/text/fonts/FontProgramFactory.d.ts +6 -0
  198. package/dist/text/fonts/core/types.d.ts +69 -0
  199. package/dist/text/fonts/decoders/Brotli.d.ts +4 -0
  200. package/dist/text/fonts/decoders/FontDecoderRegistry.d.ts +10 -0
  201. package/dist/text/fonts/decoders/TtfDecoder.d.ts +8 -0
  202. package/dist/text/fonts/decoders/Woff2Decoder.d.ts +45 -0
  203. package/dist/text/fonts/layout/SimpleTextLayouter.d.ts +7 -0
  204. package/dist/text/fonts/preciseFontMetrics.d.ts +16 -0
  205. package/dist/text/fonts/preciseFontMode.d.ts +7 -0
  206. package/dist/text/fonts/sfnt/SfntFontProgram.d.ts +29 -0
  207. package/dist/text/fonts/vendor/woff2/buffer.d.ts +24 -0
  208. package/dist/text/fonts/vendor/woff2/glyf-reconstructor.d.ts +55 -0
  209. package/dist/text/fonts/vendor/woff2/hmtx-reconstructor.d.ts +5 -0
  210. package/dist/text/fonts/vendor/woff2/sfnt-builder.d.ts +7 -0
  211. package/dist/text/fonts/vendor/woff2/utils.d.ts +12 -0
  212. package/dist/text/truetype/AdvanceWidthSource.d.ts +19 -0
  213. package/dist/text/truetype/BinaryReader.d.ts +28 -0
  214. package/dist/text/truetype/CmapParser.d.ts +15 -0
  215. package/dist/text/truetype/SfntTableDirectory.d.ts +26 -0
  216. package/dist/text/truetype/TrueTypeFont.d.ts +36 -0
  217. package/dist/text/truetype/TrueTypeParseError.d.ts +11 -0
  218. package/dist/text/truetype/tableParsers.d.ts +45 -0
  219. package/dist/ui/OasisEditorApp.d.ts +1 -1
  220. package/dist/ui/OasisEditorAppLazy.d.ts +16 -0
  221. package/dist/ui/OasisEditorAppProps.d.ts +10 -2
  222. package/dist/ui/OasisEditorEditor.d.ts +17 -8
  223. package/dist/ui/OasisEditorLoading.d.ts +25 -0
  224. package/dist/ui/app/EditorDialogsLayer.d.ts +4 -0
  225. package/dist/ui/app/EditorWorkspace.d.ts +6 -0
  226. package/dist/ui/app/buildEditorViewProps.d.ts +7 -3
  227. package/dist/ui/app/createRuntimeCommandHost.d.ts +2 -1
  228. package/dist/ui/app/localFontAccess.d.ts +33 -0
  229. package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +2 -2
  230. package/dist/ui/app/useEditorContextMenuClipboard.d.ts +18 -0
  231. package/dist/ui/app/useEditorDialogs.d.ts +18 -0
  232. package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +3 -0
  233. package/dist/ui/app/useEditorRuntimePlugins.d.ts +3 -0
  234. package/dist/ui/app/useEditorUiOptions.d.ts +1 -1
  235. package/dist/ui/app/useParagraphDialogBridge.d.ts +29 -0
  236. package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +30 -0
  237. package/dist/ui/canvas/CanvasHitTestService.d.ts +17 -0
  238. package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +57 -1
  239. package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +16 -0
  240. package/dist/ui/canvas/CanvasTableLayout.d.ts +3 -1
  241. package/dist/ui/canvas/canvasBlockPainter.d.ts +2 -2
  242. package/dist/ui/canvas/canvasBorders.d.ts +17 -0
  243. package/dist/ui/canvas/canvasDropCapPainter.d.ts +16 -0
  244. package/dist/ui/canvas/canvasParagraphPainter.d.ts +24 -2
  245. package/dist/ui/canvas/canvasTextBoxPainter.d.ts +24 -0
  246. package/dist/ui/canvas/imageContour.d.ts +10 -0
  247. package/dist/ui/canvas/textBoxRenderHeight.d.ts +14 -0
  248. package/dist/ui/canvas/verticalText.d.ts +104 -0
  249. package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -65
  250. package/dist/ui/components/Dialogs/FontDialogModel.d.ts +5 -0
  251. package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +49 -0
  252. package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +80 -0
  253. package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +6 -0
  254. package/dist/ui/components/Dialogs/font-dialog/FontDialogController.d.ts +21 -0
  255. package/dist/ui/components/Dialogs/font-dialog/FontDialogTypes.d.ts +112 -0
  256. package/dist/ui/components/Dialogs/font-dialog/FontPreview.d.ts +6 -0
  257. package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +6 -0
  258. package/dist/ui/components/Dialogs/font-dialog/useFontDialogController.d.ts +4 -0
  259. package/dist/ui/components/FloatingToolbar/FloatingLayoutOptions.d.ts +17 -0
  260. package/dist/ui/components/Menubar/Menubar.d.ts +2 -1
  261. package/dist/ui/components/Menubar/builtinMenuIds.d.ts +36 -0
  262. package/dist/ui/components/OasisBrandMark.d.ts +7 -0
  263. package/dist/ui/components/PluginUi/PluginUiHost.d.ts +8 -0
  264. package/dist/ui/components/Ruler/HorizontalRuler.d.ts +11 -0
  265. package/dist/ui/components/Ruler/rulerGeometry.d.ts +63 -0
  266. package/dist/ui/components/Toolbar/Toolbar.d.ts +2 -0
  267. package/dist/ui/components/Toolbar/presets/builtinToolbarIds.d.ts +40 -0
  268. package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +1 -1
  269. package/dist/ui/components/Toolbar/primitives/Separator.d.ts +4 -3
  270. package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +7 -2
  271. package/dist/ui/components/Toolbar/schema/items.d.ts +1 -1
  272. package/dist/ui/components/WelcomeOverlay.d.ts +13 -0
  273. package/dist/ui/editorLayoutConstants.d.ts +12 -0
  274. package/dist/ui/editorUiTypes.d.ts +35 -4
  275. package/dist/ui/fontSizeUnits.d.ts +15 -0
  276. package/dist/ui/mount.d.ts +2 -1
  277. package/dist/ui/overlays/ResizeHandlesOverlay.d.ts +34 -0
  278. package/dist/ui/public/Button.d.ts +10 -0
  279. package/dist/ui/public/Checkbox.d.ts +9 -0
  280. package/dist/ui/public/DialogFooter.d.ts +6 -0
  281. package/dist/ui/public/FloatingActionButton.d.ts +8 -0
  282. package/dist/ui/public/IconButton.d.ts +10 -0
  283. package/dist/ui/public/SelectField.d.ts +15 -0
  284. package/dist/ui/public/SidePanel.d.ts +12 -0
  285. package/dist/ui/public/TextField.d.ts +9 -0
  286. package/dist/ui/public/index.d.ts +36 -0
  287. package/dist/ui/resizeGeometry.d.ts +28 -0
  288. package/dist/ui/shells/DocumentShell.d.ts +6 -0
  289. package/dist/ui/textMeasurement/alignment.d.ts +3 -0
  290. package/dist/ui/textMeasurement/characterWidth.d.ts +9 -0
  291. package/dist/ui/textMeasurement/composer.d.ts +5 -0
  292. package/dist/ui/textMeasurement/constants.d.ts +4 -0
  293. package/dist/ui/textMeasurement/fontMetrics.d.ts +12 -0
  294. package/dist/ui/textMeasurement/indentation.d.ts +12 -0
  295. package/dist/ui/textMeasurement/layoutLine.d.ts +4 -0
  296. package/dist/ui/textMeasurement/paragraphLineHeight.d.ts +22 -0
  297. package/dist/ui/textMeasurement/tabStops.d.ts +4 -0
  298. package/dist/ui/textMeasurement/tokenizer.d.ts +6 -0
  299. package/dist/ui/textMeasurement/types.d.ts +27 -0
  300. package/dist/ui/textMeasurement.d.ts +5 -11
  301. package/dist/ui/toolbarStyleState.d.ts +15 -2
  302. package/dist/ui/utils/customIcons.d.ts +20 -0
  303. package/dist/ui.d.ts +42 -0
  304. package/dist/ui.js +19 -0
  305. package/dist/utils/imageFormats.d.ts +14 -0
  306. package/dist/utils/throttle.d.ts +1 -1
  307. package/dist/vue.d.ts +9 -0
  308. package/dist/vue.js +33 -0
  309. package/package.json +90 -62
  310. package/dist/__tests__/app/PersistenceService.test.d.ts +0 -1
  311. package/dist/__tests__/app/footnoteUiCommands.test.d.ts +0 -1
  312. package/dist/__tests__/commands/text.test.d.ts +0 -1
  313. package/dist/__tests__/core/editorPluginIntegration.test.d.ts +0 -1
  314. package/dist/__tests__/core/editorState.test.d.ts +0 -1
  315. package/dist/__tests__/core/footnotes.test.d.ts +0 -1
  316. package/dist/__tests__/core/model.test.d.ts +0 -1
  317. package/dist/__tests__/core/pluginCollection.test.d.ts +0 -1
  318. package/dist/__tests__/core/tableCommands.test.d.ts +0 -1
  319. package/dist/__tests__/export/docxExport.test.d.ts +0 -1
  320. package/dist/__tests__/export/footnotesExport.test.d.ts +0 -1
  321. package/dist/__tests__/export/pdfWriter.test.d.ts +0 -1
  322. package/dist/__tests__/export/underlineStyle.test.d.ts +0 -1
  323. package/dist/__tests__/import/docxComplexSmoke.test.d.ts +0 -1
  324. package/dist/__tests__/import/docxImport.test.d.ts +0 -1
  325. package/dist/__tests__/import/footnotesImport.test.d.ts +0 -1
  326. package/dist/__tests__/integration/documentFlow.test.d.ts +0 -1
  327. package/dist/__tests__/ui/CanvasTableLayout.test.d.ts +0 -1
  328. package/dist/__tests__/ui/canvasHitTestService.test.d.ts +0 -1
  329. package/dist/__tests__/ui/canvasLayoutSnapshot.test.d.ts +0 -1
  330. package/dist/__tests__/ui/canvasSelectionGeometry.test.d.ts +0 -1
  331. package/dist/__tests__/ui/canvasTextRendering.test.d.ts +0 -1
  332. package/dist/__tests__/ui/composeMeasuredParagraphLines.test.d.ts +0 -1
  333. package/dist/__tests__/ui/dialog.test.d.ts +0 -1
  334. package/dist/__tests__/ui/fontDialog.test.d.ts +0 -1
  335. package/dist/__tests__/ui/footnotesLayout.test.d.ts +0 -1
  336. package/dist/__tests__/ui/layoutIdentity.test.d.ts +0 -1
  337. package/dist/__tests__/ui/layoutProjection.test.d.ts +0 -1
  338. package/dist/__tests__/ui/registry.test.d.ts +0 -1
  339. package/dist/__tests__/ui/tabs.test.d.ts +0 -1
  340. package/dist/__tests__/ui/textMeasurementAlignment.test.d.ts +0 -1
  341. package/dist/__tests__/word-parity/fixtures/corpus.d.ts +0 -10
  342. package/dist/__tests__/word-parity/fixtures/loremFixtures.d.ts +0 -8
  343. package/dist/__tests__/word-parity/wordLayout.word-parity.d.ts +0 -1
  344. package/dist/assets/Arimo-Bold.ttf +0 -0
  345. package/dist/assets/Arimo-BoldItalic.ttf +0 -0
  346. package/dist/assets/Arimo-Italic.ttf +0 -0
  347. package/dist/assets/Arimo-Regular.ttf +0 -0
  348. package/dist/assets/Carlito-Bold.ttf +0 -0
  349. package/dist/assets/Carlito-BoldItalic.ttf +0 -0
  350. package/dist/assets/Carlito-Italic.ttf +0 -0
  351. package/dist/assets/Carlito-Regular.ttf +0 -0
  352. package/dist/assets/Roboto-Italic.ttf +0 -0
  353. package/dist/assets/Roboto-Medium.ttf +0 -0
  354. package/dist/assets/Roboto-MediumItalic.ttf +0 -0
  355. package/dist/assets/Roboto-Regular.ttf +0 -0
  356. package/dist/assets/Tinos-Bold.ttf +0 -0
  357. package/dist/assets/Tinos-BoldItalic.ttf +0 -0
  358. package/dist/assets/Tinos-Italic.ttf +0 -0
  359. package/dist/assets/Tinos-Regular.ttf +0 -0
  360. package/dist/assets/importDocxWorker-DIQ28Lka.js +0 -12
  361. package/dist/core/commands/utils.d.ts +0 -69
  362. package/dist/demo/OasisSiteApp.d.ts +0 -1
  363. package/dist/main.d.ts +0 -1
@@ -1,4 +1,5 @@
1
- import { EditorBlockNode, EditorParagraphListStyle } from '../../../../core/model.js';
1
+ import { EditorBlockNode, EditorImageCrop, EditorImageFillMode, EditorImageFloatingLayout, EditorParagraphListStyle, EditorWrapPolygonPoint } from '../../../../core/model.js';
2
+ import { BookmarkEventsByParagraph } from '../../bookmarksXml.js';
2
3
 
3
4
  export interface DocContext {
4
5
  numberingInfo: Map<string, {
@@ -14,13 +15,27 @@ export interface DocContext {
14
15
  images: Array<{
15
16
  rId: string;
16
17
  target: string;
17
- base64: string;
18
+ kind: "embedded" | "linked";
19
+ base64?: string;
18
20
  runId: string;
19
21
  cx: number;
20
22
  cy: number;
21
23
  alt?: string;
24
+ crop?: EditorImageCrop;
25
+ fillMode?: EditorImageFillMode;
26
+ rotation?: number;
27
+ flipH?: boolean;
28
+ flipV?: boolean;
29
+ floating?: EditorImageFloatingLayout;
30
+ wrapPolygon?: EditorWrapPolygonPoint[];
22
31
  }>;
23
32
  imageMap: Map<string, string>;
33
+ /**
34
+ * Maps a text-box run id to the unique `wp:docPr/@id` assigned to its
35
+ * drawing. Text boxes carry no relationship (unlike images), so their docPr
36
+ * ids come from a dedicated counter to stay globally unique.
37
+ */
38
+ textBoxDocPrIds: Map<string, number>;
24
39
  hyperlinks: Array<{
25
40
  rId: string;
26
41
  href: string;
@@ -32,6 +47,18 @@ export interface DocContext {
32
47
  * document has no footnotes.
33
48
  */
34
49
  footnoteIdMap?: Map<string, number>;
50
+ /**
51
+ * Maps `EditorEndnote.id` to the numeric `w:id` value used when emitting
52
+ * `<w:endnoteReference w:id="N"/>` in the document body. Empty when the
53
+ * document has no endnotes.
54
+ */
55
+ endnoteIdMap?: Map<string, number>;
56
+ /**
57
+ * Per-paragraph bookmark boundary events (`w:bookmarkStart`/`w:bookmarkEnd`),
58
+ * keyed by `EditorParagraphNode.id`. Shared across all part contexts since
59
+ * paragraph ids are globally unique.
60
+ */
61
+ bookmarkEventsByParagraph?: BookmarkEventsByParagraph;
35
62
  }
36
63
  export interface NumberingContext {
37
64
  numberingInfo: Map<string, {
@@ -47,6 +74,12 @@ export interface NumberingContext {
47
74
  }
48
75
  export interface ExportBuildState {
49
76
  nextImageId: number;
77
+ /**
78
+ * Next `wp:docPr/@id` for a text-box drawing. Starts in a high range so it
79
+ * never collides with image docPr ids (which are derived from small image
80
+ * relationship numbers).
81
+ */
82
+ nextTextBoxDocPrId: number;
50
83
  }
51
84
  export interface PartDefinition {
52
85
  kind: "header" | "footer";
@@ -0,0 +1,24 @@
1
+ import { EditorBlockNode, EditorDocument, EditorEndnote, EditorNamedStyle } from '../../../../core/model.js';
2
+ import { DocContext, ExportBuildState, NumberingContext } from '../../docxTypes.js';
3
+
4
+ export interface ReferencedEndnote {
5
+ /** Local editor id. */
6
+ endnoteId: string;
7
+ /** DOCX numeric id used in `w:endnoteReference w:id="N"` and `w:endnote w:id="N"`. */
8
+ docxId: number;
9
+ /** Endnote body. */
10
+ endnote: EditorEndnote;
11
+ }
12
+ /**
13
+ * Walks the document in reading order and returns one entry per distinct
14
+ * endnote id that is actually referenced by an inline run. Unreferenced
15
+ * endnotes in the registry are skipped.
16
+ */
17
+ export declare function collectReferencedEndnotesForExport(document: EditorDocument): ReferencedEndnote[];
18
+ export declare function buildEndnoteIdMap(referenced: ReferencedEndnote[]): Map<string, number>;
19
+ export interface EndnotesPartResult {
20
+ xml: string;
21
+ partContext: DocContext;
22
+ }
23
+ export declare function buildEndnotesXml(_document: EditorDocument, referenced: ReferencedEndnote[], _numberingContext: NumberingContext, _state: ExportBuildState, buildContext: (blocks: EditorBlockNode[]) => DocContext, styles: Record<string, EditorNamedStyle> | undefined, endnoteIdMap: Map<string, number>): EndnotesPartResult;
24
+ export declare function hasReferencedEndnotes(document: EditorDocument): boolean;
@@ -0,0 +1,3 @@
1
+ import { EditorNamedStyle } from '../../../../core/model.js';
2
+
3
+ export declare function buildStylesXml(styles: Record<string, EditorNamedStyle>): string;
@@ -1,4 +1,10 @@
1
- import { EditorParagraphNode, EditorTableCellNode, EditorTableNode } from '../../../../core/model.js';
1
+ import { EditorParagraphNode, EditorTableCellNode, EditorTableNode, EditorTableRowStyle } from '../../../../core/model.js';
2
2
 
3
3
  export type SerializeTableParagraphXml = (paragraph: EditorParagraphNode, cell: EditorTableCellNode) => string;
4
+ /**
5
+ * Serializes the core row style properties into `<w:trPr>` inner XML.
6
+ * Used for style definitions (styles.xml) as well as per-row serialization.
7
+ * Returns the full `<w:trPr>...</w:trPr>` element, or `""` when empty.
8
+ */
9
+ export declare function serializeTableRowStyleXml(style: EditorTableRowStyle | undefined): string;
4
10
  export declare function serializeTableXml(table: EditorTableNode, serializeParagraphXml: SerializeTableParagraphXml): string;
@@ -0,0 +1,7 @@
1
+ import { EditorBlockNode, EditorNamedStyle, EditorParagraphNode, EditorParagraphStyle } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function serializeBlocksXml(blocks: EditorBlockNode[], context: DocContext, styles: Record<string, EditorNamedStyle> | undefined): string;
5
+ export declare function serializeParagraphXml(paragraph: EditorParagraphNode, context: DocContext, styles: Record<string, EditorNamedStyle> | undefined, overrides?: {
6
+ align?: EditorParagraphStyle["align"];
7
+ }): string;
@@ -0,0 +1,6 @@
1
+ export declare const EMU_PER_PX = 9525;
2
+ export declare const EMU_PER_PT = 12700;
3
+ export declare const DOCX_HIGHLIGHT_COLORS: Record<string, [number, number, number]>;
4
+ export declare const DOCX_HIGHLIGHT_HEX_ALIASES: Record<string, string>;
5
+ export declare const OOXML_PERCENT_DENOMINATOR = 100000;
6
+ export declare const OOXML_ROTATION_UNITS = 60000;
@@ -0,0 +1,16 @@
1
+ import { EditorImageFloatingLayout, EditorWrapPolygonPoint } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function buildXfrmAttrs(img: DocContext["images"][number]): string;
5
+ export declare function buildSrcRect(crop: DocContext["images"][number]["crop"]): string;
6
+ export declare function buildDrawingContainerXml(options: {
7
+ cx: number;
8
+ cy: number;
9
+ floating: EditorImageFloatingLayout | undefined;
10
+ docPrId: number;
11
+ docPrName: string;
12
+ altAttr: string;
13
+ graphicXml: string;
14
+ wrapPolygon?: EditorWrapPolygonPoint[];
15
+ }): string;
16
+ export declare function buildDrawingXml(img: DocContext["images"][number], docPrId: number, altAttr: string, picXml: string): string;
@@ -0,0 +1,9 @@
1
+ import { EditorDropCap } from '../../../../../../core/model.js';
2
+
3
+ /**
4
+ * Serializes a drop cap back into Word's representation: a standalone frame
5
+ * paragraph (`w:framePr/@dropCap`) holding the cap letter, emitted immediately
6
+ * before the wrapping body paragraph. The inverse of `parseDropCapFrame`; the
7
+ * `framePr`/spacing scaffolding is regenerated from the descriptor.
8
+ */
9
+ export declare function serializeDropCapFrameParagraph(dropCap: EditorDropCap): string;
@@ -0,0 +1,5 @@
1
+ import { EditorTextStyle, EditorTextRun } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function serializeEndnoteRefMarker(): string;
5
+ export declare function serializeEndnoteReference(run: EditorTextRun, materializedRunStyle: EditorTextStyle | undefined, context: DocContext): string | null;
@@ -0,0 +1,11 @@
1
+ import { EditorFieldChar } from '../../../../../../core/model.js';
2
+
3
+ export declare function serializeFieldRun(fieldType: "PAGE" | "NUMPAGES", rPrXml: string): string;
4
+ /**
5
+ * Serialize a preserved complex-field control char as its own `w:r`. Reproduces
6
+ * `w:fldChar` with its `w:fldCharType` and the `w:fldLock`/`w:dirty` flags so
7
+ * REF/PAGEREF/TOC and unknown fields round-trip 1:1.
8
+ */
9
+ export declare function serializeFieldCharRun(fieldChar: EditorFieldChar, rPrXml: string): string;
10
+ /** Serialize preserved `w:instrText` (the field instruction) as its own `w:r`. */
11
+ export declare function serializeInstrTextRun(instruction: string, rPrXml: string): string;
@@ -0,0 +1,5 @@
1
+ import { EditorTextStyle, EditorTextRun } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function serializeFootnoteRefMarker(): string;
5
+ export declare function serializeFootnoteReference(run: EditorTextRun, materializedRunStyle: EditorTextStyle | undefined, context: DocContext): string | null;
@@ -0,0 +1,3 @@
1
+ import { DocContext } from '../../../../docxTypes.js';
2
+
3
+ export declare function wrapRunWithHyperlink(runXml: string, link: string, context: DocContext): string;
@@ -0,0 +1,3 @@
1
+ import { DocContext } from '../../../../docxTypes.js';
2
+
3
+ export declare function serializeImageRun(runId: string, rId: string, context: DocContext, rPrXml: string): string | null;
@@ -0,0 +1,16 @@
1
+ import { EditorParagraphNode, EditorParagraphStyle, EditorNamedStyle } from '../../../../../../core/model.js';
2
+
3
+ /**
4
+ * Serializes a raw `EditorParagraphStyle` into the contents of a `w:pPr`
5
+ * element (without the wrapping tag). Used for style definitions in styles.xml
6
+ * and as the inner implementation for `serializeParagraphProperties`.
7
+ *
8
+ * Returns the full `<w:pPr>...</w:pPr>` string, or `""` when no properties.
9
+ */
10
+ export declare function serializeParagraphStyleXml(style: EditorParagraphStyle): string;
11
+ export declare function serializeParagraphProperties(paragraph: EditorParagraphNode, numberingInfo: Map<string, {
12
+ numId: number;
13
+ level: number;
14
+ }>, styles?: Record<string, EditorNamedStyle>, overrides?: {
15
+ align?: EditorParagraphStyle["align"];
16
+ }): string;
@@ -0,0 +1,3 @@
1
+ import { EditorTextStyle } from '../../../../../../core/model.js';
2
+
3
+ export declare function serializeRunProperties(styles?: EditorTextStyle): string;
@@ -0,0 +1 @@
1
+ export declare function serializeRunText(text: string): string;
@@ -0,0 +1,5 @@
1
+ import { EditorNamedStyle, EditorTextRun } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function serializeRun(run: EditorTextRun, context: DocContext, paragraphStyleId: string | undefined, styles: Record<string, EditorNamedStyle> | undefined): string;
5
+ export declare function serializeRunWithRelationships(run: EditorTextRun, context: DocContext, paragraphStyleId: string | undefined, styles: Record<string, EditorNamedStyle> | undefined): string;
@@ -0,0 +1,4 @@
1
+ import { EditorNamedStyle, EditorParagraphNode, EditorParagraphStyle, EditorTextRun, EditorTextStyle } from '../../../../../../core/model.js';
2
+
3
+ export declare function materializeParagraphStyle(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined): EditorParagraphStyle;
4
+ export declare function materializeRunStyle(run: EditorTextRun, paragraphStyleId: string | undefined, styles: Record<string, EditorNamedStyle> | undefined): EditorTextStyle | undefined;
@@ -0,0 +1,4 @@
1
+ import { EditorNamedStyle, EditorTextBoxData, EditorTextRun } from '../../../../../../core/model.js';
2
+ import { DocContext } from '../../../../docxTypes.js';
3
+
4
+ export declare function serializeTextBoxRun(run: EditorTextRun, textBox: EditorTextBoxData, context: DocContext, styles: Record<string, EditorNamedStyle> | undefined, rPrXml: string): string;
@@ -1,6 +1 @@
1
- import { EditorNamedStyle, EditorParagraphNode, EditorParagraphStyle } from '../../../../core/model.js';
2
- import { DocContext } from '../../docxTypes.js';
3
-
4
- export declare function serializeParagraphXml(paragraph: EditorParagraphNode, context: DocContext, styles: Record<string, EditorNamedStyle> | undefined, overrides?: {
5
- align?: EditorParagraphStyle["align"];
6
- }): string;
1
+ export { serializeBlocksXml, serializeParagraphXml } from '../../text/blocksXml.js';
@@ -51,6 +51,7 @@ export interface OasisPdfImageOptions {
51
51
  y: number;
52
52
  width: number;
53
53
  height: number;
54
+ rotation?: number;
54
55
  }
55
56
  export type OasisPdfFontResource = OasisPdfBase14FontResource | OasisPdfUnicodeFontResource;
56
57
  export interface OasisPdfBase14FontResource {
@@ -0,0 +1,11 @@
1
+ type BorderType = "solid" | "dashed" | "dotted" | "none";
2
+ /**
3
+ * Maps a border type to a PDF dash pattern (in points), mirroring the canvas
4
+ * renderer so dashed/dotted paragraph and table borders look the same in both
5
+ * outputs. `solid`/`none` return `undefined` (a continuous stroke).
6
+ *
7
+ * The canvas uses pixel patterns ([5,3] dashed, [1,3] dotted); these are the
8
+ * point-space equivalents via {@link pxToPt}.
9
+ */
10
+ export declare function borderDashArray(type: BorderType): number[] | undefined;
11
+ export {};
@@ -3,5 +3,6 @@ import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
3
3
  import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
4
4
 
5
5
  export declare function drawFragmentHighlight(writer: OasisPdfWriter, pageIndex: number, line: EditorLayoutLine, fragment: EditorLayoutFragment, originX: number, originY: number, styles: Required<EditorTextStyle>): void;
6
+ export declare function drawFragmentShading(writer: OasisPdfWriter, pageIndex: number, line: EditorLayoutLine, fragment: EditorLayoutFragment, originX: number, originY: number, styles: Required<EditorTextStyle>): void;
6
7
  export declare function drawFragmentDecoration(writer: OasisPdfWriter, pageIndex: number, line: EditorLayoutLine, fragment: EditorLayoutFragment, originX: number, originY: number, styles: Required<EditorTextStyle>, kind: "underline" | "strike" | "doubleStrike"): void;
7
8
  export declare function drawFragmentText(writer: OasisPdfWriter, pageIndex: number, paragraph: EditorParagraphNode, line: EditorLayoutLine, fragment: EditorLayoutFragment, document: EditorDocument, originX: number, originY: number, fontRegistry: PdfFontRegistry): Promise<void>;
@@ -1,5 +1,12 @@
1
- import { EditorDocument, EditorLayoutLine, EditorParagraphNode } from '../../../../../../core/model.js';
1
+ import { EditorDocument, EditorLayoutLine, EditorParagraphNode, EditorParagraphStyle } from '../../../../../../core/model.js';
2
2
  import { PdfFontRegistry } from '../../../../fonts/PdfFontRegistry.js';
3
3
  import { OasisPdfWriter } from '../../../../OasisPdfWriter.js';
4
4
 
5
+ /**
6
+ * Paints paragraph shading (`w:shd`) and borders (`w:pBdr`) for PDF export,
7
+ * mirroring the canvas renderer. Coordinates arrive in pixels and are converted
8
+ * to points; border widths are stored in points and used directly. Dashed and
9
+ * dotted edges use {@link borderDashArray} to match the canvas renderer.
10
+ */
11
+ export declare function drawParagraphDecorations(writer: OasisPdfWriter, pageIndex: number, paragraphStyle: EditorParagraphStyle, lines: EditorLayoutLine[], originX: number, contentTop: number, contentWidth: number): void;
5
12
  export declare function drawParagraph(writer: OasisPdfWriter, pageIndex: number, paragraph: EditorParagraphNode, lines: EditorLayoutLine[], document: EditorDocument, originX: number, originY: number, fontRegistry: PdfFontRegistry, listOrdinals: Map<string, number>): Promise<void>;
@@ -0,0 +1,5 @@
1
+ import { FontSubset, FontSubsetter, GlyphInfo, ParsedFontProgram } from '../../../../../../text/fonts/core/types.js';
2
+
3
+ export declare class TrueTypePdfFontSubsetter implements FontSubsetter {
4
+ createSubset(font: ParsedFontProgram, glyphs: Iterable<GlyphInfo>): FontSubset;
5
+ }
@@ -0,0 +1,24 @@
1
+ export interface FontFaceFiles {
2
+ regular: string;
3
+ bold: string;
4
+ italic: string;
5
+ bolditalic: string;
6
+ }
7
+ export interface OfficeFontFamilyDef {
8
+ family: string;
9
+ aliases: string[];
10
+ files: FontFaceFiles;
11
+ }
12
+ export declare const ROBOTO_FONT_FILES: FontFaceFiles;
13
+ export declare const OFFICE_COMPAT_FONT_FAMILIES: OfficeFontFamilyDef[];
14
+ export declare function normalizeFamily(fontFamily: string | null | undefined): string;
15
+ export declare function resolveMetricCompatibleFamily(fontFamily: string | null | undefined): string;
16
+ /** Maps a bold/italic combination to the corresponding {@link FontFaceFiles} key. */
17
+ export declare function faceStyleKey(bold: boolean, italic: boolean): keyof FontFaceFiles;
18
+ /**
19
+ * Returns the original bundled font bytes, used for browser FontFace
20
+ * registration.
21
+ */
22
+ export declare function readOriginalFontAsset(fileName: string): Uint8Array | null;
23
+ export declare function readFontAssetSync(fileName: string): Uint8Array | null;
24
+ export declare function loadFontAsset(fileName: string): Promise<Uint8Array | null>;
@@ -1,6 +1,7 @@
1
1
  import { EditorTextStyle } from '../../../../core/model.js';
2
2
 
3
3
  export declare const PX_TO_PT: number;
4
- export declare const DEFAULT_FONT_SIZE_PX = 15;
4
+ export declare const DEFAULT_FONT_SIZE_PX = 14.6667;
5
5
  export declare function pxToPt(value: number): number;
6
+ export declare function ptToPx(value: number): number;
6
7
  export declare function textStyleToFontSizePt(style: Required<EditorTextStyle>): number;
@@ -4,4 +4,4 @@ export type Locale = "en" | "pt-BR";
4
4
  export type TranslationKey = keyof typeof en;
5
5
  export declare function setLocale(locale: Locale): void;
6
6
  export declare function getLocale(): Locale;
7
- export declare function t(key: TranslationKey, params?: any[]): string;
7
+ export declare function t(key: TranslationKey, params?: unknown[]): string;
@@ -48,8 +48,10 @@ export declare const en: {
48
48
  "toolbar.size": string;
49
49
  "toolbar.color": string;
50
50
  "toolbar.highlight": string;
51
+ "toolbar.textShading": string;
51
52
  "toolbar.colorAutomatic": string;
52
53
  "toolbar.noHighlight": string;
54
+ "toolbar.noTextShading": string;
53
55
  "toolbar.themeColors": string;
54
56
  "toolbar.standardColors": string;
55
57
  "toolbar.moreColors": string;
@@ -83,6 +85,41 @@ export declare const en: {
83
85
  "lineSpacing.spacingAfterLabel": string;
84
86
  "lineSpacing.preview": string;
85
87
  "lineSpacing.previewText": string;
88
+ "paragraph.title": string;
89
+ "paragraph.generalSection": string;
90
+ "paragraph.alignLabel": string;
91
+ "paragraph.alignLeft": string;
92
+ "paragraph.alignCenter": string;
93
+ "paragraph.alignRight": string;
94
+ "paragraph.alignJustify": string;
95
+ "paragraph.indentSection": string;
96
+ "paragraph.indentLeftLabel": string;
97
+ "paragraph.indentRightLabel": string;
98
+ "paragraph.specialLabel": string;
99
+ "paragraph.specialNone": string;
100
+ "paragraph.specialFirstLine": string;
101
+ "paragraph.specialHanging": string;
102
+ "paragraph.specialByLabel": string;
103
+ "paragraph.spacingSection": string;
104
+ "paragraph.spacingBeforeLabel": string;
105
+ "paragraph.spacingAfterLabel": string;
106
+ "paragraph.lineSpacingLabel": string;
107
+ "paragraph.bordersSection": string;
108
+ "paragraph.borderStyleLabel": string;
109
+ "paragraph.borderWidthLabel": string;
110
+ "paragraph.borderColorLabel": string;
111
+ "paragraph.shadingLabel": string;
112
+ "paragraph.borderNone": string;
113
+ "paragraph.borderSolid": string;
114
+ "paragraph.borderDashed": string;
115
+ "paragraph.borderDotted": string;
116
+ "paragraph.borderSidesLabel": string;
117
+ "paragraph.borderSideTop": string;
118
+ "paragraph.borderSideRight": string;
119
+ "paragraph.borderSideBottom": string;
120
+ "paragraph.borderSideLeft": string;
121
+ "paragraph.preview": string;
122
+ "paragraph.previewText": string;
86
123
  "section.orient": string;
87
124
  "section.pageSetup": string;
88
125
  "section.toggleOrientation": string;
@@ -114,6 +151,59 @@ export declare const en: {
114
151
  "table.cellWidth": string;
115
152
  "table.cellBgColorPrompt": string;
116
153
  "table.cellWidthPrompt": string;
154
+ "table.propertiesTitle": string;
155
+ "table.tabTable": string;
156
+ "table.tabRow": string;
157
+ "table.tabColumn": string;
158
+ "table.tabCell": string;
159
+ "table.tabAltText": string;
160
+ "table.sizeSection": string;
161
+ "table.preferredWidth": string;
162
+ "table.measureIn": string;
163
+ "table.points": string;
164
+ "table.percent": string;
165
+ "table.alignmentSection": string;
166
+ "table.indentFromLeft": string;
167
+ "table.textWrappingSection": string;
168
+ "table.wrapNone": string;
169
+ "table.wrapAround": string;
170
+ "table.positioning": string;
171
+ "table.positioningReadOnly": string;
172
+ "table.rowHeight": string;
173
+ "table.rowHeightRule": string;
174
+ "table.rowAuto": string;
175
+ "table.rowAtLeast": string;
176
+ "table.rowExactly": string;
177
+ "table.repeatHeader": string;
178
+ "table.allowBreakAcrossPages": string;
179
+ "table.hiddenRow": string;
180
+ "table.columnWidth": string;
181
+ "table.verticalAlignment": string;
182
+ "table.inherit": string;
183
+ "table.valignTop": string;
184
+ "table.valignMiddle": string;
185
+ "table.valignBottom": string;
186
+ "table.textDirection": string;
187
+ "table.options": string;
188
+ "table.noWrap": string;
189
+ "table.fitText": string;
190
+ "table.hideMark": string;
191
+ "table.cellMargins": string;
192
+ "table.altTitle": string;
193
+ "table.altDescription": string;
194
+ "layoutOptions.title": string;
195
+ "layoutOptions.inLineGroup": string;
196
+ "layoutOptions.wrapGroup": string;
197
+ "layoutOptions.inline": string;
198
+ "layoutOptions.square": string;
199
+ "layoutOptions.tight": string;
200
+ "layoutOptions.through": string;
201
+ "layoutOptions.topAndBottom": string;
202
+ "layoutOptions.behind": string;
203
+ "layoutOptions.front": string;
204
+ "layoutOptions.moveWithText": string;
205
+ "layoutOptions.fixPosition": string;
206
+ "layoutOptions.behindHint": string;
117
207
  "generic.close": string;
118
208
  "generic.cancel": string;
119
209
  "generic.save": string;
@@ -137,6 +227,7 @@ export declare const en: {
137
227
  "dialog.font.color": string;
138
228
  "dialog.font.customColor": string;
139
229
  "dialog.font.highlight": string;
230
+ "dialog.font.shading": string;
140
231
  "dialog.font.familyFilter": string;
141
232
  "dialog.font.customSize": string;
142
233
  "dialog.font.sizeInvalid": string;
@@ -194,6 +285,9 @@ export declare const en: {
194
285
  "contextmenu.paste": string;
195
286
  "contextmenu.link": string;
196
287
  "contextmenu.font": string;
288
+ "contextmenu.paragraph": string;
289
+ "contextmenu.tableProperties": string;
290
+ "contextmenu.bordersAndShading": string;
197
291
  "status.words": string;
198
292
  "status.characters": string;
199
293
  "status.page": string;
@@ -234,6 +328,7 @@ export declare const en: {
234
328
  "menu.view": string;
235
329
  "menu.view.margins": string;
236
330
  "menu.view.paragraphMarks": string;
331
+ "menu.view.preciseFonts": string;
237
332
  "menu.view.outline": string;
238
333
  "menu.view.fullscreen": string;
239
334
  "menu.insert": string;
@@ -246,6 +341,19 @@ export declare const en: {
246
341
  "menu.help": string;
247
342
  "menu.help.shortcuts": string;
248
343
  "menu.help.about": string;
344
+ "loading.title": string;
345
+ "welcome.title": string;
346
+ "welcome.body": string;
347
+ "welcome.note": string;
348
+ "welcome.enable": string;
349
+ "welcome.skip": string;
249
350
  "outline.toggle": string;
250
351
  "outline.empty": string;
352
+ "ruler.horizontal": string;
353
+ "ruler.firstLineIndent": string;
354
+ "ruler.hangingIndent": string;
355
+ "ruler.leftIndent": string;
356
+ "ruler.rightIndent": string;
357
+ "ruler.leftMargin": string;
358
+ "ruler.rightMargin": string;
251
359
  };