devexpress-richedit 24.1.1-alpha-24085-0102 → 24.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) 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 +3 -1
  7. package/bin/webpack.config.js +1 -1
  8. package/dist/dx.richedit.css +1 -0
  9. package/dist/dx.richedit.d.ts +17 -10
  10. package/dist/dx.richedit.js +53229 -51846
  11. package/dist/dx.richedit.min.js +2 -2
  12. package/index.d.ts +1 -1
  13. package/index.js +1 -1
  14. package/lib/client/bars/ribbon.js +2 -1
  15. package/lib/client/bars/rich-edit-ribbon/ribbon-items-data.js +2 -1
  16. package/lib/client/client-rich-edit.js +4 -3
  17. package/lib/client/commands/client-command-manager.js +2 -1
  18. package/lib/client/commands/commands.js +3 -0
  19. package/lib/client/commands/download-document-command.d.ts +3 -0
  20. package/lib/client/commands/download-document-command.js +13 -2
  21. package/lib/client/commands/export-document-command.js +4 -4
  22. package/lib/client/commands/mail-merge-command.js +7 -4
  23. package/lib/client/commands/open-document-command.d.ts +2 -1
  24. package/lib/client/commands/open-document-command.js +17 -12
  25. package/lib/client/default-localization.js +2 -1
  26. package/lib/client/dialogs/finish-and-merge-dialog.js +1 -0
  27. package/lib/client/document-processor/processor.d.ts +9 -2
  28. package/lib/client/document-processor/processor.js +18 -6
  29. package/lib/client/formats/docx/export/data.d.ts +4 -0
  30. package/lib/client/formats/docx/export/data.js +12 -0
  31. package/lib/client/formats/docx/export/exporter.d.ts +2 -0
  32. package/lib/client/formats/docx/export/exporter.js +15 -0
  33. package/lib/client/formats/docx/export/exporters/base/sections.js +5 -0
  34. package/lib/client/formats/docx/export/exporters/note-properties.d.ts +18 -0
  35. package/lib/client/formats/docx/export/exporters/note-properties.js +83 -0
  36. package/lib/client/formats/docx/export/exporters/settings.d.ts +2 -0
  37. package/lib/client/formats/docx/export/exporters/settings.js +11 -0
  38. package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.d.ts +15 -1
  39. package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.js +85 -3
  40. package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.d.ts +2 -2
  41. package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.js +2 -2
  42. package/lib/client/formats/docx/export/exporters/sub-document/main-sub-document.d.ts +2 -2
  43. package/lib/client/formats/docx/export/exporters/sub-document/main-sub-document.js +2 -2
  44. package/lib/client/formats/docx/export/exporters/sub-document/note-sub-document-exporter.d.ts +37 -0
  45. package/lib/client/formats/docx/export/exporters/sub-document/note-sub-document-exporter.js +71 -0
  46. package/lib/client/formats/docx/export/exporters/sub-document/text-box-content-exporter.d.ts +2 -2
  47. package/lib/client/formats/docx/export/exporters/sub-document/text-box-content-exporter.js +2 -2
  48. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-properties-destination.d.ts +16 -0
  49. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-properties-destination.js +48 -0
  50. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-reference-destination.d.ts +5 -0
  51. package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-reference-destination.js +9 -0
  52. package/lib/client/formats/docx/import/destination/notes/endnotes/endnotes-destination.d.ts +5 -0
  53. package/lib/client/formats/docx/import/destination/notes/endnotes/endnotes-destination.js +39 -0
  54. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-properties-destination.d.ts +18 -0
  55. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-properties-destination.js +49 -0
  56. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-reference-destination.d.ts +5 -0
  57. package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-reference-destination.js +9 -0
  58. package/lib/client/formats/docx/import/destination/notes/footnotes/footnotes-destination.d.ts +5 -0
  59. package/lib/client/formats/docx/import/destination/notes/footnotes/footnotes-destination.js +39 -0
  60. package/lib/client/formats/docx/import/destination/notes/note-destination.d.ts +18 -0
  61. package/lib/client/formats/docx/import/destination/notes/note-destination.js +45 -0
  62. package/lib/client/formats/docx/import/destination/notes/note-properties-destination.d.ts +32 -0
  63. package/lib/client/formats/docx/import/destination/notes/note-properties-destination.js +81 -0
  64. package/lib/client/formats/docx/import/destination/notes/note-reference-destination.d.ts +8 -0
  65. package/lib/client/formats/docx/import/destination/notes/note-reference-destination.js +21 -0
  66. package/lib/client/formats/docx/import/destination/notes/note-self-reference-destination.d.ts +5 -0
  67. package/lib/client/formats/docx/import/destination/notes/note-self-reference-destination.js +12 -0
  68. package/lib/client/formats/docx/import/destination/notes/note-separator-destination.d.ts +8 -0
  69. package/lib/client/formats/docx/import/destination/notes/note-separator-destination.js +20 -0
  70. package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-destination.js +1 -1
  71. package/lib/client/formats/docx/import/destination/runs/run-destination.js +11 -5
  72. package/lib/client/formats/docx/import/destination/section/section-destination.js +5 -2
  73. package/lib/client/formats/docx/import/destination/settings/settings.js +4 -0
  74. package/lib/client/formats/docx/import/importer.d.ts +2 -0
  75. package/lib/client/formats/docx/import/importer.js +26 -0
  76. package/lib/client/formats/docx/import/importers/character-importer.d.ts +3 -0
  77. package/lib/client/formats/docx/import/importers/character-importer.js +12 -1
  78. package/lib/client/formats/docx/import/importers/end-notes-importer.d.ts +3 -4
  79. package/lib/client/formats/docx/import/importers/end-notes-importer.js +8 -3
  80. package/lib/client/formats/docx/import/importers/foot-notes-importer.d.ts +3 -5
  81. package/lib/client/formats/docx/import/importers/foot-notes-importer.js +8 -5
  82. package/lib/client/formats/docx/import/importers/notes-importer.d.ts +8 -0
  83. package/lib/client/formats/docx/import/importers/notes-importer.js +7 -0
  84. package/lib/client/formats/docx/translation-table/translation-tables.d.ts +7 -0
  85. package/lib/client/formats/docx/translation-table/translation-tables.js +27 -0
  86. package/lib/client/formats/docx/utils/constants.d.ts +2 -0
  87. package/lib/client/formats/docx/utils/constants.js +2 -0
  88. package/lib/client/model-api/formats/enum.d.ts +1 -0
  89. package/lib/client/model-api/formats/enum.js +1 -0
  90. package/lib/client/model-api/formats/exporter.d.ts +3 -4
  91. package/lib/client/model-api/formats/exporter.js +9 -6
  92. package/lib/client/model-api/formats/importer.js +2 -0
  93. package/lib/client/model-api/sub-document.d.ts +6 -2
  94. package/lib/client/model-api/sub-document.js +37 -35
  95. package/lib/client/model-api/table/table-borders.d.ts +1 -1
  96. package/lib/client/public/commands/enum.d.ts +1 -0
  97. package/lib/client/public/commands/enum.js +1 -0
  98. package/lib/client/public/document-processor.d.ts +3 -1
  99. package/lib/client/public/document-processor.js +2 -2
  100. package/lib/client/public/ribbon/creator.js +1 -0
  101. package/lib/client/public/ribbon/item-ids.d.ts +1 -0
  102. package/lib/client/public/ribbon/item-ids.js +1 -0
  103. package/lib/client/public/ribbon/items/select-box.d.ts +2 -0
  104. package/lib/client/public/ribbon/items/select-box.js +7 -0
  105. package/lib/client/public/rich-edit.d.ts +2 -1
  106. package/lib/client/public/rich-edit.js +16 -9
  107. package/lib/client/public/utils.d.ts +4 -0
  108. package/lib/client/public/utils.js +15 -0
  109. package/lib/client/ribbon/i-toolbar-item-options.d.ts +1 -0
  110. package/lib/common/canvas/canvas-manager.js +1 -0
  111. package/lib/common/canvas/picture-renderer.d.ts +1 -1
  112. package/lib/common/canvas/renderes/common/document-renderer.d.ts +1 -1
  113. package/lib/common/canvas/renderes/common/document-renderer.js +6 -2
  114. package/lib/common/canvas/renderes/view-manager.js +3 -1
  115. package/lib/common/clipboard-content-inserter.js +2 -1
  116. package/lib/common/commands/client-command.d.ts +3 -1
  117. package/lib/common/commands/client-command.js +2 -0
  118. package/lib/common/commands/document/print-document-on-client-command.js +1 -1
  119. package/lib/common/commands/text/clipboard-commands.js +7 -5
  120. package/lib/common/document-format.d.ts +2 -0
  121. package/lib/common/document-format.js +2 -0
  122. package/lib/common/formats/document-importer-errors.d.ts +3 -1
  123. package/lib/common/formats/document-importer-errors.js +2 -0
  124. package/lib/common/formats/file-name-helper.d.ts +1 -0
  125. package/lib/common/formats/file-name-helper.js +7 -1
  126. package/lib/common/formats/html/export/get-html.d.ts +4 -0
  127. package/lib/common/formats/html/export/get-html.js +12 -0
  128. package/lib/common/formats/html/export/html-builder.d.ts +16 -0
  129. package/lib/common/formats/html/export/html-builder.js +102 -0
  130. package/lib/common/formats/html/export/html-document-exporter.d.ts +13 -0
  131. package/lib/common/formats/html/export/html-document-exporter.js +29 -0
  132. package/lib/common/formats/html/export/html-export.d.ts +37 -0
  133. package/lib/common/{html-export.js → formats/html/export/html-export.js} +226 -289
  134. package/lib/common/formats/html/import/html-document-importer.d.ts +15 -0
  135. package/lib/common/formats/html/import/html-document-importer.js +84 -0
  136. package/lib/common/formats/html/import/html-importer.d.ts +1 -0
  137. package/lib/common/formats/html/import/html-importer.js +34 -9
  138. package/lib/common/formats/html/import/insert-html.d.ts +4 -0
  139. package/lib/common/formats/html/import/insert-html.js +5 -0
  140. package/lib/common/formats/html/import/utils/paragraph-properties-utils.d.ts +1 -0
  141. package/lib/common/formats/html/import/utils/paragraph-properties-utils.js +17 -4
  142. package/lib/common/formats/i-document-exporter.d.ts +14 -0
  143. package/lib/common/formats/rtf/export/exporter.d.ts +1 -1
  144. package/lib/common/formats/rtf/export/exporter.js +1 -1
  145. package/lib/common/formats/rtf/importer-in-subdocument.d.ts +1 -1
  146. package/lib/common/formats/rtf/importer-in-subdocument.js +1 -1
  147. package/lib/common/formats/txt/txt-exporter.js +2 -1
  148. package/lib/common/input-controller.d.ts +2 -1
  149. package/lib/common/input-controller.js +5 -2
  150. package/lib/common/interfaces/i-rich-edit-core.d.ts +2 -0
  151. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-picture-box.d.ts +2 -1
  152. package/lib/common/layout/main-structures/layout-boxes/layout-anchored-picture-box.js +4 -3
  153. package/lib/common/layout/main-structures/layout-boxes/layout-picture-box.d.ts +2 -1
  154. package/lib/common/layout/main-structures/layout-boxes/layout-picture-box.js +5 -4
  155. package/lib/common/layout/main-structures/layout-page.d.ts +1 -0
  156. package/lib/common/layout/main-structures/layout-page.js +5 -2
  157. package/lib/common/layout-formatter/box/generator/box-infos-generator.d.ts +1 -0
  158. package/lib/common/layout-formatter/box/generator/box-infos-generator.js +12 -2
  159. package/lib/common/layout-formatter/floating/page-anchored-object-holder.d.ts +5 -3
  160. package/lib/common/layout-formatter/floating/page-anchored-object-holder.js +7 -4
  161. package/lib/common/layout-formatter/formatter/base-formatter.js +0 -1
  162. package/lib/common/layout-formatter/formatter/main-formatter.js +1 -0
  163. package/lib/common/layout-formatter/managers/formatter-manager.d.ts +6 -2
  164. package/lib/common/layout-formatter/managers/formatter-manager.js +3 -1
  165. package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.js +20 -4
  166. package/lib/common/measurer/measurer.js +2 -1
  167. package/lib/common/model/chunk.d.ts +1 -0
  168. package/lib/common/model/chunk.js +27 -2
  169. package/lib/common/model/document-model.d.ts +4 -0
  170. package/lib/common/model/document-model.js +4 -1
  171. package/lib/common/model/enums.d.ts +3 -1
  172. package/lib/common/model/enums.js +2 -0
  173. package/lib/common/model/footnotes/footnote.d.ts +46 -0
  174. package/lib/common/model/footnotes/footnote.js +100 -0
  175. package/lib/common/model/json/importers/sub-document/json-sub-document-importer.js +3 -3
  176. package/lib/common/model/json/importers/sub-document/run-importers.d.ts +6 -0
  177. package/lib/common/model/json/importers/sub-document/run-importers.js +9 -0
  178. package/lib/common/model/model-checks/position.d.ts +2 -1
  179. package/lib/common/model/model-checks/position.js +11 -2
  180. package/lib/common/model/numbering-lists/numbering-helper.d.ts +2 -1
  181. package/lib/common/model/numbering-lists/numbering-helper.js +3 -0
  182. package/lib/common/model/paragraph/paragraph-style.d.ts +1 -0
  183. package/lib/common/model/paragraph/paragraph-style.js +6 -2
  184. package/lib/common/model/properties-merger/paragraph-properties-merger.js +1 -1
  185. package/lib/common/model/runs/run-base.d.ts +1 -0
  186. package/lib/common/model/runs/simple-runs.d.ts +8 -2
  187. package/lib/common/model/runs/simple-runs.js +12 -6
  188. package/lib/common/model/section/section-properties.d.ts +3 -0
  189. package/lib/common/model/special-characters.d.ts +3 -0
  190. package/lib/common/model/special-characters.js +3 -0
  191. package/lib/common/model/sub-document-infos.d.ts +18 -0
  192. package/lib/common/model/sub-document-infos.js +39 -0
  193. package/lib/common/model/sub-document.d.ts +2 -0
  194. package/lib/common/model/sub-document.js +18 -16
  195. package/lib/common/mouse-handler/touch-handler/touch-handler-state-base.d.ts +1 -0
  196. package/lib/common/mouse-handler/touch-handler/touch-handler-state-base.js +21 -13
  197. package/lib/common/processor.d.ts +2 -0
  198. package/lib/common/rich-edit-core.d.ts +6 -2
  199. package/lib/common/rich-edit-core.js +20 -1
  200. package/lib/common/selection/selection-intervals-info.js +1 -1
  201. package/lib/common/ui/ruler/controls/divisions.js +2 -1
  202. package/lib/common/ui/ruler/controls/indent/first-line.js +4 -3
  203. package/lib/common/ui/ruler/controls/indent/left.js +5 -4
  204. package/lib/common/ui/ruler/ruler.js +2 -1
  205. package/lib/common/utils/_license.d.ts +1 -0
  206. package/lib/common/utils/_license.js +2 -0
  207. package/lib/common/utils/size-utils.d.ts +3 -0
  208. package/lib/common/utils/size-utils.js +17 -4
  209. package/package.json +4 -4
  210. package/lib/common/html-export.d.ts +0 -32
