devexpress-richedit 25.2.4 → 25.2.5

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 (1216) 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.d.ts +1 -1
  9. package/dist/dx.richedit.js +5321 -9074
  10. package/dist/dx.richedit.min.js +3 -3
  11. package/index.d.ts +1 -1
  12. package/index.js +1 -1
  13. package/lib/client/_constants.js +3 -4
  14. package/lib/client/api/bookmark.js +0 -1
  15. package/lib/client/api/collections/bookmark-collection.js +0 -1
  16. package/lib/client/api/collections/sub-documents-collection.js +0 -1
  17. package/lib/client/api/document.js +0 -1
  18. package/lib/client/api/history.js +0 -1
  19. package/lib/client/api/key-code.js +0 -5
  20. package/lib/client/api/layout-api.js +0 -1
  21. package/lib/client/api/loading-panel.js +0 -1
  22. package/lib/client/api/selection-api.js +0 -1
  23. package/lib/client/api/sub-document.js +0 -1
  24. package/lib/client/bars/active-context-tab-manager.js +12 -17
  25. package/lib/client/bars/bar-holder.js +0 -4
  26. package/lib/client/bars/context-menu.js +0 -6
  27. package/lib/client/bars/ribbon.js +1 -7
  28. package/lib/client/bars/rich-edit-ribbon/ribbon-items-data.js +231 -237
  29. package/lib/client/client-rich-edit-core.js +0 -4
  30. package/lib/client/client-rich-edit.js +7 -29
  31. package/lib/client/commands/download-document-command.js +0 -2
  32. package/lib/client/commands/export-document-command.js +0 -4
  33. package/lib/client/commands/mail-merge-command.js +0 -5
  34. package/lib/client/commands/open-document-command.js +4 -5
  35. package/lib/client/context-menu/settings.js +3 -2
  36. package/lib/client/default-localization.js +6 -6
  37. package/lib/client/dialogs/bookmark-dialog.js +4 -10
  38. package/lib/client/dialogs/dialog-base.js +0 -7
  39. package/lib/client/dialogs/dialog-manager.js +0 -3
  40. package/lib/client/dialogs/find-replace-dialog.js +0 -11
  41. package/lib/client/dialogs/finish-and-merge-dialog.js +0 -3
  42. package/lib/client/dialogs/font-dialog.js +0 -2
  43. package/lib/client/dialogs/hyperlink-dialog.js +5 -3
  44. package/lib/client/dialogs/insert-merge-field-dialog.js +0 -2
  45. package/lib/client/dialogs/page-setup-dialog.js +6 -7
  46. package/lib/client/dialogs/paragraph-dialog.js +0 -1
  47. package/lib/client/dialogs/tabs-dialog.js +5 -10
  48. package/lib/client/document-processor/docvar-args.js +0 -10
  49. package/lib/client/document-processor/processor.js +2 -11
  50. package/lib/client/document-processor/public/processor.js +0 -2
  51. package/lib/client/formats/docx/export/data.js +3 -30
  52. package/lib/client/formats/docx/export/docx-export-options.js +8 -5
  53. package/lib/client/formats/docx/export/exporter.js +0 -3
  54. package/lib/client/formats/docx/export/exporters/base/drawing.js +0 -5
  55. package/lib/client/formats/docx/export/exporters/base/sections.js +1 -2
  56. package/lib/client/formats/docx/export/exporters/base/styles/table-style.js +3 -3
  57. package/lib/client/formats/docx/export/exporters/base/table/table-cell-properties.js +18 -15
  58. package/lib/client/formats/docx/export/exporters/base/table/table-properties.d.ts +2 -1
  59. package/lib/client/formats/docx/export/exporters/base/table/table-properties.js +10 -5
  60. package/lib/client/formats/docx/export/exporters/base/table/table.js +6 -4
  61. package/lib/client/formats/docx/export/exporters/base/text.js +2 -2
  62. package/lib/client/formats/docx/export/exporters/base.js +0 -1
  63. package/lib/client/formats/docx/export/exporters/content-types.js +2 -2
  64. package/lib/client/formats/docx/export/exporters/note-properties.js +1 -1
  65. package/lib/client/formats/docx/export/exporters/relations/base.js +4 -1
  66. package/lib/client/formats/docx/export/exporters/relations/document-relations.js +0 -6
  67. package/lib/client/formats/docx/export/exporters/relations/relation-collection.js +0 -5
  68. package/lib/client/formats/docx/export/exporters/styles.js +6 -3
  69. package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.js +11 -25
  70. package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.js +0 -1
  71. package/lib/client/formats/docx/export/exporters/sub-document/note-sub-document-exporter.js +0 -2
  72. package/lib/client/formats/docx/export/utils/id-generator.js +1 -2
  73. package/lib/client/formats/docx/export/utils/inline-drawing-object.js +0 -2
  74. package/lib/client/formats/docx/import/css-engine/inline-picture-css-parser.js +0 -28
  75. package/lib/client/formats/docx/import/data.js +1 -25
  76. package/lib/client/formats/docx/import/destination/borders/table-borders-destination.js +2 -2
  77. package/lib/client/formats/docx/import/destination/borders/table-cell-borders-destination.js +4 -4
  78. package/lib/client/formats/docx/import/destination/character-properties/character-formatting-leaf-element-destination.js +0 -1
  79. package/lib/client/formats/docx/import/destination/character-properties/run-properties-base-destination.js +2 -3
  80. package/lib/client/formats/docx/import/destination/character-properties/run-properties-destination.js +2 -2
  81. package/lib/client/formats/docx/import/destination/destination.js +1 -7
  82. package/lib/client/formats/docx/import/destination/document/alt-chunk-destination.js +2 -3
  83. package/lib/client/formats/docx/import/destination/document/body-destination.js +2 -2
  84. package/lib/client/formats/docx/import/destination/document/document-destination.js +2 -2
  85. package/lib/client/formats/docx/import/destination/document/smart-tag-destination.js +2 -2
  86. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-position-destination.js +6 -15
  87. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-relative-size-destination.js +5 -9
  88. package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-wrap-destination.js +0 -3
  89. package/lib/client/formats/docx/import/destination/drawing/drawing-destination.js +26 -47
  90. package/lib/client/formats/docx/import/destination/drawing/non-visual-pucture-properties-destination.js +2 -3
  91. package/lib/client/formats/docx/import/destination/drawing/shape-properties-destination.js +6 -13
  92. package/lib/client/formats/docx/import/destination/field/field-char-destination.js +2 -2
  93. package/lib/client/formats/docx/import/destination/field/field-simple-destination.js +2 -3
  94. package/lib/client/formats/docx/import/destination/field/hyperlink-destination.js +4 -4
  95. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-properties-destination.js +2 -2
  96. package/lib/client/formats/docx/import/destination/notes/endnotes/endnotes-destination.js +2 -2
  97. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-properties-destination.js +2 -2
  98. package/lib/client/formats/docx/import/destination/notes/footnotes/footnotes-destination.js +2 -2
  99. package/lib/client/formats/docx/import/destination/notes/note-destination.js +2 -5
  100. package/lib/client/formats/docx/import/destination/notes/note-properties-destination.js +3 -8
  101. package/lib/client/formats/docx/import/destination/numbering/numberings-destination.js +12 -31
  102. package/lib/client/formats/docx/import/destination/paragraph/paragraph-destination.js +4 -4
  103. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-formatting-leaf-element-destination.js +0 -1
  104. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-destination.js +2 -3
  105. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-level-destination.js +0 -1
  106. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-numbering-id-destination.js +0 -1
  107. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-base-destination.js +4 -6
  108. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-destination.js +2 -3
  109. package/lib/client/formats/docx/import/destination/paragraph-properties/properties/borders/borders-destination.js +2 -2
  110. package/lib/client/formats/docx/import/destination/property-destination.js +0 -1
  111. package/lib/client/formats/docx/import/destination/range-permission/range-permission-element-destination.js +3 -3
  112. package/lib/client/formats/docx/import/destination/relationships/relation-destination.js +0 -1
  113. package/lib/client/formats/docx/import/destination/relationships/relationships-destination.js +2 -3
  114. package/lib/client/formats/docx/import/destination/runs/deleted-text-destination.js +0 -1
  115. package/lib/client/formats/docx/import/destination/runs/inline-object-destination.js +2 -4
  116. package/lib/client/formats/docx/import/destination/runs/run-destination.js +2 -2
  117. package/lib/client/formats/docx/import/destination/section/column-destination.js +0 -1
  118. package/lib/client/formats/docx/import/destination/section/columns-destination.js +2 -3
  119. package/lib/client/formats/docx/import/destination/section/header-footer/header-footer-destination.js +2 -2
  120. package/lib/client/formats/docx/import/destination/section/section-destination.js +2 -2
  121. package/lib/client/formats/docx/import/destination/settings/compat-settings-destination.js +2 -2
  122. package/lib/client/formats/docx/import/destination/settings/document-protection.js +1 -1
  123. package/lib/client/formats/docx/import/destination/settings/document-variables-destination.js +2 -2
  124. package/lib/client/formats/docx/import/destination/settings/settings.js +2 -2
  125. package/lib/client/formats/docx/import/destination/style/default/char/default-run-properties-destination.js +2 -2
  126. package/lib/client/formats/docx/import/destination/style/default/char/inner-default-run-properties-destination.js +2 -2
  127. package/lib/client/formats/docx/import/destination/style/default/document-defaults-destination.js +2 -2
  128. package/lib/client/formats/docx/import/destination/style/default/par/default-paragraph-properties-destination.js +2 -2
  129. package/lib/client/formats/docx/import/destination/style/destinations/style-paragraph-properties-destination.js +2 -3
  130. package/lib/client/formats/docx/import/destination/style/style-conditional-table-formatting.js +6 -3
  131. package/lib/client/formats/docx/import/destination/style/style-destination-base.js +3 -10
  132. package/lib/client/formats/docx/import/destination/style/style-destination.js +2 -2
  133. package/lib/client/formats/docx/import/destination/style/styles-destination.js +2 -2
  134. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination-core.js +2 -3
  135. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination.js +2 -2
  136. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-element-base-destination.js +0 -1
  137. package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-style-destination.js +0 -1
  138. package/lib/client/formats/docx/import/destination/table/cell/table-cell-destination.js +2 -6
  139. package/lib/client/formats/docx/import/destination/table/height-unit-destination.js +0 -1
  140. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-destination.js +2 -3
  141. package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-leaf-element-destination.js +0 -1
  142. package/lib/client/formats/docx/import/destination/table/row/table-row-destination.js +2 -3
  143. package/lib/client/formats/docx/import/destination/table/table/grid-column-destination.js +0 -1
  144. package/lib/client/formats/docx/import/destination/table/table/properties/table-cell-margins-destination.js +0 -2
  145. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-base-destination.js +0 -1
  146. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination-core.js +2 -4
  147. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination.js +2 -2
  148. package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-leaf-element-destination.js +0 -2
  149. package/lib/client/formats/docx/import/destination/table/table/table-destination.js +2 -4
  150. package/lib/client/formats/docx/import/destination/table/table/table-grid-destination.js +2 -3
  151. package/lib/client/formats/docx/import/destination/table/table-style-destination.js +0 -1
  152. package/lib/client/formats/docx/import/destination/table/width-unit-destination.js +0 -2
  153. package/lib/client/formats/docx/import/destination/tabs/tabs-destination.js +2 -2
  154. package/lib/client/formats/docx/import/destination/tabs/tabs-leaf-element-destination.js +0 -1
  155. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination-base.js +2 -4
  156. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination.js +1 -1
  157. package/lib/client/formats/docx/import/destination/themes/color/drawing-color-properties-destination-base.js +2 -4
  158. package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-destination.js +0 -1
  159. package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-scheme-destination.js +2 -2
  160. package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-base.js +0 -1
  161. package/lib/client/formats/docx/import/destination/themes/font/drawing-text-font-destination.js +0 -1
  162. package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-collection-scheme-destination.js +5 -6
  163. package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-scheme-destination.js +2 -2
  164. package/lib/client/formats/docx/import/destination/themes/font/office-theme-supplemental-font-scheme-destination.js +0 -1
  165. package/lib/client/formats/docx/import/destination/themes/format/office-theme-format-scheme-destination.js +2 -2
  166. package/lib/client/formats/docx/import/destination/themes/office-theme-destination.js +2 -3
  167. package/lib/client/formats/docx/import/destination/themes/office-theme-elements-destination.js +2 -2
  168. package/lib/client/formats/docx/import/destination/vml/v-mlshape-destination.js +4 -15
  169. package/lib/client/formats/docx/import/importer-options.js +6 -8
  170. package/lib/client/formats/docx/import/importer.js +1 -5
  171. package/lib/client/formats/docx/import/importers/alt-chunk-importer.js +0 -2
  172. package/lib/client/formats/docx/import/importers/bookmark-importer.js +0 -2
  173. package/lib/client/formats/docx/import/importers/character-importer.js +0 -4
  174. package/lib/client/formats/docx/import/importers/comments-importer.js +0 -1
  175. package/lib/client/formats/docx/import/importers/core-properties-importer.js +0 -1
  176. package/lib/client/formats/docx/import/importers/custom-properties-importer.js +0 -1
  177. package/lib/client/formats/docx/import/importers/field-importer.js +1 -2
  178. package/lib/client/formats/docx/import/importers/header-footer-importer.js +0 -1
  179. package/lib/client/formats/docx/import/importers/notes-importer.js +2 -3
  180. package/lib/client/formats/docx/import/importers/numbering-list-importer.js +0 -1
  181. package/lib/client/formats/docx/import/importers/paragraph-importer.js +1 -8
  182. package/lib/client/formats/docx/import/importers/position-importer.js +0 -2
  183. package/lib/client/formats/docx/import/importers/range-permission-importer.js +0 -2
  184. package/lib/client/formats/docx/import/importers/section-importer.js +0 -4
  185. package/lib/client/formats/docx/import/importers/settings-importer.js +0 -1
  186. package/lib/client/formats/docx/import/importers/styles-importer.js +19 -32
  187. package/lib/client/formats/docx/import/importers/table-importer.js +0 -1
  188. package/lib/client/formats/docx/import/importers/themes-importer.js +0 -1
  189. package/lib/client/formats/docx/import/importers/web-settings-importer.js +0 -1
  190. package/lib/client/formats/docx/import/list/open-xml-abstract-numbering-info.js +0 -4
  191. package/lib/client/formats/docx/import/list/open-xml-list-level-override.js +0 -5
  192. package/lib/client/formats/docx/import/list/open-xml-numbering-list-info.js +0 -4
  193. package/lib/client/formats/docx/import/model/alt-chunk-info.js +0 -3
  194. package/lib/client/formats/docx/import/model/comment-list-info.js +7 -8
  195. package/lib/client/formats/docx/import/model/floating-object-import-info.js +3 -13
  196. package/lib/client/formats/docx/import/model/import-bookmark-info.js +4 -2
  197. package/lib/client/formats/docx/import/model/import-field-info.js +7 -11
  198. package/lib/client/formats/docx/import/model/import-range-permission-info.js +7 -7
  199. package/lib/client/formats/docx/import/model/import-sub-document-info.js +0 -14
  200. package/lib/client/formats/docx/import/model/open-xml-style-conditional-table-formatting-info.js +0 -7
  201. package/lib/client/formats/docx/import/utils/culture-info-helper.js +2 -2
  202. package/lib/client/formats/docx/import/utils/reader-helper.js +0 -1
  203. package/lib/client/formats/docx/import/utils/relations-collection.js +0 -2
  204. package/lib/client/formats/docx/translation-table/ml-table-data.js +0 -2
  205. package/lib/client/formats/docx/translation-table/translation-tables-data.js +4 -2
  206. package/lib/client/formats/docx/translation-table/translation-tables.js +55 -55
  207. package/lib/client/formats/docx/translation-table/word-processing-mlvalue.js +0 -2
  208. package/lib/client/formats/docx/utils/constants.js +92 -119
  209. package/lib/client/formats/docx/utils/lock-aspect-ratio-table.js +3 -1
  210. package/lib/client/formats/docx/utils/open-xml-relation.js +0 -4
  211. package/lib/client/formats/docx/utils/progress-indication.js +4 -10
  212. package/lib/client/formats/docx/utils/string-value-parser.js +1 -1
  213. package/lib/client/formats/docx/utils/value-info.js +1 -4
  214. package/lib/client/formats/docx/utils/xml-chars-decoder.js +1 -1
  215. package/lib/client/formats/docx/zip/xml-reader.js +0 -8
  216. package/lib/client/formats/docx/zip/xml-writer.js +1 -4
  217. package/lib/client/formats/docx/zip/zip-builder.js +0 -2
  218. package/lib/client/formats/docx/zip/zip-reader.js +0 -2
  219. package/lib/client/loading-panel/panel.js +1 -3
  220. package/lib/client/loading-panel/status-bar-panel.js +7 -2
  221. package/lib/client/localization.js +0 -1
  222. package/lib/client/losing-changes-watcher.js +2 -5
  223. package/lib/client/model/fields/field-client-request-manager.js +1 -7
  224. package/lib/client/model/font-changes-listener.js +0 -1
  225. package/lib/client/model/styles/known-style-names.js +167 -167
  226. package/lib/client/model-api/anchor-info.js +0 -12
  227. package/lib/client/model-api/api-utils/parameter-checker.js +0 -4
  228. package/lib/client/model-api/bookmark.js +0 -3
  229. package/lib/client/model-api/character-properties.js +0 -15
  230. package/lib/client/model-api/collections/bookmark-collection.js +0 -1
  231. package/lib/client/model-api/collections/collection.js +0 -1
  232. package/lib/client/model-api/collections/drawing-object-collection-base.js +0 -3
  233. package/lib/client/model-api/collections/field-collection.js +0 -3
  234. package/lib/client/model-api/collections/hyperlink-collection.js +0 -1
  235. package/lib/client/model-api/collections/paragraph-collection.js +0 -1
  236. package/lib/client/model-api/collections/range-permission-collection.js +0 -1
  237. package/lib/client/model-api/collections/table/table-base-collection.js +0 -3
  238. package/lib/client/model-api/collections/table/table-cell-collection.js +0 -2
  239. package/lib/client/model-api/collections/table/table-row-collection.js +0 -2
  240. package/lib/client/model-api/document.js +0 -1
  241. package/lib/client/model-api/field.js +0 -7
  242. package/lib/client/model-api/fonts/control-font.js +0 -2
  243. package/lib/client/model-api/fonts/model-font.js +0 -2
  244. package/lib/client/model-api/images/image-interfaces.js +6 -18
  245. package/lib/client/model-api/images/image-iterator.js +0 -4
  246. package/lib/client/model-api/images/image.js +0 -4
  247. package/lib/client/model-api/images/images.js +0 -2
  248. package/lib/client/model-api/interval.js +0 -2
  249. package/lib/client/model-api/lists/enums.js +2 -2
  250. package/lib/client/model-api/lists/list-level-settings.js +0 -13
  251. package/lib/client/model-api/lists/lists.js +0 -2
  252. package/lib/client/model-api/paragraph.js +0 -16
  253. package/lib/client/model-api/picture.js +0 -7
  254. package/lib/client/model-api/range-permission.js +0 -3
  255. package/lib/client/model-api/rectangle.js +0 -4
  256. package/lib/client/model-api/section.js +0 -2
  257. package/lib/client/model-api/size.js +0 -6
  258. package/lib/client/model-api/sub-document.js +0 -2
  259. package/lib/client/model-api/table/table-borders.js +0 -9
  260. package/lib/client/model-api/table/table-cell.js +0 -2
  261. package/lib/client/model-api/table/table-element-base.js +0 -4
  262. package/lib/client/model-api/table/table-row.js +0 -2
  263. package/lib/client/model-api/table/table-style-options.js +0 -6
  264. package/lib/client/model-api/table/table.js +0 -1
  265. package/lib/client/model-api/text-box.js +0 -6
  266. package/lib/client/public/api/authentication-options.js +0 -1
  267. package/lib/client/public/api/mail-merge-options.js +0 -1
  268. package/lib/client/public/api/print-layout-view.js +0 -1
  269. package/lib/client/public/api/range-permission-options.js +0 -1
  270. package/lib/client/public/api/simple-view.js +0 -5
  271. package/lib/client/public/api/spell-checker-options.js +0 -1
  272. package/lib/client/public/characters.js +3 -3
  273. package/lib/client/public/client-events.js +0 -28
  274. package/lib/client/public/commands/commands.js +0 -3
  275. package/lib/client/public/commands/ui-changes-listener.js +3 -5
  276. package/lib/client/public/context-menu/item.js +0 -8
  277. package/lib/client/public/context-menu/menu.js +0 -4
  278. package/lib/client/public/document-processor.js +0 -1
  279. package/lib/client/public/events.js +3 -39
  280. package/lib/client/public/nusa/rich-edits-holder.js +0 -3
  281. package/lib/client/public/nusa/settings.js +2 -3
  282. package/lib/client/public/ribbon/items/base.js +1 -2
  283. package/lib/client/public/ribbon/items/button.js +1 -7
  284. package/lib/client/public/ribbon/items/color-box.js +1 -5
  285. package/lib/client/public/ribbon/items/menu.js +2 -6
  286. package/lib/client/public/ribbon/items/number-box.js +1 -9
  287. package/lib/client/public/ribbon/items/select-box.js +1 -13
  288. package/lib/client/public/ribbon/items/sub-menu.js +1 -5
  289. package/lib/client/public/ribbon/ribbon.js +5 -3
  290. package/lib/client/public/ribbon/tab.js +0 -8
  291. package/lib/client/public/rich-edit.js +0 -13
  292. package/lib/client/public/utils.d.ts +1 -0
  293. package/lib/client/public/utils.js +7 -6
  294. package/lib/client/ribbon/ribbon.js +11 -13
  295. package/lib/client/ribbon/toolbar-items/toolbar-button-group-item.js +2 -2
  296. package/lib/client/ribbon/toolbar-items/toolbar-button-item.js +4 -4
  297. package/lib/client/ribbon/toolbar-items/toolbar-color-box-item.js +0 -2
  298. package/lib/client/ribbon/toolbar-items/toolbar-interactive-item.js +0 -4
  299. package/lib/client/ribbon/toolbar-items/toolbar-item-base.js +0 -1
  300. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-group-toolbar-item-template-creator.js +0 -1
  301. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-toolbar-item-template-creator.js +0 -1
  302. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/color-box-toolbar-item-template-creator.js +0 -1
  303. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/menu-toolbar-item-template-creator.js +1 -2
  304. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/number-box-toolbar-item-template-creator.js +0 -1
  305. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/select-box-toolbar-item-template-creator.js +0 -1
  306. package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/separator-toolbar-item-template-creator.js +1 -1
  307. package/lib/client/ribbon/toolbar-items/toolbar-menu-item.js +1 -2
  308. package/lib/client/ribbon/toolbar-items/toolbar-separator-item.js +1 -1
  309. package/lib/client/ribbon/toolbar-items/toolbar-sub-menu-item.js +1 -6
  310. package/lib/client/settings.js +23 -51
  311. package/lib/client/ui/client-quick-search-panel.js +0 -1
  312. package/lib/client/ui/full-screen-helper.js +2 -3
  313. package/lib/client/utils/focus-helper.js +4 -5
  314. package/lib/common/auto-correct/auto-correct-providers.js +10 -7
  315. package/lib/common/auto-correct/auto-correct-service.js +0 -3
  316. package/lib/common/bars/base.js +1 -3
  317. package/lib/common/bars/context-menu.js +5 -2
  318. package/lib/common/bars/ribbon.js +4 -1
  319. package/lib/common/canvas/canvas-manager.js +6 -13
  320. package/lib/common/canvas/canvas-scroll-info.js +8 -12
  321. package/lib/common/canvas/canvas-scroll-manager.js +2 -4
  322. package/lib/common/canvas/canvas-size-info.js +5 -8
  323. package/lib/common/canvas/listeners/anchor-listener.js +0 -1
  324. package/lib/common/canvas/listeners/auto-scroll-listener.js +1 -6
  325. package/lib/common/canvas/listeners/drag-caret-listener.js +1 -1
  326. package/lib/common/canvas/listeners/frame-base-listener.js +2 -6
  327. package/lib/common/canvas/listeners/resize-box-listener.js +6 -8
  328. package/lib/common/canvas/renderes/canvas-listener/canvas-listener.js +0 -2
  329. package/lib/common/canvas/renderes/canvas-listener/print-layout-view-canvas-listener.js +0 -1
  330. package/lib/common/canvas/renderes/canvas-listener/simple-view-canvas-listener.js +0 -5
  331. package/lib/common/canvas/renderes/change-active-sub-document/base-renderer.js +0 -6
  332. package/lib/common/canvas/renderes/change-active-sub-document/header-footer-labels-renderer.js +4 -6
  333. package/lib/common/canvas/renderes/change-active-sub-document/renderer.js +0 -2
  334. package/lib/common/canvas/renderes/common/document-renderer.d.ts +1 -1
  335. package/lib/common/canvas/renderes/common/document-renderer.js +35 -37
  336. package/lib/common/canvas/renderes/common/simple-view-renderer.js +7 -4
  337. package/lib/common/canvas/renderes/selection-renderers/misspelled-selection-renderer.js +4 -1
  338. package/lib/common/canvas/renderes/selection-renderers/range-permission-renderer.js +4 -1
  339. package/lib/common/canvas/renderes/selection-renderers/search-selection-renderer.js +4 -1
  340. package/lib/common/canvas/renderes/selection-renderers/selection-renderer-base.js +0 -3
  341. package/lib/common/canvas/renderes/selection-renderers/selection-renderer.js +1 -3
  342. package/lib/common/canvas/renderes/selection-renderers/touch-selection-circle-elements-manager.js +1 -6
  343. package/lib/common/canvas/renderes/view-manager.js +2 -26
  344. package/lib/common/canvas/renderes/z-index-helper.js +2 -2
  345. package/lib/common/client-side-events.js +0 -1
  346. package/lib/common/clipboard-content-inserter.js +0 -2
  347. package/lib/common/commands/bookmark-command.js +0 -1
  348. package/lib/common/commands/character-properties/change-character-properties-command-base.js +0 -1
  349. package/lib/common/commands/command-base.js +0 -7
  350. package/lib/common/commands/command-manager.js +8 -11
  351. package/lib/common/commands/command-states.js +4 -19
  352. package/lib/common/commands/dialogs/dialog-alert-message-command.js +0 -1
  353. package/lib/common/commands/dialogs/dialog-bookmarks-command.js +0 -7
  354. package/lib/common/commands/dialogs/dialog-border-shading-command.js +6 -21
  355. package/lib/common/commands/dialogs/dialog-columns-command.js +9 -16
  356. package/lib/common/commands/dialogs/dialog-custom-numbering-list-command.js +7 -22
  357. package/lib/common/commands/dialogs/dialog-find-replace-command.js +0 -1
  358. package/lib/common/commands/dialogs/dialog-finish-and-merge-command.js +0 -5
  359. package/lib/common/commands/dialogs/dialog-font-command.js +16 -14
  360. package/lib/common/commands/dialogs/dialog-hyperlink-command.js +9 -6
  361. package/lib/common/commands/dialogs/dialog-insert-image-command.js +6 -3
  362. package/lib/common/commands/dialogs/dialog-insert-merge-field-command.js +0 -1
  363. package/lib/common/commands/dialogs/dialog-insert-table-cells-command.js +0 -1
  364. package/lib/common/commands/dialogs/dialog-insert-table-command.js +0 -2
  365. package/lib/common/commands/dialogs/dialog-layout-options-command.js +0 -31
  366. package/lib/common/commands/dialogs/dialog-numbering-list-command.js +4 -2
  367. package/lib/common/commands/dialogs/dialog-page-setup-command.js +0 -15
  368. package/lib/common/commands/dialogs/dialog-paragraph-properties-command.js +0 -17
  369. package/lib/common/commands/dialogs/dialog-spell-checker-command.js +0 -4
  370. package/lib/common/commands/dialogs/dialog-split-table-cells-command.js +0 -5
  371. package/lib/common/commands/dialogs/dialog-symbols-command.js +0 -3
  372. package/lib/common/commands/dialogs/dialog-table-properties-command.js +13 -41
  373. package/lib/common/commands/dialogs/dialog-tabs-command.js +0 -2
  374. package/lib/common/commands/document/print-document-on-client-command.js +2 -11
  375. package/lib/common/commands/fields/change-hyperlink-command.js +0 -3
  376. package/lib/common/commands/fields/update-field-command.js +1 -4
  377. package/lib/common/commands/find-replace/find-all-command.js +0 -4
  378. package/lib/common/commands/find-replace/replace-all-command.js +0 -3
  379. package/lib/common/commands/floating-objects/floating-object-drag-drop-change-position-command.js +0 -11
  380. package/lib/common/commands/floating-objects/set-floating-object-alignment-command.js +50 -22
  381. package/lib/common/commands/floating-objects/set-floating-object-text-wrap-type-command.js +29 -9
  382. package/lib/common/commands/header-footer/link-header-footer-commands.js +0 -1
  383. package/lib/common/commands/numbering/insert-numeration-to-paragraphs-command.js +0 -1
  384. package/lib/common/commands/ruler/ruler-paragraph-indents-command.js +0 -2
  385. package/lib/common/commands/ruler/ruler-table-column-separators-command.js +6 -11
  386. package/lib/common/commands/ruler/ruler-table-commands.js +0 -8
  387. package/lib/common/commands/selection/go-to-line-end-command.js +0 -1
  388. package/lib/common/commands/selection/go-to-next-page-command.js +2 -2
  389. package/lib/common/commands/selection/select-table-command.js +0 -2
  390. package/lib/common/commands/shortcut-manager.js +1 -6
  391. package/lib/common/commands/shortcuts/assign-shortcut-command.js +0 -2
  392. package/lib/common/commands/sub-document/change-active-sub-document-command.js +2 -4
  393. package/lib/common/commands/tables/change-table-cell-alignment-command.js +45 -20
  394. package/lib/common/commands/tables/change-table-look-command.js +24 -7
  395. package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-horizontally-command.d.ts +1 -0
  396. package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-horizontally-command.js +16 -1
  397. package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-vertically-command.d.ts +1 -0
  398. package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-vertically-command.js +23 -1
  399. package/lib/common/commands/tables/insert-table-column-commands.d.ts +1 -0
  400. package/lib/common/commands/tables/insert-table-column-commands.js +8 -0
  401. package/lib/common/commands/tables/insert-table-core-command.js +8 -3
  402. package/lib/common/commands/tables/table-command-base.d.ts +2 -0
  403. package/lib/common/commands/tables/table-command-base.js +4 -1
  404. package/lib/common/commands/tables/toggle-table-cells-border-command.js +56 -27
  405. package/lib/common/commands/text/backspace-command.js +0 -2
  406. package/lib/common/commands/text/clipboard-commands.js +8 -17
  407. package/lib/common/commands/text/insert-paragraph-command.js +10 -9
  408. package/lib/common/commands/text/insert-tab-command.d.ts +3 -0
  409. package/lib/common/commands/text/insert-tab-command.js +7 -1
  410. package/lib/common/commands/text/insert-text-command.js +0 -1
  411. package/lib/common/event-manager.js +5 -19
  412. package/lib/common/focus-manager.js +0 -5
  413. package/lib/common/formats/file-name-helper.js +0 -5
  414. package/lib/common/formats/html/export/html-builder.js +4 -3
  415. package/lib/common/formats/html/export/html-document-exporter.js +0 -4
  416. package/lib/common/formats/html/export/html-export.js +5 -7
  417. package/lib/common/formats/html/import/containers/runs.js +1 -21
  418. package/lib/common/formats/html/import/containers/tables.js +0 -16
  419. package/lib/common/formats/html/import/html-document-importer.js +0 -3
  420. package/lib/common/formats/html/import/html-importer.js +8 -30
  421. package/lib/common/formats/html/import/html-model-inserter.js +4 -12
  422. package/lib/common/formats/html/import/importers/base.js +2 -3
  423. package/lib/common/formats/html/import/importers/list-base.js +4 -1
  424. package/lib/common/formats/html/import/importers/p.js +5 -2
  425. package/lib/common/formats/html/import/importers/span.js +4 -1
  426. package/lib/common/formats/html/import/importers/table.js +5 -2
  427. package/lib/common/formats/html/import/importers/td.js +2 -4
  428. package/lib/common/formats/html/import/importers/tr.js +5 -4
  429. package/lib/common/formats/html/import/load-font-info.js +0 -3
  430. package/lib/common/formats/html/import/utils/character-properties-utils.js +3 -9
  431. package/lib/common/formats/html/import/utils/paragraph-list-properties-utils.js +2 -7
  432. package/lib/common/formats/html/import/utils/paragraph-properties-utils.js +2 -5
  433. package/lib/common/formats/html/import/utils/utils.js +2 -2
  434. package/lib/common/formats/html/model/history/paste-html-data-history-item.js +0 -4
  435. package/lib/common/formats/options.js +3 -1
  436. package/lib/common/formats/pdf/box-exporter.js +0 -4
  437. package/lib/common/formats/pdf/exporter.js +0 -1
  438. package/lib/common/formats/pdf/page-area-exporter.js +0 -3
  439. package/lib/common/formats/pdf/page-exporter.js +0 -2
  440. package/lib/common/formats/pdf/row-exporter.js +0 -2
  441. package/lib/common/formats/pdf/table-column-info-exporter.js +0 -1
  442. package/lib/common/formats/rtf/export/characters.js +41 -41
  443. package/lib/common/formats/rtf/export/exporter.js +0 -5
  444. package/lib/common/formats/rtf/export/exporters/picture/rtf-picture-exporter.js +0 -3
  445. package/lib/common/formats/rtf/export/exporters/rtf-anchored-picture-run-exporter.js +0 -2
  446. package/lib/common/formats/rtf/export/exporters/rtf-anchored-run-exporter.js +0 -5
  447. package/lib/common/formats/rtf/export/exporters/rtf-anchored-text-box-run-exporter.js +0 -2
  448. package/lib/common/formats/rtf/export/exporters/rtf-character-properties-exporter.js +3 -4
  449. package/lib/common/formats/rtf/export/exporters/rtf-content-exporter.js +12 -28
  450. package/lib/common/formats/rtf/export/exporters/rtf-numbering-list-exporter.js +2 -7
  451. package/lib/common/formats/rtf/export/exporters/rtf-paragraph-properties-exporter.js +21 -18
  452. package/lib/common/formats/rtf/export/exporters/rtf-properties-exporter.js +0 -3
  453. package/lib/common/formats/rtf/export/exporters/rtf-style-exporter.js +0 -8
  454. package/lib/common/formats/rtf/export/exporters/table/states/rtf-table-exporter-state-base.js +0 -9
  455. package/lib/common/formats/rtf/export/helpers/rtf-export-helper.js +0 -14
  456. package/lib/common/formats/rtf/export/rtf-builder.js +4 -9
  457. package/lib/common/formats/rtf/export/rtf-document-exporter-options.js +3 -8
  458. package/lib/common/formats/rtf/import/destination/base/destination.js +6 -9
  459. package/lib/common/formats/rtf/import/destination/base/hex-content-destination.js +4 -2
  460. package/lib/common/formats/rtf/import/destination/base/hex-stream-destination.js +0 -1
  461. package/lib/common/formats/rtf/import/destination/base/skip-destination.js +0 -1
  462. package/lib/common/formats/rtf/import/destination/base/string-property-base-destination.js +2 -4
  463. package/lib/common/formats/rtf/import/destination/base/string-property-destination.js +2 -3
  464. package/lib/common/formats/rtf/import/destination/base/string-value-destination-base.js +2 -2
  465. package/lib/common/formats/rtf/import/destination/base/string-value-destination.js +4 -1
  466. package/lib/common/formats/rtf/import/destination/base/unicode-destination.js +0 -1
  467. package/lib/common/formats/rtf/import/destination/base/unicode-string-value-destination.js +6 -3
  468. package/lib/common/formats/rtf/import/destination/color-table-destination.js +9 -10
  469. package/lib/common/formats/rtf/import/destination/destination-revision-author-table.js +4 -1
  470. package/lib/common/formats/rtf/import/destination/document-variable-destination.js +4 -3
  471. package/lib/common/formats/rtf/import/destination/fields/field-map-data-destination.js +4 -7
  472. package/lib/common/formats/rtf/import/destination/fields/field-sub-destination.js +1 -1
  473. package/lib/common/formats/rtf/import/destination/fields/mail-merge-destination.js +4 -4
  474. package/lib/common/formats/rtf/import/destination/fields/table-content-field-destination.js +3 -3
  475. package/lib/common/formats/rtf/import/destination/font-table-destination.js +0 -3
  476. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering-base.js +5 -2
  477. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering.js +0 -10
  478. package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-section-numbering-level.js +0 -1
  479. package/lib/common/formats/rtf/import/destination/numbering-list/list-level-destination.js +4 -1
  480. package/lib/common/formats/rtf/import/destination/numbering-list/list-level-text-destination.js +4 -1
  481. package/lib/common/formats/rtf/import/destination/numbering-list/list-override-level-destination.js +4 -1
  482. package/lib/common/formats/rtf/import/destination/numbering-list/list-override-table-destination.js +0 -1
  483. package/lib/common/formats/rtf/import/destination/numbering-list/list-table-destination.js +0 -1
  484. package/lib/common/formats/rtf/import/destination/picture/picture-destination.js +2 -4
  485. package/lib/common/formats/rtf/import/destination/picture/picture-units-converter.js +0 -1
  486. package/lib/common/formats/rtf/import/destination/shape/hyperlink-property-value-destination.js +4 -1
  487. package/lib/common/formats/rtf/import/destination/shape/pic/shape-picture-destination.js +1 -3
  488. package/lib/common/formats/rtf/import/destination/shape/shape-properties-destination-base.js +2 -3
  489. package/lib/common/formats/rtf/import/destination/shape/shape-property-destination.js +0 -3
  490. package/lib/common/formats/rtf/import/destination/shape/shape-property-hsv-value-destination.js +0 -1
  491. package/lib/common/formats/rtf/import/destination/shape/shape-property-hyperlink-destination.js +4 -1
  492. package/lib/common/formats/rtf/import/destination/shape/shape-property-value-destination.js +4 -2
  493. package/lib/common/formats/rtf/import/destination/styles/character-style-destination.js +0 -2
  494. package/lib/common/formats/rtf/import/destination/styles/style-sheet-destination.js +0 -2
  495. package/lib/common/formats/rtf/import/destination/styles/table-style-destination.js +1 -3
  496. package/lib/common/formats/rtf/import/destination/sub-document/destination-sub-document.js +2 -2
  497. package/lib/common/formats/rtf/import/destination/sub-document/section-header-footer-destination-base.js +0 -1
  498. package/lib/common/formats/rtf/import/dx-decoding/gb2315-decoder-helper.js +1 -1
  499. package/lib/common/formats/rtf/import/dx-decoding/hangul949-decoder-helper.js +0 -1
  500. package/lib/common/formats/rtf/import/dx-decoding/russian-decoder.js +2 -2
  501. package/lib/common/formats/rtf/import/encoding/code-page-character-decoder.js +1 -3
  502. package/lib/common/formats/rtf/import/encoding/dx-encoding.js +2 -2
  503. package/lib/common/formats/rtf/import/encoding/unicode-character-decoder.js +5 -2
  504. package/lib/common/formats/rtf/import/importer-options.js +1 -3
  505. package/lib/common/formats/rtf/import/importers/character-importer.js +0 -3
  506. package/lib/common/formats/rtf/import/importers/field-importer.js +1 -2
  507. package/lib/common/formats/rtf/import/importers/font-importer.js +1 -2
  508. package/lib/common/formats/rtf/import/importers/image-importer.js +2 -3
  509. package/lib/common/formats/rtf/import/importers/importer-base.js +0 -1
  510. package/lib/common/formats/rtf/import/importers/importers-collection.js +1 -14
  511. package/lib/common/formats/rtf/import/importers/numbering-lists-importer.js +4 -10
  512. package/lib/common/formats/rtf/import/importers/paragraph-importer.js +0 -2
  513. package/lib/common/formats/rtf/import/importers/range-permission-importer.js +2 -2
  514. package/lib/common/formats/rtf/import/importers/section-importer.js +0 -1
  515. package/lib/common/formats/rtf/import/importers/styles/base-style-importer.js +1 -3
  516. package/lib/common/formats/rtf/import/importers/styles/paragraph-style-importer.js +4 -2
  517. package/lib/common/formats/rtf/import/importers/styles/rtf-style-importer-state.js +0 -2
  518. package/lib/common/formats/rtf/import/importers/styles-importer.js +2 -6
  519. package/lib/common/formats/rtf/import/keyword-tables/keyword-table-holder.js +251 -249
  520. package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info-core.js +4 -2
  521. package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info.js +0 -2
  522. package/lib/common/formats/rtf/import/model/character/character-properties.js +6 -10
  523. package/lib/common/formats/rtf/import/model/character/font-info-collection.js +4 -2
  524. package/lib/common/formats/rtf/import/model/character/rtf-font-info.js +5 -6
  525. package/lib/common/formats/rtf/import/model/character/rtf-formatting-info.js +2 -6
  526. package/lib/common/formats/rtf/import/model/color-collections.js +3 -5
  527. package/lib/common/formats/rtf/import/model/fields/rtf-field-info.js +11 -14
  528. package/lib/common/formats/rtf/import/model/image/picture-destination-info.js +15 -19
  529. package/lib/common/formats/rtf/import/model/image/rtf-image-info.js +0 -10
  530. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-converter.js +1 -2
  531. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-level.js +2 -5
  532. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-override-level.js +1 -4
  533. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-info.js +0 -2
  534. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-override.js +3 -3
  535. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list.js +4 -6
  536. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info-collection.js +3 -1
  537. package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info.js +0 -7
  538. package/lib/common/formats/rtf/import/model/paragraph/paragraph-frame-formatting-info.js +0 -15
  539. package/lib/common/formats/rtf/import/model/paragraph/paragraph-properties.js +16 -15
  540. package/lib/common/formats/rtf/import/model/range-permission/import-range-permission-info.js +0 -7
  541. package/lib/common/formats/rtf/import/model/rtf-document-properties.js +2 -7
  542. package/lib/common/formats/rtf/import/model/rtf-revision-authors.js +4 -2
  543. package/lib/common/formats/rtf/import/model/section/general-section-info.js +0 -6
  544. package/lib/common/formats/rtf/import/model/section/line-numbering-info.js +0 -4
  545. package/lib/common/formats/rtf/import/model/section/margins-info.js +0 -2
  546. package/lib/common/formats/rtf/import/model/section/page-numbering-info.js +6 -5
  547. package/lib/common/formats/rtf/import/model/section/rtf-section-properties.js +0 -9
  548. package/lib/common/formats/rtf/import/model/shape/calculators/rtf-bounds-calculator-base.js +0 -1
  549. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-container-properties-helper.js +0 -1
  550. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-object-run-properties-helper.js +0 -1
  551. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-text-body-properties-helper.js +0 -1
  552. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-outline-properties-helper.js +0 -1
  553. package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-shape-import-helper.js +0 -1
  554. package/lib/common/formats/rtf/import/model/shape/shape-properties-info.js +3 -1
  555. package/lib/common/formats/rtf/import/model/shape/shape-type-code.js +203 -203
  556. package/lib/common/formats/rtf/import/model/table/properties/rtf-table-cell-properties.js +3 -8
  557. package/lib/common/formats/rtf/import/model/table/properties/rtf-table-properties.js +3 -7
  558. package/lib/common/formats/rtf/import/model/table/properties/table-floating-position-info.js +0 -11
  559. package/lib/common/formats/rtf/import/model/table/properties/table-row-properties.js +6 -14
  560. package/lib/common/formats/rtf/import/model/table/rtf-table-cell.js +5 -9
  561. package/lib/common/formats/rtf/import/model/table/rtf-table-row.js +2 -6
  562. package/lib/common/formats/rtf/import/model/table/rtf-table.js +1 -4
  563. package/lib/common/formats/rtf/import/rtf-import-data.js +1 -26
  564. package/lib/common/formats/rtf/import/rtf-importer.js +0 -4
  565. package/lib/common/formats/rtf/import/table/rtf-table-cell-controller.js +0 -2
  566. package/lib/common/formats/rtf/import/table/rtf-table-controller.js +0 -3
  567. package/lib/common/formats/rtf/import/table/rtf-table-row-controller.js +0 -3
  568. package/lib/common/formats/rtf/import/table/rtf-table-state.js +0 -4
  569. package/lib/common/formats/rtf/import/table/states/no-table-state.js +4 -1
  570. package/lib/common/formats/rtf/import/table/states/state-base.js +0 -1
  571. package/lib/common/formats/rtf/import/table/table-converter.js +1 -3
  572. package/lib/common/formats/rtf/import/table/table-grid.js +3 -1
  573. package/lib/common/formats/rtf/import/table/table-reader.js +1 -13
  574. package/lib/common/formats/rtf/translation-table/rtf-content-exporter.js +1 -1
  575. package/lib/common/formats/rtf/translation-table/rtf-drawing-keywords.js +179 -179
  576. package/lib/common/formats/rtf/translation-table/rtf-export-sr.js +688 -688
  577. package/lib/common/formats/rtf/utils/mergers/rtf-table-properties-merger-base.js +0 -1
  578. package/lib/common/formats/rtf/utils/rtf-art-border-converter.js +1 -2
  579. package/lib/common/formats/rtf/utils/shape-utils.js +1 -1
  580. package/lib/common/formats/rtf/utils/unicode-char-helper.js +19 -19
  581. package/lib/common/formats/txt/txt-exporter.js +0 -2
  582. package/lib/common/formats/txt/txt-importer.js +0 -3
  583. package/lib/common/formats/utils/color/theme-color-index-calculator.js +4 -4
  584. package/lib/common/formats/utils/color/tint-and-shade-calculator.js +1 -1
  585. package/lib/common/formats/utils/cross-existing-iterator.js +0 -9
  586. package/lib/common/formats/utils/extension-helper.js +4 -4
  587. package/lib/common/formats/utils/images-import.js +4 -7
  588. package/lib/common/formats/utils/import-bookmark-info-core.js +4 -2
  589. package/lib/common/formats/utils/import-comment-info.js +0 -4
  590. package/lib/common/formats/utils/numbering-list-index-constants.js +4 -4
  591. package/lib/common/formats/utils/string-helper.js +7 -7
  592. package/lib/common/global-event-dispatcher.js +2 -7
  593. package/lib/common/input-controller.js +5 -34
  594. package/lib/common/layout/document-layout.js +0 -10
  595. package/lib/common/layout/layout-point.js +0 -1
  596. package/lib/common/layout/layout-position.js +17 -14
  597. package/lib/common/layout/main-structures/layout-boxes/bookmark-box.js +4 -4
  598. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-object-box.js +2 -9
  599. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-picture-box.js +0 -3
  600. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-text-box.js +0 -2
  601. package/lib/common/layout/main-structures/layout-boxes/layout-box.js +0 -7
  602. package/lib/common/layout/main-structures/layout-boxes/layout-dash-box.js +0 -1
  603. package/lib/common/layout/main-structures/layout-boxes/layout-dependent-text-box.js +0 -1
  604. package/lib/common/layout/main-structures/layout-boxes/layout-line-break-box.js +0 -2
  605. package/lib/common/layout/main-structures/layout-boxes/layout-non-breaking-space-box.js +1 -3
  606. package/lib/common/layout/main-structures/layout-boxes/layout-numbering-list-box.js +0 -3
  607. package/lib/common/layout/main-structures/layout-boxes/layout-page-break-box.js +0 -2
  608. package/lib/common/layout/main-structures/layout-boxes/layout-paragraph-mark-box.js +0 -2
  609. package/lib/common/layout/main-structures/layout-boxes/layout-picture-box.js +0 -3
  610. package/lib/common/layout/main-structures/layout-boxes/layout-space-box.js +0 -2
  611. package/lib/common/layout/main-structures/layout-boxes/layout-tab-space-box.js +1 -7
  612. package/lib/common/layout/main-structures/layout-boxes/layout-text-box.js +0 -1
  613. package/lib/common/layout/main-structures/layout-column.js +4 -5
  614. package/lib/common/layout/main-structures/layout-page-area.js +1 -3
  615. package/lib/common/layout/main-structures/layout-page.js +14 -44
  616. package/lib/common/layout/main-structures/layout-row.js +4 -12
  617. package/lib/common/layout/selection/layout-selection-info.js +2 -4
  618. package/lib/common/layout/selection/layout-selection-items.js +2 -4
  619. package/lib/common/layout/selection/layout-selection-page-info.js +5 -3
  620. package/lib/common/layout/selection/layout-selection.js +4 -8
  621. package/lib/common/layout/table/layout-table-cell-info.js +1 -6
  622. package/lib/common/layout/table/layout-table-info.js +6 -12
  623. package/lib/common/layout/table/layout-table-row-info.js +0 -5
  624. package/lib/common/layout/table/table-cell-iterator.js +16 -22
  625. package/lib/common/layout-engine/hit-test-manager/hit-test-manager.js +0 -8
  626. package/lib/common/layout-engine/hit-test-manager/hit-test-result.js +2 -4
  627. package/lib/common/layout-engine/layout-anchor-object-finder.js +0 -2
  628. package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-base.js +0 -8
  629. package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-other-sub-document.js +0 -1
  630. package/lib/common/layout-engine/layout-box-iterator/layout-position-advance-helpers/base-advance-helper.js +0 -3
  631. package/lib/common/layout-engine/layout-position-creator.js +0 -15
  632. package/lib/common/layout-engine/selection/selection-formatter.js +6 -8
  633. package/lib/common/layout-engine/visualizers/base-visualizer.js +1 -8
  634. package/lib/common/layout-engine/visualizers/box-visualizer-manager.js +0 -6
  635. package/lib/common/layout-engine/visualizers/full-table-selector-visualizer.js +2 -2
  636. package/lib/common/layout-engine/visualizers/resize-box-visualizer.js +2 -3
  637. package/lib/common/layout-formatter/box/box-iterator.js +0 -5
  638. package/lib/common/layout-formatter/box/box-wrap.js +1 -10
  639. package/lib/common/layout-formatter/box/box-wraps-holder.js +3 -12
  640. package/lib/common/layout-formatter/box/generator/box-infos-generator.js +3 -17
  641. package/lib/common/layout-formatter/box/generator/one-dimension-itertors.js +0 -3
  642. package/lib/common/layout-formatter/box/generator/recursive-objects-iterators.js +0 -4
  643. package/lib/common/layout-formatter/changes/changes/column-change.js +0 -3
  644. package/lib/common/layout-formatter/changes/changes/layout-change-base.js +0 -5
  645. package/lib/common/layout-formatter/changes/changes/page-area-change.js +0 -1
  646. package/lib/common/layout-formatter/changes/changes/page-change.js +0 -3
  647. package/lib/common/layout-formatter/changes/changes/selection/layout-area-selection-change.js +0 -1
  648. package/lib/common/layout-formatter/changes/changes/selection/layout-page-selection-change.js +0 -1
  649. package/lib/common/layout-formatter/changes/engine/changes-manager.js +0 -1
  650. package/lib/common/layout-formatter/changes/engine/changes-merger.js +0 -5
  651. package/lib/common/layout-formatter/changes/engine/table-cells-comparer.js +3 -1
  652. package/lib/common/layout-formatter/floating/anchored-objects-manager.js +0 -10
  653. package/lib/common/layout-formatter/floating/layout-row-bounds-manager.js +2 -7
  654. package/lib/common/layout-formatter/floating/page-anchored-object-holder.js +0 -2
  655. package/lib/common/layout-formatter/floating/position-calculators/base-calculator.js +0 -5
  656. package/lib/common/layout-formatter/floating/position-calculators/horizontal.js +2 -2
  657. package/lib/common/layout-formatter/floating/render-level-calculator.js +18 -15
  658. package/lib/common/layout-formatter/formatter/base-formatter.js +2 -11
  659. package/lib/common/layout-formatter/formatter/main-formatter.js +2 -2
  660. package/lib/common/layout-formatter/formatter/model-changes-listener.js +0 -1
  661. package/lib/common/layout-formatter/formatter/other-page-area-formatter.js +0 -1
  662. package/lib/common/layout-formatter/formatter/utils/bounds-calculator.js +5 -26
  663. package/lib/common/layout-formatter/formatter/utils/floating-restart-info-holder.js +3 -4
  664. package/lib/common/layout-formatter/formatter/utils/last-row-info.js +3 -5
  665. package/lib/common/layout-formatter/formatter/utils/layout-dependent-cache.js +0 -2
  666. package/lib/common/layout-formatter/formatter/utils/number-utils.js +1 -1
  667. package/lib/common/layout-formatter/formatter/utils/remove-redundant-helper.js +0 -1
  668. package/lib/common/layout-formatter/formatter/utils/restart-preparer.js +0 -1
  669. package/lib/common/layout-formatter/invalidator/header-footer-invalidator-helper.js +0 -7
  670. package/lib/common/layout-formatter/invalidator/layout-invalidator.js +0 -1
  671. package/lib/common/layout-formatter/invalidator/position-savers.js +0 -6
  672. package/lib/common/layout-formatter/invalidator/remove-content-helper.js +0 -11
  673. package/lib/common/layout-formatter/managers/formatter-manager.js +4 -27
  674. package/lib/common/layout-formatter/managers/restart-manager.js +0 -2
  675. package/lib/common/layout-formatter/row/formatter.js +1 -15
  676. package/lib/common/layout-formatter/row/result.js +0 -7
  677. package/lib/common/layout-formatter/row/size-engine/row-formatting-info.js +0 -12
  678. package/lib/common/layout-formatter/row/size-engine/row-height-calculator.js +2 -6
  679. package/lib/common/layout-formatter/row/size-engine/row-height-state.js +0 -7
  680. package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.js +0 -7
  681. package/lib/common/layout-formatter/row/states.js +0 -1
  682. package/lib/common/layout-formatter/row/tab-info.js +0 -6
  683. package/lib/common/layout-formatter/row/utils/line-spacing-calculator.js +0 -3
  684. package/lib/common/layout-formatter/row/utils/row-spacing-before-applier.js +0 -9
  685. package/lib/common/layout-formatter/row/word-holder.js +0 -2
  686. package/lib/common/layout-formatter/table/borders/border-helper.js +0 -10
  687. package/lib/common/layout-formatter/table/borders/horizontal-line-borders-info.js +2 -4
  688. package/lib/common/layout-formatter/table/borders/layout-table-border.js +0 -5
  689. package/lib/common/layout-formatter/table/borders/layout-table-horizontal-border.js +0 -3
  690. package/lib/common/layout-formatter/table/formatter.d.ts +1 -1
  691. package/lib/common/layout-formatter/table/formatter.js +11 -12
  692. package/lib/common/layout-formatter/table/grid-engine/calculators/column-interval.js +0 -6
  693. package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/column-interval.js +0 -3
  694. package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/iterator.js +0 -3
  695. package/lib/common/layout-formatter/table/grid-engine/calculators/grid-calculator.js +3 -15
  696. package/lib/common/layout-formatter/table/grid-engine/calculators/table-properties-cache.js +0 -12
  697. package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-cell-width-calculator.js +0 -6
  698. package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-width-calculator.js +1 -7
  699. package/lib/common/layout-formatter/table/grid-engine/cell-grid-info-manager.js +0 -2
  700. package/lib/common/layout-formatter/table/grid-engine/columns.js +0 -3
  701. package/lib/common/layout-formatter/table/grid-engine/grid.js +0 -4
  702. package/lib/common/layout-formatter/table/horizontal-cursor-borders-helper.js +1 -1
  703. package/lib/common/layout-formatter/table/info/cell-info.js +2 -16
  704. package/lib/common/layout-formatter/table/info/cell-order-helper.js +0 -1
  705. package/lib/common/layout-formatter/table/info/row-info.js +1 -9
  706. package/lib/common/layout-formatter/table/info/table-info.js +6 -22
  707. package/lib/common/layout-formatter/table/other.js +4 -7
  708. package/lib/common/layout-formatter/table/utils/table-anchored-objects-holder.js +3 -1
  709. package/lib/common/loading-panel/manager.js +0 -2
  710. package/lib/common/loading-panel/panel.js +3 -4
  711. package/lib/common/measurer/measure-info.js +0 -5
  712. package/lib/common/measurer/measurer.js +1 -6
  713. package/lib/common/model/bookmarks.js +2 -7
  714. package/lib/common/model/borders/border-base.js +1 -4
  715. package/lib/common/model/borders/border-info.js +8 -6
  716. package/lib/common/model/borders/table-border-base.d.ts +2 -0
  717. package/lib/common/model/borders/table-border-base.js +8 -6
  718. package/lib/common/model/borders/table-borders.d.ts +0 -5
  719. package/lib/common/model/borders/table-borders.js +0 -18
  720. package/lib/common/model/borders/table-cell-borders.d.ts +2 -1
  721. package/lib/common/model/borders/table-cell-borders.js +11 -5
  722. package/lib/common/model/caches/caches.js +0 -15
  723. package/lib/common/model/caches/control-fonts.js +4 -2
  724. package/lib/common/model/caches/hash-based-cache.js +0 -2
  725. package/lib/common/model/caches/hashed-caches/character-properties-cache.js +0 -1
  726. package/lib/common/model/caches/hashed-caches/color-model-info-cache.js +1 -1
  727. package/lib/common/model/caches/hashed-caches/drawing-color-model-info-cache.js +1 -1
  728. package/lib/common/model/caches/hashed-caches/font-info-cache.js +3 -5
  729. package/lib/common/model/caches/hashed-caches/scene3d-properties-info-cache.js +1 -1
  730. package/lib/common/model/caches/hashed-caches/scene3d-rotation-info-cache.js +1 -1
  731. package/lib/common/model/caches/images.js +5 -16
  732. package/lib/common/model/changes/change-base.js +0 -4
  733. package/lib/common/model/changes/model/create-style-link.js +1 -2
  734. package/lib/common/model/changes/model/default-tab-width.js +1 -2
  735. package/lib/common/model/changes/model/delete-style-link.js +1 -2
  736. package/lib/common/model/changes/model/different-odd-and-even-pages.js +1 -2
  737. package/lib/common/model/changes/model/document-protection-changed.js +1 -2
  738. package/lib/common/model/changes/model/header-created.js +1 -4
  739. package/lib/common/model/changes/model/header-footer-index-changed.js +1 -5
  740. package/lib/common/model/changes/model/list/abstract-numbering-list-added.js +1 -2
  741. package/lib/common/model/changes/model/list/abstract-numbering-list-deleted.js +1 -2
  742. package/lib/common/model/changes/model/list/i-override-list-level-changed.js +1 -3
  743. package/lib/common/model/changes/model/list/list-level-character-property-changed.js +1 -3
  744. package/lib/common/model/changes/model/list/list-level-paragraph-property-changed.js +1 -3
  745. package/lib/common/model/changes/model/list/list-level-property-changed.js +1 -3
  746. package/lib/common/model/changes/model/list/numbering-list-added.js +1 -2
  747. package/lib/common/model/changes/model/list/numbering-list-deleted.js +1 -2
  748. package/lib/common/model/changes/model/load-font.js +1 -2
  749. package/lib/common/model/changes/model/page-color.js +1 -2
  750. package/lib/common/model/changes/model/section-formatting-changed.js +1 -5
  751. package/lib/common/model/changes/model/section-merged.js +1 -4
  752. package/lib/common/model/changes/model/zoom-level.js +1 -3
  753. package/lib/common/model/changes/sub-document/anchor/anchor-info-property-changed.js +1 -5
  754. package/lib/common/model/changes/sub-document/anchor/anchored-text-box-properties-changed.js +1 -5
  755. package/lib/common/model/changes/sub-document/anchor/anchored-text-box-size-changed.js +1 -5
  756. package/lib/common/model/changes/sub-document/anchor/shape-changed.js +1 -4
  757. package/lib/common/model/changes/sub-document/anchor/shape-property-changed.js +1 -5
  758. package/lib/common/model/changes/sub-document/bookmark/created.js +1 -4
  759. package/lib/common/model/changes/sub-document/bookmark/deleted.js +1 -4
  760. package/lib/common/model/changes/sub-document/field/deleted.js +1 -3
  761. package/lib/common/model/changes/sub-document/field/fields-show-code-changed.js +1 -3
  762. package/lib/common/model/changes/sub-document/field/hyperlink-info-changed.js +1 -5
  763. package/lib/common/model/changes/sub-document/field/inserted.js +1 -5
  764. package/lib/common/model/changes/sub-document/list/paragraph-numbering-list-changed.js +1 -4
  765. package/lib/common/model/changes/sub-document/picture/anchored-picture-size-changed.js +1 -5
  766. package/lib/common/model/changes/sub-document/picture/anchored-pictureinserted.js +1 -6
  767. package/lib/common/model/changes/sub-document/picture/inline-object-run-property-changed.js +1 -5
  768. package/lib/common/model/changes/sub-document/picture/inline-picture-inserted.js +1 -3
  769. package/lib/common/model/changes/sub-document/picture/inline-pictures-updated.js +1 -3
  770. package/lib/common/model/changes/sub-document/picture/load-pictures-info.js +1 -3
  771. package/lib/common/model/changes/sub-document/properties/character-formatting-changed.js +1 -4
  772. package/lib/common/model/changes/sub-document/properties/character-properties-changed.js +1 -3
  773. package/lib/common/model/changes/sub-document/properties/merged-props-reset.js +1 -3
  774. package/lib/common/model/changes/sub-document/properties/paragraph-formatting-changed.js +1 -4
  775. package/lib/common/model/changes/sub-document/properties/paragraph-properties-changed.js +1 -8
  776. package/lib/common/model/changes/sub-document/range-permissions-changed.js +4 -5
  777. package/lib/common/model/changes/sub-document/style/character-style-applied.js +1 -3
  778. package/lib/common/model/changes/sub-document/style/paragraph-style-applied.js +1 -3
  779. package/lib/common/model/changes/sub-document/style/table-style-changed.js +1 -4
  780. package/lib/common/model/changes/sub-document/tab/deleted.js +1 -3
  781. package/lib/common/model/changes/sub-document/tab/inserted.js +1 -3
  782. package/lib/common/model/changes/sub-document/table/cell-inserted.js +1 -5
  783. package/lib/common/model/changes/sub-document/table/cell-merged-horizontally.js +1 -6
  784. package/lib/common/model/changes/sub-document/table/cell-property-changed.js +1 -4
  785. package/lib/common/model/changes/sub-document/table/cell-removed.js +1 -5
  786. package/lib/common/model/changes/sub-document/table/cell-splitted-horizontally.js +1 -6
  787. package/lib/common/model/changes/sub-document/table/created.js +1 -3
  788. package/lib/common/model/changes/sub-document/table/property-changed.js +1 -4
  789. package/lib/common/model/changes/sub-document/table/removed.js +1 -6
  790. package/lib/common/model/changes/sub-document/table/row-inserted.js +1 -4
  791. package/lib/common/model/changes/sub-document/table/row-property-changed.js +1 -4
  792. package/lib/common/model/changes/sub-document/table/row-removed.js +1 -4
  793. package/lib/common/model/changes/sub-document/table/start-position-shifted.js +1 -5
  794. package/lib/common/model/changes/sub-document/text/anchor-object-removed.js +1 -4
  795. package/lib/common/model/changes/sub-document/text/anchored-text-box-inserted.js +1 -5
  796. package/lib/common/model/changes/sub-document/text/interval-removed.js +1 -4
  797. package/lib/common/model/changes/sub-document/text/paragraph-inserted.js +1 -2
  798. package/lib/common/model/changes/sub-document/text/paragraph-merged.js +1 -5
  799. package/lib/common/model/changes/sub-document/text/section-inserted.js +1 -3
  800. package/lib/common/model/changes/sub-document/text/simple-run-inserted.js +1 -8
  801. package/lib/common/model/changes/sub-document/text/text-buffer-changed.js +1 -3
  802. package/lib/common/model/character/character-properties-helper.js +0 -10
  803. package/lib/common/model/character/character-properties.js +29 -25
  804. package/lib/common/model/character/character-property-descriptor.js +104 -64
  805. package/lib/common/model/character/character-style.js +3 -5
  806. package/lib/common/model/character/composite-font-info.js +0 -9
  807. package/lib/common/model/character/history-runs.js +0 -18
  808. package/lib/common/model/character/lang-info.js +0 -3
  809. package/lib/common/model/character/layout-character-properties-color-info.js +0 -4
  810. package/lib/common/model/character/run-iterator.js +11 -11
  811. package/lib/common/model/chunk.js +2 -4
  812. package/lib/common/model/color/color-hsl.js +3 -6
  813. package/lib/common/model/color/color-model-info.js +8 -12
  814. package/lib/common/model/color/color-provider.js +2 -5
  815. package/lib/common/model/color/color.js +7 -7
  816. package/lib/common/model/color/d-xsystem-colors.js +30 -30
  817. package/lib/common/model/color/dx-color.js +3 -3
  818. package/lib/common/model/color/enums.js +13 -13
  819. package/lib/common/model/color/palette.js +20 -24
  820. package/lib/common/model/color/sc-rgbcolor.js +1 -4
  821. package/lib/common/model/comments/comment.js +1 -7
  822. package/lib/common/model/compat-settings.js +0 -3
  823. package/lib/common/model/creator/cache.js +0 -3
  824. package/lib/common/model/creator/creator.js +3 -2
  825. package/lib/common/model/creator/font-corrector.js +0 -3
  826. package/lib/common/model/creator/options.js +9 -7
  827. package/lib/common/model/document-model.js +31 -54
  828. package/lib/common/model/drawing/backdrop-plane.js +0 -3
  829. package/lib/common/model/drawing/container-effect.js +0 -4
  830. package/lib/common/model/drawing/drawing-color-model-info.js +3 -11
  831. package/lib/common/model/drawing/drawing-color.js +0 -2
  832. package/lib/common/model/drawing/drawing-effect-collection.js +0 -1
  833. package/lib/common/model/drawing/drawing-effect-style.js +0 -3
  834. package/lib/common/model/drawing/drawing-fill.js +3 -4
  835. package/lib/common/model/drawing/drawing-text-font.js +6 -8
  836. package/lib/common/model/drawing/drawing-value-constants.js +20 -20
  837. package/lib/common/model/drawing/outline.js +0 -1
  838. package/lib/common/model/drawing/scene3d-properties-info.js +10 -10
  839. package/lib/common/model/drawing/scene3d-properties.js +0 -4
  840. package/lib/common/model/drawing/scene3d-rotation-info.js +1 -5
  841. package/lib/common/model/drawing/scene3d-vector.js +0 -3
  842. package/lib/common/model/drawing/shape-bevel3d-properties.js +2 -5
  843. package/lib/common/model/drawing/shape3d-properties.js +4 -12
  844. package/lib/common/model/drawing/transform/color-transform-collection.js +0 -1
  845. package/lib/common/model/drawing/transform/color-transform-value-base.js +0 -1
  846. package/lib/common/model/fields/check-box-properties.js +4 -6
  847. package/lib/common/model/fields/field-request-manager.js +4 -7
  848. package/lib/common/model/fields/field.js +0 -27
  849. package/lib/common/model/fields/form-field-properties.js +4 -11
  850. package/lib/common/model/fields/parsers/field-code-parser-doc-variable.js +0 -1
  851. package/lib/common/model/fields/parsers/field-code-parser-if.js +1 -9
  852. package/lib/common/model/fields/parsers/field-code-parser-toc.js +10 -23
  853. package/lib/common/model/fields/parsers/field-code-parser.js +2 -18
  854. package/lib/common/model/fields/tree-creator.js +5 -19
  855. package/lib/common/model/find-replace-helper.js +0 -24
  856. package/lib/common/model/floating-objects/anchor-info.js +21 -19
  857. package/lib/common/model/floating-objects/sizes.js +2 -10
  858. package/lib/common/model/floating-objects/text-box-properties.js +8 -8
  859. package/lib/common/model/fonts/control-font.js +4 -8
  860. package/lib/common/model/fonts/font-chooser.js +2 -3
  861. package/lib/common/model/fonts/font-face-descriptors.js +11 -9
  862. package/lib/common/model/fonts/font-info.js +6 -16
  863. package/lib/common/model/fonts/google-fonts.js +1 -4
  864. package/lib/common/model/fonts/grabber.js +3 -7
  865. package/lib/common/model/fonts/loader.js +2 -7
  866. package/lib/common/model/fonts/measurer.js +1 -4
  867. package/lib/common/model/footnotes/footnote.js +0 -9
  868. package/lib/common/model/full-chunk-and-run-info.js +0 -7
  869. package/lib/common/model/history/base/history-item.js +2 -3
  870. package/lib/common/model/history/base/history.js +10 -11
  871. package/lib/common/model/history/base/interval-based-history-item.js +0 -1
  872. package/lib/common/model/history/base/position-based-history-item.js +0 -1
  873. package/lib/common/model/history/items/apply-field-hyperlink-style-history-item.js +2 -2
  874. package/lib/common/model/history/items/apply-style-history-items.js +0 -9
  875. package/lib/common/model/history/items/bookmark-history-items.js +0 -2
  876. package/lib/common/model/history/items/change-field-hyperlink-info-history-item.js +0 -4
  877. package/lib/common/model/history/items/change-rectangular-object-history-item.js +0 -4
  878. package/lib/common/model/history/items/character-properties-history-items.js +0 -9
  879. package/lib/common/model/history/items/create-style-link-history-item.js +0 -2
  880. package/lib/common/model/history/items/document-properties-history-items.js +0 -6
  881. package/lib/common/model/history/items/document-protection-history-item.js +0 -2
  882. package/lib/common/model/history/items/field-insert-history-item.js +0 -6
  883. package/lib/common/model/history/items/floating-objects/anchor-info-property-history-item.js +0 -3
  884. package/lib/common/model/history/items/floating-objects/change-anchored-picture-size-history-item.js +0 -2
  885. package/lib/common/model/history/items/floating-objects/change-anchored-text-box-size-history-item.js +0 -2
  886. package/lib/common/model/history/items/floating-objects/change-image-property-history-item.js +0 -3
  887. package/lib/common/model/history/items/floating-objects/change-text-box-properties-history-item.js +0 -2
  888. package/lib/common/model/history/items/floating-objects/insert-anchored-picture-history-item.js +0 -5
  889. package/lib/common/model/history/items/floating-objects/shape-property-history-item.js +0 -5
  890. package/lib/common/model/history/items/header-footer-history-items.js +0 -5
  891. package/lib/common/model/history/items/insert-inline-picture-history-item.js +0 -3
  892. package/lib/common/model/history/items/insert-paragraph-history-item.js +0 -1
  893. package/lib/common/model/history/items/insert-section-history-item.js +0 -5
  894. package/lib/common/model/history/items/insert-sub-document-history-item.js +0 -6
  895. package/lib/common/model/history/items/insert-text-history-item.js +0 -1
  896. package/lib/common/model/history/items/list-level-character-properties-history-items.js +0 -6
  897. package/lib/common/model/history/items/list-level-paragraph-properties-history-items.js +0 -6
  898. package/lib/common/model/history/items/list-level-properties-history-items.js +0 -5
  899. package/lib/common/model/history/items/non-visual-drawing-object-info.js +0 -3
  900. package/lib/common/model/history/items/numbering-list-history-items.js +0 -21
  901. package/lib/common/model/history/items/paragraph-properties-history-items.js +0 -19
  902. package/lib/common/model/history/items/range-permission-history-item.js +0 -2
  903. package/lib/common/model/history/items/remove-hyperlink-history-item.js +0 -11
  904. package/lib/common/model/history/items/remove-interval-history-item.js +0 -2
  905. package/lib/common/model/history/items/section-properties-history-items.js +0 -3
  906. package/lib/common/model/history/items/switch-text-box-sub-documents-state-history-item.js +0 -4
  907. package/lib/common/model/history/items/tables/change-table-cell-history-items.js +0 -7
  908. package/lib/common/model/history/items/tables/create-table-history-item.js +0 -5
  909. package/lib/common/model/history/items/tables/insert-table-row-history-item.js +0 -3
  910. package/lib/common/model/history/items/tables/remove-table-cell-history-item.js +0 -5
  911. package/lib/common/model/history/items/tables/remove-table-history-item.js +0 -2
  912. package/lib/common/model/history/items/tables/remove-table-row-history-item.js +0 -3
  913. package/lib/common/model/history/items/tables/split-table-cell-history-item.js +0 -6
  914. package/lib/common/model/history/items/tables/table-cell-properties-history-items.js +0 -10
  915. package/lib/common/model/history/items/tables/table-properties-history-items.js +0 -7
  916. package/lib/common/model/history/items/tables/table-row-properties-history-items.js +0 -9
  917. package/lib/common/model/history/items/text-run-change-case-history-item.js +0 -4
  918. package/lib/common/model/history/selection/scroll-history-item.js +0 -4
  919. package/lib/common/model/history/selection/selection-history-item.js +0 -4
  920. package/lib/common/model/history/states/history-item-state-object.js +0 -30
  921. package/lib/common/model/history/states/history-item-state.js +1 -2
  922. package/lib/common/model/json/command-request.js +3 -12
  923. package/lib/common/model/json/enums/table/json-table-structures-enums.d.ts +4 -2
  924. package/lib/common/model/json/enums/table/json-table-structures-enums.js +4 -2
  925. package/lib/common/model/json/importers/json-border-info-converter.js +2 -0
  926. package/lib/common/model/json/importers/sub-document/json-sub-document-importer.js +2 -2
  927. package/lib/common/model/json/importers/sub-document/run-importers.js +0 -6
  928. package/lib/common/model/json/importers/table/json-table-cell-borders-converter.js +4 -0
  929. package/lib/common/model/json/web-caches-exporter.js +0 -3
  930. package/lib/common/model/manipulators/base-manipulator.js +0 -1
  931. package/lib/common/model/manipulators/character-properties-manipulator.js +0 -24
  932. package/lib/common/model/manipulators/document/sub-document-inserter.js +13 -28
  933. package/lib/common/model/manipulators/fields-manipulator.js +6 -9
  934. package/lib/common/model/manipulators/floating-objects/anchor-info-manipulator.js +0 -20
  935. package/lib/common/model/manipulators/floating-objects/anchor-info-property-manipulator.js +0 -3
  936. package/lib/common/model/manipulators/floating-objects/floating-objects-manipulator.js +0 -7
  937. package/lib/common/model/manipulators/floating-objects/shape-manipulator.js +0 -7
  938. package/lib/common/model/manipulators/floating-objects/z-order-manipulator.js +1 -3
  939. package/lib/common/model/manipulators/font-manipulator.js +4 -4
  940. package/lib/common/model/manipulators/inline-object-manipulator.js +0 -3
  941. package/lib/common/model/manipulators/model-manipulator.js +2 -30
  942. package/lib/common/model/manipulators/numbering-lists/list-level-character-properties-manipulator.js +0 -19
  943. package/lib/common/model/manipulators/numbering-lists/list-level-paragraph-properties-manipulator.js +0 -23
  944. package/lib/common/model/manipulators/numbering-lists/list-level-properties-manipulator.js +0 -15
  945. package/lib/common/model/manipulators/numbering-lists/numbering-list-manipulator.js +0 -3
  946. package/lib/common/model/manipulators/paragraph-manipulator/insert-paragraph-manipulator-params.js +0 -3
  947. package/lib/common/model/manipulators/paragraph-properties-manipulator.js +0 -26
  948. package/lib/common/model/manipulators/picture-manipulator/insert-picture-manipulator-params.js +0 -6
  949. package/lib/common/model/manipulators/picture-manipulator/loader/image-loading-options.js +1 -3
  950. package/lib/common/model/manipulators/picture-manipulator/loader/picture-loader.js +2 -13
  951. package/lib/common/model/manipulators/picture-manipulator/loader/updated-image-info.js +0 -3
  952. package/lib/common/model/manipulators/picture-manipulator/non-visual-drawing-object-info.js +0 -4
  953. package/lib/common/model/manipulators/picture-manipulator/picture-manipulator.js +0 -9
  954. package/lib/common/model/manipulators/range/create-range-copy-operation.js +2 -20
  955. package/lib/common/model/manipulators/range/remove-interval-operation.js +6 -22
  956. package/lib/common/model/manipulators/range/restore-removed-interval-operation.js +1 -3
  957. package/lib/common/model/manipulators/runs-base-manipulator.js +2 -2
  958. package/lib/common/model/manipulators/section-properties-manipulator.js +0 -18
  959. package/lib/common/model/manipulators/tables/insert-table-cell-operation.js +0 -2
  960. package/lib/common/model/manipulators/tables/insert-table-row-operation.js +0 -2
  961. package/lib/common/model/manipulators/tables/merge-table-cells-operation.js +5 -4
  962. package/lib/common/model/manipulators/tables/table-cell-properties-manipulator.js +0 -29
  963. package/lib/common/model/manipulators/tables/table-normalizator.js +0 -9
  964. package/lib/common/model/manipulators/tables/table-properties-manipulator.js +0 -27
  965. package/lib/common/model/manipulators/tables/table-row-properties-manipulator.js +0 -19
  966. package/lib/common/model/manipulators/tables/tables-manipulator.js +0 -3
  967. package/lib/common/model/manipulators/text-box-manipulator.js +0 -6
  968. package/lib/common/model/manipulators/text-case-manipulator.js +0 -7
  969. package/lib/common/model/manipulators/text-manipulator/chunk-size-corrector.js +5 -9
  970. package/lib/common/model/manipulators/text-manipulator/insert-text-manipulator-params.js +0 -2
  971. package/lib/common/model/manipulators/text-manipulator/text-manipulator.js +0 -5
  972. package/lib/common/model/manipulators/utils/manipulator-params-base.js +0 -4
  973. package/lib/common/model/model-checks/check-all.js +2 -3
  974. package/lib/common/model/model-checks/comparer.js +4 -8
  975. package/lib/common/model/model-checks/position.js +0 -2
  976. package/lib/common/model/model-iterator.js +0 -4
  977. package/lib/common/model/number-converters/alphabet-based-number-converter.js +0 -1
  978. package/lib/common/model/number-converters/decimal-enclosed-parentheses-number-converter.js +0 -1
  979. package/lib/common/model/number-converters/decimal-zero-number-converter.js +0 -1
  980. package/lib/common/model/number-converters/descriptive-number-converter.js +0 -3
  981. package/lib/common/model/number-converters/number-in-dash-number-converter.js +0 -1
  982. package/lib/common/model/number-converters/numerics-provider.js +0 -12
  983. package/lib/common/model/number-converters/ordinal-based-number-converter.js +1 -5
  984. package/lib/common/model/number-converters/roman-number-converter.js +0 -2
  985. package/lib/common/model/numbering-lists/list-level-properties.js +16 -15
  986. package/lib/common/model/numbering-lists/list-level.js +6 -12
  987. package/lib/common/model/numbering-lists/numbering-helper.js +2 -2
  988. package/lib/common/model/numbering-lists/numbering-list-counters-calculator.js +3 -4
  989. package/lib/common/model/numbering-lists/numbering-list-id-provider.js +1 -3
  990. package/lib/common/model/numbering-lists/numbering-list-index-calculator.js +0 -3
  991. package/lib/common/model/numbering-lists/numbering-list-style.js +0 -1
  992. package/lib/common/model/numbering-lists/numbering-list.js +6 -8
  993. package/lib/common/model/numbering-lists/piece-table-numbering-list-counters-manager.js +2 -3
  994. package/lib/common/model/options/auto-correct.js +0 -8
  995. package/lib/common/model/options/bookmarks.js +0 -3
  996. package/lib/common/model/options/control.js +39 -37
  997. package/lib/common/model/options/document-protection.js +3 -9
  998. package/lib/common/model/options/fields.js +3 -10
  999. package/lib/common/model/options/fonts.js +7 -9
  1000. package/lib/common/model/options/mail-merge.js +0 -5
  1001. package/lib/common/model/options/pdf.js +4 -5
  1002. package/lib/common/model/options/printing.js +4 -2
  1003. package/lib/common/model/options/protection.js +2 -9
  1004. package/lib/common/model/options/rich-options.js +11 -13
  1005. package/lib/common/model/options/search.js +0 -1
  1006. package/lib/common/model/options/spell-checker.js +6 -9
  1007. package/lib/common/model/paragraph/paragraph-properties-helper.js +0 -9
  1008. package/lib/common/model/paragraph/paragraph-properties.js +62 -60
  1009. package/lib/common/model/paragraph/paragraph-property-descriptors.js +108 -54
  1010. package/lib/common/model/paragraph/paragraph-style.js +8 -18
  1011. package/lib/common/model/paragraph/paragraph.js +2 -11
  1012. package/lib/common/model/position/linked-interval.js +0 -2
  1013. package/lib/common/model/position/position-manager.js +4 -3
  1014. package/lib/common/model/position/position.js +0 -2
  1015. package/lib/common/model/properties-merger/paragraph-properties-merger.js +1 -1
  1016. package/lib/common/model/properties-merger/properties-merger-base.js +0 -2
  1017. package/lib/common/model/protection/md5.js +8 -7
  1018. package/lib/common/model/protection/password-hash-code-calculator.js +4 -4
  1019. package/lib/common/model/protection/ripemd160.js +32 -31
  1020. package/lib/common/model/protection/sha1.js +0 -1
  1021. package/lib/common/model/protection/sha256.js +9 -8
  1022. package/lib/common/model/protection/sha512.js +0 -3
  1023. package/lib/common/model/range-permissions.js +6 -11
  1024. package/lib/common/model/rich-utils.js +9 -9
  1025. package/lib/common/model/runs/anchored-picture-run.js +0 -1
  1026. package/lib/common/model/runs/anchored-text-box-run.js +0 -3
  1027. package/lib/common/model/runs/inline-picture-run.js +1 -1
  1028. package/lib/common/model/runs/inline-text-box-run.js +0 -1
  1029. package/lib/common/model/runs/run-base.js +1 -12
  1030. package/lib/common/model/runs/text-run.js +0 -1
  1031. package/lib/common/model/section/header-footer.js +2 -3
  1032. package/lib/common/model/section/line-numbering-properties.js +4 -8
  1033. package/lib/common/model/section/paper-kind.js +2 -2
  1034. package/lib/common/model/section/section-column-properties.js +2 -2
  1035. package/lib/common/model/section/section-properties.js +19 -17
  1036. package/lib/common/model/section/section-property-descriptor.js +82 -50
  1037. package/lib/common/model/section/section.js +0 -6
  1038. package/lib/common/model/sentence-model-builder.js +12 -19
  1039. package/lib/common/model/shadings/shading-info.js +0 -4
  1040. package/lib/common/model/shadings/shading-pattern-helper.js +1 -5
  1041. package/lib/common/model/shapes/shape.js +3 -3
  1042. package/lib/common/model/simple-sentence-model-builder.js +7 -10
  1043. package/lib/common/model/special-characters.js +53 -51
  1044. package/lib/common/model/style-base.js +0 -10
  1045. package/lib/common/model/styles-manager.js +20 -21
  1046. package/lib/common/model/sub-document-collection.js +4 -2
  1047. package/lib/common/model/sub-document-infos.js +42 -26
  1048. package/lib/common/model/sub-document.js +12 -24
  1049. package/lib/common/model/tables/grid/table-cell-grid-info.js +0 -3
  1050. package/lib/common/model/tables/main-structures/table-cell.js +7 -10
  1051. package/lib/common/model/tables/main-structures/table-row.js +8 -10
  1052. package/lib/common/model/tables/main-structures/table.js +4 -14
  1053. package/lib/common/model/tables/properties/table-cell-descriptors.d.ts +10 -0
  1054. package/lib/common/model/tables/properties/table-cell-descriptors.js +22 -0
  1055. package/lib/common/model/tables/properties/table-cell-properties.d.ts +5 -1
  1056. package/lib/common/model/tables/properties/table-cell-properties.js +34 -29
  1057. package/lib/common/model/tables/properties/table-properties.js +45 -44
  1058. package/lib/common/model/tables/properties/table-row-properties.js +9 -8
  1059. package/lib/common/model/tables/properties/table-row-property-descriptor.js +8 -8
  1060. package/lib/common/model/tables/properties-mergers/table-cell-properties-merger.js +2 -8
  1061. package/lib/common/model/tables/properties-mergers/table-properties-merger-base.js +0 -4
  1062. package/lib/common/model/tables/properties-mergers/table-properties-merger.js +2 -3
  1063. package/lib/common/model/tables/properties-mergers/table-row-properties-merger.js +2 -4
  1064. package/lib/common/model/tables/secondary-structures/table-base-structures.js +0 -4
  1065. package/lib/common/model/tables/secondary-structures/table-border-calculator.js +3 -7
  1066. package/lib/common/model/tables/secondary-structures/table-units.js +2 -4
  1067. package/lib/common/model/tables/styles/table-cell-style.js +1 -3
  1068. package/lib/common/model/tables/styles/table-conditional-style.js +0 -6
  1069. package/lib/common/model/tables/styles/table-style.d.ts +1 -0
  1070. package/lib/common/model/tables/styles/table-style.js +5 -5
  1071. package/lib/common/model/themes/culture-info.js +0 -1
  1072. package/lib/common/model/themes/office-theme-base.js +1 -4
  1073. package/lib/common/model/themes/theme-drawing-color-collection.js +2 -4
  1074. package/lib/common/model/themes/theme-font-scheme-part.js +4 -7
  1075. package/lib/common/model/themes/theme-font-scheme.js +1 -3
  1076. package/lib/common/model/themes/theme-format-scheme.js +7 -5
  1077. package/lib/common/model/web-settings.js +7 -5
  1078. package/lib/common/model-manager.js +0 -4
  1079. package/lib/common/mouse-handler/base/manipulator-handler-base.js +1 -5
  1080. package/lib/common/mouse-handler/base/manipulator-handler-state-base.js +0 -1
  1081. package/lib/common/mouse-handler/drag-floating-objects-helper.js +0 -9
  1082. package/lib/common/mouse-handler/mouse-handler/mouse-handler-auto-scroll-state.js +2 -5
  1083. package/lib/common/mouse-handler/mouse-handler/mouse-handler-begin-drag-helper-state.js +0 -2
  1084. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-column-or-row-state.js +0 -1
  1085. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-content-states.js +2 -2
  1086. package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-floating-object-state.js +0 -1
  1087. package/lib/common/mouse-handler/mouse-handler/mouse-handler-paragraph-select-state.js +1 -4
  1088. package/lib/common/mouse-handler/mouse-handler/mouse-handler-resize-box-state.js +0 -1
  1089. package/lib/common/mouse-handler/mouse-handler/mouse-handler-rotate-box-state.js +0 -1
  1090. package/lib/common/mouse-handler/mouse-handler/mouse-handler-text-selection-states.js +4 -13
  1091. package/lib/common/mouse-handler/mouse-handler/mouse-handler.js +2 -2
  1092. package/lib/common/mouse-handler/resize-box-helper.js +0 -15
  1093. package/lib/common/mouse-handler/resize-table-helper.js +3 -19
  1094. package/lib/common/mouse-handler/rotate-box-helper.js +0 -3
  1095. package/lib/common/mouse-handler/touch-handler/touch-handler-default-state.js +1 -1
  1096. package/lib/common/mouse-handler/touch-handler/touch-handler-drag-floating-object-state.js +0 -1
  1097. package/lib/common/mouse-handler/touch-handler/touch-handler-resize-box-state.js +0 -1
  1098. package/lib/common/mouse-handler/touch-handler/touch-handler-rotate-box-state.js +0 -1
  1099. package/lib/common/mouse-handler/touch-handler/touch-handler-selection-states.js +1 -2
  1100. package/lib/common/mouse-handler/touch-handler/touch-handler-state-base.js +4 -4
  1101. package/lib/common/mouse-handler/touch-handler/touch-handler-waiting-states.js +0 -2
  1102. package/lib/common/popup-menu-manager.js +1 -5
  1103. package/lib/common/rich-edit-core.js +6 -47
  1104. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/array.js +1 -1
  1105. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/base-formatter.js +7 -14
  1106. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/element-formatter.js +1 -1
  1107. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/elements.js +13 -9
  1108. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/json.js +1 -1
  1109. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/anchor-objects-position-info.js +1 -1
  1110. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/document-layout.js +1 -1
  1111. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-box.js +1 -1
  1112. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-column.js +1 -1
  1113. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page-area.js +1 -1
  1114. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page.js +1 -1
  1115. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-position.js +1 -1
  1116. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-row.js +1 -1
  1117. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/page-anchored-object-holder.js +1 -1
  1118. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/paragraph-frame.js +1 -1
  1119. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/border-info.js +1 -1
  1120. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/character-properties.js +1 -1
  1121. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/chunk.js +1 -1
  1122. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/field.js +1 -1
  1123. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/fixed-interval.js +1 -1
  1124. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/point.js +1 -1
  1125. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/rectangle.js +1 -1
  1126. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/paragraph.js +1 -1
  1127. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/runs.js +1 -1
  1128. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/sub-document.js +1 -1
  1129. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell-properties.js +1 -1
  1130. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell.js +1 -1
  1131. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-height-unit.js +1 -1
  1132. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-position.js +1 -1
  1133. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-properties.js +1 -1
  1134. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row-properties.js +1 -1
  1135. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row.js +1 -1
  1136. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-width-unit.js +1 -1
  1137. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table.js +1 -1
  1138. package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/short-string.js +2 -4
  1139. package/lib/common/rich-utils/debug/debug-table.js +2 -11
  1140. package/lib/common/rich-utils/debug/logger/base-logger/log-source-params.js +0 -3
  1141. package/lib/common/rich-utils/debug/logger/base-logger/logger.js +9 -9
  1142. package/lib/common/rich-utils/debug/logger/base-logger/model-params-holder.js +0 -1
  1143. package/lib/common/rich-utils/debug/logger/layout-logger/layout-params-holder.js +1 -2
  1144. package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/debug-visualizer-manager.js +2 -3
  1145. package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/page-visible-info-helper.js +1 -1
  1146. package/lib/common/rich-utils/debug/runtime-template-model-creator.js +6 -20
  1147. package/lib/common/rich-utils/debug/runtime-test-helper.js +2 -8
  1148. package/lib/common/rich-utils/html-converter.d.ts +9 -2
  1149. package/lib/common/rich-utils/html-converter.js +9 -7
  1150. package/lib/common/rich-utils/html-utils.js +2 -3
  1151. package/lib/common/rich-utils/inner-client-properties.js +0 -3
  1152. package/lib/common/rich-utils/properties-bundle.js +0 -6
  1153. package/lib/common/scroll/canvas-states.js +0 -3
  1154. package/lib/common/scroll/model-scroll-manager.js +3 -4
  1155. package/lib/common/scroll/model-states.js +0 -9
  1156. package/lib/common/scroll/scroll-formatter.js +1 -4
  1157. package/lib/common/selection/input-position-base.js +0 -16
  1158. package/lib/common/selection/input-position-model-changes-listener.js +1 -3
  1159. package/lib/common/selection/input-position.js +0 -4
  1160. package/lib/common/selection/selected-cells-engine.js +3 -15
  1161. package/lib/common/selection/selected-special-run-info.js +0 -5
  1162. package/lib/common/selection/selection-base.js +6 -2
  1163. package/lib/common/selection/selection-intervals-info.js +1 -5
  1164. package/lib/common/selection/selection-model-changes-listener.js +0 -1
  1165. package/lib/common/selection/selection-state.js +4 -7
  1166. package/lib/common/selection/selection.js +11 -15
  1167. package/lib/common/selection/set-selection-params.js +7 -6
  1168. package/lib/common/spelling/intervals-collections.js +3 -2
  1169. package/lib/common/spelling/intervals-manager.js +0 -6
  1170. package/lib/common/spelling/intervals.js +0 -7
  1171. package/lib/common/spelling/listeners.js +0 -2
  1172. package/lib/common/spelling/spell-checker-selection-changes-listener.js +0 -4
  1173. package/lib/common/spelling/spell-checker.js +0 -8
  1174. package/lib/common/string-resources.js +0 -22
  1175. package/lib/common/ui/quick-search-panel.js +8 -14
  1176. package/lib/common/ui/ruler/controls/base.js +1 -7
  1177. package/lib/common/ui/ruler/controls/column.js +0 -16
  1178. package/lib/common/ui/ruler/controls/divisions.js +3 -12
  1179. package/lib/common/ui/ruler/controls/indent/base.js +4 -4
  1180. package/lib/common/ui/ruler/controls/indent/first-line.js +0 -2
  1181. package/lib/common/ui/ruler/controls/indent/left.js +1 -5
  1182. package/lib/common/ui/ruler/controls/indent/right.js +0 -1
  1183. package/lib/common/ui/ruler/controls/margin/base.js +4 -5
  1184. package/lib/common/ui/ruler/controls/margin/left.js +0 -1
  1185. package/lib/common/ui/ruler/controls/owner.js +5 -9
  1186. package/lib/common/ui/ruler/controls/ruler.js +4 -4
  1187. package/lib/common/ui/ruler/controls/shadow.js +0 -1
  1188. package/lib/common/ui/ruler/controls/tab/tab-info.js +0 -2
  1189. package/lib/common/ui/ruler/controls/tab/tab-type.js +2 -4
  1190. package/lib/common/ui/ruler/controls/tab/tab.js +8 -13
  1191. package/lib/common/ui/ruler/controls/table.js +0 -11
  1192. package/lib/common/ui/ruler/controls/vertical-line.js +4 -7
  1193. package/lib/common/ui/ruler/controls/zoomable-value.js +0 -2
  1194. package/lib/common/ui/ruler/events/mouse.js +6 -6
  1195. package/lib/common/ui/ruler/events/scroll.js +5 -4
  1196. package/lib/common/ui/ruler/manager.js +2 -20
  1197. package/lib/common/ui/ruler/model-data.js +0 -4
  1198. package/lib/common/ui/ruler/mouse-handler.js +3 -6
  1199. package/lib/common/ui/ruler/ruler.js +6 -8
  1200. package/lib/common/ui/ruler/settings.js +0 -36
  1201. package/lib/common/ui/search-manager.js +1 -4
  1202. package/lib/common/utils/direction-adaptor/x-direction-adaptor.js +0 -2
  1203. package/lib/common/utils/direction-adaptor/y-direction-adaptor.js +0 -2
  1204. package/lib/common/utils/event-dispatcher.js +3 -1
  1205. package/lib/common/utils/information-creator.js +2 -2
  1206. package/lib/common/utils/map-creator.js +0 -1
  1207. package/lib/common/utils/mixed-size.js +6 -6
  1208. package/lib/common/utils/size-utils.js +0 -4
  1209. package/lib/common/utils/sub-document-changes-storer.js +4 -2
  1210. package/lib/common/utils/unicode-string.js +0 -2
  1211. package/lib/common/utils/utils.js +1 -4
  1212. package/lib/common/view-settings/views-settings.js +6 -12
  1213. package/lib/common/word-bounds-engine/layout-word-bounds-group-separator.js +3 -5
  1214. package/lib/common/word-bounds-engine/layout-word-bounds.js +1 -3
  1215. package/lib/common/word-bounds-engine/word-bounds-iterators/layout/layout-word-bounds-iterator.js +2 -6
  1216. package/package.json +3 -3
