devexpress-richedit 25.1.7 → 25.2.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 (1338) hide show
  1. package/bin/gulpfile.js +1 -1
  2. package/bin/index-custom.js +1 -1
  3. package/bin/localization-builder.js +1 -1
  4. package/bin/nspell-index.js +1 -1
  5. package/bin/nspell.webpack.config.js +1 -1
  6. package/bin/webpack-externals.js +1 -1
  7. package/bin/webpack.config.js +1 -1
  8. package/dist/dx.richedit.css +1096 -1094
  9. package/dist/dx.richedit.d.ts +2257 -2255
  10. package/dist/dx.richedit.js +15204 -12312
  11. package/dist/dx.richedit.min.js +3 -3
  12. package/dist/icons/dxre-icons.ttf +0 -0
  13. package/dist/icons/dxre-icons.woff +0 -0
  14. package/dist/icons/dxre-icons.woff2 +0 -0
  15. package/dist/pdfkit.js +18 -17
  16. package/dist/pdfkit.min.js +1 -1
  17. package/index.d.ts +1 -1
  18. package/index.js +1 -1
  19. package/lib/client/_constants.js +3 -2
  20. package/lib/client/api/bookmark.js +1 -0
  21. package/lib/client/api/collections/bookmark-collection.js +1 -0
  22. package/lib/client/api/collections/sub-documents-collection.js +1 -0
  23. package/lib/client/api/document.js +1 -0
  24. package/lib/client/api/history.js +1 -0
  25. package/lib/client/api/key-code.js +5 -0
  26. package/lib/client/api/layout-api.js +1 -0
  27. package/lib/client/api/loading-panel.js +1 -0
  28. package/lib/client/api/selection-api.js +1 -0
  29. package/lib/client/api/sub-document.js +1 -0
  30. package/lib/client/bars/active-context-tab-manager.js +31 -26
  31. package/lib/client/bars/bar-holder.js +9 -10
  32. package/lib/client/bars/context-menu.js +8 -3
  33. package/lib/client/bars/ribbon.js +8 -3
  34. package/lib/client/client-rich-edit-core.js +4 -0
  35. package/lib/client/client-rich-edit.js +30 -9
  36. package/lib/client/commands/download-document-command.js +2 -0
  37. package/lib/client/commands/export-document-command.js +4 -0
  38. package/lib/client/commands/mail-merge-command.js +5 -0
  39. package/lib/client/commands/new-document-command.js +1 -2
  40. package/lib/client/commands/open-document-command.js +5 -4
  41. package/lib/client/context-menu/settings.js +2 -3
  42. package/lib/client/dialogs/bookmark-dialog.js +10 -4
  43. package/lib/client/dialogs/dialog-base.js +11 -1
  44. package/lib/client/dialogs/dialog-manager.js +3 -0
  45. package/lib/client/dialogs/find-replace-dialog.js +11 -0
  46. package/lib/client/dialogs/finish-and-merge-dialog.js +3 -0
  47. package/lib/client/dialogs/font-dialog.js +2 -0
  48. package/lib/client/dialogs/hyperlink-dialog.js +3 -5
  49. package/lib/client/dialogs/insert-merge-field-dialog.d.ts +1 -3
  50. package/lib/client/dialogs/insert-merge-field-dialog.js +16 -25
  51. package/lib/client/dialogs/page-setup-dialog.js +7 -6
  52. package/lib/client/dialogs/paragraph-dialog.js +1 -0
  53. package/lib/client/dialogs/tabs-dialog.js +10 -5
  54. package/lib/client/document-processor/docvar-args.js +10 -0
  55. package/lib/client/document-processor/processor.js +12 -3
  56. package/lib/client/document-processor/public/processor.js +2 -0
  57. package/lib/client/formats/docx/export/data.d.ts +1 -1
  58. package/lib/client/formats/docx/export/data.js +30 -3
  59. package/lib/client/formats/docx/export/docx-export-options.js +5 -8
  60. package/lib/client/formats/docx/export/exporter.js +3 -0
  61. package/lib/client/formats/docx/export/exporters/base/drawing.js +5 -0
  62. package/lib/client/formats/docx/export/exporters/base/sections.js +2 -1
  63. package/lib/client/formats/docx/export/exporters/base/table/table.js +6 -9
  64. package/lib/client/formats/docx/export/exporters/base/text.js +2 -2
  65. package/lib/client/formats/docx/export/exporters/base.js +1 -0
  66. package/lib/client/formats/docx/export/exporters/content-types.js +2 -2
  67. package/lib/client/formats/docx/export/exporters/note-properties.js +1 -1
  68. package/lib/client/formats/docx/export/exporters/numberings.js +1 -1
  69. package/lib/client/formats/docx/export/exporters/relations/base.js +1 -4
  70. package/lib/client/formats/docx/export/exporters/relations/document-relations.js +6 -0
  71. package/lib/client/formats/docx/export/exporters/relations/relation-collection.js +5 -0
  72. package/lib/client/formats/docx/export/exporters/styles.js +3 -6
  73. package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.js +25 -11
  74. package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.js +1 -0
  75. package/lib/client/formats/docx/export/exporters/sub-document/note-sub-document-exporter.js +2 -0
  76. package/lib/client/formats/docx/export/utils/id-generator.js +2 -1
  77. package/lib/client/formats/docx/export/utils/inline-drawing-object.js +2 -0
  78. package/lib/client/formats/docx/import/css-engine/inline-picture-css-parser.js +30 -2
  79. package/lib/client/formats/docx/import/data.js +42 -23
  80. package/lib/client/formats/docx/import/destination/bookmark/bookmark-element-destination.js +16 -19
  81. package/lib/client/formats/docx/import/destination/borders/table-border-element-destination.js +25 -28
  82. package/lib/client/formats/docx/import/destination/borders/table-borders-destination.js +10 -10
  83. package/lib/client/formats/docx/import/destination/borders/table-cell-border-element-destination.js +18 -21
  84. package/lib/client/formats/docx/import/destination/borders/table-cell-borders-destination.js +12 -12
  85. package/lib/client/formats/docx/import/destination/character-properties/character-formatting-leaf-element-destination.js +1 -0
  86. package/lib/client/formats/docx/import/destination/character-properties/properties/all-caps-destination.js +2 -5
  87. package/lib/client/formats/docx/import/destination/character-properties/properties/bold-destination.js +2 -5
  88. package/lib/client/formats/docx/import/destination/character-properties/properties/character-shading-destination.js +2 -5
  89. package/lib/client/formats/docx/import/destination/character-properties/properties/double-strike-through-destination.js +4 -7
  90. package/lib/client/formats/docx/import/destination/character-properties/properties/font-name-destination.js +6 -9
  91. package/lib/client/formats/docx/import/destination/character-properties/properties/font-script-destination.js +13 -16
  92. package/lib/client/formats/docx/import/destination/character-properties/properties/font-size-destination.js +4 -7
  93. package/lib/client/formats/docx/import/destination/character-properties/properties/fore-color-destination.js +4 -7
  94. package/lib/client/formats/docx/import/destination/character-properties/properties/hidden-text-destination.js +2 -5
  95. package/lib/client/formats/docx/import/destination/character-properties/properties/highlight-color-destination.js +3 -6
  96. package/lib/client/formats/docx/import/destination/character-properties/properties/italic-destination.js +2 -5
  97. package/lib/client/formats/docx/import/destination/character-properties/properties/language-destination.js +2 -5
  98. package/lib/client/formats/docx/import/destination/character-properties/properties/no-proof-destination.js +2 -5
  99. package/lib/client/formats/docx/import/destination/character-properties/properties/single-strike-through-destination.js +3 -6
  100. package/lib/client/formats/docx/import/destination/character-properties/properties/small-caps-destination.js +2 -5
  101. package/lib/client/formats/docx/import/destination/character-properties/properties/underline-destination.js +3 -6
  102. package/lib/client/formats/docx/import/destination/character-properties/run-properties-base-destination.js +19 -18
  103. package/lib/client/formats/docx/import/destination/character-properties/run-properties-destination.js +3 -3
  104. package/lib/client/formats/docx/import/destination/comments/comment-element-destination.js +7 -10
  105. package/lib/client/formats/docx/import/destination/destination.js +36 -37
  106. package/lib/client/formats/docx/import/destination/document/alt-chunk-destination.js +8 -10
  107. package/lib/client/formats/docx/import/destination/document/alt-chunk-properties-destination.js +1 -4
  108. package/lib/client/formats/docx/import/destination/document/background-destination.js +3 -6
  109. package/lib/client/formats/docx/import/destination/document/body-destination.js +16 -16
  110. package/lib/client/formats/docx/import/destination/document/document-destination.js +5 -5
  111. package/lib/client/formats/docx/import/destination/document/smart-tag-destination.js +4 -4
  112. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-position-destination.js +27 -23
  113. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-relative-size-destination.js +19 -22
  114. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-wrap-destination.js +21 -40
  115. package/lib/client/formats/docx/import/destination/drawing/drawing-destination.js +243 -245
  116. package/lib/client/formats/docx/import/destination/drawing/non-visual-pucture-properties-destination.js +4 -3
  117. package/lib/client/formats/docx/import/destination/drawing/shape-properties-destination.js +28 -26
  118. package/lib/client/formats/docx/import/destination/field/field-char-destination.js +30 -33
  119. package/lib/client/formats/docx/import/destination/field/field-simple-destination.js +22 -24
  120. package/lib/client/formats/docx/import/destination/field/hyperlink-destination.js +41 -44
  121. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-properties-destination.js +11 -19
  122. package/lib/client/formats/docx/import/destination/notes/endnotes/endnotes-destination.js +3 -3
  123. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-properties-destination.js +12 -18
  124. package/lib/client/formats/docx/import/destination/notes/footnotes/footnotes-destination.js +3 -3
  125. package/lib/client/formats/docx/import/destination/notes/note-destination.js +25 -27
  126. package/lib/client/formats/docx/import/destination/notes/note-properties-destination.js +23 -31
  127. package/lib/client/formats/docx/import/destination/notes/note-reference-destination.js +10 -13
  128. package/lib/client/formats/docx/import/destination/notes/note-self-reference-destination.js +5 -8
  129. package/lib/client/formats/docx/import/destination/notes/note-separator-destination.js +6 -11
  130. package/lib/client/formats/docx/import/destination/numbering/numberings-destination.js +114 -139
  131. package/lib/client/formats/docx/import/destination/paragraph/paragraph-destination.js +30 -33
  132. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-formatting-leaf-element-destination.js +1 -0
  133. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-destination.js +5 -4
  134. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-level-destination.js +3 -5
  135. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-numbering-id-destination.js +6 -8
  136. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-base-destination.js +27 -25
  137. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-destination.js +15 -14
  138. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/borders/border-destination.js +21 -24
  139. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/borders/borders-destination.js +7 -7
  140. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/contextual-spacing-destination.js +2 -5
  141. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/keep-lines-together-destination.js +2 -5
  142. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/keep-with-next-destination.js +2 -5
  143. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/outline-level-destination.js +3 -6
  144. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/page-break-before-destination.js +2 -5
  145. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/paragraph-alignment-destination.js +4 -7
  146. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/paragraph-indents-destination.js +32 -35
  147. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/paragraph-right-to-left-destination.js +2 -5
  148. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/paragraph-shading-destination.js +2 -5
  149. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/paragraph-spacing-destination.js +21 -24
  150. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/suppress-hyphenation-destination.js +2 -5
  151. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/suppress-line-numbers-destination.js +2 -5
  152. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/widow-orphan-control-destination.js +2 -5
  153. package/lib/client/formats/docx/import/destination/property-destination.js +8 -10
  154. package/lib/client/formats/docx/import/destination/range-permission/range-permission-element-destination.js +29 -32
  155. package/lib/client/formats/docx/import/destination/relationships/relation-destination.js +5 -7
  156. package/lib/client/formats/docx/import/destination/relationships/relationships-destination.js +4 -3
  157. package/lib/client/formats/docx/import/destination/runs/carriage-return-destination.js +2 -5
  158. package/lib/client/formats/docx/import/destination/runs/deleted-text-destination.js +2 -4
  159. package/lib/client/formats/docx/import/destination/runs/inline-object-destination.js +7 -5
  160. package/lib/client/formats/docx/import/destination/runs/run-break-destination.js +3 -6
  161. package/lib/client/formats/docx/import/destination/runs/run-destination.js +31 -31
  162. package/lib/client/formats/docx/import/destination/runs/run-tab-destination.js +2 -5
  163. package/lib/client/formats/docx/import/destination/runs/separator-destination.js +2 -5
  164. package/lib/client/formats/docx/import/destination/runs/symbol-destination.js +16 -20
  165. package/lib/client/formats/docx/import/destination/section/column-destination.js +5 -7
  166. package/lib/client/formats/docx/import/destination/section/columns-destination.js +14 -16
  167. package/lib/client/formats/docx/import/destination/section/header-footer/header-footer-destination.js +11 -11
  168. package/lib/client/formats/docx/import/destination/section/header-footer/header-footer-reference-destination-base.js +15 -18
  169. package/lib/client/formats/docx/import/destination/section/section-destination.js +19 -19
  170. package/lib/client/formats/docx/import/destination/section/section-different-first-page-destination.js +2 -5
  171. package/lib/client/formats/docx/import/destination/section/section-line-numbering-destination.js +10 -13
  172. package/lib/client/formats/docx/import/destination/section/section-margins-destination.js +7 -10
  173. package/lib/client/formats/docx/import/destination/section/section-page-numbering-destination.js +6 -9
  174. package/lib/client/formats/docx/import/destination/section/section-page-size-destination.js +7 -10
  175. package/lib/client/formats/docx/import/destination/section/section-start-type-destination.js +2 -5
  176. package/lib/client/formats/docx/import/destination/settings/compat-settings-destination.js +10 -13
  177. package/lib/client/formats/docx/import/destination/settings/default-tab-stop-destination.js +4 -7
  178. package/lib/client/formats/docx/import/destination/settings/different-odd-and-even-pages-destination.js +2 -5
  179. package/lib/client/formats/docx/import/destination/settings/document-protection.js +30 -33
  180. package/lib/client/formats/docx/import/destination/settings/document-variables-destination.js +8 -11
  181. package/lib/client/formats/docx/import/destination/settings/mirror-margins-destination.js +3 -6
  182. package/lib/client/formats/docx/import/destination/settings/settings.js +10 -10
  183. package/lib/client/formats/docx/import/destination/style/base/linked-style-id-destination.js +2 -5
  184. package/lib/client/formats/docx/import/destination/style/base/next-style-destination.js +2 -5
  185. package/lib/client/formats/docx/import/destination/style/base/style-hidden-destination.js +2 -5
  186. package/lib/client/formats/docx/import/destination/style/base/style-name-destination.js +2 -5
  187. package/lib/client/formats/docx/import/destination/style/base/style-parent-id-destination.js +2 -5
  188. package/lib/client/formats/docx/import/destination/style/base/style-qformat-destination.js +2 -5
  189. package/lib/client/formats/docx/import/destination/style/base/style-semi-hidden-destination.js +2 -5
  190. package/lib/client/formats/docx/import/destination/style/default/char/default-run-properties-destination.js +8 -14
  191. package/lib/client/formats/docx/import/destination/style/default/char/inner-default-run-properties-destination.js +3 -3
  192. package/lib/client/formats/docx/import/destination/style/default/document-defaults-destination.js +4 -4
  193. package/lib/client/formats/docx/import/destination/style/default/par/default-paragraph-properties-destination.js +3 -3
  194. package/lib/client/formats/docx/import/destination/style/destinations/style-paragraph-properties-destination.js +4 -3
  195. package/lib/client/formats/docx/import/destination/style/paragraph/paragraph-style-reference-base-destination.js +7 -10
  196. package/lib/client/formats/docx/import/destination/style/run-style-reference-base-destination.js +7 -10
  197. package/lib/client/formats/docx/import/destination/style/style-conditional-table-formatting.js +22 -31
  198. package/lib/client/formats/docx/import/destination/style/style-destination-base.js +40 -33
  199. package/lib/client/formats/docx/import/destination/style/style-destination.js +33 -39
  200. package/lib/client/formats/docx/import/destination/style/styles-destination.js +4 -4
  201. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-column-span-destination.js +4 -7
  202. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-conditional-formatting-destination.js +4 -7
  203. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-fit-text-destination.js +2 -5
  204. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-hide-mark-destination.js +2 -5
  205. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-no-wrap-destination.js +2 -5
  206. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination-core.js +20 -19
  207. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination.js +3 -3
  208. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-element-base-destination.js +1 -0
  209. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-shading-destination.js +2 -5
  210. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-style-destination.js +6 -8
  211. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-text-direction-destination.js +2 -5
  212. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-vertical-alignment-destination.js +2 -5
  213. package/lib/client/formats/docx/import/destination/table/cell/table-cell-destination.js +35 -34
  214. package/lib/client/formats/docx/import/destination/table/height-unit-destination.js +7 -9
  215. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-alignment-destination.js +4 -7
  216. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-header-destination.js +2 -5
  217. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-destination.js +23 -22
  218. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-leaf-element-destination.js +1 -0
  219. package/lib/client/formats/docx/import/destination/table/row/table-row-destination.js +16 -18
  220. package/lib/client/formats/docx/import/destination/table/table/grid-column-destination.js +3 -5
  221. package/lib/client/formats/docx/import/destination/table/table/properties/table-alignment-destination.js +2 -5
  222. package/lib/client/formats/docx/import/destination/table/table/properties/table-avoid-double-borders-destination.js +2 -5
  223. package/lib/client/formats/docx/import/destination/table/table/properties/table-cell-margins-destination.js +2 -0
  224. package/lib/client/formats/docx/import/destination/table/table/properties/table-layout-destination.js +2 -5
  225. package/lib/client/formats/docx/import/destination/table/table/properties/table-look-destination.js +4 -7
  226. package/lib/client/formats/docx/import/destination/table/table/properties/table-overlap-destination.js +1 -4
  227. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-base-destination.js +1 -0
  228. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination-core.js +32 -30
  229. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination.js +3 -3
  230. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-leaf-element-destination.js +2 -0
  231. package/lib/client/formats/docx/import/destination/table/table/properties/table-right-to-left-destination.js +1 -4
  232. package/lib/client/formats/docx/import/destination/table/table/properties/table-style-col-band-size-destination.js +4 -7
  233. package/lib/client/formats/docx/import/destination/table/table/properties/table-style-row-band-size-destination.js +4 -7
  234. package/lib/client/formats/docx/import/destination/table/table/properties/table-style-shading-destination.js +2 -5
  235. package/lib/client/formats/docx/import/destination/table/table/table-destination.js +18 -19
  236. package/lib/client/formats/docx/import/destination/table/table/table-grid-destination.js +4 -3
  237. package/lib/client/formats/docx/import/destination/table/table-style-destination.js +6 -8
  238. package/lib/client/formats/docx/import/destination/table/width-unit-destination.js +12 -13
  239. package/lib/client/formats/docx/import/destination/tabs/tab-destination.js +9 -12
  240. package/lib/client/formats/docx/import/destination/tabs/tabs-destination.js +3 -3
  241. package/lib/client/formats/docx/import/destination/tabs/tabs-leaf-element-destination.js +1 -0
  242. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination-base.js +10 -8
  243. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination.js +1 -1
  244. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-properties-destination-base.js +34 -35
  245. package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-destination.js +3 -5
  246. package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-scheme-destination.js +16 -19
  247. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-alpha-modulation.js +2 -5
  248. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-alpha-offset.js +2 -5
  249. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-alpha.js +2 -5
  250. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-base.js +1 -0
  251. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-blue-modification.js +2 -5
  252. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-blue-offset.js +2 -5
  253. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-blue.js +2 -5
  254. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-complement.js +2 -5
  255. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-gamma.js +2 -5
  256. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-gray.js +2 -5
  257. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-green-modification.js +2 -5
  258. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-green-offset.js +2 -5
  259. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-green.js +2 -5
  260. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-hue-modulate.js +2 -5
  261. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-hue-offset.js +2 -5
  262. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-hue.js +2 -5
  263. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-inverse-gamma.js +2 -5
  264. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-inverse.js +2 -5
  265. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-luminance-modulation.js +2 -5
  266. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-luminance-offset.js +2 -5
  267. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-luminance.js +2 -5
  268. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-red-modulation.js +2 -5
  269. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-red-offset.js +2 -5
  270. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-red.js +2 -5
  271. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-saturation-modulation.js +2 -5
  272. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-saturation-offset.js +2 -5
  273. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-saturation.js +2 -5
  274. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-shade.js +2 -5
  275. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-tint.js +2 -5
  276. package/lib/client/formats/docx/import/destination/themes/font/drawing-text-font-destination.js +18 -20
  277. package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-collection-scheme-destination.js +22 -21
  278. package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-scheme-destination.js +6 -9
  279. package/lib/client/formats/docx/import/destination/themes/font/office-theme-supplemental-font-scheme-destination.js +1 -0
  280. package/lib/client/formats/docx/import/destination/themes/format/office-theme-format-scheme-destination.js +4 -7
  281. package/lib/client/formats/docx/import/destination/themes/office-theme-destination.js +8 -10
  282. package/lib/client/formats/docx/import/destination/themes/office-theme-elements-destination.js +5 -5
  283. package/lib/client/formats/docx/import/destination/vml/v-mlshape-destination.js +63 -65
  284. package/lib/client/formats/docx/import/importer-options.js +8 -6
  285. package/lib/client/formats/docx/import/importer.js +101 -116
  286. package/lib/client/formats/docx/import/importers/alt-chunk-importer.js +2 -0
  287. package/lib/client/formats/docx/import/importers/bookmark-importer.js +2 -0
  288. package/lib/client/formats/docx/import/importers/character-importer.js +4 -0
  289. package/lib/client/formats/docx/import/importers/comments-importer.js +1 -0
  290. package/lib/client/formats/docx/import/importers/core-properties-importer.js +1 -0
  291. package/lib/client/formats/docx/import/importers/custom-properties-importer.js +1 -0
  292. package/lib/client/formats/docx/import/importers/field-importer.js +2 -1
  293. package/lib/client/formats/docx/import/importers/header-footer-importer.js +1 -0
  294. package/lib/client/formats/docx/import/importers/notes-importer.js +3 -2
  295. package/lib/client/formats/docx/import/importers/numbering-list-importer.js +1 -0
  296. package/lib/client/formats/docx/import/importers/paragraph-importer.js +8 -1
  297. package/lib/client/formats/docx/import/importers/position-importer.js +2 -0
  298. package/lib/client/formats/docx/import/importers/range-permission-importer.js +2 -0
  299. package/lib/client/formats/docx/import/importers/section-importer.js +4 -0
  300. package/lib/client/formats/docx/import/importers/settings-importer.js +1 -0
  301. package/lib/client/formats/docx/import/importers/styles-importer.js +33 -21
  302. package/lib/client/formats/docx/import/importers/table-importer.js +1 -0
  303. package/lib/client/formats/docx/import/importers/themes-importer.js +1 -0
  304. package/lib/client/formats/docx/import/importers/web-settings-importer.js +1 -0
  305. package/lib/client/formats/docx/import/list/open-xml-abstract-numbering-info.js +4 -0
  306. package/lib/client/formats/docx/import/list/open-xml-list-level-override.js +5 -0
  307. package/lib/client/formats/docx/import/list/open-xml-numbering-list-info.js +4 -0
  308. package/lib/client/formats/docx/import/model/alt-chunk-info.js +3 -0
  309. package/lib/client/formats/docx/import/model/comment-list-info.js +8 -7
  310. package/lib/client/formats/docx/import/model/floating-object-import-info.js +13 -3
  311. package/lib/client/formats/docx/import/model/import-bookmark-info.js +2 -4
  312. package/lib/client/formats/docx/import/model/import-field-info.js +11 -7
  313. package/lib/client/formats/docx/import/model/import-range-permission-info.js +7 -7
  314. package/lib/client/formats/docx/import/model/import-sub-document-info.js +14 -0
  315. package/lib/client/formats/docx/import/model/open-xml-style-conditional-table-formatting-info.js +7 -0
  316. package/lib/client/formats/docx/import/utils/culture-info-helper.js +378 -378
  317. package/lib/client/formats/docx/import/utils/reader-helper.js +1 -0
  318. package/lib/client/formats/docx/import/utils/relations-collection.js +31 -38
  319. package/lib/client/formats/docx/translation-table/ml-table-data.js +2 -0
  320. package/lib/client/formats/docx/translation-table/translation-tables-data.js +2 -4
  321. package/lib/client/formats/docx/translation-table/translation-tables.js +55 -55
  322. package/lib/client/formats/docx/translation-table/word-processing-mlvalue.js +2 -0
  323. package/lib/client/formats/docx/utils/constants.js +119 -92
  324. package/lib/client/formats/docx/utils/lock-aspect-ratio-table.js +1 -3
  325. package/lib/client/formats/docx/utils/open-xml-relation.js +4 -0
  326. package/lib/client/formats/docx/utils/progress-indication.js +10 -4
  327. package/lib/client/formats/docx/utils/string-value-parser.js +1 -1
  328. package/lib/client/formats/docx/utils/value-info.js +4 -1
  329. package/lib/client/formats/docx/utils/xml-chars-decoder.js +1 -1
  330. package/lib/client/formats/docx/zip/xml-reader.js +8 -0
  331. package/lib/client/formats/docx/zip/xml-writer.js +4 -1
  332. package/lib/client/formats/docx/zip/zip-builder.js +3 -2
  333. package/lib/client/formats/docx/zip/zip-reader.js +35 -41
  334. package/lib/client/formatters-options.js +2 -2
  335. package/lib/client/loading-panel/panel.js +3 -1
  336. package/lib/client/loading-panel/status-bar-panel.js +2 -7
  337. package/lib/client/localization.js +1 -0
  338. package/lib/client/losing-changes-watcher.js +5 -2
  339. package/lib/client/model/fields/field-client-request-manager.js +7 -1
  340. package/lib/client/model/font-changes-listener.js +1 -0
  341. package/lib/client/model/styles/known-style-names.js +167 -167
  342. package/lib/client/model-api/anchor-info.js +12 -0
  343. package/lib/client/model-api/api-utils/insert-text.js +5 -31
  344. package/lib/client/model-api/api-utils/parameter-checker.js +4 -0
  345. package/lib/client/model-api/bookmark.js +3 -0
  346. package/lib/client/model-api/character-properties.js +32 -18
  347. package/lib/client/model-api/collections/bookmark-collection.js +1 -0
  348. package/lib/client/model-api/collections/collection.js +1 -0
  349. package/lib/client/model-api/collections/drawing-object-collection-base.js +3 -0
  350. package/lib/client/model-api/collections/field-collection.js +3 -0
  351. package/lib/client/model-api/collections/hyperlink-collection.js +1 -0
  352. package/lib/client/model-api/collections/paragraph-collection.js +1 -0
  353. package/lib/client/model-api/collections/range-permission-collection.js +1 -0
  354. package/lib/client/model-api/collections/table/table-base-collection.js +3 -0
  355. package/lib/client/model-api/collections/table/table-cell-collection.js +2 -0
  356. package/lib/client/model-api/collections/table/table-row-collection.js +2 -0
  357. package/lib/client/model-api/document.js +1 -0
  358. package/lib/client/model-api/field.js +7 -0
  359. package/lib/client/model-api/fonts/control-font.js +2 -0
  360. package/lib/client/model-api/fonts/model-font.js +2 -0
  361. package/lib/client/model-api/images/image-interfaces.js +18 -6
  362. package/lib/client/model-api/images/image-iterator.js +4 -0
  363. package/lib/client/model-api/images/image.js +4 -0
  364. package/lib/client/model-api/images/images.js +2 -0
  365. package/lib/client/model-api/interval.js +2 -0
  366. package/lib/client/model-api/lists/enums.js +5 -5
  367. package/lib/client/model-api/lists/list-level-settings.js +13 -0
  368. package/lib/client/model-api/lists/lists.js +2 -0
  369. package/lib/client/model-api/paragraph.js +16 -0
  370. package/lib/client/model-api/picture.js +7 -0
  371. package/lib/client/model-api/range-permission.js +3 -0
  372. package/lib/client/model-api/rectangle.js +4 -0
  373. package/lib/client/model-api/section.js +2 -0
  374. package/lib/client/model-api/size.js +6 -0
  375. package/lib/client/model-api/sub-document.js +2 -0
  376. package/lib/client/model-api/table/table-borders.js +9 -0
  377. package/lib/client/model-api/table/table-cell.js +6 -3
  378. package/lib/client/model-api/table/table-element-base.js +4 -0
  379. package/lib/client/model-api/table/table-row.js +2 -0
  380. package/lib/client/model-api/table/table-style-options.js +6 -0
  381. package/lib/client/model-api/table/table.js +2 -2
  382. package/lib/client/model-api/text-box.js +6 -0
  383. package/lib/client/public/all.js +1 -1
  384. package/lib/client/public/api/authentication-options.js +1 -0
  385. package/lib/client/public/api/mail-merge-options.js +1 -0
  386. package/lib/client/public/api/print-layout-view.js +1 -0
  387. package/lib/client/public/api/range-permission-options.js +1 -0
  388. package/lib/client/public/api/simple-view.js +5 -0
  389. package/lib/client/public/api/spell-checker-options.js +1 -0
  390. package/lib/client/public/characters.js +3 -3
  391. package/lib/client/public/client-events.js +28 -0
  392. package/lib/client/public/commands/commands.js +4 -2
  393. package/lib/client/public/commands/ui-changes-listener.js +5 -3
  394. package/lib/client/public/context-menu/item.js +11 -4
  395. package/lib/client/public/context-menu/menu.js +4 -0
  396. package/lib/client/public/document-processor.js +1 -0
  397. package/lib/client/public/events.js +39 -3
  398. package/lib/client/public/nusa/rich-edits-holder.js +3 -0
  399. package/lib/client/public/nusa/settings.js +6 -6
  400. package/lib/client/public/ribbon/items/base.js +2 -1
  401. package/lib/client/public/ribbon/items/button.js +7 -1
  402. package/lib/client/public/ribbon/items/color-box.js +6 -3
  403. package/lib/client/public/ribbon/items/menu.js +6 -2
  404. package/lib/client/public/ribbon/items/number-box.js +9 -1
  405. package/lib/client/public/ribbon/items/select-box.js +14 -3
  406. package/lib/client/public/ribbon/items/sub-menu.js +5 -1
  407. package/lib/client/public/ribbon/ribbon.js +3 -5
  408. package/lib/client/public/ribbon/tab.js +8 -0
  409. package/lib/client/public/rich-edit.d.ts +3 -0
  410. package/lib/client/public/rich-edit.js +44 -2
  411. package/lib/client/public/utils.js +7 -1
  412. package/lib/client/ribbon/ribbon.js +5 -3
  413. package/lib/client/ribbon/toolbar-items/toolbar-button-group-item.js +2 -2
  414. package/lib/client/ribbon/toolbar-items/toolbar-button-item.js +4 -4
  415. package/lib/client/ribbon/toolbar-items/toolbar-color-box-item.js +2 -0
  416. package/lib/client/ribbon/toolbar-items/toolbar-interactive-item.js +4 -0
  417. package/lib/client/ribbon/toolbar-items/toolbar-item-base.js +1 -0
  418. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-group-toolbar-item-template-creator.js +1 -0
  419. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-toolbar-item-template-creator.js +1 -0
  420. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/color-box-toolbar-item-template-creator.js +1 -0
  421. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/menu-toolbar-item-template-creator.js +4 -5
  422. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/number-box-toolbar-item-template-creator.js +1 -0
  423. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/select-box-toolbar-item-template-creator.js +1 -0
  424. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/separator-toolbar-item-template-creator.js +1 -1
  425. package/lib/client/ribbon/toolbar-items/toolbar-menu-item.js +2 -1
  426. package/lib/client/ribbon/toolbar-items/toolbar-separator-item.js +1 -1
  427. package/lib/client/ribbon/toolbar-items/toolbar-sub-menu-item.js +6 -1
  428. package/lib/client/settings.js +53 -26
  429. package/lib/client/ui/client-quick-search-panel.js +1 -0
  430. package/lib/client/ui/full-screen-helper.js +3 -2
  431. package/lib/client/utils/focus-helper.js +16 -17
  432. package/lib/common/auto-correct/auto-correct-providers.js +7 -10
  433. package/lib/common/auto-correct/auto-correct-service.js +3 -0
  434. package/lib/common/bars/base.js +3 -1
  435. package/lib/common/bars/context-menu.js +2 -5
  436. package/lib/common/bars/ribbon.js +1 -4
  437. package/lib/common/canvas/canvas-manager.js +13 -6
  438. package/lib/common/canvas/canvas-scroll-info.js +12 -8
  439. package/lib/common/canvas/canvas-scroll-manager.js +4 -2
  440. package/lib/common/canvas/canvas-size-info.js +8 -5
  441. package/lib/common/canvas/listeners/anchor-listener.js +1 -0
  442. package/lib/common/canvas/listeners/auto-scroll-listener.js +6 -1
  443. package/lib/common/canvas/listeners/drag-caret-listener.js +1 -1
  444. package/lib/common/canvas/listeners/frame-base-listener.js +15 -11
  445. package/lib/common/canvas/listeners/resize-box-listener.js +20 -18
  446. package/lib/common/canvas/renderes/canvas-listener/canvas-listener.js +2 -0
  447. package/lib/common/canvas/renderes/canvas-listener/print-layout-view-canvas-listener.js +1 -0
  448. package/lib/common/canvas/renderes/canvas-listener/simple-view-canvas-listener.js +5 -0
  449. package/lib/common/canvas/renderes/change-active-sub-document/base-renderer.js +6 -0
  450. package/lib/common/canvas/renderes/change-active-sub-document/header-footer-labels-renderer.js +6 -4
  451. package/lib/common/canvas/renderes/change-active-sub-document/renderer.js +2 -0
  452. package/lib/common/canvas/renderes/common/document-renderer.js +23 -13
  453. package/lib/common/canvas/renderes/common/simple-view-renderer.js +4 -7
  454. package/lib/common/canvas/renderes/selection-renderers/misspelled-selection-renderer.js +1 -4
  455. package/lib/common/canvas/renderes/selection-renderers/range-permission-renderer.js +1 -4
  456. package/lib/common/canvas/renderes/selection-renderers/search-selection-renderer.js +1 -4
  457. package/lib/common/canvas/renderes/selection-renderers/selection-renderer-base.js +3 -0
  458. package/lib/common/canvas/renderes/selection-renderers/selection-renderer.js +3 -1
  459. package/lib/common/canvas/renderes/selection-renderers/touch-selection-circle-elements-manager.js +6 -1
  460. package/lib/common/canvas/renderes/view-manager.js +27 -4
  461. package/lib/common/canvas/renderes/z-index-helper.js +21 -21
  462. package/lib/common/client-side-events.js +1 -0
  463. package/lib/common/clipboard-content-inserter.js +4 -1
  464. package/lib/common/commands/bookmark-command.js +1 -0
  465. package/lib/common/commands/character-properties/change-character-properties-command-base.js +1 -0
  466. package/lib/common/commands/character-properties/change-font-name-command.js +8 -5
  467. package/lib/common/commands/command-base.js +7 -0
  468. package/lib/common/commands/command-manager.js +11 -8
  469. package/lib/common/commands/command-states.js +19 -4
  470. package/lib/common/commands/dialogs/dialog-alert-message-command.js +1 -0
  471. package/lib/common/commands/dialogs/dialog-bookmarks-command.js +7 -0
  472. package/lib/common/commands/dialogs/dialog-border-shading-command.js +21 -6
  473. package/lib/common/commands/dialogs/dialog-columns-command.js +16 -9
  474. package/lib/common/commands/dialogs/dialog-custom-numbering-list-command.js +22 -7
  475. package/lib/common/commands/dialogs/dialog-find-replace-command.js +1 -0
  476. package/lib/common/commands/dialogs/dialog-finish-and-merge-command.js +5 -0
  477. package/lib/common/commands/dialogs/dialog-font-command.js +14 -16
  478. package/lib/common/commands/dialogs/dialog-hyperlink-command.js +6 -9
  479. package/lib/common/commands/dialogs/dialog-insert-image-command.js +3 -6
  480. package/lib/common/commands/dialogs/dialog-insert-merge-field-command.js +1 -0
  481. package/lib/common/commands/dialogs/dialog-insert-table-cells-command.js +1 -0
  482. package/lib/common/commands/dialogs/dialog-insert-table-command.js +2 -0
  483. package/lib/common/commands/dialogs/dialog-layout-options-command.js +31 -0
  484. package/lib/common/commands/dialogs/dialog-numbering-list-command.js +2 -4
  485. package/lib/common/commands/dialogs/dialog-page-setup-command.js +15 -0
  486. package/lib/common/commands/dialogs/dialog-paragraph-properties-command.js +17 -0
  487. package/lib/common/commands/dialogs/dialog-spell-checker-command.js +4 -0
  488. package/lib/common/commands/dialogs/dialog-split-table-cells-command.js +5 -0
  489. package/lib/common/commands/dialogs/dialog-symbols-command.js +3 -0
  490. package/lib/common/commands/dialogs/dialog-table-properties-command.js +41 -13
  491. package/lib/common/commands/dialogs/dialog-tabs-command.js +2 -0
  492. package/lib/common/commands/document/print-document-on-client-command.d.ts +2 -1
  493. package/lib/common/commands/document/print-document-on-client-command.js +52 -25
  494. package/lib/common/commands/fields/change-hyperlink-command.js +3 -0
  495. package/lib/common/commands/fields/update-field-command.js +4 -1
  496. package/lib/common/commands/find-replace/find-all-command.js +4 -0
  497. package/lib/common/commands/find-replace/replace-all-command.js +3 -0
  498. package/lib/common/commands/floating-objects/floating-object-drag-drop-change-position-command.js +11 -0
  499. package/lib/common/commands/floating-objects/set-floating-object-alignment-command.js +22 -50
  500. package/lib/common/commands/floating-objects/set-floating-object-text-wrap-type-command.js +9 -29
  501. package/lib/common/commands/header-footer/link-header-footer-commands.js +1 -0
  502. package/lib/common/commands/numbering/insert-numeration-to-paragraphs-command.js +1 -0
  503. package/lib/common/commands/ruler/ruler-paragraph-indents-command.js +2 -0
  504. package/lib/common/commands/ruler/ruler-table-column-separators-command.js +11 -6
  505. package/lib/common/commands/ruler/ruler-table-commands.js +8 -0
  506. package/lib/common/commands/selection/go-to-line-end-command.js +1 -0
  507. package/lib/common/commands/selection/select-table-command.js +2 -0
  508. package/lib/common/commands/shortcut-manager.js +7 -2
  509. package/lib/common/commands/shortcuts/assign-shortcut-command.js +2 -0
  510. package/lib/common/commands/sub-document/change-active-sub-document-command.js +7 -5
  511. package/lib/common/commands/tables/change-table-cell-alignment-command.js +20 -45
  512. package/lib/common/commands/tables/change-table-look-command.js +7 -24
  513. package/lib/common/commands/tables/toggle-table-cells-border-command.js +27 -56
  514. package/lib/common/commands/text/backspace-command.js +4 -4
  515. package/lib/common/commands/text/clipboard-commands.js +34 -35
  516. package/lib/common/commands/text/insert-paragraph-command.js +1 -0
  517. package/lib/common/commands/text/insert-text-command.js +1 -0
  518. package/lib/common/event-manager.js +19 -5
  519. package/lib/common/focus-manager.js +5 -0
  520. package/lib/common/formats/file-name-helper.js +5 -0
  521. package/lib/common/formats/html/export/html-builder.js +3 -4
  522. package/lib/common/formats/html/export/html-document-exporter.js +4 -0
  523. package/lib/common/formats/html/export/html-export.js +7 -6
  524. package/lib/common/formats/html/import/containers/runs.js +21 -1
  525. package/lib/common/formats/html/import/containers/tables.js +16 -0
  526. package/lib/common/formats/html/import/html-document-importer.js +3 -0
  527. package/lib/common/formats/html/import/html-importer.js +55 -34
  528. package/lib/common/formats/html/import/html-model-inserter.js +12 -4
  529. package/lib/common/formats/html/import/importers/base.js +3 -2
  530. package/lib/common/formats/html/import/importers/list-base.js +2 -5
  531. package/lib/common/formats/html/import/importers/p.js +4 -8
  532. package/lib/common/formats/html/import/importers/span.js +2 -6
  533. package/lib/common/formats/html/import/importers/table.js +4 -8
  534. package/lib/common/formats/html/import/importers/td.js +7 -5
  535. package/lib/common/formats/html/import/importers/tr.js +4 -5
  536. package/lib/common/formats/html/import/load-font-info.js +3 -0
  537. package/lib/common/formats/html/import/utils/character-properties-utils.js +8 -0
  538. package/lib/common/formats/html/import/utils/paragraph-list-properties-utils.js +20 -16
  539. package/lib/common/formats/html/import/utils/paragraph-properties-utils.js +8 -5
  540. package/lib/common/formats/html/import/utils/tab-stops-utils.js +1 -2
  541. package/lib/common/formats/html/import/utils/utils.js +8 -8
  542. package/lib/common/formats/html/model/history/paste-html-data-history-item.js +4 -0
  543. package/lib/common/formats/i-document-exporter.d.ts +1 -1
  544. package/lib/common/formats/options.js +1 -3
  545. package/lib/common/formats/pdf/box-exporter.js +4 -0
  546. package/lib/common/formats/pdf/exporter.js +1 -0
  547. package/lib/common/formats/pdf/page-area-exporter.js +3 -0
  548. package/lib/common/formats/pdf/page-exporter.js +2 -0
  549. package/lib/common/formats/pdf/row-exporter.js +2 -0
  550. package/lib/common/formats/pdf/table-column-info-exporter.js +1 -0
  551. package/lib/common/formats/rtf/export/characters.js +41 -41
  552. package/lib/common/formats/rtf/export/exporter.js +5 -0
  553. package/lib/common/formats/rtf/export/exporters/picture/rtf-picture-exporter.js +3 -0
  554. package/lib/common/formats/rtf/export/exporters/rtf-anchored-picture-run-exporter.js +2 -0
  555. package/lib/common/formats/rtf/export/exporters/rtf-anchored-run-exporter.js +5 -0
  556. package/lib/common/formats/rtf/export/exporters/rtf-anchored-text-box-run-exporter.js +2 -0
  557. package/lib/common/formats/rtf/export/exporters/rtf-character-properties-exporter.js +4 -3
  558. package/lib/common/formats/rtf/export/exporters/rtf-content-exporter.js +29 -13
  559. package/lib/common/formats/rtf/export/exporters/rtf-numbering-list-exporter.js +7 -2
  560. package/lib/common/formats/rtf/export/exporters/rtf-paragraph-properties-exporter.js +18 -21
  561. package/lib/common/formats/rtf/export/exporters/rtf-properties-exporter.js +3 -0
  562. package/lib/common/formats/rtf/export/exporters/rtf-style-exporter.js +8 -0
  563. package/lib/common/formats/rtf/export/exporters/table/states/rtf-table-exporter-state-base.js +11 -3
  564. package/lib/common/formats/rtf/export/helpers/rtf-export-helper.js +14 -0
  565. package/lib/common/formats/rtf/export/rtf-builder.js +9 -4
  566. package/lib/common/formats/rtf/export/rtf-document-exporter-options.js +8 -3
  567. package/lib/common/formats/rtf/import/destination/base/destination.js +11 -8
  568. package/lib/common/formats/rtf/import/destination/base/hex-content-destination.js +2 -4
  569. package/lib/common/formats/rtf/import/destination/base/hex-stream-destination.js +1 -0
  570. package/lib/common/formats/rtf/import/destination/base/skip-destination.js +1 -0
  571. package/lib/common/formats/rtf/import/destination/base/string-property-base-destination.js +5 -3
  572. package/lib/common/formats/rtf/import/destination/base/string-property-destination.js +6 -5
  573. package/lib/common/formats/rtf/import/destination/base/string-value-destination-base.js +4 -4
  574. package/lib/common/formats/rtf/import/destination/base/string-value-destination.js +1 -4
  575. package/lib/common/formats/rtf/import/destination/base/unicode-destination.js +1 -0
  576. package/lib/common/formats/rtf/import/destination/base/unicode-string-value-destination.js +3 -6
  577. package/lib/common/formats/rtf/import/destination/color-table-destination.js +10 -9
  578. package/lib/common/formats/rtf/import/destination/destination-revision-author-table.js +1 -4
  579. package/lib/common/formats/rtf/import/destination/document-variable-destination.js +3 -4
  580. package/lib/common/formats/rtf/import/destination/fields/field-map-data-destination.js +7 -4
  581. package/lib/common/formats/rtf/import/destination/fields/field-sub-destination.js +1 -1
  582. package/lib/common/formats/rtf/import/destination/fields/mail-merge-destination.js +4 -4
  583. package/lib/common/formats/rtf/import/destination/fields/table-content-field-destination.js +3 -3
  584. package/lib/common/formats/rtf/import/destination/font-table-destination.js +3 -0
  585. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering-base.js +2 -5
  586. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering.js +10 -0
  587. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-section-numbering-level.js +1 -0
  588. package/lib/common/formats/rtf/import/destination/numbering-list/list-level-destination.js +1 -4
  589. package/lib/common/formats/rtf/import/destination/numbering-list/list-level-text-destination.js +1 -4
  590. package/lib/common/formats/rtf/import/destination/numbering-list/list-override-level-destination.js +1 -4
  591. package/lib/common/formats/rtf/import/destination/numbering-list/list-override-table-destination.js +1 -0
  592. package/lib/common/formats/rtf/import/destination/numbering-list/list-table-destination.js +1 -0
  593. package/lib/common/formats/rtf/import/destination/picture/picture-destination.js +4 -2
  594. package/lib/common/formats/rtf/import/destination/picture/picture-units-converter.js +1 -0
  595. package/lib/common/formats/rtf/import/destination/shape/hyperlink-property-value-destination.js +1 -4
  596. package/lib/common/formats/rtf/import/destination/shape/pic/shape-picture-destination.js +3 -1
  597. package/lib/common/formats/rtf/import/destination/shape/shape-properties-destination-base.js +3 -2
  598. package/lib/common/formats/rtf/import/destination/shape/shape-property-destination.js +3 -0
  599. package/lib/common/formats/rtf/import/destination/shape/shape-property-hsv-value-destination.js +1 -0
  600. package/lib/common/formats/rtf/import/destination/shape/shape-property-hyperlink-destination.js +1 -4
  601. package/lib/common/formats/rtf/import/destination/shape/shape-property-value-destination.js +2 -4
  602. package/lib/common/formats/rtf/import/destination/styles/character-style-destination.js +2 -0
  603. package/lib/common/formats/rtf/import/destination/styles/style-sheet-destination.js +2 -0
  604. package/lib/common/formats/rtf/import/destination/styles/table-style-destination.js +3 -1
  605. package/lib/common/formats/rtf/import/destination/sub-document/destination-sub-document.js +10 -10
  606. package/lib/common/formats/rtf/import/destination/sub-document/section-header-footer-destination-base.js +1 -0
  607. package/lib/common/formats/rtf/import/dx-decoding/decoder-base.d.ts +1 -0
  608. package/lib/common/formats/rtf/import/dx-decoding/decoder-base.js +18 -9
  609. package/lib/common/formats/rtf/import/dx-decoding/decoder-helper.js +22 -19
  610. package/lib/common/formats/rtf/import/dx-decoding/gb2315-decoder-helper.js +1 -1
  611. package/lib/common/formats/rtf/import/dx-decoding/hangul949-decoder-helper.js +2 -1
  612. package/lib/common/formats/rtf/import/dx-decoding/russian-decoder.js +129 -129
  613. package/lib/common/formats/rtf/import/dx-decoding/specified-symbols.js +116 -13
  614. package/lib/common/formats/rtf/import/encoding/code-page-character-decoder.js +3 -1
  615. package/lib/common/formats/rtf/import/encoding/dx-encoding.js +16 -16
  616. package/lib/common/formats/rtf/import/encoding/unicode-character-decoder.js +2 -5
  617. package/lib/common/formats/rtf/import/importer-options.js +3 -1
  618. package/lib/common/formats/rtf/import/importers/character-importer.js +3 -0
  619. package/lib/common/formats/rtf/import/importers/field-importer.js +2 -1
  620. package/lib/common/formats/rtf/import/importers/font-importer.js +2 -1
  621. package/lib/common/formats/rtf/import/importers/image-importer.js +3 -2
  622. package/lib/common/formats/rtf/import/importers/importer-base.js +1 -0
  623. package/lib/common/formats/rtf/import/importers/importers-collection.js +14 -1
  624. package/lib/common/formats/rtf/import/importers/numbering-lists-importer.js +10 -4
  625. package/lib/common/formats/rtf/import/importers/paragraph-importer.js +2 -0
  626. package/lib/common/formats/rtf/import/importers/range-permission-importer.js +2 -2
  627. package/lib/common/formats/rtf/import/importers/section-importer.js +1 -0
  628. package/lib/common/formats/rtf/import/importers/styles/base-style-importer.js +3 -1
  629. package/lib/common/formats/rtf/import/importers/styles/paragraph-style-importer.js +2 -4
  630. package/lib/common/formats/rtf/import/importers/styles/rtf-style-importer-state.js +2 -0
  631. package/lib/common/formats/rtf/import/importers/styles-importer.js +6 -2
  632. package/lib/common/formats/rtf/import/keyword-tables/keyword-table-holder.js +249 -251
  633. package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info-core.js +2 -4
  634. package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info.js +2 -0
  635. package/lib/common/formats/rtf/import/model/character/character-properties.js +10 -6
  636. package/lib/common/formats/rtf/import/model/character/font-info-collection.js +2 -4
  637. package/lib/common/formats/rtf/import/model/character/rtf-font-info.js +6 -5
  638. package/lib/common/formats/rtf/import/model/character/rtf-formatting-info.js +6 -2
  639. package/lib/common/formats/rtf/import/model/color-collections.js +5 -3
  640. package/lib/common/formats/rtf/import/model/fields/rtf-field-info.js +14 -11
  641. package/lib/common/formats/rtf/import/model/image/picture-destination-info.js +19 -15
  642. package/lib/common/formats/rtf/import/model/image/rtf-image-info.js +10 -0
  643. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-converter.js +2 -1
  644. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-level.js +5 -2
  645. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-override-level.js +4 -1
  646. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-info.js +2 -0
  647. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-override.js +3 -3
  648. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list.js +6 -4
  649. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info-collection.js +1 -3
  650. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info.js +7 -0
  651. package/lib/common/formats/rtf/import/model/paragraph/paragraph-frame-formatting-info.js +15 -0
  652. package/lib/common/formats/rtf/import/model/paragraph/paragraph-properties.js +15 -16
  653. package/lib/common/formats/rtf/import/model/range-permission/import-range-permission-info.js +7 -0
  654. package/lib/common/formats/rtf/import/model/rtf-document-properties.js +7 -2
  655. package/lib/common/formats/rtf/import/model/rtf-revision-authors.js +2 -4
  656. package/lib/common/formats/rtf/import/model/section/general-section-info.js +6 -0
  657. package/lib/common/formats/rtf/import/model/section/line-numbering-info.js +4 -0
  658. package/lib/common/formats/rtf/import/model/section/margins-info.js +2 -0
  659. package/lib/common/formats/rtf/import/model/section/page-numbering-info.js +5 -6
  660. package/lib/common/formats/rtf/import/model/section/rtf-section-properties.js +9 -0
  661. package/lib/common/formats/rtf/import/model/shape/calculators/rtf-bounds-calculator-base.js +1 -0
  662. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-container-properties-helper.js +1 -0
  663. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-object-run-properties-helper.js +1 -0
  664. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-text-body-properties-helper.js +1 -0
  665. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-outline-properties-helper.js +1 -0
  666. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-shape-import-helper.js +1 -0
  667. package/lib/common/formats/rtf/import/model/shape/shape-properties-info.js +1 -3
  668. package/lib/common/formats/rtf/import/model/shape/shape-type-code.js +203 -203
  669. package/lib/common/formats/rtf/import/model/table/properties/rtf-table-cell-properties.js +8 -3
  670. package/lib/common/formats/rtf/import/model/table/properties/rtf-table-properties.js +7 -3
  671. package/lib/common/formats/rtf/import/model/table/properties/table-floating-position-info.js +11 -0
  672. package/lib/common/formats/rtf/import/model/table/properties/table-row-properties.js +14 -6
  673. package/lib/common/formats/rtf/import/model/table/rtf-table-cell.js +9 -5
  674. package/lib/common/formats/rtf/import/model/table/rtf-table-row.js +6 -2
  675. package/lib/common/formats/rtf/import/model/table/rtf-table.js +4 -1
  676. package/lib/common/formats/rtf/import/rtf-import-data.js +26 -1
  677. package/lib/common/formats/rtf/import/rtf-importer.js +4 -0
  678. package/lib/common/formats/rtf/import/table/rtf-table-cell-controller.js +2 -0
  679. package/lib/common/formats/rtf/import/table/rtf-table-controller.js +3 -0
  680. package/lib/common/formats/rtf/import/table/rtf-table-row-controller.js +3 -0
  681. package/lib/common/formats/rtf/import/table/rtf-table-state.js +4 -0
  682. package/lib/common/formats/rtf/import/table/states/no-table-state.js +1 -4
  683. package/lib/common/formats/rtf/import/table/states/state-base.js +1 -0
  684. package/lib/common/formats/rtf/import/table/table-converter.js +3 -1
  685. package/lib/common/formats/rtf/import/table/table-grid.js +1 -3
  686. package/lib/common/formats/rtf/import/table/table-reader.js +13 -1
  687. package/lib/common/formats/rtf/translation-table/rtf-content-exporter.js +1 -1
  688. package/lib/common/formats/rtf/translation-table/rtf-drawing-keywords.js +179 -179
  689. package/lib/common/formats/rtf/translation-table/rtf-export-sr.js +688 -688
  690. package/lib/common/formats/rtf/utils/mergers/rtf-table-properties-merger-base.js +1 -0
  691. package/lib/common/formats/rtf/utils/rtf-art-border-converter.js +2 -1
  692. package/lib/common/formats/rtf/utils/shape-utils.js +1 -1
  693. package/lib/common/formats/rtf/utils/unicode-char-helper.js +19 -19
  694. package/lib/common/formats/txt/txt-exporter.js +2 -0
  695. package/lib/common/formats/txt/txt-importer.js +3 -0
  696. package/lib/common/formats/utils/color/theme-color-index-calculator.js +37 -37
  697. package/lib/common/formats/utils/color/tint-and-shade-calculator.js +1 -1
  698. package/lib/common/formats/utils/cross-existing-iterator.js +9 -0
  699. package/lib/common/formats/utils/extension-helper.js +13 -13
  700. package/lib/common/formats/utils/images-import.js +7 -4
  701. package/lib/common/formats/utils/import-bookmark-info-core.js +2 -4
  702. package/lib/common/formats/utils/import-comment-info.js +4 -0
  703. package/lib/common/formats/utils/numbering-list-index-constants.js +4 -4
  704. package/lib/common/formats/utils/string-helper.js +7 -7
  705. package/lib/common/global-event-dispatcher.js +7 -2
  706. package/lib/common/input-controller.d.ts +5 -3
  707. package/lib/common/input-controller.js +72 -33
  708. package/lib/common/interfaces/i-rich-edit-core.d.ts +2 -0
  709. package/lib/common/layout/document-layout.d.ts +1 -1
  710. package/lib/common/layout/document-layout.js +11 -1
  711. package/lib/common/layout/layout-point.js +1 -0
  712. package/lib/common/layout/layout-position.d.ts +1 -0
  713. package/lib/common/layout/layout-position.js +21 -17
  714. package/lib/common/layout/main-structures/layout-boxes/bookmark-box.js +4 -4
  715. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-object-box.js +9 -2
  716. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-picture-box.js +3 -0
  717. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-text-box.js +2 -0
  718. package/lib/common/layout/main-structures/layout-boxes/layout-box.js +7 -0
  719. package/lib/common/layout/main-structures/layout-boxes/layout-dash-box.js +1 -0
  720. package/lib/common/layout/main-structures/layout-boxes/layout-dependent-text-box.js +1 -0
  721. package/lib/common/layout/main-structures/layout-boxes/layout-line-break-box.js +2 -0
  722. package/lib/common/layout/main-structures/layout-boxes/layout-non-breaking-space-box.js +3 -1
  723. package/lib/common/layout/main-structures/layout-boxes/layout-numbering-list-box.js +3 -0
  724. package/lib/common/layout/main-structures/layout-boxes/layout-page-break-box.js +2 -0
  725. package/lib/common/layout/main-structures/layout-boxes/layout-paragraph-mark-box.js +2 -0
  726. package/lib/common/layout/main-structures/layout-boxes/layout-picture-box.js +3 -0
  727. package/lib/common/layout/main-structures/layout-boxes/layout-space-box.js +2 -0
  728. package/lib/common/layout/main-structures/layout-boxes/layout-tab-space-box.js +7 -1
  729. package/lib/common/layout/main-structures/layout-boxes/layout-text-box.js +1 -0
  730. package/lib/common/layout/main-structures/layout-column.js +5 -4
  731. package/lib/common/layout/main-structures/layout-page-area.d.ts +1 -2
  732. package/lib/common/layout/main-structures/layout-page-area.js +4 -2
  733. package/lib/common/layout/main-structures/layout-page.d.ts +1 -2
  734. package/lib/common/layout/main-structures/layout-page.js +46 -16
  735. package/lib/common/layout/main-structures/layout-row.js +12 -4
  736. package/lib/common/layout/selection/layout-selection-info.js +4 -2
  737. package/lib/common/layout/selection/layout-selection-items.js +4 -2
  738. package/lib/common/layout/selection/layout-selection-page-info.js +3 -5
  739. package/lib/common/layout/selection/layout-selection.js +8 -4
  740. package/lib/common/layout/table/layout-table-cell-info.js +6 -1
  741. package/lib/common/layout/table/layout-table-info.js +12 -6
  742. package/lib/common/layout/table/layout-table-row-info.js +5 -0
  743. package/lib/common/layout/table/table-cell-iterator.js +22 -16
  744. package/lib/common/layout-engine/hit-test-manager/hit-test-manager.js +10 -3
  745. package/lib/common/layout-engine/hit-test-manager/hit-test-result.js +4 -2
  746. package/lib/common/layout-engine/layout-anchor-object-finder.js +2 -0
  747. package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-base.js +8 -0
  748. package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-other-sub-document.js +1 -0
  749. package/lib/common/layout-engine/layout-box-iterator/layout-position-advance-helpers/base-advance-helper.js +3 -0
  750. package/lib/common/layout-engine/layout-position-creator.js +15 -0
  751. package/lib/common/layout-engine/selection/selection-formatter.js +11 -9
  752. package/lib/common/layout-engine/visualizers/base-visualizer.js +8 -1
  753. package/lib/common/layout-engine/visualizers/box-visualizer-manager.js +6 -0
  754. package/lib/common/layout-engine/visualizers/full-table-selector-visualizer.js +2 -2
  755. package/lib/common/layout-engine/visualizers/resize-box-visualizer.js +11 -10
  756. package/lib/common/layout-formatter/box/box-iterator.js +5 -0
  757. package/lib/common/layout-formatter/box/box-wrap.js +10 -1
  758. package/lib/common/layout-formatter/box/box-wraps-holder.js +12 -3
  759. package/lib/common/layout-formatter/box/generator/box-infos-generator.js +17 -3
  760. package/lib/common/layout-formatter/box/generator/one-dimension-itertors.js +3 -0
  761. package/lib/common/layout-formatter/box/generator/recursive-objects-iterators.js +4 -0
  762. package/lib/common/layout-formatter/changes/changes/column-change.js +3 -0
  763. package/lib/common/layout-formatter/changes/changes/layout-change-base.js +5 -0
  764. package/lib/common/layout-formatter/changes/changes/page-area-change.js +1 -0
  765. package/lib/common/layout-formatter/changes/changes/page-change.js +3 -0
  766. package/lib/common/layout-formatter/changes/changes/selection/layout-area-selection-change.js +1 -0
  767. package/lib/common/layout-formatter/changes/changes/selection/layout-page-selection-change.js +1 -0
  768. package/lib/common/layout-formatter/changes/engine/changes-manager.js +1 -0
  769. package/lib/common/layout-formatter/changes/engine/changes-merger.js +5 -0
  770. package/lib/common/layout-formatter/changes/engine/table-cells-comparer.js +1 -3
  771. package/lib/common/layout-formatter/floating/anchored-objects-manager.js +10 -0
  772. package/lib/common/layout-formatter/floating/layout-row-bounds-manager.js +7 -2
  773. package/lib/common/layout-formatter/floating/page-anchored-object-holder.js +3 -2
  774. package/lib/common/layout-formatter/floating/position-calculators/base-calculator.js +5 -0
  775. package/lib/common/layout-formatter/floating/position-calculators/horizontal.js +4 -4
  776. package/lib/common/layout-formatter/floating/render-level-calculator.js +27 -30
  777. package/lib/common/layout-formatter/formatter/base-formatter.js +12 -5
  778. package/lib/common/layout-formatter/formatter/main-formatter.js +12 -13
  779. package/lib/common/layout-formatter/formatter/model-changes-listener.js +1 -0
  780. package/lib/common/layout-formatter/formatter/other-page-area-formatter.js +1 -0
  781. package/lib/common/layout-formatter/formatter/utils/bounds-calculator.js +26 -5
  782. package/lib/common/layout-formatter/formatter/utils/floating-restart-info-holder.js +4 -3
  783. package/lib/common/layout-formatter/formatter/utils/last-row-info.js +5 -3
  784. package/lib/common/layout-formatter/formatter/utils/layout-dependent-cache.js +2 -0
  785. package/lib/common/layout-formatter/formatter/utils/number-utils.js +1 -1
  786. package/lib/common/layout-formatter/formatter/utils/remove-redundant-helper.js +1 -0
  787. package/lib/common/layout-formatter/formatter/utils/restart-preparer.js +1 -0
  788. package/lib/common/layout-formatter/invalidator/header-footer-invalidator-helper.js +7 -0
  789. package/lib/common/layout-formatter/invalidator/layout-invalidator.js +2 -2
  790. package/lib/common/layout-formatter/invalidator/position-savers.js +6 -0
  791. package/lib/common/layout-formatter/invalidator/remove-content-helper.js +11 -0
  792. package/lib/common/layout-formatter/managers/formatter-manager.js +28 -5
  793. package/lib/common/layout-formatter/managers/restart-manager.js +2 -0
  794. package/lib/common/layout-formatter/row/formatter.js +15 -1
  795. package/lib/common/layout-formatter/row/result.js +7 -0
  796. package/lib/common/layout-formatter/row/size-engine/row-formatting-info.js +13 -1
  797. package/lib/common/layout-formatter/row/size-engine/row-height-calculator.js +11 -7
  798. package/lib/common/layout-formatter/row/size-engine/row-height-state.js +7 -0
  799. package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.js +7 -0
  800. package/lib/common/layout-formatter/row/states.js +1 -0
  801. package/lib/common/layout-formatter/row/tab-info.js +6 -0
  802. package/lib/common/layout-formatter/row/utils/line-spacing-calculator.js +3 -0
  803. package/lib/common/layout-formatter/row/utils/row-spacing-before-applier.js +9 -0
  804. package/lib/common/layout-formatter/row/word-holder.js +3 -1
  805. package/lib/common/layout-formatter/table/borders/border-helper.js +10 -0
  806. package/lib/common/layout-formatter/table/borders/horizontal-line-borders-info.js +4 -2
  807. package/lib/common/layout-formatter/table/borders/layout-table-border.js +5 -0
  808. package/lib/common/layout-formatter/table/borders/layout-table-horizontal-border.js +3 -0
  809. package/lib/common/layout-formatter/table/formatter.js +7 -4
  810. package/lib/common/layout-formatter/table/grid-engine/calculators/column-interval.js +6 -0
  811. package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/column-interval.js +3 -0
  812. package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/iterator.js +3 -0
  813. package/lib/common/layout-formatter/table/grid-engine/calculators/grid-calculator.js +15 -3
  814. package/lib/common/layout-formatter/table/grid-engine/calculators/table-properties-cache.js +12 -0
  815. package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-cell-width-calculator.js +7 -2
  816. package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-width-calculator.js +7 -1
  817. package/lib/common/layout-formatter/table/grid-engine/cell-grid-info-manager.js +2 -0
  818. package/lib/common/layout-formatter/table/grid-engine/columns.js +3 -0
  819. package/lib/common/layout-formatter/table/grid-engine/grid.js +4 -0
  820. package/lib/common/layout-formatter/table/horizontal-cursor-borders-helper.js +1 -1
  821. package/lib/common/layout-formatter/table/info/cell-info.js +16 -2
  822. package/lib/common/layout-formatter/table/info/cell-order-helper.js +1 -0
  823. package/lib/common/layout-formatter/table/info/row-info.js +9 -1
  824. package/lib/common/layout-formatter/table/info/table-info.js +23 -8
  825. package/lib/common/layout-formatter/table/other.js +7 -4
  826. package/lib/common/layout-formatter/table/utils/table-anchored-objects-holder.js +1 -3
  827. package/lib/common/loading-panel/manager.js +2 -0
  828. package/lib/common/loading-panel/panel.js +4 -3
  829. package/lib/common/measurer/measure-info.js +5 -0
  830. package/lib/common/measurer/measurer.js +7 -3
  831. package/lib/common/model/bookmarks.js +7 -2
  832. package/lib/common/model/borders/border-base.js +4 -1
  833. package/lib/common/model/borders/border-info.js +6 -8
  834. package/lib/common/model/borders/table-border-base.js +4 -0
  835. package/lib/common/model/borders/table-borders.js +2 -0
  836. package/lib/common/model/borders/table-cell-borders.js +2 -0
  837. package/lib/common/model/caches/caches.js +15 -0
  838. package/lib/common/model/caches/control-fonts.js +2 -4
  839. package/lib/common/model/caches/hash-based-cache.js +2 -0
  840. package/lib/common/model/caches/hashed-caches/character-properties-cache.js +1 -0
  841. package/lib/common/model/caches/hashed-caches/color-model-info-cache.js +1 -1
  842. package/lib/common/model/caches/hashed-caches/drawing-color-model-info-cache.js +1 -1
  843. package/lib/common/model/caches/hashed-caches/font-info-cache.js +5 -3
  844. package/lib/common/model/caches/hashed-caches/scene3d-properties-info-cache.js +1 -1
  845. package/lib/common/model/caches/hashed-caches/scene3d-rotation-info-cache.js +1 -1
  846. package/lib/common/model/caches/images.js +17 -6
  847. package/lib/common/model/changes/change-base.js +4 -0
  848. package/lib/common/model/changes/model/create-style-link.js +2 -1
  849. package/lib/common/model/changes/model/default-tab-width.js +2 -1
  850. package/lib/common/model/changes/model/delete-style-link.js +2 -1
  851. package/lib/common/model/changes/model/different-odd-and-even-pages.js +2 -1
  852. package/lib/common/model/changes/model/document-protection-changed.js +2 -1
  853. package/lib/common/model/changes/model/header-created.js +4 -1
  854. package/lib/common/model/changes/model/header-footer-index-changed.js +5 -1
  855. package/lib/common/model/changes/model/list/abstract-numbering-list-added.js +2 -1
  856. package/lib/common/model/changes/model/list/abstract-numbering-list-deleted.js +2 -1
  857. package/lib/common/model/changes/model/list/i-override-list-level-changed.js +3 -1
  858. package/lib/common/model/changes/model/list/list-level-character-property-changed.js +3 -1
  859. package/lib/common/model/changes/model/list/list-level-paragraph-property-changed.js +3 -1
  860. package/lib/common/model/changes/model/list/list-level-property-changed.js +3 -1
  861. package/lib/common/model/changes/model/list/numbering-list-added.js +2 -1
  862. package/lib/common/model/changes/model/list/numbering-list-deleted.js +2 -1
  863. package/lib/common/model/changes/model/load-font.js +2 -1
  864. package/lib/common/model/changes/model/page-color.js +2 -1
  865. package/lib/common/model/changes/model/section-formatting-changed.js +5 -1
  866. package/lib/common/model/changes/model/section-merged.js +4 -1
  867. package/lib/common/model/changes/model/zoom-level.js +3 -1
  868. package/lib/common/model/changes/sub-document/anchor/anchor-info-property-changed.js +5 -1
  869. package/lib/common/model/changes/sub-document/anchor/anchored-text-box-properties-changed.js +5 -1
  870. package/lib/common/model/changes/sub-document/anchor/anchored-text-box-size-changed.js +5 -1
  871. package/lib/common/model/changes/sub-document/anchor/shape-changed.js +4 -1
  872. package/lib/common/model/changes/sub-document/anchor/shape-property-changed.js +5 -1
  873. package/lib/common/model/changes/sub-document/bookmark/created.js +4 -1
  874. package/lib/common/model/changes/sub-document/bookmark/deleted.js +4 -1
  875. package/lib/common/model/changes/sub-document/field/deleted.js +3 -1
  876. package/lib/common/model/changes/sub-document/field/fields-show-code-changed.js +3 -1
  877. package/lib/common/model/changes/sub-document/field/hyperlink-info-changed.js +5 -1
  878. package/lib/common/model/changes/sub-document/field/inserted.js +5 -1
  879. package/lib/common/model/changes/sub-document/list/paragraph-numbering-list-changed.js +4 -1
  880. package/lib/common/model/changes/sub-document/picture/anchored-picture-size-changed.js +5 -1
  881. package/lib/common/model/changes/sub-document/picture/anchored-pictureinserted.js +6 -1
  882. package/lib/common/model/changes/sub-document/picture/inline-object-run-property-changed.js +5 -1
  883. package/lib/common/model/changes/sub-document/picture/inline-picture-inserted.js +3 -1
  884. package/lib/common/model/changes/sub-document/picture/inline-pictures-updated.js +3 -1
  885. package/lib/common/model/changes/sub-document/picture/load-pictures-info.js +3 -1
  886. package/lib/common/model/changes/sub-document/properties/character-formatting-changed.js +4 -1
  887. package/lib/common/model/changes/sub-document/properties/character-properties-changed.js +3 -1
  888. package/lib/common/model/changes/sub-document/properties/merged-props-reset.js +3 -1
  889. package/lib/common/model/changes/sub-document/properties/paragraph-formatting-changed.js +4 -1
  890. package/lib/common/model/changes/sub-document/properties/paragraph-properties-changed.js +8 -1
  891. package/lib/common/model/changes/sub-document/range-permissions-changed.js +5 -4
  892. package/lib/common/model/changes/sub-document/style/character-style-applied.js +3 -1
  893. package/lib/common/model/changes/sub-document/style/paragraph-style-applied.js +3 -1
  894. package/lib/common/model/changes/sub-document/style/table-style-changed.js +4 -1
  895. package/lib/common/model/changes/sub-document/tab/deleted.js +3 -1
  896. package/lib/common/model/changes/sub-document/tab/inserted.js +3 -1
  897. package/lib/common/model/changes/sub-document/table/cell-inserted.js +5 -1
  898. package/lib/common/model/changes/sub-document/table/cell-merged-horizontally.js +6 -1
  899. package/lib/common/model/changes/sub-document/table/cell-property-changed.js +4 -1
  900. package/lib/common/model/changes/sub-document/table/cell-removed.js +5 -1
  901. package/lib/common/model/changes/sub-document/table/cell-splitted-horizontally.js +6 -1
  902. package/lib/common/model/changes/sub-document/table/created.js +3 -1
  903. package/lib/common/model/changes/sub-document/table/property-changed.js +4 -1
  904. package/lib/common/model/changes/sub-document/table/removed.js +6 -1
  905. package/lib/common/model/changes/sub-document/table/row-inserted.js +4 -1
  906. package/lib/common/model/changes/sub-document/table/row-property-changed.js +4 -1
  907. package/lib/common/model/changes/sub-document/table/row-removed.js +4 -1
  908. package/lib/common/model/changes/sub-document/table/start-position-shifted.js +5 -1
  909. package/lib/common/model/changes/sub-document/text/anchor-object-removed.js +4 -1
  910. package/lib/common/model/changes/sub-document/text/anchored-text-box-inserted.js +5 -1
  911. package/lib/common/model/changes/sub-document/text/interval-removed.js +4 -1
  912. package/lib/common/model/changes/sub-document/text/paragraph-inserted.js +2 -1
  913. package/lib/common/model/changes/sub-document/text/paragraph-merged.js +5 -1
  914. package/lib/common/model/changes/sub-document/text/section-inserted.js +3 -1
  915. package/lib/common/model/changes/sub-document/text/simple-run-inserted.js +8 -1
  916. package/lib/common/model/changes/sub-document/text/text-buffer-changed.js +3 -1
  917. package/lib/common/model/character/character-properties-helper.js +10 -0
  918. package/lib/common/model/character/character-properties.js +25 -29
  919. package/lib/common/model/character/character-property-descriptor.js +100 -140
  920. package/lib/common/model/character/character-style.js +5 -3
  921. package/lib/common/model/character/composite-font-info.js +9 -0
  922. package/lib/common/model/character/history-runs.js +18 -0
  923. package/lib/common/model/character/lang-info.js +3 -0
  924. package/lib/common/model/character/layout-character-properties-color-info.js +4 -0
  925. package/lib/common/model/character/run-iterator.js +11 -11
  926. package/lib/common/model/chunk.js +4 -2
  927. package/lib/common/model/color/color-hsl.js +6 -3
  928. package/lib/common/model/color/color-model-info.js +12 -8
  929. package/lib/common/model/color/color-provider.js +5 -2
  930. package/lib/common/model/color/color.js +7 -7
  931. package/lib/common/model/color/d-xsystem-colors.js +30 -30
  932. package/lib/common/model/color/dx-color.js +3 -3
  933. package/lib/common/model/color/enums.js +13 -13
  934. package/lib/common/model/color/palette.js +24 -20
  935. package/lib/common/model/color/sc-rgbcolor.js +4 -1
  936. package/lib/common/model/comments/comment.js +7 -1
  937. package/lib/common/model/compat-settings.js +3 -0
  938. package/lib/common/model/creator/cache.js +3 -0
  939. package/lib/common/model/creator/creator.js +2 -0
  940. package/lib/common/model/creator/font-corrector.js +3 -0
  941. package/lib/common/model/creator/options.js +7 -9
  942. package/lib/common/model/document-model.js +54 -31
  943. package/lib/common/model/drawing/backdrop-plane.js +3 -0
  944. package/lib/common/model/drawing/container-effect.js +4 -0
  945. package/lib/common/model/drawing/drawing-color-model-info.js +42 -35
  946. package/lib/common/model/drawing/drawing-color.js +2 -0
  947. package/lib/common/model/drawing/drawing-effect-collection.js +1 -0
  948. package/lib/common/model/drawing/drawing-effect-style.js +3 -0
  949. package/lib/common/model/drawing/drawing-fill.js +4 -3
  950. package/lib/common/model/drawing/drawing-text-font.js +8 -6
  951. package/lib/common/model/drawing/drawing-value-constants.js +20 -20
  952. package/lib/common/model/drawing/outline.js +1 -0
  953. package/lib/common/model/drawing/scene3d-properties-info.js +10 -10
  954. package/lib/common/model/drawing/scene3d-properties.js +4 -0
  955. package/lib/common/model/drawing/scene3d-rotation-info.js +5 -1
  956. package/lib/common/model/drawing/scene3d-vector.js +3 -0
  957. package/lib/common/model/drawing/shape-bevel3d-properties.js +5 -2
  958. package/lib/common/model/drawing/shape3d-properties.js +12 -4
  959. package/lib/common/model/drawing/transform/color-transform-collection.js +1 -0
  960. package/lib/common/model/drawing/transform/color-transform-value-base.js +1 -0
  961. package/lib/common/model/fields/check-box-properties.js +6 -4
  962. package/lib/common/model/fields/field-request-manager.js +7 -4
  963. package/lib/common/model/fields/field.js +27 -0
  964. package/lib/common/model/fields/form-field-properties.js +11 -4
  965. package/lib/common/model/fields/parsers/field-code-parser-doc-variable.js +1 -0
  966. package/lib/common/model/fields/parsers/field-code-parser-hyperlink.js +1 -2
  967. package/lib/common/model/fields/parsers/field-code-parser-if.js +21 -14
  968. package/lib/common/model/fields/parsers/field-code-parser-toc.js +23 -10
  969. package/lib/common/model/fields/parsers/field-code-parser.js +28 -11
  970. package/lib/common/model/fields/parsers/fill-in.js +2 -3
  971. package/lib/common/model/fields/tree-creator.js +32 -18
  972. package/lib/common/model/find-replace-helper.js +24 -0
  973. package/lib/common/model/floating-objects/anchor-info.js +19 -21
  974. package/lib/common/model/floating-objects/sizes.js +10 -2
  975. package/lib/common/model/floating-objects/text-box-properties.js +8 -8
  976. package/lib/common/model/fonts/control-font.js +8 -4
  977. package/lib/common/model/fonts/font-chooser.js +8 -7
  978. package/lib/common/model/fonts/font-face-descriptors.js +9 -11
  979. package/lib/common/model/fonts/font-info.js +16 -6
  980. package/lib/common/model/fonts/google-fonts.js +4 -1
  981. package/lib/common/model/fonts/grabber.js +7 -3
  982. package/lib/common/model/fonts/loader.js +7 -2
  983. package/lib/common/model/fonts/measurer.js +4 -1
  984. package/lib/common/model/footnotes/footnote.js +9 -0
  985. package/lib/common/model/full-chunk-and-run-info.js +7 -0
  986. package/lib/common/model/history/base/history-item.js +3 -2
  987. package/lib/common/model/history/base/history.js +11 -10
  988. package/lib/common/model/history/base/interval-based-history-item.js +1 -0
  989. package/lib/common/model/history/base/position-based-history-item.js +1 -0
  990. package/lib/common/model/history/items/apply-field-hyperlink-style-history-item.js +2 -2
  991. package/lib/common/model/history/items/apply-style-history-items.js +9 -0
  992. package/lib/common/model/history/items/bookmark-history-items.js +2 -0
  993. package/lib/common/model/history/items/change-field-hyperlink-info-history-item.js +4 -0
  994. package/lib/common/model/history/items/change-rectangular-object-history-item.js +4 -0
  995. package/lib/common/model/history/items/character-properties-history-items.js +9 -0
  996. package/lib/common/model/history/items/create-style-link-history-item.js +2 -0
  997. package/lib/common/model/history/items/document-properties-history-items.js +6 -0
  998. package/lib/common/model/history/items/document-protection-history-item.js +2 -0
  999. package/lib/common/model/history/items/field-insert-history-item.js +6 -0
  1000. package/lib/common/model/history/items/floating-objects/anchor-info-property-history-item.js +3 -0
  1001. package/lib/common/model/history/items/floating-objects/change-anchored-picture-size-history-item.js +2 -0
  1002. package/lib/common/model/history/items/floating-objects/change-anchored-text-box-size-history-item.js +2 -0
  1003. package/lib/common/model/history/items/floating-objects/change-image-property-history-item.js +3 -0
  1004. package/lib/common/model/history/items/floating-objects/change-text-box-properties-history-item.js +2 -0
  1005. package/lib/common/model/history/items/floating-objects/insert-anchored-picture-history-item.js +5 -0
  1006. package/lib/common/model/history/items/floating-objects/shape-property-history-item.js +5 -0
  1007. package/lib/common/model/history/items/header-footer-history-items.js +5 -0
  1008. package/lib/common/model/history/items/insert-inline-picture-history-item.js +3 -0
  1009. package/lib/common/model/history/items/insert-paragraph-history-item.js +1 -0
  1010. package/lib/common/model/history/items/insert-section-history-item.js +5 -0
  1011. package/lib/common/model/history/items/insert-sub-document-history-item.js +6 -0
  1012. package/lib/common/model/history/items/insert-text-history-item.js +1 -0
  1013. package/lib/common/model/history/items/list-level-character-properties-history-items.js +6 -0
  1014. package/lib/common/model/history/items/list-level-paragraph-properties-history-items.js +6 -0
  1015. package/lib/common/model/history/items/list-level-properties-history-items.js +5 -0
  1016. package/lib/common/model/history/items/non-visual-drawing-object-info.js +3 -0
  1017. package/lib/common/model/history/items/numbering-list-history-items.js +21 -0
  1018. package/lib/common/model/history/items/paragraph-properties-history-items.js +19 -0
  1019. package/lib/common/model/history/items/range-permission-history-item.js +2 -0
  1020. package/lib/common/model/history/items/remove-hyperlink-history-item.js +11 -0
  1021. package/lib/common/model/history/items/remove-interval-history-item.js +2 -0
  1022. package/lib/common/model/history/items/section-properties-history-items.js +3 -0
  1023. package/lib/common/model/history/items/switch-text-box-sub-documents-state-history-item.js +4 -0
  1024. package/lib/common/model/history/items/tables/change-table-cell-history-items.js +7 -0
  1025. package/lib/common/model/history/items/tables/create-table-history-item.js +5 -0
  1026. package/lib/common/model/history/items/tables/insert-table-row-history-item.js +3 -0
  1027. package/lib/common/model/history/items/tables/remove-table-cell-history-item.js +5 -0
  1028. package/lib/common/model/history/items/tables/remove-table-history-item.js +2 -0
  1029. package/lib/common/model/history/items/tables/remove-table-row-history-item.js +3 -0
  1030. package/lib/common/model/history/items/tables/split-table-cell-history-item.js +6 -0
  1031. package/lib/common/model/history/items/tables/table-cell-properties-history-items.js +10 -0
  1032. package/lib/common/model/history/items/tables/table-properties-history-items.js +7 -0
  1033. package/lib/common/model/history/items/tables/table-row-properties-history-items.js +9 -0
  1034. package/lib/common/model/history/items/text-run-change-case-history-item.js +4 -0
  1035. package/lib/common/model/history/selection/scroll-history-item.js +4 -0
  1036. package/lib/common/model/history/selection/selection-history-item.js +4 -0
  1037. package/lib/common/model/history/states/history-item-state-object.js +30 -0
  1038. package/lib/common/model/history/states/history-item-state.js +2 -1
  1039. package/lib/common/model/json/command-request.d.ts +2 -1
  1040. package/lib/common/model/json/command-request.js +14 -4
  1041. package/lib/common/model/json/importers/sub-document/json-sub-document-importer.js +17 -17
  1042. package/lib/common/model/json/importers/sub-document/run-importers.js +6 -0
  1043. package/lib/common/model/json/web-caches-exporter.js +3 -0
  1044. package/lib/common/model/manipulators/base-manipulator.js +1 -0
  1045. package/lib/common/model/manipulators/character-properties-manipulator.js +24 -0
  1046. package/lib/common/model/manipulators/document/sub-document-inserter.js +29 -15
  1047. package/lib/common/model/manipulators/fields-manipulator.js +9 -6
  1048. package/lib/common/model/manipulators/floating-objects/anchor-info-manipulator.js +20 -0
  1049. package/lib/common/model/manipulators/floating-objects/anchor-info-property-manipulator.js +3 -0
  1050. package/lib/common/model/manipulators/floating-objects/floating-objects-manipulator.js +7 -0
  1051. package/lib/common/model/manipulators/floating-objects/shape-manipulator.js +7 -0
  1052. package/lib/common/model/manipulators/floating-objects/z-order-manipulator.js +3 -1
  1053. package/lib/common/model/manipulators/font-manipulator.d.ts +1 -1
  1054. package/lib/common/model/manipulators/font-manipulator.js +7 -6
  1055. package/lib/common/model/manipulators/inline-object-manipulator.js +3 -0
  1056. package/lib/common/model/manipulators/model-manipulator.js +30 -2
  1057. package/lib/common/model/manipulators/numbering-lists/list-level-character-properties-manipulator.js +19 -0
  1058. package/lib/common/model/manipulators/numbering-lists/list-level-paragraph-properties-manipulator.js +23 -0
  1059. package/lib/common/model/manipulators/numbering-lists/list-level-properties-manipulator.js +15 -0
  1060. package/lib/common/model/manipulators/numbering-lists/numbering-list-manipulator.js +3 -0
  1061. package/lib/common/model/manipulators/paragraph-manipulator/insert-paragraph-manipulator-params.js +3 -0
  1062. package/lib/common/model/manipulators/paragraph-manipulator/paragraph-manipulator.d.ts +1 -1
  1063. package/lib/common/model/manipulators/paragraph-manipulator/paragraph-manipulator.js +2 -1
  1064. package/lib/common/model/manipulators/paragraph-properties-manipulator.js +26 -0
  1065. package/lib/common/model/manipulators/picture-manipulator/insert-picture-manipulator-params.js +6 -0
  1066. package/lib/common/model/manipulators/picture-manipulator/loader/image-loading-options.js +3 -1
  1067. package/lib/common/model/manipulators/picture-manipulator/loader/picture-loader.js +14 -3
  1068. package/lib/common/model/manipulators/picture-manipulator/loader/updated-image-info.js +3 -0
  1069. package/lib/common/model/manipulators/picture-manipulator/non-visual-drawing-object-info.js +4 -0
  1070. package/lib/common/model/manipulators/picture-manipulator/picture-manipulator.js +9 -0
  1071. package/lib/common/model/manipulators/range/create-range-copy-operation.js +21 -2
  1072. package/lib/common/model/manipulators/range/remove-interval-operation.js +22 -6
  1073. package/lib/common/model/manipulators/range/restore-removed-interval-operation.js +3 -1
  1074. package/lib/common/model/manipulators/runs-base-manipulator.js +17 -17
  1075. package/lib/common/model/manipulators/section-properties-manipulator.js +18 -0
  1076. package/lib/common/model/manipulators/tables/insert-table-cell-operation.js +2 -0
  1077. package/lib/common/model/manipulators/tables/insert-table-row-operation.js +2 -0
  1078. package/lib/common/model/manipulators/tables/merge-table-cells-operation.js +4 -5
  1079. package/lib/common/model/manipulators/tables/table-cell-properties-manipulator.js +29 -0
  1080. package/lib/common/model/manipulators/tables/table-normalizator.js +9 -0
  1081. package/lib/common/model/manipulators/tables/table-properties-manipulator.js +27 -0
  1082. package/lib/common/model/manipulators/tables/table-row-properties-manipulator.js +19 -0
  1083. package/lib/common/model/manipulators/tables/tables-manipulator.js +3 -0
  1084. package/lib/common/model/manipulators/text-box-manipulator.js +6 -0
  1085. package/lib/common/model/manipulators/text-case-manipulator.js +7 -0
  1086. package/lib/common/model/manipulators/text-manipulator/chunk-size-corrector.js +9 -5
  1087. package/lib/common/model/manipulators/text-manipulator/insert-text-manipulator-params.js +2 -0
  1088. package/lib/common/model/manipulators/text-manipulator/text-manipulator.d.ts +3 -1
  1089. package/lib/common/model/manipulators/text-manipulator/text-manipulator.js +53 -3
  1090. package/lib/common/model/manipulators/utils/manipulator-params-base.js +4 -0
  1091. package/lib/common/model/model-checks/check-all.js +3 -2
  1092. package/lib/common/model/model-checks/comparer.js +10 -6
  1093. package/lib/common/model/model-checks/position.js +2 -0
  1094. package/lib/common/model/model-iterator.js +4 -0
  1095. package/lib/common/model/number-converters/alphabet-based-number-converter.js +1 -0
  1096. package/lib/common/model/number-converters/decimal-enclosed-parentheses-number-converter.js +1 -0
  1097. package/lib/common/model/number-converters/decimal-zero-number-converter.js +1 -0
  1098. package/lib/common/model/number-converters/descriptive-number-converter.js +3 -0
  1099. package/lib/common/model/number-converters/number-converter-creator.d.ts +1 -1
  1100. package/lib/common/model/number-converters/number-converter-creator.js +1 -1
  1101. package/lib/common/model/number-converters/number-in-dash-number-converter.js +1 -0
  1102. package/lib/common/model/number-converters/numerics-provider.js +12 -0
  1103. package/lib/common/model/number-converters/ordinal-based-number-converter.js +5 -1
  1104. package/lib/common/model/number-converters/roman-number-converter.js +2 -0
  1105. package/lib/common/model/numbering-lists/list-level-properties.js +15 -16
  1106. package/lib/common/model/numbering-lists/list-level.js +12 -6
  1107. package/lib/common/model/numbering-lists/numbering-helper.js +2 -2
  1108. package/lib/common/model/numbering-lists/numbering-list-counters-calculator.js +4 -3
  1109. package/lib/common/model/numbering-lists/numbering-list-id-provider.js +3 -1
  1110. package/lib/common/model/numbering-lists/numbering-list-index-calculator.js +3 -0
  1111. package/lib/common/model/numbering-lists/numbering-list-style.js +1 -0
  1112. package/lib/common/model/numbering-lists/numbering-list.js +8 -6
  1113. package/lib/common/model/numbering-lists/piece-table-numbering-list-counters-manager.js +3 -2
  1114. package/lib/common/model/options/auto-correct.js +8 -0
  1115. package/lib/common/model/options/bookmarks.js +3 -0
  1116. package/lib/common/model/options/control.js +37 -39
  1117. package/lib/common/model/options/document-protection.js +9 -3
  1118. package/lib/common/model/options/fields.js +10 -3
  1119. package/lib/common/model/options/fonts.js +14 -15
  1120. package/lib/common/model/options/mail-merge.js +5 -0
  1121. package/lib/common/model/options/pdf.js +5 -4
  1122. package/lib/common/model/options/printing.js +2 -4
  1123. package/lib/common/model/options/protection.js +17 -10
  1124. package/lib/common/model/options/rich-options.js +13 -11
  1125. package/lib/common/model/options/search.js +1 -0
  1126. package/lib/common/model/options/spell-checker.js +9 -6
  1127. package/lib/common/model/paragraph/paragraph-properties-helper.js +9 -0
  1128. package/lib/common/model/paragraph/paragraph-properties.js +87 -89
  1129. package/lib/common/model/paragraph/paragraph-property-descriptors.js +54 -108
  1130. package/lib/common/model/paragraph/paragraph-style.js +20 -12
  1131. package/lib/common/model/paragraph/paragraph.js +11 -2
  1132. package/lib/common/model/position/linked-interval.js +2 -0
  1133. package/lib/common/model/position/position-manager.js +3 -4
  1134. package/lib/common/model/position/position.js +2 -0
  1135. package/lib/common/model/properties-merger/paragraph-properties-merger.js +1 -1
  1136. package/lib/common/model/properties-merger/properties-merger-base.js +2 -0
  1137. package/lib/common/model/protection/md5.js +7 -8
  1138. package/lib/common/model/protection/password-hash-code-calculator.js +19 -19
  1139. package/lib/common/model/protection/ripemd160.js +31 -32
  1140. package/lib/common/model/protection/sha1.js +1 -0
  1141. package/lib/common/model/protection/sha256.js +8 -9
  1142. package/lib/common/model/protection/sha512.js +3 -0
  1143. package/lib/common/model/range-permissions.js +11 -6
  1144. package/lib/common/model/rich-utils.js +9 -9
  1145. package/lib/common/model/runs/anchored-picture-run.js +1 -0
  1146. package/lib/common/model/runs/anchored-text-box-run.js +3 -0
  1147. package/lib/common/model/runs/inline-picture-run.js +1 -1
  1148. package/lib/common/model/runs/inline-text-box-run.js +1 -0
  1149. package/lib/common/model/runs/run-base.js +12 -1
  1150. package/lib/common/model/runs/text-run.js +1 -0
  1151. package/lib/common/model/section/header-footer.js +3 -2
  1152. package/lib/common/model/section/line-numbering-properties.js +8 -4
  1153. package/lib/common/model/section/paper-kind.js +118 -118
  1154. package/lib/common/model/section/section-column-properties.js +2 -2
  1155. package/lib/common/model/section/section-properties.js +17 -19
  1156. package/lib/common/model/section/section-property-descriptor.js +66 -98
  1157. package/lib/common/model/section/section.js +6 -0
  1158. package/lib/common/model/sentence-model-builder.js +19 -12
  1159. package/lib/common/model/shadings/shading-info.js +4 -0
  1160. package/lib/common/model/shadings/shading-pattern-helper.js +5 -1
  1161. package/lib/common/model/shapes/shape.js +3 -3
  1162. package/lib/common/model/simple-sentence-model-builder.js +10 -7
  1163. package/lib/common/model/special-characters.js +51 -53
  1164. package/lib/common/model/style-base.js +10 -0
  1165. package/lib/common/model/styles-manager.js +21 -18
  1166. package/lib/common/model/sub-document-collection.js +3 -6
  1167. package/lib/common/model/sub-document-infos.js +26 -42
  1168. package/lib/common/model/sub-document.js +25 -14
  1169. package/lib/common/model/tables/grid/table-cell-grid-info.js +3 -0
  1170. package/lib/common/model/tables/main-structures/table-cell.js +9 -4
  1171. package/lib/common/model/tables/main-structures/table-row.js +10 -8
  1172. package/lib/common/model/tables/main-structures/table.d.ts +1 -0
  1173. package/lib/common/model/tables/main-structures/table.js +15 -3
  1174. package/lib/common/model/tables/properties/table-cell-properties.js +44 -45
  1175. package/lib/common/model/tables/properties/table-properties.js +62 -63
  1176. package/lib/common/model/tables/properties/table-row-properties.js +8 -9
  1177. package/lib/common/model/tables/properties/table-row-property-descriptor.js +14 -14
  1178. package/lib/common/model/tables/properties-mergers/table-cell-properties-merger.js +21 -15
  1179. package/lib/common/model/tables/properties-mergers/table-properties-merger-base.js +4 -0
  1180. package/lib/common/model/tables/properties-mergers/table-properties-merger.js +4 -3
  1181. package/lib/common/model/tables/properties-mergers/table-row-properties-merger.js +9 -7
  1182. package/lib/common/model/tables/secondary-structures/table-base-structures.js +4 -0
  1183. package/lib/common/model/tables/secondary-structures/table-border-calculator.js +32 -28
  1184. package/lib/common/model/tables/secondary-structures/table-units.js +4 -2
  1185. package/lib/common/model/tables/styles/table-cell-style.js +3 -1
  1186. package/lib/common/model/tables/styles/table-conditional-style.js +7 -2
  1187. package/lib/common/model/tables/styles/table-style.js +5 -4
  1188. package/lib/common/model/tables/table-utils.d.ts +3 -3
  1189. package/lib/common/model/themes/culture-info.js +1 -0
  1190. package/lib/common/model/themes/office-theme-base.js +4 -1
  1191. package/lib/common/model/themes/theme-drawing-color-collection.js +20 -18
  1192. package/lib/common/model/themes/theme-font-scheme-part.js +217 -214
  1193. package/lib/common/model/themes/theme-font-scheme.js +3 -1
  1194. package/lib/common/model/themes/theme-format-scheme.js +5 -7
  1195. package/lib/common/model/web-settings.js +5 -7
  1196. package/lib/common/model-manager.js +4 -0
  1197. package/lib/common/mouse-handler/base/manipulator-handler-base.js +5 -1
  1198. package/lib/common/mouse-handler/base/manipulator-handler-state-base.js +1 -0
  1199. package/lib/common/mouse-handler/drag-floating-objects-helper.js +9 -0
  1200. package/lib/common/mouse-handler/mouse-handler/mouse-handler-auto-scroll-state.js +5 -2
  1201. package/lib/common/mouse-handler/mouse-handler/mouse-handler-begin-drag-helper-state.js +4 -4
  1202. package/lib/common/mouse-handler/mouse-handler/mouse-handler-default-state.js +5 -3
  1203. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-column-or-row-state.js +1 -0
  1204. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-content-states.js +2 -2
  1205. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-floating-object-state.js +1 -0
  1206. package/lib/common/mouse-handler/mouse-handler/mouse-handler-paragraph-select-state.js +4 -1
  1207. package/lib/common/mouse-handler/mouse-handler/mouse-handler-resize-box-state.js +1 -0
  1208. package/lib/common/mouse-handler/mouse-handler/mouse-handler-rotate-box-state.js +1 -0
  1209. package/lib/common/mouse-handler/mouse-handler/mouse-handler-text-selection-states.js +15 -8
  1210. package/lib/common/mouse-handler/mouse-handler/mouse-handler.js +2 -2
  1211. package/lib/common/mouse-handler/resize-box-helper.js +15 -0
  1212. package/lib/common/mouse-handler/resize-table-helper.js +19 -3
  1213. package/lib/common/mouse-handler/rotate-box-helper.js +3 -0
  1214. package/lib/common/mouse-handler/touch-handler/touch-handler-default-state.js +1 -1
  1215. package/lib/common/mouse-handler/touch-handler/touch-handler-drag-floating-object-state.js +1 -0
  1216. package/lib/common/mouse-handler/touch-handler/touch-handler-resize-box-state.js +1 -0
  1217. package/lib/common/mouse-handler/touch-handler/touch-handler-rotate-box-state.js +1 -0
  1218. package/lib/common/mouse-handler/touch-handler/touch-handler-selection-states.js +2 -1
  1219. package/lib/common/mouse-handler/touch-handler/touch-handler-state-base.js +6 -8
  1220. package/lib/common/mouse-handler/touch-handler/touch-handler-waiting-states.js +2 -0
  1221. package/lib/common/popup-menu-manager.js +5 -1
  1222. package/lib/common/rich-edit-core.d.ts +2 -0
  1223. package/lib/common/rich-edit-core.js +71 -31
  1224. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/array.js +1 -1
  1225. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/base-formatter.js +14 -7
  1226. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/element-formatter.js +1 -1
  1227. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/elements.js +9 -13
  1228. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/json.js +1 -1
  1229. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/anchor-objects-position-info.js +1 -1
  1230. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/document-layout.js +1 -1
  1231. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-box.js +1 -1
  1232. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-column.js +1 -1
  1233. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page-area.js +1 -1
  1234. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page.js +1 -1
  1235. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-position.js +1 -1
  1236. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-row.js +1 -1
  1237. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/page-anchored-object-holder.js +1 -1
  1238. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/paragraph-frame.js +1 -1
  1239. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/border-info.js +1 -1
  1240. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/character-properties.js +1 -1
  1241. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/chunk.js +1 -1
  1242. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/field.js +1 -1
  1243. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/fixed-interval.js +1 -1
  1244. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/point.js +1 -1
  1245. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/rectangle.js +1 -1
  1246. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/paragraph.js +1 -1
  1247. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/runs.js +1 -1
  1248. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/sub-document.js +1 -1
  1249. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell-properties.js +1 -1
  1250. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell.js +1 -1
  1251. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-height-unit.js +1 -1
  1252. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-position.js +1 -1
  1253. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-properties.js +1 -1
  1254. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row-properties.js +1 -1
  1255. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row.js +1 -1
  1256. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-width-unit.js +1 -1
  1257. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table.js +1 -1
  1258. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/short-string.js +4 -2
  1259. package/lib/common/rich-utils/debug/debug-table.js +16 -7
  1260. package/lib/common/rich-utils/debug/logger/base-logger/log-source-params.js +3 -0
  1261. package/lib/common/rich-utils/debug/logger/base-logger/logger.js +9 -9
  1262. package/lib/common/rich-utils/debug/logger/base-logger/model-params-holder.js +1 -0
  1263. package/lib/common/rich-utils/debug/logger/layout-logger/layout-params-holder.js +2 -1
  1264. package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/debug-visualizer-manager.js +3 -2
  1265. package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/page-visible-info-helper.js +1 -1
  1266. package/lib/common/rich-utils/debug/runtime-template-model-creator.js +20 -6
  1267. package/lib/common/rich-utils/debug/runtime-test-helper.js +8 -2
  1268. package/lib/common/rich-utils/html-converter.js +1 -1
  1269. package/lib/common/rich-utils/inner-client-properties.js +3 -0
  1270. package/lib/common/rich-utils/properties-bundle.js +6 -0
  1271. package/lib/common/scroll/canvas-states.js +3 -0
  1272. package/lib/common/scroll/model-scroll-manager.js +4 -3
  1273. package/lib/common/scroll/model-states.js +11 -9
  1274. package/lib/common/scroll/scroll-formatter.d.ts +5 -3
  1275. package/lib/common/scroll/scroll-formatter.js +11 -7
  1276. package/lib/common/selection/input-position-base.js +16 -0
  1277. package/lib/common/selection/input-position-model-changes-listener.js +3 -1
  1278. package/lib/common/selection/input-position.d.ts +3 -1
  1279. package/lib/common/selection/input-position.js +7 -1
  1280. package/lib/common/selection/selected-cells-engine.js +15 -3
  1281. package/lib/common/selection/selected-special-run-info.js +5 -0
  1282. package/lib/common/selection/selection-base.js +2 -6
  1283. package/lib/common/selection/selection-intervals-info.js +6 -3
  1284. package/lib/common/selection/selection-model-changes-listener.js +1 -0
  1285. package/lib/common/selection/selection-state.js +7 -4
  1286. package/lib/common/selection/selection.d.ts +1 -1
  1287. package/lib/common/selection/selection.js +18 -15
  1288. package/lib/common/selection/set-selection-params.js +6 -7
  1289. package/lib/common/spelling/intervals-collections.js +2 -3
  1290. package/lib/common/spelling/intervals-manager.js +6 -0
  1291. package/lib/common/spelling/intervals.js +7 -0
  1292. package/lib/common/spelling/listeners.js +2 -0
  1293. package/lib/common/spelling/spell-checker-selection-changes-listener.js +4 -0
  1294. package/lib/common/spelling/spell-checker.js +8 -0
  1295. package/lib/common/string-resources.js +22 -0
  1296. package/lib/common/ui/quick-search-panel.js +16 -10
  1297. package/lib/common/ui/ruler/controls/base.js +7 -1
  1298. package/lib/common/ui/ruler/controls/column.js +16 -0
  1299. package/lib/common/ui/ruler/controls/divisions.js +12 -3
  1300. package/lib/common/ui/ruler/controls/indent/base.js +4 -4
  1301. package/lib/common/ui/ruler/controls/indent/first-line.js +2 -0
  1302. package/lib/common/ui/ruler/controls/indent/left.js +5 -1
  1303. package/lib/common/ui/ruler/controls/indent/right.js +1 -0
  1304. package/lib/common/ui/ruler/controls/margin/base.js +5 -4
  1305. package/lib/common/ui/ruler/controls/margin/left.js +1 -0
  1306. package/lib/common/ui/ruler/controls/owner.js +9 -5
  1307. package/lib/common/ui/ruler/controls/ruler.js +4 -4
  1308. package/lib/common/ui/ruler/controls/shadow.js +1 -0
  1309. package/lib/common/ui/ruler/controls/tab/tab-info.js +2 -0
  1310. package/lib/common/ui/ruler/controls/tab/tab-type.js +4 -2
  1311. package/lib/common/ui/ruler/controls/tab/tab.js +13 -8
  1312. package/lib/common/ui/ruler/controls/table.js +11 -0
  1313. package/lib/common/ui/ruler/controls/vertical-line.js +7 -4
  1314. package/lib/common/ui/ruler/controls/zoomable-value.js +2 -0
  1315. package/lib/common/ui/ruler/events/mouse.js +6 -6
  1316. package/lib/common/ui/ruler/events/scroll.js +4 -5
  1317. package/lib/common/ui/ruler/manager.js +20 -2
  1318. package/lib/common/ui/ruler/model-data.js +4 -0
  1319. package/lib/common/ui/ruler/mouse-handler.js +6 -3
  1320. package/lib/common/ui/ruler/ruler.js +8 -6
  1321. package/lib/common/ui/ruler/settings.js +36 -0
  1322. package/lib/common/ui/search-manager.js +6 -2
  1323. package/lib/common/utils/direction-adaptor/x-direction-adaptor.js +2 -0
  1324. package/lib/common/utils/direction-adaptor/y-direction-adaptor.js +2 -0
  1325. package/lib/common/utils/event-dispatcher.js +2 -4
  1326. package/lib/common/utils/information-creator.js +6 -3
  1327. package/lib/common/utils/map-creator.js +1 -0
  1328. package/lib/common/utils/mixed-size.js +6 -6
  1329. package/lib/common/utils/size-utils.js +4 -0
  1330. package/lib/common/utils/sub-document-changes-storer.js +2 -4
  1331. package/lib/common/utils/unicode-string.js +2 -0
  1332. package/lib/common/utils/utils.js +7 -5
  1333. package/lib/common/view-settings/views-settings.js +12 -6
  1334. package/lib/common/word-bounds-engine/layout-word-bounds-group-separator.js +5 -3
  1335. package/lib/common/word-bounds-engine/layout-word-bounds.js +3 -1
  1336. package/lib/common/word-bounds-engine/word-bounds-iterators/layout/layout-word-bounds-iterator.js +6 -2
  1337. package/package.json +3 -3
  1338. package/dist/icons/_icons.css +0 -1266
package/bin/gulpfile.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (gulpfile.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (index-custom.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (localization-builder.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell-index.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell.webpack.config.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack-externals.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack.config.js)
3
- * Version: 25.1.7
3
+ * Version: 25.2.3
4
4
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs",
6
6
  */