@@ -1,32 +0,0 @@
1
- import { DocumentModel } from './model/document-model';
2
- import { RangeCopy } from './model/manipulators/range/create-range-copy-operation';
3
- import { SubDocument } from './model/sub-document';
4
- import { FixedInterval } from '@devexpress/utils/lib/intervals/fixed';
5
- import { IRichEditControl } from './interfaces/i-rich-edit-core';
6
- export declare class HtmlBuilder {
7
- _getHtmlString(): string;
8
- private _currentElement;
9
- childElements: Array<Element | string>;
10
- callbacks: Array<(target: HtmlBuilder) => void>;
11
- isEmpty(): boolean;
12
- clear(): this;
13
- startChild(tagName: string, namespaceUri?: string): this;
14
- configure<T extends Element = HTMLElement>(config: (element: T) => void): this;
15
- addCallback(callback: (target: HtmlBuilder) => void): void;
16
- assignFrom(builder: HtmlBuilder | string): this;
17
- addElement(element: Element | string): this;
18
- endChild(tagName: string): this;
19
- }
20
- export declare class HtmlExporter {
21
- control: IRichEditControl;
22
- rangeCopy: RangeCopy;
23
- private get colorProvider();
24
- constructor(control: IRichEditControl);
25
- getHtmlElementsByInterval(model: DocumentModel, subDocument: SubDocument, interval: FixedInterval, guidLabel: string): HtmlBuilder;
26
- private getHtmlText;
27
- private getBorderCssString;
28
- private getTableWidthUnitCssString;
29
- private getTableStyle;
30
- private getCellStyle;
31
- private getTextBoxStyleString;
32
- }