@@ -36,11 +36,10 @@ export class DrawingDestination extends ElementDestination {
36
36
  get imageId() {
37
37
  return this.floatingObjectImportInfo.imageId;
38
38
  }
39
- static handlerTable = new MapCreator()
39
+ static { this.handlerTable = new MapCreator()
40
40
  .add('inline', DrawingDestination.onInline)
41
41
  .add('anchor', DrawingDestination.onAnchor)
42
- .get();
43
- floatingObjectImportInfo;
42
+ .get(); }
44
43
  constructor(data) {
45
44
  super(data);
46
45
  this.floatingObjectImportInfo = new FloatingObjectImportInfo(data);
@@ -92,13 +91,12 @@ export class DrawingInlineDestination extends ElementDestination {
92
91
  get elementHandlerTable() {
93
92
  return DrawingInlineDestination.handlerTable;
94
93
  }
95
- static handlerTable = new MapCreator()
94
+ static { this.handlerTable = new MapCreator()
96
95
  .add('extent', DrawingInlineDestination.onExtent)
97
96
  .add('graphic', DrawingInlineDestination.onGraphic)
98
97
  .add('docPr', DrawingInlineDestination.onDocumentProperties)
99
98
  .add('cNvGraphicFramePr', DrawingInlineDestination.onCNvGraphicFramePr)
100
- .get();
101
- floatingObjectImportInfo;
99
+ .get(); }
102
100
  constructor(data, floatingObjectImportInfo) {
103
101
  super(data);
104
102
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -127,7 +125,7 @@ export class DrawingAnchorDestination extends ElementDestination {
127
125
  get floatingObject() {
128
126
  return this.floatingObjectImportInfo.anchorInfo;
129
127
  }
130
- static handlerTable = new MapCreator()
128
+ static { this.handlerTable = new MapCreator()
131
129
  .add('extent', DrawingAnchorDestination.onExtent)
132
130
  .add('graphic', DrawingAnchorDestination.onGraphic)
133
131
  .add('simplePos', DrawingAnchorDestination.onSimplePosition)
@@ -142,9 +140,7 @@ export class DrawingAnchorDestination extends ElementDestination {
142
140
  .add('docPr', DrawingAnchorDestination.onAnchorDocumentProperties)
143
141
  .add('sizeRelH', DrawingAnchorDestination.onAnchorHorizontalRelativeSize)
144
142
  .add('sizeRelV', DrawingAnchorDestination.onAnchorVerticalRelativeSize)
145
- .get();
146
- floatingObjectImportInfo;
147
- useSimplePosition;
143
+ .get(); }
148
144
  constructor(data, floatingObjectImportInfo) {
149
145
  super(data);
150
146
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -237,10 +233,9 @@ export class DrawingGraphicFramePropertyDestination extends ElementDestination {
237
233
  get elementHandlerTable() {
238
234
  return DrawingGraphicFramePropertyDestination.handlerTable;
239
235
  }
240
- static handlerTable = new MapCreator()
236
+ static { this.handlerTable = new MapCreator()
241
237
  .add('graphicFrameLocks', DrawingGraphicFramePropertyDestination.onGraphicFrameLocks)
242
- .get();
243
- size;
238
+ .get(); }
244
239
  constructor(data, destination) {
245
240
  super(data);
246
241
  this.size = destination.floatingObjectImportInfo.size;
@@ -253,7 +248,6 @@ export class DrawingGraphicFramePropertyDestination extends ElementDestination {
253
248
  }
254
249
  }
255
250
  export class DrawingGraphicFrameLocksDestination extends LeafElementDestination {
256
- size;
257
251
  constructor(data, anchorDestination) {
258
252
  super(data);
259
253
  this.size = anchorDestination.size;
@@ -266,7 +260,6 @@ export class DrawingGraphicFrameLocksDestination extends LeafElementDestination
266
260
  }
267
261
  }
268
262
  export class DrawingInlineExtentDestination extends LeafElementDestination {
269
- floatingObjectImportInfo;
270
263
  constructor(data, floatingObjectImportInfo) {
271
264
  super(data);
272
265
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -286,11 +279,9 @@ export class DrawingAnchorDocumentPropertiesDestination extends ElementDestinati
286
279
  get elementHandlerTable() {
287
280
  return DrawingAnchorDocumentPropertiesDestination.handlerTable;
288
281
  }
289
- static handlerTable = new MapCreator()
282
+ static { this.handlerTable = new MapCreator()
290
283
  .add('hlinkClick', DrawingAnchorDocumentPropertiesDestination.onHyperlinkClick)
291
- .get();
292
- floatingObjectImportInfo;
293
- nonVisualProperties;
284
+ .get(); }
294
285
  constructor(data, floatingObjectImportInfo, nonVisualProperties) {
295
286
  super(data);
296
287
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -320,7 +311,6 @@ export class DrawingAnchorDocumentPropertiesDestination extends ElementDestinati
320
311
  }
321
312
  }
322
313
  export class HyperlinkClickDestination extends LeafElementDestination {
323
- hyperlinkInfo;
324
314
  constructor(data, hyperlinkInfo) {
325
315
  super(data);
326
316
  this.hyperlinkInfo = hyperlinkInfo;
@@ -348,10 +338,9 @@ export class DrawingInlineGraphicDestination extends ElementDestination {
348
338
  get elementHandlerTable() {
349
339
  return DrawingInlineGraphicDestination.handlerTable;
350
340
  }
351
- static handlerTable = new MapCreator()
341
+ static { this.handlerTable = new MapCreator()
352
342
  .add('graphicData', DrawingInlineGraphicDestination.onGraphicData)
353
- .get();
354
- floatingObjectImportInfo;
343
+ .get(); }
355
344
  constructor(data, floatingObjectImportInfo) {
356
345
  super(data);
357
346
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -367,12 +356,11 @@ export class DrawingInlineGraphicDataDestination extends ElementDestination {
367
356
  get elementHandlerTable() {
368
357
  return DrawingInlineGraphicDataDestination.handlerTable;
369
358
  }
370
- static handlerTable = new MapCreator()
359
+ static { this.handlerTable = new MapCreator()
371
360
  .add('pic', DrawingInlineGraphicDataDestination.onPicture)
372
361
  .add('wsp', DrawingInlineGraphicDataDestination.onWordProcessingShape)
373
362
  .add('wgp', DrawingInlineGraphicDataDestination.onDrawingGroupShape)
374
- .get();
375
- floatingObjectImportInfo;
363
+ .get(); }
376
364
  constructor(data, floatingObjectImportInfo) {
377
365
  super(data);
378
366
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -396,15 +384,14 @@ export class DrawingInlineGraphicDataPictureDestination extends ElementDestinati
396
384
  get elementHandlerTable() {
397
385
  return DrawingInlineGraphicDataPictureDestination.handlerTable;
398
386
  }
399
- static handlerTable = new MapCreator()
387
+ static { this.handlerTable = new MapCreator()
400
388
  .add('nvPicPr', DrawingInlineGraphicDataPictureDestination.onPictureNonVisualProperties)
401
389
  .add('blipFill', DrawingInlineGraphicDataPictureDestination.onBlipFill)
402
390
  .add('AlternateContent', DrawingInlineGraphicDataPictureDestination.onAlternateContent)
403
391
  .add('Choice', DrawingInlineGraphicDataPictureDestination.onChoice)
404
392
  .add('Fallback', DrawingInlineGraphicDataPictureDestination.onFallback)
405
393
  .add('spPr', DrawingInlineGraphicDataPictureDestination.onShapeProperties)
406
- .get();
407
- floatingObjectImportInfo;
394
+ .get(); }
408
395
  constructor(data, floatingObjectImportInfo) {
409
396
  super(data);
410
397
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -436,11 +423,10 @@ export class PictureBlipFillDestination extends ElementDestination {
436
423
  get elementHandlerTable() {
437
424
  return PictureBlipFillDestination.handlerTable;
438
425
  }
439
- static handlerTable = new MapCreator()
426
+ static { this.handlerTable = new MapCreator()
440
427
  .add('blip', PictureBlipFillDestination.onBlip)
441
428
  .add('srcRect', PictureBlipFillDestination.onSourceRect)
442
- .get();
443
- floatingObjectImportInfo;
429
+ .get(); }
444
430
  constructor(data, floatingObjectImportInfo) {
445
431
  super(data);
446
432
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -456,7 +442,6 @@ export class PictureBlipFillDestination extends ElementDestination {
456
442
  }
457
443
  }
458
444
  export class PictureBlipDestination extends LeafElementDestination {
459
- floatingObjectImportInfo;
460
445
  constructor(data, floatingObjectImportInfo) {
461
446
  super(data);
462
447
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -480,7 +465,6 @@ export class PictureBlipDestination extends LeafElementDestination {
480
465
  }
481
466
  }
482
467
  export class SourceRectDestination extends LeafElementDestination {
483
- floatingObjectImportInfo;
484
468
  constructor(data, floatingObjectImportInfo) {
485
469
  super(data);
486
470
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -512,7 +496,6 @@ export class SourceRectDestination extends LeafElementDestination {
512
496
  }
513
497
  }
514
498
  export class DrawingAnchorSimplePositionDestination extends LeafElementDestination {
515
- anchorDestination;
516
499
  constructor(data, anchorDestination) {
517
500
  super(data);
518
501
  this.anchorDestination = anchorDestination;
@@ -537,13 +520,12 @@ export class WordProcessingShapeDestination extends ElementDestination {
537
520
  get elementHandlerTable() {
538
521
  return WordProcessingShapeDestination.handlerTable;
539
522
  }
540
- static handlerTable = new MapCreator()
523
+ static { this.handlerTable = new MapCreator()
541
524
  .add('txbx', WordProcessingShapeDestination.onTextBox)
542
525
  .add("cNvPr", WordProcessingShapeDestination.onNonVisualDrawingProperties)
543
526
  .add('bodyPr', WordProcessingShapeDestination.onTextBoxProperties)
544
527
  .add('spPr', WordProcessingShapeDestination.onShapeProperties)
545
- .get();
546
- floatingObjectImportInfo;
528
+ .get(); }
547
529
  constructor(data, floatingObjectImportInfo) {
548
530
  super(data);
549
531
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -570,10 +552,9 @@ export class TextBoxDestination extends ElementDestination {
570
552
  get elementHandlerTable() {
571
553
  return TextBoxDestination.handlerTable;
572
554
  }
573
- static handlerTable = new MapCreator()
555
+ static { this.handlerTable = new MapCreator()
574
556
  .add('txbxContent', TextBoxDestination.onTextBoxContent)
575
- .get();
576
- floatingObjectImportInfo;
557
+ .get(); }
577
558
  constructor(data, floatingObjectImportInfo) {
578
559
  super(data);
579
560
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -628,7 +609,7 @@ export class TextBoxDestination extends ElementDestination {
628
609
  }
629
610
  }
630
611
  export class TextBoxContentDestination extends BodyDestinationBase {
631
- static handlerTable = new MapCreator()
612
+ static { this.handlerTable = new MapCreator()
632
613
  .add('p', (data) => new ParagraphDestination(data))
633
614
  .add('tbl', (data) => new TableDestination(data))
634
615
  .add('bookmarkStart', BodyDestinationBase.onBookmarkStart)
@@ -640,7 +621,7 @@ export class TextBoxContentDestination extends BodyDestinationBase {
640
621
  .add('customXml', BodyDestinationBase.onCustomXml)
641
622
  .add('del', BodyDestinationBase.onDeleted)
642
623
  .add('ins', BodyDestinationBase.onInserted)
643
- .get();
624
+ .get(); }
644
625
  get elementHandlerTable() {
645
626
  return TextBoxContentDestination.handlerTable;
646
627
  }
@@ -649,11 +630,10 @@ export class TextBoxPropertiesDestination extends ElementDestination {
649
630
  get elementHandlerTable() {
650
631
  return TextBoxPropertiesDestination.handlerTable;
651
632
  }
652
- static handlerTable = new MapCreator()
633
+ static { this.handlerTable = new MapCreator()
653
634
  .add('noAutofit', TextBoxPropertiesDestination.onDisableAutoFit)
654
635
  .add('spAutoFit', TextBoxPropertiesDestination.onEnableAutoFit)
655
- .get();
656
- textBoxProperties;
636
+ .get(); }
657
637
  constructor(data, textBoxProperties) {
658
638
  super(data);
659
639
  this.textBoxProperties = textBoxProperties;
@@ -698,7 +678,6 @@ export class TextBoxPropertiesDestination extends ElementDestination {
698
678
  }
699
679
  }
700
680
  export class GraphicFrameDestination extends LeafElementDestination {
701
- size;
702
681
  constructor(data, size) {
703
682
  super(data);
704
683
  this.size = size;
@@ -5,10 +5,9 @@ export class NonVisualPicturePropertiesDestination extends ElementDestination {
5
5
  get elementHandlerTable() {
6
6
  return NonVisualPicturePropertiesDestination.handlerTable;
7
7
  }
8
- static handlerTable = new MapCreator()
8
+ static { this.handlerTable = new MapCreator()
9
9
  .add('cNvPr', NonVisualPicturePropertiesDestination.OnNonVisualDrawingProperties)
10
- .get();
11
- floatingObjectImportInfo;
10
+ .get(); }
12
11
  constructor(data, floatingObjectImportInfo) {
13
12
  super(data);
14
13
  this.floatingObjectImportInfo = floatingObjectImportInfo;
@@ -15,15 +15,12 @@ export class WordProcessingShapePropertiesDestination extends ElementDestination
15
15
  get elementHandlerTable() {
16
16
  return WordProcessingShapePropertiesDestination.handlerTable;
17
17
  }
18
- static handlerTable = new MapCreator()
18
+ static { this.handlerTable = new MapCreator()
19
19
  .add('solidFill', WordProcessingShapePropertiesDestination.onSolidFill)
20
20
  .add('noFill', WordProcessingShapePropertiesDestination.onNoFill)
21
21
  .add('ln', WordProcessingShapePropertiesDestination.onOutline)
22
22
  .add('xfrm', WordProcessingShapePropertiesDestination.onGraphicFrame)
23
- .get();
24
- shape;
25
- size;
26
- fillColor;
23
+ .get(); }
27
24
  constructor(data, shape, size) {
28
25
  super(data);
29
26
  this.shape = shape;
@@ -63,12 +60,11 @@ export class SolidFillDestination extends ElementDestination {
63
60
  get elementHandlerTable() {
64
61
  return SolidFillDestination.handlerTable;
65
62
  }
66
- static handlerTable = new MapCreator()
63
+ static { this.handlerTable = new MapCreator()
67
64
  .add('srgbClr', SolidFillDestination.onSRgbColor)
68
65
  .add('schemeClr', SolidFillDestination.onSchemeColor)
69
66
  .add('prstClr', SolidFillDestination.onPresetColor)
70
- .get();
71
- color;
67
+ .get(); }
72
68
  constructor(data, color) {
73
69
  super(data);
74
70
  this.color = color;
@@ -87,7 +83,6 @@ export class SolidFillDestination extends ElementDestination {
87
83
  }
88
84
  }
89
85
  export class NoFillDestination extends LeafElementDestination {
90
- color;
91
86
  constructor(data, color) {
92
87
  super(data);
93
88
  this.color = color;
@@ -100,12 +95,10 @@ export class OutlineDestination extends ElementDestination {
100
95
  get elementHandlerTable() {
101
96
  return OutlineDestination.handlerTable;
102
97
  }
103
- static handlerTable = new MapCreator()
98
+ static { this.handlerTable = new MapCreator()
104
99
  .add('solidFill', OutlineDestination.onSolidFill)
105
100
  .add('noFill', OutlineDestination.onNoFill)
106
- .get();
107
- shape;
108
- color;
101
+ .get(); }
109
102
  constructor(data, shape) {
110
103
  super(data);
111
104
  this.shape = shape;
@@ -2,14 +2,14 @@ import { MapCreator } from '../../../../../../common/utils/map-creator';
2
2
  import { StringUtils } from '@devexpress/utils/lib/utils/string';
3
3
  import { FieldDestinationBase } from './field-destination-base';
4
4
  export class FieldCharDestination extends FieldDestinationBase {
5
- static handlerTable = new MapCreator()
5
+ static { this.handlerTable = new MapCreator()
6
6
  .add('ffData', (_data) => {
7
7
  return null;
8
8
  })
9
9
  .add('fldData', (_data) => {
10
10
  return null;
11
11
  })
12
- .get();
12
+ .get(); }
13
13
  get elementHandlerTable() {
14
14
  return FieldCharDestination.handlerTable;
15
15
  }
@@ -8,7 +8,7 @@ import { StructuredDocumentDestination } from '../structured-document-destinatio
8
8
  import { FieldDestinationBase } from './field-destination-base';
9
9
  import { HyperlinkDestination } from './hyperlink-destination';
10
10
  export class FieldSimpleDestination extends FieldDestinationBase {
11
- static handlerTable = new MapCreator()
11
+ static { this.handlerTable = new MapCreator()
12
12
  .add('r', (data) => new RunDestination(data))
13
13
  .add('del', (data) => data.options.ignoreDeletedText ? new EmptyDestination(data) : new DeletedRunContentDestination(data))
14
14
  .add('ins', (data) => data.options.ignoreInsertedText ? new EmptyDestination(data) : new InsertedRunContentDestination(data))
@@ -19,8 +19,7 @@ export class FieldSimpleDestination extends FieldDestinationBase {
19
19
  .add('ffData', (_data) => {
20
20
  return null;
21
21
  })
22
- .get();
23
- fieldCode;
22
+ .get(); }
24
23
  get elementHandlerTable() {
25
24
  return FieldSimpleDestination.handlerTable;
26
25
  }
@@ -16,7 +16,7 @@ export class HyperlinkDestination extends FieldDestinationBase {
16
16
  get elementHandlerTable() {
17
17
  return HyperlinkDestination.handlerTable;
18
18
  }
19
- static handlerTable = new MapCreator()
19
+ static { this.handlerTable = new MapCreator()
20
20
  .add('r', (data) => new RunDestination(data))
21
21
  .add('fldSimple', (data) => new FieldSimpleDestination(data))
22
22
  .add('hyperlink', (data) => new HyperlinkDestination(data))
@@ -28,8 +28,8 @@ export class HyperlinkDestination extends FieldDestinationBase {
28
28
  .add('customXml', (data) => new CustomXmlDestination(data))
29
29
  .add('del', (data) => data.options.ignoreDeletedText ? new EmptyDestination(data) : new DeletedRunContentDestination(data))
30
30
  .add('ins', (data) => data.options.ignoreInsertedText ? new EmptyDestination(data) : new InsertedRunContentDestination(data))
31
- .get();
32
- static attributeHandlerTable = new MapCreator()
31
+ .get(); }
32
+ static { this.attributeHandlerTable = new MapCreator()
33
33
  .add('id', (data, info, value) => {
34
34
  const relation = data.relationsStack.last.lookupRelationById(value);
35
35
  if (relation != null) {
@@ -47,7 +47,7 @@ export class HyperlinkDestination extends FieldDestinationBase {
47
47
  .add('tooltip', (_data, info, value) => info.tip = value)
48
48
  .add('history', (data, info, value) => info.visited = !data.readerHelper.isBoolStrict(value))
49
49
  .add('docLocation', (_data, _info, _value) => { })
50
- .get();
50
+ .get(); }
51
51
  async processElementOpen(reader) {
52
52
  const attr = reader.getAttributeNS('fldLock', this.data.constants.wordProcessingNamespaceConst);
53
53
  const locked = !StringUtils.isNullOrEmpty(attr) ? this.data.readerHelper.isBoolStrict(attr) : false;
@@ -13,10 +13,10 @@ export class SectionLevelEndNotePropertiesDestination extends NotePropertiesDest
13
13
  }
14
14
  }
15
15
  export class DocumentLevelEndNotePropertiesDestination extends NotePropertiesDestination {
16
- static handlerTable = new MapCreator()
16
+ static { this.handlerTable = new MapCreator()
17
17
  .append(NotePropertiesDestination.handlerTable)
18
18
  .add('endnote', (data) => new EndNoteSeparatorDestination(data))
19
- .get();
19
+ .get(); }
20
20
  constructor(data) {
21
21
  super(data, NotePosition.BottomOfPage, NumberingFormat.Decimal);
22
22
  }
@@ -5,9 +5,9 @@ import { NoteType } from "../../../../../../../common/model/footnotes/footnote";
5
5
  import { StringUtils } from "@devexpress/utils/lib/utils/string";
6
6
  import { NoteDestination } from "../note-destination";
7
7
  export class EndNotesDestination extends ElementDestination {
8
- static handlerTable = new MapCreator()
8
+ static { this.handlerTable = new MapCreator()
9
9
  .add('endnote', (data) => new EndNoteDestination(data))
10
- .get();
10
+ .get(); }
11
11
  get elementHandlerTable() {
12
12
  return EndNotesDestination.handlerTable;
13
13
  }
@@ -13,10 +13,10 @@ export class SectionLevelFootNotePropertiesDestination extends NotePropertiesDes
13
13
  }
14
14
  }
15
15
  export class DocumentLevelFootNotePropertiesDestination extends NotePropertiesDestination {
16
- static handlerTable = new MapCreator()
16
+ static { this.handlerTable = new MapCreator()
17
17
  .append(NotePropertiesDestination.handlerTable)
18
18
  .add('footnote', (data) => new FootNoteSeparatorDestination(data))
19
- .get();
19
+ .get(); }
20
20
  constructor(data) {
21
21
  super(data, NotePosition.BottomOfPage, NumberingFormat.Decimal);
22
22
  }
@@ -5,9 +5,9 @@ import { NoteType } from "../../../../../../../common/model/footnotes/footnote";
5
5
  import { StringUtils } from "@devexpress/utils/lib/utils/string";
6
6
  import { NoteDestination } from "../note-destination";
7
7
  export class FootNotesDestination extends ElementDestination {
8
- static handlerTable = new MapCreator()
8
+ static { this.handlerTable = new MapCreator()
9
9
  .add('footnote', (data) => new FootNoteDestination(data))
10
- .get();
10
+ .get(); }
11
11
  get elementHandlerTable() {
12
12
  return FootNotesDestination.handlerTable;
13
13
  }
@@ -7,7 +7,7 @@ import { ParagraphDestination } from "../paragraph/paragraph-destination";
7
7
  import { HeaderFooterDestination } from "../section/header-footer/header-footer-destination";
8
8
  import { TableDestination } from "../table/table/table-destination";
9
9
  export class NoteDestination extends BodyDestinationBase {
10
- static handlerTable = new MapCreator()
10
+ static { this.handlerTable = new MapCreator()
11
11
  .add('p', (data) => new ParagraphDestination(data))
12
12
  .add('tbl', (data) => new TableDestination(data))
13
13
  .add('bookmarkStart', BodyDestinationBase.onBookmarkStart)
@@ -16,13 +16,10 @@ export class NoteDestination extends BodyDestinationBase {
16
16
  .add('permEnd', BodyDestinationBase.onRangePermissionEnd)
17
17
  .add('sdt', BodyDestinationBase.onStructuredDocument)
18
18
  .add('customXml', BodyDestinationBase.onCustomXml)
19
- .get();
19
+ .get(); }
20
20
  get elementHandlerTable() {
21
21
  return HeaderFooterDestination.handlerTable;
22
22
  }
23
- id;
24
- subDocId;
25
- type;
26
23
  async processElementOpen(reader) {
27
24
  this.type = this.data.readerHelper.getWpEnumValue(reader, "type", TranslationTables.noteTypeTable.importMap, NoteType.Normal);
28
25
  const note = this.createSubDocument(this.SubDocumentType);
@@ -3,7 +3,6 @@ import { MapCreator } from "../../../../../../common/utils/map-creator";
3
3
  import { TranslationTables } from "../../../translation-table/translation-tables";
4
4
  import { LeafElementDestination, ElementDestination } from "../destination";
5
5
  export class NotePropertiesLeafElementDestination extends LeafElementDestination {
6
- footNote;
7
6
  constructor(data, footNote) {
8
7
  super(data);
9
8
  this.footNote = footNote;
@@ -20,20 +19,18 @@ class NoteNumberingRestartTypeDestination extends NotePropertiesLeafElementDesti
20
19
  }
21
20
  }
22
21
  export class NotePropertiesDestination extends ElementDestination {
23
- static handlerTable = new MapCreator()
22
+ static { this.handlerTable = new MapCreator()
24
23
  .add('pos', (data) => this.getThis(data).createPlacementDestination(data))
25
24
  .add('numFmt', (data) => this.getThis(data).createNumberingFormatDestination(data))
26
25
  .add('numStart', (data) => new NoteNumberingStartDestination(data, this.getThis(data).notes))
27
26
  .add('numRestart', (data) => new NoteNumberingRestartTypeDestination(data, this.getThis(data).notes))
28
- .get();
27
+ .get(); }
29
28
  static getThis(data) {
30
29
  return data.destinationStack.getThis();
31
30
  }
32
- notes = NoteProperties.createDefault();
33
- defaultPosition;
34
- defaultFormat;
35
31
  constructor(data, defaultPosition, defaultFormat) {
36
32
  super(data);
33
+ this.notes = NoteProperties.createDefault();
37
34
  this.defaultPosition = defaultPosition;
38
35
  this.defaultFormat = defaultFormat;
39
36
  }
@@ -51,7 +48,6 @@ export class NotePropertiesDestination extends ElementDestination {
51
48
  }
52
49
  }
53
50
  export class NotePlacementDestination extends NotePropertiesLeafElementDestination {
54
- defaultPosition;
55
51
  constructor(data, footNote, defaultPosition) {
56
52
  super(data, footNote);
57
53
  this.defaultPosition = defaultPosition;
@@ -62,7 +58,6 @@ export class NotePlacementDestination extends NotePropertiesLeafElementDestinati
62
58
  }
63
59
  }
64
60
  export class NoteNumberingFormatDestination extends NotePropertiesLeafElementDestination {
65
- defaultNumberingFormat;
66
61
  constructor(data, footNote, defaultNumberingFormat) {
67
62
  super(data, footNote);
68
63
  this.defaultNumberingFormat = defaultNumberingFormat;
@@ -18,10 +18,10 @@ import { RunPropertiesBaseDestination } from '../character-properties/run-proper
18
18
  import { ElementDestination, LeafElementDestination } from '../destination';
19
19
  import { ParagraphPropertiesBaseDestination } from '../paragraph-properties/paragraph-properties-base-destination';
20
20
  export class NumberingsDestination extends ElementDestination {
21
- static handlerTable = new MapCreator()
21
+ static { this.handlerTable = new MapCreator()
22
22
  .add('abstractNum', NumberingsDestination.onAbstractNumbering)
23
23
  .add('num', NumberingsDestination.onNumbering)
24
- .get();
24
+ .get(); }
25
25
  constructor(data) {
26
26
  super(data);
27
27
  }
@@ -39,7 +39,7 @@ export class AbstractNumberingListDestination extends ElementDestination {
39
39
  get elementHandlerTable() {
40
40
  return AbstractNumberingListDestination.handlerTable;
41
41
  }
42
- static handlerTable = new MapCreator()
42
+ static { this.handlerTable = new MapCreator()
43
43
  .add('lvl', AbstractNumberingListDestination.onLevel)
44
44
  .add('multiLevelType', AbstractNumberingListDestination.onMultilevelType)
45
45
  .add('name', AbstractNumberingListDestination.onName)
@@ -47,10 +47,7 @@ export class AbstractNumberingListDestination extends ElementDestination {
47
47
  .add('numStyleLink', AbstractNumberingListDestination.onNumberingStyleLink)
48
48
  .add('styleLink', AbstractNumberingListDestination.onStyleLink)
49
49
  .add('tmpl', AbstractNumberingListDestination.onTemplate)
50
- .get();
51
- info;
52
- list;
53
- id;
50
+ .get(); }
54
51
  constructor(data) {
55
52
  super(data);
56
53
  this.list = new AbstractNumberingList(data.documentModel);
@@ -104,11 +101,10 @@ export class NumberingListDestination extends ElementDestination {
104
101
  get elementHandlerTable() {
105
102
  return NumberingListDestination.handlerTable;
106
103
  }
107
- static handlerTable = new MapCreator()
104
+ static { this.handlerTable = new MapCreator()
108
105
  .add('abstractNumId', NumberingListDestination.onAbstractNumberingId)
109
106
  .add('lvlOverride', NumberingListDestination.onLevelOverride)
110
- .get();
111
- listInfo;
107
+ .get(); }
112
108
  constructor(data) {
113
109
  super(data);
114
110
  this.listInfo = new OpenXmlNumberingListInfo();
@@ -132,7 +128,6 @@ export class NumberingListDestination extends ElementDestination {
132
128
  }
133
129
  }
134
130
  export class AbstractNumberingLeafElementDestination extends LeafElementDestination {
135
- list;
136
131
  constructor(data, list) {
137
132
  super(data);
138
133
  this.list = list;
@@ -177,7 +172,6 @@ export class NumberingListMultiLevelTypeDestination extends AbstractNumberingLea
177
172
  }
178
173
  }
179
174
  export class NumberingListNumStyleLinkDestination extends LeafElementDestination {
180
- info;
181
175
  constructor(data, info) {
182
176
  super(data);
183
177
  this.info = info;
@@ -189,7 +183,6 @@ export class NumberingListNumStyleLinkDestination extends LeafElementDestination
189
183
  }
190
184
  }
191
185
  export class AbstractNumberingListReferenceDestination extends LeafElementDestination {
192
- listInfo;
193
186
  constructor(data, listInfo) {
194
187
  super(data);
195
188
  this.listInfo = listInfo;
@@ -202,13 +195,10 @@ export class ListLevelOverrideDestination extends LeafElementDestination {
202
195
  get elementHandlerTable() {
203
196
  return ListLevelOverrideDestination.handlerTable;
204
197
  }
205
- static handlerTable = new MapCreator()
198
+ static { this.handlerTable = new MapCreator()
206
199
  .add('lvl', ListLevelOverrideDestination.onLevelOverride)
207
200
  .add('startOverride', ListLevelOverrideDestination.onLevelStartOverride)
208
- .get();
209
- listInfo;
210
- levelOverride;
211
- overrideRead;
201
+ .get(); }
212
202
  constructor(data, listInfo) {
213
203
  super(data);
214
204
  this.listInfo = listInfo;
@@ -240,11 +230,8 @@ export class NumberingLevelBaseDestination extends ElementDestination {
240
230
  get elementHandlerTable() {
241
231
  return NumberingLevelBaseDestination.handlerTable;
242
232
  }
243
- static handlerTable = NumberingLevelBaseDestination.createElementHandlerTable()
244
- .get();
245
- level;
246
- levelProperties;
247
- _levelIndex;
233
+ static { this.handlerTable = NumberingLevelBaseDestination.createElementHandlerTable()
234
+ .get(); }
248
235
  get levelIndex() { return this._levelIndex; }
249
236
  ;
250
237
  set levelIndex(val) { this._levelIndex = val; }
@@ -304,10 +291,9 @@ export class NumberingLevelDestination extends NumberingLevelBaseDestination {
304
291
  get elementHandlerTable() {
305
292
  return NumberingLevelDestination.handlerTable;
306
293
  }
307
- static handlerTable = NumberingLevelBaseDestination.createElementHandlerTable()
294
+ static { this.handlerTable = NumberingLevelBaseDestination.createElementHandlerTable()
308
295
  .add('pStyle', NumberingLevelDestination.onParagraphStyleReference)
309
- .get();
310
- list;
296
+ .get(); }
311
297
  constructor(data, list) {
312
298
  super(data);
313
299
  this.list = list;
@@ -329,7 +315,6 @@ export class NumberingLevelDestination extends NumberingLevelBaseDestination {
329
315
  }
330
316
  }
331
317
  export class ListLevelOverrideLevelDestination extends NumberingLevelBaseDestination {
332
- levelOverride;
333
318
  constructor(data, levelOverride) {
334
319
  super(data);
335
320
  this.levelOverride = levelOverride;
@@ -348,7 +333,6 @@ export class ListLevelOverrideLevelDestination extends NumberingLevelBaseDestina
348
333
  }
349
334
  }
350
335
  export class ListLevelOverrideStartDestination extends LeafElementDestination {
351
- levelOverride;
352
336
  constructor(data, levelOverride) {
353
337
  super(data);
354
338
  this.levelOverride = levelOverride;
@@ -358,7 +342,6 @@ export class ListLevelOverrideStartDestination extends LeafElementDestination {
358
342
  }
359
343
  }
360
344
  export class ListLevelElementDestination extends LeafElementDestination {
361
- levelDestination;
362
345
  constructor(data, levelDestination) {
363
346
  super(data);
364
347
  this.levelDestination = levelDestination;
@@ -483,7 +466,6 @@ export class ListLevelParagraphStyleReferenceDestination extends ListLevelElemen
483
466
  }
484
467
  }
485
468
  export class ListLevelRunPropertiesDestination extends RunPropertiesBaseDestination {
486
- level;
487
469
  constructor(data, level) {
488
470
  super(data, null);
489
471
  this.level = level;
@@ -494,7 +476,6 @@ export class ListLevelRunPropertiesDestination extends RunPropertiesBaseDestinat
494
476
  }
495
477
  }
496
478
  export class ListLevelParagraphPropertiesDestination extends ParagraphPropertiesBaseDestination {
497
- level;
498
479
  constructor(data, level) {
499
480
  super(data, null, new TabProperties());
500
481
  this.paragraphProperties = MaskedParagraphProperties.createDefault(this.data.documentModel);