devexpress-richedit 25.2.3 → 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.
- package/bin/gulpfile.js +2 -2
- package/bin/index-custom.js +2 -2
- package/bin/localization-builder.js +2 -2
- package/bin/nspell-index.js +2 -2
- package/bin/nspell.webpack.config.js +2 -2
- package/bin/webpack-externals.js +2 -2
- package/bin/webpack.config.js +2 -2
- package/dist/dx.richedit.d.ts +2 -2
- package/dist/dx.richedit.js +5809 -9423
- package/dist/dx.richedit.min.js +4 -4
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/lib/client/_constants.js +3 -4
- package/lib/client/api/bookmark.js +0 -1
- package/lib/client/api/collections/bookmark-collection.js +0 -1
- package/lib/client/api/collections/sub-documents-collection.js +0 -1
- package/lib/client/api/document.js +0 -1
- package/lib/client/api/history.js +0 -1
- package/lib/client/api/key-code.js +0 -5
- package/lib/client/api/layout-api.js +0 -1
- package/lib/client/api/loading-panel.js +0 -1
- package/lib/client/api/selection-api.js +0 -1
- package/lib/client/api/sub-document.js +0 -1
- package/lib/client/bars/active-context-tab-manager.js +12 -17
- package/lib/client/bars/bar-holder.js +0 -4
- package/lib/client/bars/context-menu.js +0 -6
- package/lib/client/bars/ribbon.js +1 -7
- package/lib/client/bars/rich-edit-ribbon/ribbon-items-data.js +231 -237
- package/lib/client/client-rich-edit-core.js +0 -4
- package/lib/client/client-rich-edit.js +7 -29
- package/lib/client/commands/download-document-command.js +0 -2
- package/lib/client/commands/export-document-command.js +0 -4
- package/lib/client/commands/mail-merge-command.js +0 -5
- package/lib/client/commands/open-document-command.js +4 -5
- package/lib/client/context-menu/settings.js +3 -2
- package/lib/client/default-localization.js +6 -6
- package/lib/client/dialogs/bookmark-dialog.js +4 -10
- package/lib/client/dialogs/dialog-base.js +0 -7
- package/lib/client/dialogs/dialog-manager.js +0 -3
- package/lib/client/dialogs/find-replace-dialog.js +0 -11
- package/lib/client/dialogs/finish-and-merge-dialog.js +0 -3
- package/lib/client/dialogs/font-dialog.js +0 -2
- package/lib/client/dialogs/hyperlink-dialog.js +5 -3
- package/lib/client/dialogs/insert-merge-field-dialog.js +0 -2
- package/lib/client/dialogs/page-setup-dialog.js +6 -7
- package/lib/client/dialogs/paragraph-dialog.js +0 -1
- package/lib/client/dialogs/tabs-dialog.js +5 -10
- package/lib/client/document-processor/docvar-args.js +0 -10
- package/lib/client/document-processor/processor.js +2 -11
- package/lib/client/document-processor/public/processor.js +0 -2
- package/lib/client/formats/docx/export/data.js +3 -30
- package/lib/client/formats/docx/export/docx-export-options.js +8 -5
- package/lib/client/formats/docx/export/exporter.js +0 -3
- package/lib/client/formats/docx/export/exporters/base/drawing.js +0 -5
- package/lib/client/formats/docx/export/exporters/base/sections.js +1 -2
- package/lib/client/formats/docx/export/exporters/base/styles/table-style.js +3 -3
- package/lib/client/formats/docx/export/exporters/base/table/table-cell-properties.js +18 -15
- package/lib/client/formats/docx/export/exporters/base/table/table-properties.d.ts +2 -1
- package/lib/client/formats/docx/export/exporters/base/table/table-properties.js +10 -5
- package/lib/client/formats/docx/export/exporters/base/table/table.js +6 -4
- package/lib/client/formats/docx/export/exporters/base/text.js +2 -2
- package/lib/client/formats/docx/export/exporters/base.js +0 -1
- package/lib/client/formats/docx/export/exporters/content-types.js +2 -2
- package/lib/client/formats/docx/export/exporters/note-properties.js +1 -1
- package/lib/client/formats/docx/export/exporters/relations/base.js +4 -1
- package/lib/client/formats/docx/export/exporters/relations/document-relations.js +0 -6
- package/lib/client/formats/docx/export/exporters/relations/relation-collection.js +0 -5
- package/lib/client/formats/docx/export/exporters/styles.js +6 -3
- package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.js +11 -25
- package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.js +0 -1
- package/lib/client/formats/docx/export/exporters/sub-document/note-sub-document-exporter.js +0 -2
- package/lib/client/formats/docx/export/utils/id-generator.js +1 -2
- package/lib/client/formats/docx/export/utils/inline-drawing-object.js +0 -2
- package/lib/client/formats/docx/import/css-engine/inline-picture-css-parser.js +0 -28
- package/lib/client/formats/docx/import/data.js +1 -25
- package/lib/client/formats/docx/import/destination/borders/table-borders-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/borders/table-cell-borders-destination.js +4 -4
- package/lib/client/formats/docx/import/destination/character-properties/character-formatting-leaf-element-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/character-properties/run-properties-base-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/character-properties/run-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/destination.js +1 -7
- package/lib/client/formats/docx/import/destination/document/alt-chunk-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/document/body-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/document/document-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/document/smart-tag-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-position-destination.js +6 -15
- package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-relative-size-destination.js +5 -9
- package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-wrap-destination.js +0 -3
- package/lib/client/formats/docx/import/destination/drawing/drawing-destination.js +26 -47
- package/lib/client/formats/docx/import/destination/drawing/non-visual-pucture-properties-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/drawing/shape-properties-destination.js +6 -13
- package/lib/client/formats/docx/import/destination/field/field-char-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/field/field-simple-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/field/hyperlink-destination.js +4 -4
- package/lib/client/formats/docx/import/destination/notes/endnotes/endnote-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/notes/endnotes/endnotes-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/notes/footnotes/footnote-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/notes/footnotes/footnotes-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/notes/note-destination.js +2 -5
- package/lib/client/formats/docx/import/destination/notes/note-properties-destination.js +3 -8
- package/lib/client/formats/docx/import/destination/numbering/numberings-destination.js +12 -31
- package/lib/client/formats/docx/import/destination/paragraph/paragraph-destination.js +4 -4
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-formatting-leaf-element-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-level-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-numbering-id-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-base-destination.js +4 -6
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/paragraph-properties/properties/borders/borders-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/property-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/range-permission/range-permission-element-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/relationships/relation-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/relationships/relationships-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/runs/deleted-text-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/runs/inline-object-destination.js +2 -4
- package/lib/client/formats/docx/import/destination/runs/run-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/section/column-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/section/columns-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/section/header-footer/header-footer-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/section/section-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/settings/compat-settings-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/settings/document-protection.js +1 -1
- package/lib/client/formats/docx/import/destination/settings/document-variables-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/settings/settings.js +2 -2
- package/lib/client/formats/docx/import/destination/style/default/char/default-run-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/style/default/char/inner-default-run-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/style/default/document-defaults-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/style/default/par/default-paragraph-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/style/destinations/style-paragraph-properties-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/style/style-conditional-table-formatting.js +6 -3
- package/lib/client/formats/docx/import/destination/style/style-destination-base.js +3 -10
- package/lib/client/formats/docx/import/destination/style/style-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/style/styles-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination-core.js +2 -3
- package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-element-base-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-style-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/cell/table-cell-destination.js +2 -6
- package/lib/client/formats/docx/import/destination/table/height-unit-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-leaf-element-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/row/table-row-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/table/table/grid-column-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/table/properties/table-cell-margins-destination.js +0 -2
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-base-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination-core.js +2 -4
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-leaf-element-destination.js +0 -2
- package/lib/client/formats/docx/import/destination/table/table/table-destination.js +2 -4
- package/lib/client/formats/docx/import/destination/table/table/table-grid-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/table/table-style-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/table/width-unit-destination.js +0 -2
- package/lib/client/formats/docx/import/destination/tabs/tabs-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/tabs/tabs-leaf-element-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination-base.js +2 -4
- package/lib/client/formats/docx/import/destination/themes/color/drawing-color-destination.js +1 -1
- package/lib/client/formats/docx/import/destination/themes/color/drawing-color-properties-destination-base.js +2 -4
- package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/themes/color/office-theme-color-scheme-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/themes/color/props/color-transform-destination-base.js +0 -1
- package/lib/client/formats/docx/import/destination/themes/font/drawing-text-font-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-collection-scheme-destination.js +5 -6
- package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-scheme-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/themes/font/office-theme-supplemental-font-scheme-destination.js +0 -1
- package/lib/client/formats/docx/import/destination/themes/format/office-theme-format-scheme-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/themes/office-theme-destination.js +2 -3
- package/lib/client/formats/docx/import/destination/themes/office-theme-elements-destination.js +2 -2
- package/lib/client/formats/docx/import/destination/vml/v-mlshape-destination.js +4 -15
- package/lib/client/formats/docx/import/importer-options.js +6 -8
- package/lib/client/formats/docx/import/importer.js +1 -5
- package/lib/client/formats/docx/import/importers/alt-chunk-importer.js +0 -2
- package/lib/client/formats/docx/import/importers/bookmark-importer.js +0 -2
- package/lib/client/formats/docx/import/importers/character-importer.js +0 -4
- package/lib/client/formats/docx/import/importers/comments-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/core-properties-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/custom-properties-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/field-importer.js +1 -2
- package/lib/client/formats/docx/import/importers/header-footer-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/notes-importer.js +2 -3
- package/lib/client/formats/docx/import/importers/numbering-list-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/paragraph-importer.js +1 -8
- package/lib/client/formats/docx/import/importers/position-importer.js +0 -2
- package/lib/client/formats/docx/import/importers/range-permission-importer.js +0 -2
- package/lib/client/formats/docx/import/importers/section-importer.js +0 -4
- package/lib/client/formats/docx/import/importers/settings-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/styles-importer.d.ts +1 -0
- package/lib/client/formats/docx/import/importers/styles-importer.js +23 -32
- package/lib/client/formats/docx/import/importers/table-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/themes-importer.js +0 -1
- package/lib/client/formats/docx/import/importers/web-settings-importer.js +0 -1
- package/lib/client/formats/docx/import/list/open-xml-abstract-numbering-info.js +0 -4
- package/lib/client/formats/docx/import/list/open-xml-list-level-override.js +0 -5
- package/lib/client/formats/docx/import/list/open-xml-numbering-list-info.js +0 -4
- package/lib/client/formats/docx/import/model/alt-chunk-info.js +0 -3
- package/lib/client/formats/docx/import/model/comment-list-info.js +7 -8
- package/lib/client/formats/docx/import/model/floating-object-import-info.js +3 -13
- package/lib/client/formats/docx/import/model/import-bookmark-info.js +4 -2
- package/lib/client/formats/docx/import/model/import-field-info.js +7 -11
- package/lib/client/formats/docx/import/model/import-range-permission-info.js +7 -7
- package/lib/client/formats/docx/import/model/import-sub-document-info.js +0 -14
- package/lib/client/formats/docx/import/model/open-xml-style-conditional-table-formatting-info.js +0 -7
- package/lib/client/formats/docx/import/utils/culture-info-helper.js +2 -2
- package/lib/client/formats/docx/import/utils/reader-helper.js +0 -1
- package/lib/client/formats/docx/import/utils/relations-collection.js +0 -2
- package/lib/client/formats/docx/translation-table/ml-table-data.js +0 -2
- package/lib/client/formats/docx/translation-table/translation-tables-data.js +4 -2
- package/lib/client/formats/docx/translation-table/translation-tables.js +55 -55
- package/lib/client/formats/docx/translation-table/word-processing-mlvalue.js +0 -2
- package/lib/client/formats/docx/utils/constants.js +92 -119
- package/lib/client/formats/docx/utils/lock-aspect-ratio-table.js +3 -1
- package/lib/client/formats/docx/utils/open-xml-relation.js +0 -4
- package/lib/client/formats/docx/utils/progress-indication.js +4 -10
- package/lib/client/formats/docx/utils/string-value-parser.js +1 -1
- package/lib/client/formats/docx/utils/value-info.js +1 -4
- package/lib/client/formats/docx/utils/xml-chars-decoder.js +1 -1
- package/lib/client/formats/docx/zip/xml-reader.js +0 -8
- package/lib/client/formats/docx/zip/xml-writer.js +1 -4
- package/lib/client/formats/docx/zip/zip-builder.js +0 -2
- package/lib/client/formats/docx/zip/zip-reader.js +0 -2
- package/lib/client/loading-panel/panel.js +1 -3
- package/lib/client/loading-panel/status-bar-panel.js +7 -2
- package/lib/client/localization.js +0 -1
- package/lib/client/losing-changes-watcher.js +2 -5
- package/lib/client/model/fields/field-client-request-manager.js +1 -7
- package/lib/client/model/font-changes-listener.js +0 -1
- package/lib/client/model/styles/known-style-names.js +167 -167
- package/lib/client/model-api/anchor-info.js +0 -12
- package/lib/client/model-api/api-utils/parameter-checker.js +0 -4
- package/lib/client/model-api/bookmark.js +0 -3
- package/lib/client/model-api/character-properties.js +0 -15
- package/lib/client/model-api/collections/bookmark-collection.js +0 -1
- package/lib/client/model-api/collections/collection.js +0 -1
- package/lib/client/model-api/collections/drawing-object-collection-base.js +0 -3
- package/lib/client/model-api/collections/field-collection.js +0 -3
- package/lib/client/model-api/collections/hyperlink-collection.js +0 -1
- package/lib/client/model-api/collections/paragraph-collection.js +0 -1
- package/lib/client/model-api/collections/range-permission-collection.js +0 -1
- package/lib/client/model-api/collections/table/table-base-collection.js +0 -3
- package/lib/client/model-api/collections/table/table-cell-collection.js +0 -2
- package/lib/client/model-api/collections/table/table-row-collection.js +0 -2
- package/lib/client/model-api/document.js +0 -1
- package/lib/client/model-api/field.js +0 -7
- package/lib/client/model-api/fonts/control-font.js +0 -2
- package/lib/client/model-api/fonts/model-font.js +0 -2
- package/lib/client/model-api/images/image-interfaces.js +6 -18
- package/lib/client/model-api/images/image-iterator.js +0 -4
- package/lib/client/model-api/images/image.js +0 -4
- package/lib/client/model-api/images/images.js +0 -2
- package/lib/client/model-api/interval.js +0 -2
- package/lib/client/model-api/lists/enums.js +2 -2
- package/lib/client/model-api/lists/list-level-settings.js +0 -13
- package/lib/client/model-api/lists/lists.js +0 -2
- package/lib/client/model-api/paragraph.js +0 -16
- package/lib/client/model-api/picture.js +0 -7
- package/lib/client/model-api/range-permission.js +0 -3
- package/lib/client/model-api/rectangle.js +0 -4
- package/lib/client/model-api/section.js +0 -2
- package/lib/client/model-api/size.js +0 -6
- package/lib/client/model-api/sub-document.js +0 -2
- package/lib/client/model-api/table/table-borders.js +0 -9
- package/lib/client/model-api/table/table-cell.js +0 -2
- package/lib/client/model-api/table/table-element-base.js +0 -4
- package/lib/client/model-api/table/table-row.js +0 -2
- package/lib/client/model-api/table/table-style-options.js +0 -6
- package/lib/client/model-api/table/table.js +0 -1
- package/lib/client/model-api/text-box.js +0 -6
- package/lib/client/public/api/authentication-options.js +0 -1
- package/lib/client/public/api/mail-merge-options.js +0 -1
- package/lib/client/public/api/print-layout-view.js +0 -1
- package/lib/client/public/api/range-permission-options.js +0 -1
- package/lib/client/public/api/simple-view.js +0 -5
- package/lib/client/public/api/spell-checker-options.js +0 -1
- package/lib/client/public/characters.js +3 -3
- package/lib/client/public/client-events.js +0 -28
- package/lib/client/public/commands/commands.js +0 -3
- package/lib/client/public/commands/ui-changes-listener.js +3 -5
- package/lib/client/public/context-menu/item.js +0 -8
- package/lib/client/public/context-menu/menu.js +0 -4
- package/lib/client/public/document-processor.js +0 -1
- package/lib/client/public/events.js +3 -39
- package/lib/client/public/nusa/rich-edits-holder.js +0 -3
- package/lib/client/public/nusa/settings.js +2 -3
- package/lib/client/public/ribbon/items/base.js +1 -2
- package/lib/client/public/ribbon/items/button.js +1 -7
- package/lib/client/public/ribbon/items/color-box.js +1 -5
- package/lib/client/public/ribbon/items/menu.js +2 -6
- package/lib/client/public/ribbon/items/number-box.js +1 -9
- package/lib/client/public/ribbon/items/select-box.js +1 -13
- package/lib/client/public/ribbon/items/sub-menu.js +1 -5
- package/lib/client/public/ribbon/ribbon.js +5 -3
- package/lib/client/public/ribbon/tab.js +0 -8
- package/lib/client/public/rich-edit.js +0 -13
- package/lib/client/public/utils.d.ts +1 -0
- package/lib/client/public/utils.js +7 -6
- package/lib/client/ribbon/ribbon.js +11 -13
- package/lib/client/ribbon/toolbar-items/toolbar-button-group-item.js +2 -2
- package/lib/client/ribbon/toolbar-items/toolbar-button-item.js +4 -4
- package/lib/client/ribbon/toolbar-items/toolbar-color-box-item.js +0 -2
- package/lib/client/ribbon/toolbar-items/toolbar-interactive-item.js +0 -4
- package/lib/client/ribbon/toolbar-items/toolbar-item-base.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-group-toolbar-item-template-creator.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/button-toolbar-item-template-creator.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/color-box-toolbar-item-template-creator.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/menu-toolbar-item-template-creator.js +1 -2
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/number-box-toolbar-item-template-creator.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/select-box-toolbar-item-template-creator.js +0 -1
- package/lib/client/ribbon/toolbar-items/toolbar-item-template-creators/separator-toolbar-item-template-creator.js +1 -1
- package/lib/client/ribbon/toolbar-items/toolbar-menu-item.js +1 -2
- package/lib/client/ribbon/toolbar-items/toolbar-separator-item.js +1 -1
- package/lib/client/ribbon/toolbar-items/toolbar-sub-menu-item.js +1 -6
- package/lib/client/settings.js +23 -51
- package/lib/client/ui/client-quick-search-panel.js +0 -1
- package/lib/client/ui/full-screen-helper.js +2 -3
- package/lib/client/utils/focus-helper.js +4 -5
- package/lib/common/auto-correct/auto-correct-providers.js +10 -7
- package/lib/common/auto-correct/auto-correct-service.js +0 -3
- package/lib/common/bars/base.js +1 -3
- package/lib/common/bars/context-menu.js +5 -2
- package/lib/common/bars/ribbon.js +4 -1
- package/lib/common/canvas/canvas-manager.js +7 -14
- package/lib/common/canvas/canvas-scroll-info.js +16 -17
- package/lib/common/canvas/canvas-scroll-manager.js +2 -4
- package/lib/common/canvas/canvas-size-info.js +7 -9
- package/lib/common/canvas/listeners/anchor-listener.js +0 -1
- package/lib/common/canvas/listeners/auto-scroll-listener.js +1 -6
- package/lib/common/canvas/listeners/drag-caret-listener.js +1 -1
- package/lib/common/canvas/listeners/frame-base-listener.js +2 -6
- package/lib/common/canvas/listeners/resize-box-listener.js +6 -8
- package/lib/common/canvas/renderes/canvas-listener/canvas-listener.js +0 -2
- package/lib/common/canvas/renderes/canvas-listener/print-layout-view-canvas-listener.js +0 -1
- package/lib/common/canvas/renderes/canvas-listener/simple-view-canvas-listener.js +0 -5
- package/lib/common/canvas/renderes/change-active-sub-document/base-renderer.js +0 -6
- package/lib/common/canvas/renderes/change-active-sub-document/header-footer-labels-renderer.js +4 -6
- package/lib/common/canvas/renderes/change-active-sub-document/renderer.js +0 -2
- package/lib/common/canvas/renderes/common/document-renderer.d.ts +7 -1
- package/lib/common/canvas/renderes/common/document-renderer.js +86 -69
- package/lib/common/canvas/renderes/common/simple-view-renderer.js +7 -4
- package/lib/common/canvas/renderes/selection-renderers/misspelled-selection-renderer.js +4 -1
- package/lib/common/canvas/renderes/selection-renderers/range-permission-renderer.js +4 -1
- package/lib/common/canvas/renderes/selection-renderers/search-selection-renderer.js +4 -1
- package/lib/common/canvas/renderes/selection-renderers/selection-renderer-base.js +0 -3
- package/lib/common/canvas/renderes/selection-renderers/selection-renderer.js +1 -3
- package/lib/common/canvas/renderes/selection-renderers/touch-selection-circle-elements-manager.js +1 -6
- package/lib/common/canvas/renderes/view-manager.js +2 -26
- package/lib/common/canvas/renderes/z-index-helper.js +2 -2
- package/lib/common/client-side-events.js +0 -1
- package/lib/common/clipboard-content-inserter.d.ts +1 -1
- package/lib/common/clipboard-content-inserter.js +24 -17
- package/lib/common/commands/bookmark-command.js +0 -1
- package/lib/common/commands/character-properties/change-character-properties-command-base.js +0 -1
- package/lib/common/commands/command-base.js +0 -7
- package/lib/common/commands/command-manager.js +8 -11
- package/lib/common/commands/command-states.js +4 -19
- package/lib/common/commands/dialogs/dialog-alert-message-command.js +0 -1
- package/lib/common/commands/dialogs/dialog-bookmarks-command.js +0 -7
- package/lib/common/commands/dialogs/dialog-border-shading-command.js +6 -21
- package/lib/common/commands/dialogs/dialog-columns-command.js +9 -16
- package/lib/common/commands/dialogs/dialog-custom-numbering-list-command.js +7 -22
- package/lib/common/commands/dialogs/dialog-find-replace-command.js +0 -1
- package/lib/common/commands/dialogs/dialog-finish-and-merge-command.js +0 -5
- package/lib/common/commands/dialogs/dialog-font-command.js +16 -14
- package/lib/common/commands/dialogs/dialog-hyperlink-command.js +9 -6
- package/lib/common/commands/dialogs/dialog-insert-image-command.js +6 -3
- package/lib/common/commands/dialogs/dialog-insert-merge-field-command.js +0 -1
- package/lib/common/commands/dialogs/dialog-insert-table-cells-command.js +0 -1
- package/lib/common/commands/dialogs/dialog-insert-table-command.js +0 -2
- package/lib/common/commands/dialogs/dialog-layout-options-command.js +0 -31
- package/lib/common/commands/dialogs/dialog-numbering-list-command.js +4 -2
- package/lib/common/commands/dialogs/dialog-page-setup-command.js +0 -15
- package/lib/common/commands/dialogs/dialog-paragraph-properties-command.js +0 -17
- package/lib/common/commands/dialogs/dialog-spell-checker-command.js +0 -4
- package/lib/common/commands/dialogs/dialog-split-table-cells-command.js +0 -5
- package/lib/common/commands/dialogs/dialog-symbols-command.js +0 -3
- package/lib/common/commands/dialogs/dialog-table-properties-command.js +13 -41
- package/lib/common/commands/dialogs/dialog-tabs-command.js +0 -2
- package/lib/common/commands/document/print-document-on-client-command.js +2 -11
- package/lib/common/commands/fields/change-hyperlink-command.js +0 -3
- package/lib/common/commands/fields/update-field-command.js +1 -4
- package/lib/common/commands/find-replace/find-all-command.js +0 -4
- package/lib/common/commands/find-replace/replace-all-command.js +0 -3
- package/lib/common/commands/floating-objects/floating-object-drag-drop-change-position-command.js +0 -11
- package/lib/common/commands/floating-objects/set-floating-object-alignment-command.js +50 -22
- package/lib/common/commands/floating-objects/set-floating-object-text-wrap-type-command.js +29 -9
- package/lib/common/commands/header-footer/link-header-footer-commands.js +0 -1
- package/lib/common/commands/numbering/insert-numeration-to-paragraphs-command.js +0 -1
- package/lib/common/commands/ruler/ruler-paragraph-indents-command.js +0 -2
- package/lib/common/commands/ruler/ruler-table-column-separators-command.js +6 -11
- package/lib/common/commands/ruler/ruler-table-commands.js +0 -8
- package/lib/common/commands/selection/go-to-line-end-command.js +0 -1
- package/lib/common/commands/selection/go-to-next-page-command.d.ts +5 -8
- package/lib/common/commands/selection/go-to-next-page-command.js +26 -50
- package/lib/common/commands/selection/go-to-page-command-base.d.ts +18 -0
- package/lib/common/commands/selection/go-to-page-command-base.js +91 -0
- package/lib/common/commands/selection/go-to-prev-page-command.d.ts +5 -9
- package/lib/common/commands/selection/go-to-prev-page-command.js +27 -48
- package/lib/common/commands/selection/select-table-command.js +0 -2
- package/lib/common/commands/shortcut-manager.js +1 -6
- package/lib/common/commands/shortcuts/assign-shortcut-command.js +0 -2
- package/lib/common/commands/sub-document/change-active-sub-document-command.js +2 -4
- package/lib/common/commands/tables/change-table-cell-alignment-command.js +45 -20
- package/lib/common/commands/tables/change-table-look-command.js +24 -7
- package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-horizontally-command.d.ts +1 -0
- package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-horizontally-command.js +16 -1
- package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-vertically-command.d.ts +1 -0
- package/lib/common/commands/tables/insert-table-cells-with-shift-to-the-vertically-command.js +23 -1
- package/lib/common/commands/tables/insert-table-column-commands.d.ts +1 -0
- package/lib/common/commands/tables/insert-table-column-commands.js +8 -0
- package/lib/common/commands/tables/insert-table-core-command.js +8 -3
- package/lib/common/commands/tables/table-command-base.d.ts +2 -0
- package/lib/common/commands/tables/table-command-base.js +4 -1
- package/lib/common/commands/tables/toggle-table-cells-border-command.js +56 -27
- package/lib/common/commands/text/backspace-command.js +0 -2
- package/lib/common/commands/text/clipboard-commands.d.ts +1 -1
- package/lib/common/commands/text/clipboard-commands.js +40 -46
- package/lib/common/commands/text/insert-paragraph-command.js +10 -9
- package/lib/common/commands/text/insert-tab-command.d.ts +3 -0
- package/lib/common/commands/text/insert-tab-command.js +7 -1
- package/lib/common/commands/text/insert-text-command.js +0 -1
- package/lib/common/event-manager.js +5 -19
- package/lib/common/focus-manager.js +0 -5
- package/lib/common/formats/file-name-helper.js +0 -5
- package/lib/common/formats/html/export/html-builder.js +4 -3
- package/lib/common/formats/html/export/html-document-exporter.js +0 -4
- package/lib/common/formats/html/export/html-export.js +5 -7
- package/lib/common/formats/html/import/containers/runs.js +1 -21
- package/lib/common/formats/html/import/containers/tables.js +0 -16
- package/lib/common/formats/html/import/html-document-importer.js +0 -3
- package/lib/common/formats/html/import/html-importer.js +8 -30
- package/lib/common/formats/html/import/html-model-inserter.js +4 -12
- package/lib/common/formats/html/import/importers/base.js +2 -3
- package/lib/common/formats/html/import/importers/list-base.js +4 -1
- package/lib/common/formats/html/import/importers/p.js +5 -2
- package/lib/common/formats/html/import/importers/span.js +4 -1
- package/lib/common/formats/html/import/importers/table.js +5 -2
- package/lib/common/formats/html/import/importers/td.js +2 -4
- package/lib/common/formats/html/import/importers/tr.js +5 -4
- package/lib/common/formats/html/import/load-font-info.js +0 -3
- package/lib/common/formats/html/import/utils/character-properties-utils.js +3 -9
- package/lib/common/formats/html/import/utils/paragraph-list-properties-utils.js +2 -7
- package/lib/common/formats/html/import/utils/paragraph-properties-utils.js +2 -5
- package/lib/common/formats/html/import/utils/utils.js +2 -2
- package/lib/common/formats/html/model/history/paste-html-data-history-item.js +0 -4
- package/lib/common/formats/options.js +3 -1
- package/lib/common/formats/pdf/box-exporter.js +1 -5
- package/lib/common/formats/pdf/character-properties-exporter.d.ts +1 -1
- package/lib/common/formats/pdf/character-properties-exporter.js +1 -3
- package/lib/common/formats/pdf/exporter.js +0 -1
- package/lib/common/formats/pdf/page-area-exporter.js +0 -3
- package/lib/common/formats/pdf/page-exporter.js +0 -2
- package/lib/common/formats/pdf/row-exporter.js +0 -2
- package/lib/common/formats/pdf/table-column-info-exporter.js +0 -1
- package/lib/common/formats/rtf/export/characters.js +41 -41
- package/lib/common/formats/rtf/export/exporter.js +0 -5
- package/lib/common/formats/rtf/export/exporters/picture/rtf-picture-exporter.js +0 -3
- package/lib/common/formats/rtf/export/exporters/rtf-anchored-picture-run-exporter.js +0 -2
- package/lib/common/formats/rtf/export/exporters/rtf-anchored-run-exporter.js +0 -5
- package/lib/common/formats/rtf/export/exporters/rtf-anchored-text-box-run-exporter.js +0 -2
- package/lib/common/formats/rtf/export/exporters/rtf-character-properties-exporter.js +3 -4
- package/lib/common/formats/rtf/export/exporters/rtf-content-exporter.js +12 -28
- package/lib/common/formats/rtf/export/exporters/rtf-numbering-list-exporter.js +2 -7
- package/lib/common/formats/rtf/export/exporters/rtf-paragraph-properties-exporter.js +21 -18
- package/lib/common/formats/rtf/export/exporters/rtf-properties-exporter.js +0 -3
- package/lib/common/formats/rtf/export/exporters/rtf-style-exporter.js +0 -8
- package/lib/common/formats/rtf/export/exporters/table/states/rtf-table-exporter-state-base.js +0 -9
- package/lib/common/formats/rtf/export/helpers/rtf-export-helper.js +0 -14
- package/lib/common/formats/rtf/export/rtf-builder.js +4 -9
- package/lib/common/formats/rtf/export/rtf-document-exporter-options.js +3 -8
- package/lib/common/formats/rtf/import/destination/base/destination.js +6 -9
- package/lib/common/formats/rtf/import/destination/base/hex-content-destination.js +4 -2
- package/lib/common/formats/rtf/import/destination/base/hex-stream-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/base/skip-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/base/string-property-base-destination.js +2 -4
- package/lib/common/formats/rtf/import/destination/base/string-property-destination.js +2 -3
- package/lib/common/formats/rtf/import/destination/base/string-value-destination-base.js +2 -2
- package/lib/common/formats/rtf/import/destination/base/string-value-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/base/unicode-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/base/unicode-string-value-destination.js +6 -3
- package/lib/common/formats/rtf/import/destination/color-table-destination.js +9 -10
- package/lib/common/formats/rtf/import/destination/destination-revision-author-table.js +4 -1
- package/lib/common/formats/rtf/import/destination/document-variable-destination.js +4 -3
- package/lib/common/formats/rtf/import/destination/fields/field-map-data-destination.js +4 -7
- package/lib/common/formats/rtf/import/destination/fields/field-sub-destination.js +1 -1
- package/lib/common/formats/rtf/import/destination/fields/mail-merge-destination.js +4 -4
- package/lib/common/formats/rtf/import/destination/fields/table-content-field-destination.js +3 -3
- package/lib/common/formats/rtf/import/destination/font-table-destination.js +0 -3
- package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering-base.js +5 -2
- package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering.js +0 -10
- package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-section-numbering-level.js +0 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/list-level-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/list-level-text-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/list-override-level-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/list-override-table-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/list-table-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/picture/picture-destination.js +2 -4
- package/lib/common/formats/rtf/import/destination/picture/picture-units-converter.js +0 -1
- package/lib/common/formats/rtf/import/destination/shape/hyperlink-property-value-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/shape/pic/shape-picture-destination.js +1 -3
- package/lib/common/formats/rtf/import/destination/shape/shape-properties-destination-base.js +2 -3
- package/lib/common/formats/rtf/import/destination/shape/shape-property-destination.js +0 -3
- package/lib/common/formats/rtf/import/destination/shape/shape-property-hsv-value-destination.js +0 -1
- package/lib/common/formats/rtf/import/destination/shape/shape-property-hyperlink-destination.js +4 -1
- package/lib/common/formats/rtf/import/destination/shape/shape-property-value-destination.js +4 -2
- package/lib/common/formats/rtf/import/destination/styles/character-style-destination.js +0 -2
- package/lib/common/formats/rtf/import/destination/styles/style-sheet-destination.js +0 -2
- package/lib/common/formats/rtf/import/destination/styles/table-style-destination.js +1 -3
- package/lib/common/formats/rtf/import/destination/sub-document/destination-sub-document.js +2 -2
- package/lib/common/formats/rtf/import/destination/sub-document/section-header-footer-destination-base.js +0 -1
- package/lib/common/formats/rtf/import/dx-decoding/gb2315-decoder-helper.js +1 -1
- package/lib/common/formats/rtf/import/dx-decoding/hangul949-decoder-helper.js +0 -1
- package/lib/common/formats/rtf/import/dx-decoding/russian-decoder.js +2 -2
- package/lib/common/formats/rtf/import/encoding/code-page-character-decoder.js +1 -3
- package/lib/common/formats/rtf/import/encoding/dx-encoding.js +2 -2
- package/lib/common/formats/rtf/import/encoding/unicode-character-decoder.js +5 -2
- package/lib/common/formats/rtf/import/importer-options.js +1 -3
- package/lib/common/formats/rtf/import/importers/character-importer.js +0 -3
- package/lib/common/formats/rtf/import/importers/field-importer.js +1 -2
- package/lib/common/formats/rtf/import/importers/font-importer.js +1 -2
- package/lib/common/formats/rtf/import/importers/image-importer.js +2 -3
- package/lib/common/formats/rtf/import/importers/importer-base.js +0 -1
- package/lib/common/formats/rtf/import/importers/importers-collection.js +1 -14
- package/lib/common/formats/rtf/import/importers/numbering-lists-importer.js +4 -10
- package/lib/common/formats/rtf/import/importers/paragraph-importer.js +0 -2
- package/lib/common/formats/rtf/import/importers/range-permission-importer.js +2 -2
- package/lib/common/formats/rtf/import/importers/section-importer.js +0 -1
- package/lib/common/formats/rtf/import/importers/styles/base-style-importer.js +1 -3
- package/lib/common/formats/rtf/import/importers/styles/paragraph-style-importer.js +4 -2
- package/lib/common/formats/rtf/import/importers/styles/rtf-style-importer-state.js +0 -2
- package/lib/common/formats/rtf/import/importers/styles-importer.js +2 -6
- package/lib/common/formats/rtf/import/keyword-tables/keyword-table-holder.js +251 -249
- package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info-core.js +4 -2
- package/lib/common/formats/rtf/import/model/bookmark/import-bookmark-info.js +0 -2
- package/lib/common/formats/rtf/import/model/character/character-properties.js +6 -10
- package/lib/common/formats/rtf/import/model/character/font-info-collection.js +4 -2
- package/lib/common/formats/rtf/import/model/character/rtf-font-info.js +5 -6
- package/lib/common/formats/rtf/import/model/character/rtf-formatting-info.js +2 -6
- package/lib/common/formats/rtf/import/model/color-collections.js +3 -5
- package/lib/common/formats/rtf/import/model/fields/rtf-field-info.js +11 -14
- package/lib/common/formats/rtf/import/model/image/picture-destination-info.js +15 -19
- package/lib/common/formats/rtf/import/model/image/rtf-image-info.js +0 -10
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-converter.js +1 -2
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-level.js +2 -5
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-list-override-level.js +1 -4
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-info.js +0 -2
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list-override.js +3 -3
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-numbering-list.js +4 -6
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info-collection.js +3 -1
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info.js +0 -7
- package/lib/common/formats/rtf/import/model/paragraph/paragraph-frame-formatting-info.js +0 -15
- package/lib/common/formats/rtf/import/model/paragraph/paragraph-properties.js +16 -15
- package/lib/common/formats/rtf/import/model/range-permission/import-range-permission-info.js +0 -7
- package/lib/common/formats/rtf/import/model/rtf-document-properties.js +2 -7
- package/lib/common/formats/rtf/import/model/rtf-revision-authors.js +4 -2
- package/lib/common/formats/rtf/import/model/section/general-section-info.js +0 -6
- package/lib/common/formats/rtf/import/model/section/line-numbering-info.js +0 -4
- package/lib/common/formats/rtf/import/model/section/margins-info.js +0 -2
- package/lib/common/formats/rtf/import/model/section/page-numbering-info.js +6 -5
- package/lib/common/formats/rtf/import/model/section/rtf-section-properties.js +0 -9
- package/lib/common/formats/rtf/import/model/shape/calculators/rtf-bounds-calculator-base.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-container-properties-helper.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-object-run-properties-helper.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-drawing-text-body-properties-helper.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-outline-properties-helper.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/rtf-shape-helpers/rtf-shape-import-helper.js +0 -1
- package/lib/common/formats/rtf/import/model/shape/shape-properties-info.js +3 -1
- package/lib/common/formats/rtf/import/model/shape/shape-type-code.js +203 -203
- package/lib/common/formats/rtf/import/model/table/properties/rtf-table-cell-properties.js +3 -8
- package/lib/common/formats/rtf/import/model/table/properties/rtf-table-properties.js +3 -7
- package/lib/common/formats/rtf/import/model/table/properties/table-floating-position-info.js +0 -11
- package/lib/common/formats/rtf/import/model/table/properties/table-row-properties.js +6 -14
- package/lib/common/formats/rtf/import/model/table/rtf-table-cell.js +5 -9
- package/lib/common/formats/rtf/import/model/table/rtf-table-row.js +2 -6
- package/lib/common/formats/rtf/import/model/table/rtf-table.js +1 -4
- package/lib/common/formats/rtf/import/rtf-import-data.js +1 -26
- package/lib/common/formats/rtf/import/rtf-importer.js +0 -4
- package/lib/common/formats/rtf/import/table/rtf-table-cell-controller.js +0 -2
- package/lib/common/formats/rtf/import/table/rtf-table-controller.js +0 -3
- package/lib/common/formats/rtf/import/table/rtf-table-row-controller.js +0 -3
- package/lib/common/formats/rtf/import/table/rtf-table-state.js +0 -4
- package/lib/common/formats/rtf/import/table/states/no-table-state.js +4 -1
- package/lib/common/formats/rtf/import/table/states/state-base.js +0 -1
- package/lib/common/formats/rtf/import/table/table-converter.js +1 -3
- package/lib/common/formats/rtf/import/table/table-grid.js +3 -1
- package/lib/common/formats/rtf/import/table/table-reader.js +1 -13
- package/lib/common/formats/rtf/translation-table/rtf-content-exporter.js +1 -1
- package/lib/common/formats/rtf/translation-table/rtf-drawing-keywords.js +179 -179
- package/lib/common/formats/rtf/translation-table/rtf-export-sr.js +688 -688
- package/lib/common/formats/rtf/utils/mergers/rtf-table-properties-merger-base.js +0 -1
- package/lib/common/formats/rtf/utils/rtf-art-border-converter.js +1 -2
- package/lib/common/formats/rtf/utils/shape-utils.js +1 -1
- package/lib/common/formats/rtf/utils/unicode-char-helper.js +19 -19
- package/lib/common/formats/txt/txt-exporter.js +0 -2
- package/lib/common/formats/txt/txt-importer.js +0 -3
- package/lib/common/formats/utils/color/theme-color-index-calculator.js +4 -4
- package/lib/common/formats/utils/color/tint-and-shade-calculator.js +1 -1
- package/lib/common/formats/utils/cross-existing-iterator.js +0 -9
- package/lib/common/formats/utils/extension-helper.js +4 -4
- package/lib/common/formats/utils/images-import.js +4 -7
- package/lib/common/formats/utils/import-bookmark-info-core.js +4 -2
- package/lib/common/formats/utils/import-comment-info.js +0 -4
- package/lib/common/formats/utils/numbering-list-index-constants.js +4 -4
- package/lib/common/formats/utils/string-helper.js +7 -7
- package/lib/common/global-event-dispatcher.js +2 -7
- package/lib/common/input-controller.d.ts +2 -1
- package/lib/common/input-controller.js +19 -49
- package/lib/common/layout/document-layout.js +1 -12
- package/lib/common/layout/layout-point.js +0 -1
- package/lib/common/layout/layout-position.js +17 -14
- package/lib/common/layout/main-structures/layout-boxes/bookmark-box.js +4 -4
- package/lib/common/layout/main-structures/layout-boxes/layout-anchored-object-box.js +2 -9
- package/lib/common/layout/main-structures/layout-boxes/layout-anchored-picture-box.js +0 -3
- package/lib/common/layout/main-structures/layout-boxes/layout-anchored-text-box.js +0 -2
- package/lib/common/layout/main-structures/layout-boxes/layout-box.js +0 -7
- package/lib/common/layout/main-structures/layout-boxes/layout-dash-box.js +0 -1
- package/lib/common/layout/main-structures/layout-boxes/layout-dependent-text-box.js +0 -1
- package/lib/common/layout/main-structures/layout-boxes/layout-line-break-box.js +0 -2
- package/lib/common/layout/main-structures/layout-boxes/layout-non-breaking-space-box.js +1 -3
- package/lib/common/layout/main-structures/layout-boxes/layout-numbering-list-box.js +0 -3
- package/lib/common/layout/main-structures/layout-boxes/layout-page-break-box.js +0 -2
- package/lib/common/layout/main-structures/layout-boxes/layout-paragraph-mark-box.js +0 -2
- package/lib/common/layout/main-structures/layout-boxes/layout-picture-box.js +0 -3
- package/lib/common/layout/main-structures/layout-boxes/layout-space-box.js +0 -2
- package/lib/common/layout/main-structures/layout-boxes/layout-tab-space-box.js +1 -7
- package/lib/common/layout/main-structures/layout-boxes/layout-text-box.js +0 -1
- package/lib/common/layout/main-structures/layout-column.js +4 -5
- package/lib/common/layout/main-structures/layout-page-area.js +1 -3
- package/lib/common/layout/main-structures/layout-page.js +14 -44
- package/lib/common/layout/main-structures/layout-row.js +4 -12
- package/lib/common/layout/selection/layout-selection-info.js +2 -4
- package/lib/common/layout/selection/layout-selection-items.js +2 -4
- package/lib/common/layout/selection/layout-selection-page-info.js +5 -3
- package/lib/common/layout/selection/layout-selection.js +4 -8
- package/lib/common/layout/table/layout-table-cell-info.js +1 -6
- package/lib/common/layout/table/layout-table-info.js +6 -12
- package/lib/common/layout/table/layout-table-row-info.js +0 -5
- package/lib/common/layout/table/table-cell-iterator.js +16 -22
- package/lib/common/layout-engine/hit-test-manager/hit-test-manager.js +0 -8
- package/lib/common/layout-engine/hit-test-manager/hit-test-result.js +2 -4
- package/lib/common/layout-engine/layout-anchor-object-finder.js +0 -2
- package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-base.js +0 -8
- package/lib/common/layout-engine/layout-box-iterator/layout-box-iterator-other-sub-document.js +0 -1
- package/lib/common/layout-engine/layout-box-iterator/layout-position-advance-helpers/base-advance-helper.js +0 -3
- package/lib/common/layout-engine/layout-position-creator.js +0 -15
- package/lib/common/layout-engine/selection/selection-formatter.js +6 -8
- package/lib/common/layout-engine/visualizers/base-visualizer.js +1 -8
- package/lib/common/layout-engine/visualizers/box-visualizer-manager.js +0 -6
- package/lib/common/layout-engine/visualizers/full-table-selector-visualizer.js +2 -2
- package/lib/common/layout-engine/visualizers/resize-box-visualizer.js +2 -3
- package/lib/common/layout-formatter/box/box-iterator.js +0 -5
- package/lib/common/layout-formatter/box/box-wrap.js +1 -10
- package/lib/common/layout-formatter/box/box-wraps-holder.js +3 -12
- package/lib/common/layout-formatter/box/generator/box-infos-generator.js +3 -17
- package/lib/common/layout-formatter/box/generator/one-dimension-itertors.js +0 -3
- package/lib/common/layout-formatter/box/generator/recursive-objects-iterators.js +0 -4
- package/lib/common/layout-formatter/changes/changes/column-change.js +0 -3
- package/lib/common/layout-formatter/changes/changes/layout-change-base.js +0 -5
- package/lib/common/layout-formatter/changes/changes/page-area-change.js +0 -1
- package/lib/common/layout-formatter/changes/changes/page-change.js +0 -3
- package/lib/common/layout-formatter/changes/changes/selection/layout-area-selection-change.js +0 -1
- package/lib/common/layout-formatter/changes/changes/selection/layout-page-selection-change.js +0 -1
- package/lib/common/layout-formatter/changes/engine/changes-manager.js +0 -1
- package/lib/common/layout-formatter/changes/engine/changes-merger.js +0 -5
- package/lib/common/layout-formatter/changes/engine/table-cells-comparer.js +3 -1
- package/lib/common/layout-formatter/floating/anchored-objects-manager.js +0 -10
- package/lib/common/layout-formatter/floating/layout-row-bounds-manager.js +2 -7
- package/lib/common/layout-formatter/floating/page-anchored-object-holder.js +0 -2
- package/lib/common/layout-formatter/floating/position-calculators/base-calculator.js +0 -5
- package/lib/common/layout-formatter/floating/position-calculators/horizontal.js +2 -2
- package/lib/common/layout-formatter/floating/render-level-calculator.js +18 -15
- package/lib/common/layout-formatter/formatter/base-formatter.js +2 -11
- package/lib/common/layout-formatter/formatter/main-formatter.js +2 -2
- package/lib/common/layout-formatter/formatter/model-changes-listener.js +0 -1
- package/lib/common/layout-formatter/formatter/other-page-area-formatter.js +0 -1
- package/lib/common/layout-formatter/formatter/utils/bounds-calculator.js +5 -26
- package/lib/common/layout-formatter/formatter/utils/floating-restart-info-holder.js +3 -4
- package/lib/common/layout-formatter/formatter/utils/last-row-info.js +3 -5
- package/lib/common/layout-formatter/formatter/utils/layout-dependent-cache.js +0 -2
- package/lib/common/layout-formatter/formatter/utils/number-utils.js +1 -1
- package/lib/common/layout-formatter/formatter/utils/remove-redundant-helper.js +0 -1
- package/lib/common/layout-formatter/formatter/utils/restart-preparer.js +0 -1
- package/lib/common/layout-formatter/invalidator/header-footer-invalidator-helper.js +0 -7
- package/lib/common/layout-formatter/invalidator/layout-invalidator.js +0 -1
- package/lib/common/layout-formatter/invalidator/position-savers.js +0 -6
- package/lib/common/layout-formatter/invalidator/remove-content-helper.js +0 -11
- package/lib/common/layout-formatter/managers/formatter-manager.js +4 -27
- package/lib/common/layout-formatter/managers/restart-manager.js +0 -2
- package/lib/common/layout-formatter/row/formatter.js +1 -15
- package/lib/common/layout-formatter/row/result.js +0 -7
- package/lib/common/layout-formatter/row/size-engine/row-formatting-info.js +0 -12
- package/lib/common/layout-formatter/row/size-engine/row-height-calculator.js +2 -6
- package/lib/common/layout-formatter/row/size-engine/row-height-state.js +0 -7
- package/lib/common/layout-formatter/row/size-engine/row-sizes-manager.js +0 -7
- package/lib/common/layout-formatter/row/states.js +0 -1
- package/lib/common/layout-formatter/row/tab-info.js +0 -6
- package/lib/common/layout-formatter/row/utils/line-spacing-calculator.js +0 -3
- package/lib/common/layout-formatter/row/utils/row-spacing-before-applier.js +0 -9
- package/lib/common/layout-formatter/row/word-holder.js +0 -2
- package/lib/common/layout-formatter/table/borders/border-helper.js +0 -10
- package/lib/common/layout-formatter/table/borders/horizontal-line-borders-info.js +2 -4
- package/lib/common/layout-formatter/table/borders/layout-table-border.js +0 -5
- package/lib/common/layout-formatter/table/borders/layout-table-horizontal-border.js +0 -3
- package/lib/common/layout-formatter/table/formatter.d.ts +1 -1
- package/lib/common/layout-formatter/table/formatter.js +11 -12
- package/lib/common/layout-formatter/table/grid-engine/calculators/column-interval.js +0 -6
- package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/column-interval.js +0 -3
- package/lib/common/layout-formatter/table/grid-engine/calculators/column-width-engine/iterator.js +0 -3
- package/lib/common/layout-formatter/table/grid-engine/calculators/grid-calculator.js +3 -15
- package/lib/common/layout-formatter/table/grid-engine/calculators/table-properties-cache.js +0 -12
- package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-cell-width-calculator.js +0 -6
- package/lib/common/layout-formatter/table/grid-engine/calculators/table-width-calculators/table-width-calculator.js +1 -7
- package/lib/common/layout-formatter/table/grid-engine/cell-grid-info-manager.js +0 -2
- package/lib/common/layout-formatter/table/grid-engine/columns.js +0 -3
- package/lib/common/layout-formatter/table/grid-engine/grid.js +0 -4
- package/lib/common/layout-formatter/table/horizontal-cursor-borders-helper.js +1 -1
- package/lib/common/layout-formatter/table/info/cell-info.js +2 -16
- package/lib/common/layout-formatter/table/info/cell-order-helper.js +0 -1
- package/lib/common/layout-formatter/table/info/row-info.js +1 -9
- package/lib/common/layout-formatter/table/info/table-info.js +6 -22
- package/lib/common/layout-formatter/table/other.js +4 -7
- package/lib/common/layout-formatter/table/utils/table-anchored-objects-holder.js +3 -1
- package/lib/common/loading-panel/manager.js +0 -2
- package/lib/common/loading-panel/panel.js +3 -4
- package/lib/common/measurer/measure-info.js +0 -5
- package/lib/common/measurer/measurer.js +1 -6
- package/lib/common/model/bookmarks.js +2 -7
- package/lib/common/model/borders/border-base.js +1 -4
- package/lib/common/model/borders/border-info.js +8 -6
- package/lib/common/model/borders/table-border-base.d.ts +2 -0
- package/lib/common/model/borders/table-border-base.js +8 -6
- package/lib/common/model/borders/table-borders.d.ts +0 -5
- package/lib/common/model/borders/table-borders.js +0 -18
- package/lib/common/model/borders/table-cell-borders.d.ts +2 -1
- package/lib/common/model/borders/table-cell-borders.js +11 -5
- package/lib/common/model/caches/caches.js +0 -15
- package/lib/common/model/caches/control-fonts.js +4 -2
- package/lib/common/model/caches/hash-based-cache.js +0 -2
- package/lib/common/model/caches/hashed-caches/character-properties-cache.js +0 -1
- package/lib/common/model/caches/hashed-caches/color-model-info-cache.js +1 -1
- package/lib/common/model/caches/hashed-caches/drawing-color-model-info-cache.js +1 -1
- package/lib/common/model/caches/hashed-caches/font-info-cache.js +3 -5
- package/lib/common/model/caches/hashed-caches/scene3d-properties-info-cache.js +1 -1
- package/lib/common/model/caches/hashed-caches/scene3d-rotation-info-cache.js +1 -1
- package/lib/common/model/caches/images.js +5 -16
- package/lib/common/model/changes/change-base.js +0 -4
- package/lib/common/model/changes/model/create-style-link.js +1 -2
- package/lib/common/model/changes/model/default-tab-width.js +1 -2
- package/lib/common/model/changes/model/delete-style-link.js +1 -2
- package/lib/common/model/changes/model/different-odd-and-even-pages.js +1 -2
- package/lib/common/model/changes/model/document-protection-changed.js +1 -2
- package/lib/common/model/changes/model/header-created.js +1 -4
- package/lib/common/model/changes/model/header-footer-index-changed.js +1 -5
- package/lib/common/model/changes/model/list/abstract-numbering-list-added.js +1 -2
- package/lib/common/model/changes/model/list/abstract-numbering-list-deleted.js +1 -2
- package/lib/common/model/changes/model/list/i-override-list-level-changed.js +1 -3
- package/lib/common/model/changes/model/list/list-level-character-property-changed.js +1 -3
- package/lib/common/model/changes/model/list/list-level-paragraph-property-changed.js +1 -3
- package/lib/common/model/changes/model/list/list-level-property-changed.js +1 -3
- package/lib/common/model/changes/model/list/numbering-list-added.js +1 -2
- package/lib/common/model/changes/model/list/numbering-list-deleted.js +1 -2
- package/lib/common/model/changes/model/load-font.js +1 -2
- package/lib/common/model/changes/model/page-color.js +1 -2
- package/lib/common/model/changes/model/section-formatting-changed.js +1 -5
- package/lib/common/model/changes/model/section-merged.js +1 -4
- package/lib/common/model/changes/model/zoom-level.js +1 -3
- package/lib/common/model/changes/sub-document/anchor/anchor-info-property-changed.js +1 -5
- package/lib/common/model/changes/sub-document/anchor/anchored-text-box-properties-changed.js +1 -5
- package/lib/common/model/changes/sub-document/anchor/anchored-text-box-size-changed.js +1 -5
- package/lib/common/model/changes/sub-document/anchor/shape-changed.js +1 -4
- package/lib/common/model/changes/sub-document/anchor/shape-property-changed.js +1 -5
- package/lib/common/model/changes/sub-document/bookmark/created.js +1 -4
- package/lib/common/model/changes/sub-document/bookmark/deleted.js +1 -4
- package/lib/common/model/changes/sub-document/field/deleted.js +1 -3
- package/lib/common/model/changes/sub-document/field/fields-show-code-changed.js +1 -3
- package/lib/common/model/changes/sub-document/field/hyperlink-info-changed.js +1 -5
- package/lib/common/model/changes/sub-document/field/inserted.js +1 -5
- package/lib/common/model/changes/sub-document/list/paragraph-numbering-list-changed.js +1 -4
- package/lib/common/model/changes/sub-document/picture/anchored-picture-size-changed.js +1 -5
- package/lib/common/model/changes/sub-document/picture/anchored-pictureinserted.js +1 -6
- package/lib/common/model/changes/sub-document/picture/inline-object-run-property-changed.js +1 -5
- package/lib/common/model/changes/sub-document/picture/inline-picture-inserted.js +1 -3
- package/lib/common/model/changes/sub-document/picture/inline-pictures-updated.js +1 -3
- package/lib/common/model/changes/sub-document/picture/load-pictures-info.js +1 -3
- package/lib/common/model/changes/sub-document/properties/character-formatting-changed.js +1 -4
- package/lib/common/model/changes/sub-document/properties/character-properties-changed.js +1 -3
- package/lib/common/model/changes/sub-document/properties/merged-props-reset.js +1 -3
- package/lib/common/model/changes/sub-document/properties/paragraph-formatting-changed.js +1 -4
- package/lib/common/model/changes/sub-document/properties/paragraph-properties-changed.js +1 -8
- package/lib/common/model/changes/sub-document/range-permissions-changed.js +4 -5
- package/lib/common/model/changes/sub-document/style/character-style-applied.js +1 -3
- package/lib/common/model/changes/sub-document/style/paragraph-style-applied.js +1 -3
- package/lib/common/model/changes/sub-document/style/table-style-changed.js +1 -4
- package/lib/common/model/changes/sub-document/tab/deleted.js +1 -3
- package/lib/common/model/changes/sub-document/tab/inserted.js +1 -3
- package/lib/common/model/changes/sub-document/table/cell-inserted.js +1 -5
- package/lib/common/model/changes/sub-document/table/cell-merged-horizontally.js +1 -6
- package/lib/common/model/changes/sub-document/table/cell-property-changed.js +1 -4
- package/lib/common/model/changes/sub-document/table/cell-removed.js +1 -5
- package/lib/common/model/changes/sub-document/table/cell-splitted-horizontally.js +1 -6
- package/lib/common/model/changes/sub-document/table/created.js +1 -3
- package/lib/common/model/changes/sub-document/table/property-changed.js +1 -4
- package/lib/common/model/changes/sub-document/table/removed.js +1 -6
- package/lib/common/model/changes/sub-document/table/row-inserted.js +1 -4
- package/lib/common/model/changes/sub-document/table/row-property-changed.js +1 -4
- package/lib/common/model/changes/sub-document/table/row-removed.js +1 -4
- package/lib/common/model/changes/sub-document/table/start-position-shifted.js +1 -5
- package/lib/common/model/changes/sub-document/text/anchor-object-removed.js +1 -4
- package/lib/common/model/changes/sub-document/text/anchored-text-box-inserted.js +1 -5
- package/lib/common/model/changes/sub-document/text/interval-removed.js +1 -4
- package/lib/common/model/changes/sub-document/text/paragraph-inserted.js +1 -2
- package/lib/common/model/changes/sub-document/text/paragraph-merged.js +1 -5
- package/lib/common/model/changes/sub-document/text/section-inserted.js +1 -3
- package/lib/common/model/changes/sub-document/text/simple-run-inserted.js +1 -8
- package/lib/common/model/changes/sub-document/text/text-buffer-changed.js +1 -3
- package/lib/common/model/character/character-properties-helper.js +0 -10
- package/lib/common/model/character/character-properties.js +29 -25
- package/lib/common/model/character/character-property-descriptor.js +104 -64
- package/lib/common/model/character/character-style.js +3 -5
- package/lib/common/model/character/composite-font-info.js +0 -9
- package/lib/common/model/character/history-runs.js +0 -18
- package/lib/common/model/character/lang-info.js +0 -3
- package/lib/common/model/character/layout-character-properties-color-info.js +0 -4
- package/lib/common/model/character/run-iterator.js +11 -11
- package/lib/common/model/chunk.js +2 -4
- package/lib/common/model/color/color-hsl.js +3 -6
- package/lib/common/model/color/color-model-info.js +8 -12
- package/lib/common/model/color/color-provider.js +2 -5
- package/lib/common/model/color/color.js +7 -7
- package/lib/common/model/color/d-xsystem-colors.js +30 -30
- package/lib/common/model/color/dx-color.js +3 -3
- package/lib/common/model/color/enums.js +13 -13
- package/lib/common/model/color/palette.js +20 -24
- package/lib/common/model/color/sc-rgbcolor.js +1 -4
- package/lib/common/model/comments/comment.js +1 -7
- package/lib/common/model/compat-settings.js +0 -3
- package/lib/common/model/creator/cache.js +0 -3
- package/lib/common/model/creator/creator.js +3 -2
- package/lib/common/model/creator/font-corrector.js +0 -3
- package/lib/common/model/creator/options.js +9 -7
- package/lib/common/model/document-model.js +31 -54
- package/lib/common/model/drawing/backdrop-plane.js +0 -3
- package/lib/common/model/drawing/container-effect.js +0 -4
- package/lib/common/model/drawing/drawing-color-model-info.js +3 -11
- package/lib/common/model/drawing/drawing-color.js +0 -2
- package/lib/common/model/drawing/drawing-effect-collection.js +0 -1
- package/lib/common/model/drawing/drawing-effect-style.js +0 -3
- package/lib/common/model/drawing/drawing-fill.js +3 -4
- package/lib/common/model/drawing/drawing-text-font.js +6 -8
- package/lib/common/model/drawing/drawing-value-constants.js +20 -20
- package/lib/common/model/drawing/outline.js +0 -1
- package/lib/common/model/drawing/scene3d-properties-info.js +10 -10
- package/lib/common/model/drawing/scene3d-properties.js +0 -4
- package/lib/common/model/drawing/scene3d-rotation-info.js +1 -5
- package/lib/common/model/drawing/scene3d-vector.js +0 -3
- package/lib/common/model/drawing/shape-bevel3d-properties.js +2 -5
- package/lib/common/model/drawing/shape3d-properties.js +4 -12
- package/lib/common/model/drawing/transform/color-transform-collection.js +0 -1
- package/lib/common/model/drawing/transform/color-transform-value-base.js +0 -1
- package/lib/common/model/fields/check-box-properties.js +4 -6
- package/lib/common/model/fields/field-request-manager.js +4 -7
- package/lib/common/model/fields/field.js +0 -27
- package/lib/common/model/fields/form-field-properties.js +4 -11
- package/lib/common/model/fields/parsers/field-code-parser-doc-variable.js +0 -1
- package/lib/common/model/fields/parsers/field-code-parser-if.js +1 -9
- package/lib/common/model/fields/parsers/field-code-parser-toc.js +10 -23
- package/lib/common/model/fields/parsers/field-code-parser.js +2 -18
- package/lib/common/model/fields/tree-creator.js +5 -19
- package/lib/common/model/find-replace-helper.js +0 -24
- package/lib/common/model/floating-objects/anchor-info.js +21 -19
- package/lib/common/model/floating-objects/sizes.js +2 -10
- package/lib/common/model/floating-objects/text-box-properties.js +8 -8
- package/lib/common/model/fonts/control-font.js +4 -8
- package/lib/common/model/fonts/font-chooser.js +2 -3
- package/lib/common/model/fonts/font-face-descriptors.js +11 -9
- package/lib/common/model/fonts/font-info.js +6 -16
- package/lib/common/model/fonts/google-fonts.js +1 -4
- package/lib/common/model/fonts/grabber.js +3 -7
- package/lib/common/model/fonts/loader.js +2 -7
- package/lib/common/model/fonts/measurer.js +1 -4
- package/lib/common/model/footnotes/footnote.js +0 -9
- package/lib/common/model/full-chunk-and-run-info.js +0 -7
- package/lib/common/model/history/base/history-item.js +2 -3
- package/lib/common/model/history/base/history.js +10 -11
- package/lib/common/model/history/base/interval-based-history-item.js +0 -1
- package/lib/common/model/history/base/position-based-history-item.js +0 -1
- package/lib/common/model/history/items/apply-field-hyperlink-style-history-item.js +2 -2
- package/lib/common/model/history/items/apply-style-history-items.js +0 -9
- package/lib/common/model/history/items/bookmark-history-items.js +0 -2
- package/lib/common/model/history/items/change-field-hyperlink-info-history-item.js +0 -4
- package/lib/common/model/history/items/change-rectangular-object-history-item.js +0 -4
- package/lib/common/model/history/items/character-properties-history-items.js +0 -9
- package/lib/common/model/history/items/create-style-link-history-item.js +0 -2
- package/lib/common/model/history/items/document-properties-history-items.js +0 -6
- package/lib/common/model/history/items/document-protection-history-item.js +0 -2
- package/lib/common/model/history/items/field-insert-history-item.js +0 -6
- package/lib/common/model/history/items/floating-objects/anchor-info-property-history-item.js +0 -3
- package/lib/common/model/history/items/floating-objects/change-anchored-picture-size-history-item.js +0 -2
- package/lib/common/model/history/items/floating-objects/change-anchored-text-box-size-history-item.js +0 -2
- package/lib/common/model/history/items/floating-objects/change-image-property-history-item.js +0 -3
- package/lib/common/model/history/items/floating-objects/change-text-box-properties-history-item.js +0 -2
- package/lib/common/model/history/items/floating-objects/insert-anchored-picture-history-item.js +0 -5
- package/lib/common/model/history/items/floating-objects/shape-property-history-item.js +0 -5
- package/lib/common/model/history/items/header-footer-history-items.js +0 -5
- package/lib/common/model/history/items/insert-inline-picture-history-item.js +0 -3
- package/lib/common/model/history/items/insert-paragraph-history-item.js +0 -1
- package/lib/common/model/history/items/insert-section-history-item.js +0 -5
- package/lib/common/model/history/items/insert-sub-document-history-item.js +1 -7
- package/lib/common/model/history/items/insert-text-history-item.js +0 -1
- package/lib/common/model/history/items/list-level-character-properties-history-items.js +0 -6
- package/lib/common/model/history/items/list-level-paragraph-properties-history-items.js +0 -6
- package/lib/common/model/history/items/list-level-properties-history-items.js +0 -5
- package/lib/common/model/history/items/non-visual-drawing-object-info.js +0 -3
- package/lib/common/model/history/items/numbering-list-history-items.js +0 -21
- package/lib/common/model/history/items/paragraph-properties-history-items.js +0 -19
- package/lib/common/model/history/items/range-permission-history-item.js +0 -2
- package/lib/common/model/history/items/remove-hyperlink-history-item.js +0 -11
- package/lib/common/model/history/items/remove-interval-history-item.js +0 -2
- package/lib/common/model/history/items/section-properties-history-items.js +0 -3
- package/lib/common/model/history/items/switch-text-box-sub-documents-state-history-item.js +0 -4
- package/lib/common/model/history/items/tables/change-table-cell-history-items.js +0 -7
- package/lib/common/model/history/items/tables/create-table-history-item.js +0 -5
- package/lib/common/model/history/items/tables/insert-table-row-history-item.js +0 -3
- package/lib/common/model/history/items/tables/remove-table-cell-history-item.js +0 -5
- package/lib/common/model/history/items/tables/remove-table-history-item.js +0 -2
- package/lib/common/model/history/items/tables/remove-table-row-history-item.js +0 -3
- package/lib/common/model/history/items/tables/split-table-cell-history-item.js +0 -6
- package/lib/common/model/history/items/tables/table-cell-properties-history-items.js +0 -10
- package/lib/common/model/history/items/tables/table-properties-history-items.js +0 -7
- package/lib/common/model/history/items/tables/table-row-properties-history-items.js +0 -9
- package/lib/common/model/history/items/text-run-change-case-history-item.js +0 -4
- package/lib/common/model/history/selection/scroll-history-item.js +0 -4
- package/lib/common/model/history/selection/selection-history-item.js +0 -4
- package/lib/common/model/history/states/history-item-state-object.js +0 -30
- package/lib/common/model/history/states/history-item-state.js +1 -2
- package/lib/common/model/json/command-request.js +3 -12
- package/lib/common/model/json/enums/table/json-table-structures-enums.d.ts +4 -2
- package/lib/common/model/json/enums/table/json-table-structures-enums.js +4 -2
- package/lib/common/model/json/importers/json-border-info-converter.js +2 -0
- package/lib/common/model/json/importers/sub-document/json-sub-document-importer.js +2 -2
- package/lib/common/model/json/importers/sub-document/run-importers.js +0 -6
- package/lib/common/model/json/importers/table/json-table-cell-borders-converter.js +4 -0
- package/lib/common/model/json/web-caches-exporter.js +0 -3
- package/lib/common/model/manipulators/base-manipulator.js +0 -1
- package/lib/common/model/manipulators/character-properties-manipulator.js +0 -24
- package/lib/common/model/manipulators/document/sub-document-inserter.js +15 -31
- package/lib/common/model/manipulators/fields-manipulator.js +6 -9
- package/lib/common/model/manipulators/floating-objects/anchor-info-manipulator.js +0 -20
- package/lib/common/model/manipulators/floating-objects/anchor-info-property-manipulator.js +0 -3
- package/lib/common/model/manipulators/floating-objects/floating-objects-manipulator.js +0 -7
- package/lib/common/model/manipulators/floating-objects/shape-manipulator.js +0 -7
- package/lib/common/model/manipulators/floating-objects/z-order-manipulator.js +1 -3
- package/lib/common/model/manipulators/font-manipulator.js +4 -4
- package/lib/common/model/manipulators/inline-object-manipulator.js +0 -3
- package/lib/common/model/manipulators/model-manipulator.js +2 -30
- package/lib/common/model/manipulators/numbering-lists/list-level-character-properties-manipulator.js +0 -19
- package/lib/common/model/manipulators/numbering-lists/list-level-paragraph-properties-manipulator.js +0 -23
- package/lib/common/model/manipulators/numbering-lists/list-level-properties-manipulator.js +0 -15
- package/lib/common/model/manipulators/numbering-lists/numbering-list-manipulator.js +0 -3
- package/lib/common/model/manipulators/paragraph-manipulator/insert-paragraph-manipulator-params.js +0 -3
- package/lib/common/model/manipulators/paragraph-properties-manipulator.js +0 -26
- package/lib/common/model/manipulators/picture-manipulator/insert-picture-manipulator-params.js +0 -6
- package/lib/common/model/manipulators/picture-manipulator/loader/image-loading-options.js +1 -3
- package/lib/common/model/manipulators/picture-manipulator/loader/picture-loader.js +2 -13
- package/lib/common/model/manipulators/picture-manipulator/loader/updated-image-info.js +0 -3
- package/lib/common/model/manipulators/picture-manipulator/non-visual-drawing-object-info.js +0 -4
- package/lib/common/model/manipulators/picture-manipulator/picture-manipulator.js +0 -9
- package/lib/common/model/manipulators/range/create-range-copy-operation.js +2 -20
- package/lib/common/model/manipulators/range/remove-interval-operation.js +6 -22
- package/lib/common/model/manipulators/range/restore-removed-interval-operation.js +1 -3
- package/lib/common/model/manipulators/runs-base-manipulator.js +2 -2
- package/lib/common/model/manipulators/section-properties-manipulator.js +0 -18
- package/lib/common/model/manipulators/tables/insert-table-cell-operation.js +0 -2
- package/lib/common/model/manipulators/tables/insert-table-row-operation.js +0 -2
- package/lib/common/model/manipulators/tables/merge-table-cells-operation.js +5 -4
- package/lib/common/model/manipulators/tables/table-cell-properties-manipulator.js +0 -29
- package/lib/common/model/manipulators/tables/table-normalizator.js +0 -9
- package/lib/common/model/manipulators/tables/table-properties-manipulator.js +0 -27
- package/lib/common/model/manipulators/tables/table-row-properties-manipulator.js +0 -19
- package/lib/common/model/manipulators/tables/tables-manipulator.js +0 -3
- package/lib/common/model/manipulators/text-box-manipulator.js +0 -6
- package/lib/common/model/manipulators/text-case-manipulator.js +0 -7
- package/lib/common/model/manipulators/text-manipulator/chunk-size-corrector.js +5 -9
- package/lib/common/model/manipulators/text-manipulator/insert-text-manipulator-params.js +0 -2
- package/lib/common/model/manipulators/text-manipulator/text-manipulator.js +0 -5
- package/lib/common/model/manipulators/utils/manipulator-params-base.js +0 -4
- package/lib/common/model/model-checks/check-all.js +2 -3
- package/lib/common/model/model-checks/comparer.js +4 -8
- package/lib/common/model/model-checks/position.js +0 -2
- package/lib/common/model/model-iterator.js +0 -4
- package/lib/common/model/number-converters/alphabet-based-number-converter.js +0 -1
- package/lib/common/model/number-converters/decimal-enclosed-parentheses-number-converter.js +0 -1
- package/lib/common/model/number-converters/decimal-zero-number-converter.js +0 -1
- package/lib/common/model/number-converters/descriptive-number-converter.js +0 -3
- package/lib/common/model/number-converters/number-in-dash-number-converter.js +0 -1
- package/lib/common/model/number-converters/numerics-provider.js +0 -12
- package/lib/common/model/number-converters/ordinal-based-number-converter.js +1 -5
- package/lib/common/model/number-converters/roman-number-converter.js +0 -2
- package/lib/common/model/numbering-lists/list-level-properties.js +16 -15
- package/lib/common/model/numbering-lists/list-level.js +6 -12
- package/lib/common/model/numbering-lists/numbering-helper.js +2 -2
- package/lib/common/model/numbering-lists/numbering-list-counters-calculator.js +3 -4
- package/lib/common/model/numbering-lists/numbering-list-id-provider.js +1 -3
- package/lib/common/model/numbering-lists/numbering-list-index-calculator.js +0 -3
- package/lib/common/model/numbering-lists/numbering-list-style.js +0 -1
- package/lib/common/model/numbering-lists/numbering-list.js +6 -8
- package/lib/common/model/numbering-lists/piece-table-numbering-list-counters-manager.js +2 -3
- package/lib/common/model/options/auto-correct.js +0 -8
- package/lib/common/model/options/bookmarks.js +0 -3
- package/lib/common/model/options/control.js +39 -37
- package/lib/common/model/options/document-protection.js +3 -9
- package/lib/common/model/options/fields.js +3 -10
- package/lib/common/model/options/fonts.js +7 -9
- package/lib/common/model/options/mail-merge.js +0 -5
- package/lib/common/model/options/pdf.js +4 -5
- package/lib/common/model/options/printing.js +4 -2
- package/lib/common/model/options/protection.js +2 -9
- package/lib/common/model/options/rich-options.js +11 -13
- package/lib/common/model/options/search.js +0 -1
- package/lib/common/model/options/spell-checker.js +6 -9
- package/lib/common/model/paragraph/paragraph-properties-helper.js +0 -9
- package/lib/common/model/paragraph/paragraph-properties.js +62 -60
- package/lib/common/model/paragraph/paragraph-property-descriptors.js +108 -54
- package/lib/common/model/paragraph/paragraph-style.js +8 -18
- package/lib/common/model/paragraph/paragraph.js +2 -11
- package/lib/common/model/position/linked-interval.js +0 -2
- package/lib/common/model/position/position-manager.js +4 -3
- package/lib/common/model/position/position.js +0 -2
- package/lib/common/model/properties-merger/paragraph-properties-merger.js +1 -1
- package/lib/common/model/properties-merger/properties-merger-base.js +0 -2
- package/lib/common/model/protection/md5.js +8 -7
- package/lib/common/model/protection/password-hash-code-calculator.js +4 -4
- package/lib/common/model/protection/ripemd160.js +32 -31
- package/lib/common/model/protection/sha1.js +0 -1
- package/lib/common/model/protection/sha256.js +9 -8
- package/lib/common/model/protection/sha512.js +0 -3
- package/lib/common/model/range-permissions.js +6 -11
- package/lib/common/model/rich-utils.js +9 -9
- package/lib/common/model/runs/anchored-picture-run.js +0 -1
- package/lib/common/model/runs/anchored-text-box-run.js +0 -3
- package/lib/common/model/runs/inline-picture-run.js +1 -1
- package/lib/common/model/runs/inline-text-box-run.js +0 -1
- package/lib/common/model/runs/run-base.js +1 -12
- package/lib/common/model/runs/text-run.js +0 -1
- package/lib/common/model/section/header-footer.js +2 -3
- package/lib/common/model/section/line-numbering-properties.js +4 -8
- package/lib/common/model/section/paper-kind.js +2 -2
- package/lib/common/model/section/section-column-properties.js +2 -2
- package/lib/common/model/section/section-properties.js +19 -17
- package/lib/common/model/section/section-property-descriptor.js +82 -50
- package/lib/common/model/section/section.js +0 -6
- package/lib/common/model/sentence-model-builder.js +12 -19
- package/lib/common/model/shadings/shading-info.js +0 -4
- package/lib/common/model/shadings/shading-pattern-helper.js +1 -5
- package/lib/common/model/shapes/shape.js +3 -3
- package/lib/common/model/simple-sentence-model-builder.js +7 -10
- package/lib/common/model/special-characters.js +53 -51
- package/lib/common/model/style-base.js +0 -10
- package/lib/common/model/styles-manager.js +20 -21
- package/lib/common/model/sub-document-collection.js +4 -2
- package/lib/common/model/sub-document-infos.js +42 -26
- package/lib/common/model/sub-document.js +12 -24
- package/lib/common/model/tables/grid/table-cell-grid-info.js +0 -3
- package/lib/common/model/tables/main-structures/table-cell.js +7 -10
- package/lib/common/model/tables/main-structures/table-row.js +8 -10
- package/lib/common/model/tables/main-structures/table.js +4 -14
- package/lib/common/model/tables/properties/table-cell-descriptors.d.ts +10 -0
- package/lib/common/model/tables/properties/table-cell-descriptors.js +22 -0
- package/lib/common/model/tables/properties/table-cell-properties.d.ts +5 -1
- package/lib/common/model/tables/properties/table-cell-properties.js +34 -29
- package/lib/common/model/tables/properties/table-properties.js +45 -44
- package/lib/common/model/tables/properties/table-row-properties.js +9 -8
- package/lib/common/model/tables/properties/table-row-property-descriptor.js +8 -8
- package/lib/common/model/tables/properties-mergers/table-cell-properties-merger.js +2 -8
- package/lib/common/model/tables/properties-mergers/table-properties-merger-base.js +0 -4
- package/lib/common/model/tables/properties-mergers/table-properties-merger.js +2 -3
- package/lib/common/model/tables/properties-mergers/table-row-properties-merger.js +2 -4
- package/lib/common/model/tables/secondary-structures/table-base-structures.js +0 -4
- package/lib/common/model/tables/secondary-structures/table-border-calculator.js +3 -7
- package/lib/common/model/tables/secondary-structures/table-units.js +2 -4
- package/lib/common/model/tables/styles/table-cell-style.js +1 -3
- package/lib/common/model/tables/styles/table-conditional-style.js +0 -6
- package/lib/common/model/tables/styles/table-style.d.ts +1 -0
- package/lib/common/model/tables/styles/table-style.js +5 -5
- package/lib/common/model/themes/culture-info.js +0 -1
- package/lib/common/model/themes/office-theme-base.js +1 -4
- package/lib/common/model/themes/theme-drawing-color-collection.js +2 -4
- package/lib/common/model/themes/theme-font-scheme-part.js +4 -7
- package/lib/common/model/themes/theme-font-scheme.js +1 -3
- package/lib/common/model/themes/theme-format-scheme.js +7 -5
- package/lib/common/model/web-settings.js +7 -5
- package/lib/common/model-manager.js +0 -4
- package/lib/common/mouse-handler/base/manipulator-handler-base.js +1 -5
- package/lib/common/mouse-handler/base/manipulator-handler-state-base.js +0 -1
- package/lib/common/mouse-handler/drag-floating-objects-helper.js +0 -9
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-auto-scroll-state.js +2 -5
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-begin-drag-helper-state.js +0 -2
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-column-or-row-state.js +0 -1
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-content-states.js +2 -2
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-floating-object-state.js +0 -1
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-paragraph-select-state.js +1 -4
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-resize-box-state.js +0 -1
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-rotate-box-state.js +0 -1
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-text-selection-states.js +4 -13
- package/lib/common/mouse-handler/mouse-handler/mouse-handler.js +2 -2
- package/lib/common/mouse-handler/resize-box-helper.js +0 -15
- package/lib/common/mouse-handler/resize-table-helper.js +3 -19
- package/lib/common/mouse-handler/rotate-box-helper.js +0 -3
- package/lib/common/mouse-handler/touch-handler/touch-handler-default-state.js +1 -1
- package/lib/common/mouse-handler/touch-handler/touch-handler-drag-floating-object-state.js +0 -1
- package/lib/common/mouse-handler/touch-handler/touch-handler-resize-box-state.js +0 -1
- package/lib/common/mouse-handler/touch-handler/touch-handler-rotate-box-state.js +0 -1
- package/lib/common/mouse-handler/touch-handler/touch-handler-selection-states.js +1 -2
- package/lib/common/mouse-handler/touch-handler/touch-handler-state-base.js +4 -4
- package/lib/common/mouse-handler/touch-handler/touch-handler-waiting-states.js +0 -2
- package/lib/common/popup-menu-manager.js +1 -5
- package/lib/common/rich-edit-core.js +9 -49
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/array.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/base-formatter.js +7 -14
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/element-formatter.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/elements.js +13 -9
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/json.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/anchor-objects-position-info.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/document-layout.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-box.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-column.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page-area.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-page.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-position.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/layout-row.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/page-anchored-object-holder.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/layout/paragraph-frame.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/border-info.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/character-properties.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/chunk.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/field.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/fixed-interval.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/point.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/geometry/rectangle.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/paragraph.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/runs.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/sub-document.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell-properties.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-cell.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-height-unit.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-position.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-properties.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row-properties.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-row.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table-width-unit.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/model/table/table.js +1 -1
- package/lib/common/rich-utils/debug/chrome-dev-tools-custom-formatters/short-string.js +2 -4
- package/lib/common/rich-utils/debug/debug-table.js +2 -11
- package/lib/common/rich-utils/debug/logger/base-logger/log-source-params.js +0 -3
- package/lib/common/rich-utils/debug/logger/base-logger/logger.js +9 -9
- package/lib/common/rich-utils/debug/logger/base-logger/model-params-holder.js +0 -1
- package/lib/common/rich-utils/debug/logger/layout-logger/layout-params-holder.js +1 -2
- package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/debug-visualizer-manager.js +2 -3
- package/lib/common/rich-utils/debug/logger/layout-logger/visualizers/page-visible-info-helper.js +1 -1
- package/lib/common/rich-utils/debug/runtime-template-model-creator.js +6 -20
- package/lib/common/rich-utils/debug/runtime-test-helper.js +2 -8
- package/lib/common/rich-utils/html-converter.d.ts +9 -2
- package/lib/common/rich-utils/html-converter.js +10 -8
- package/lib/common/rich-utils/html-utils.d.ts +5 -2
- package/lib/common/rich-utils/html-utils.js +42 -9
- package/lib/common/rich-utils/inner-client-properties.js +0 -3
- package/lib/common/rich-utils/properties-bundle.js +0 -6
- package/lib/common/scroll/canvas-states.js +0 -3
- package/lib/common/scroll/model-scroll-manager.js +3 -4
- package/lib/common/scroll/model-states.js +0 -9
- package/lib/common/scroll/scroll-formatter.js +1 -4
- package/lib/common/selection/input-position-base.js +0 -16
- package/lib/common/selection/input-position-model-changes-listener.js +1 -3
- package/lib/common/selection/input-position.js +0 -4
- package/lib/common/selection/selected-cells-engine.js +3 -15
- package/lib/common/selection/selected-special-run-info.js +0 -5
- package/lib/common/selection/selection-base.js +6 -2
- package/lib/common/selection/selection-intervals-info.js +1 -5
- package/lib/common/selection/selection-model-changes-listener.js +0 -1
- package/lib/common/selection/selection-state.js +4 -7
- package/lib/common/selection/selection.js +11 -15
- package/lib/common/selection/set-selection-params.js +7 -6
- package/lib/common/spelling/intervals-collections.js +3 -2
- package/lib/common/spelling/intervals-manager.js +0 -6
- package/lib/common/spelling/intervals.js +0 -7
- package/lib/common/spelling/listeners.js +0 -2
- package/lib/common/spelling/spell-checker-selection-changes-listener.js +0 -4
- package/lib/common/spelling/spell-checker.js +0 -8
- package/lib/common/string-resources.js +0 -22
- package/lib/common/ui/quick-search-panel.js +8 -14
- package/lib/common/ui/ruler/controls/base.js +1 -7
- package/lib/common/ui/ruler/controls/column.js +0 -16
- package/lib/common/ui/ruler/controls/divisions.js +3 -12
- package/lib/common/ui/ruler/controls/indent/base.js +4 -4
- package/lib/common/ui/ruler/controls/indent/first-line.js +0 -2
- package/lib/common/ui/ruler/controls/indent/left.js +1 -5
- package/lib/common/ui/ruler/controls/indent/right.js +0 -1
- package/lib/common/ui/ruler/controls/margin/base.js +4 -5
- package/lib/common/ui/ruler/controls/margin/left.js +0 -1
- package/lib/common/ui/ruler/controls/owner.js +5 -9
- package/lib/common/ui/ruler/controls/ruler.js +4 -4
- package/lib/common/ui/ruler/controls/shadow.js +0 -1
- package/lib/common/ui/ruler/controls/tab/tab-info.js +0 -2
- package/lib/common/ui/ruler/controls/tab/tab-type.js +2 -4
- package/lib/common/ui/ruler/controls/tab/tab.js +8 -13
- package/lib/common/ui/ruler/controls/table.js +0 -11
- package/lib/common/ui/ruler/controls/vertical-line.js +4 -7
- package/lib/common/ui/ruler/controls/zoomable-value.js +0 -2
- package/lib/common/ui/ruler/events/mouse.js +6 -6
- package/lib/common/ui/ruler/events/scroll.js +5 -4
- package/lib/common/ui/ruler/manager.js +2 -20
- package/lib/common/ui/ruler/model-data.js +0 -4
- package/lib/common/ui/ruler/mouse-handler.js +3 -6
- package/lib/common/ui/ruler/ruler.js +6 -8
- package/lib/common/ui/ruler/settings.js +0 -36
- package/lib/common/ui/search-manager.js +1 -4
- package/lib/common/utils/direction-adaptor/x-direction-adaptor.js +0 -2
- package/lib/common/utils/direction-adaptor/y-direction-adaptor.js +0 -2
- package/lib/common/utils/event-dispatcher.js +3 -1
- package/lib/common/utils/information-creator.js +2 -2
- package/lib/common/utils/map-creator.js +0 -1
- package/lib/common/utils/mixed-size.d.ts +6 -0
- package/lib/common/utils/mixed-size.js +28 -6
- package/lib/common/utils/size-utils.js +0 -4
- package/lib/common/utils/sub-document-changes-storer.js +4 -2
- package/lib/common/utils/unicode-string.js +0 -2
- package/lib/common/utils/utils.js +1 -4
- package/lib/common/view-settings/views-settings.js +6 -12
- package/lib/common/word-bounds-engine/layout-word-bounds-group-separator.js +3 -5
- package/lib/common/word-bounds-engine/layout-word-bounds.js +1 -3
- package/lib/common/word-bounds-engine/word-bounds-iterators/layout/layout-word-bounds-iterator.js +2 -6
- package/package.json +3 -3
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { formatMessage } from 'devextreme/localization';
|
|
2
1
|
import { RichEditClientCommand as Command } from '../../../common/commands/client-command';
|
|
3
2
|
import { BorderLineStyle } from '../../../common/model/borders/enums';
|
|
4
3
|
import { JSONFontInfoProperty } from '../../../common/model/json/enums/json-character-enums';
|
|
5
|
-
import { StringUtils } from '@devexpress/utils/lib/utils/string';
|
|
6
4
|
import { Constants } from '../../_constants';
|
|
7
5
|
import { loadDefaultMessages } from '../../default-localization';
|
|
8
6
|
import { RibbonTabType } from '../../public/ribbon/tab';
|
|
7
|
+
import { Utils } from '../../public/utils';
|
|
9
8
|
export class RibbonItemsData {
|
|
10
9
|
static getDefaultItems() {
|
|
11
10
|
loadDefaultMessages();
|
|
@@ -17,136 +16,131 @@ export class RibbonItemsData {
|
|
|
17
16
|
return { text: s.toString(), value: s };
|
|
18
17
|
});
|
|
19
18
|
const zoomLevels = Constants.getZoomLevelsList();
|
|
20
|
-
function getTrimmedMessage(id) {
|
|
21
|
-
const message = formatMessage(id);
|
|
22
|
-
const trimmedFromEnd = StringUtils.trimEnd(message, ['\\.']);
|
|
23
|
-
return StringUtils.trimStart(trimmedFromEnd, ['\\&']);
|
|
24
|
-
}
|
|
25
19
|
const fileToolBarItems = [
|
|
26
|
-
{ type: 'Button', text:
|
|
27
|
-
{ type: 'Button', text:
|
|
28
|
-
{ type: 'Button', text:
|
|
20
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_NewEmptyDocument"), icon: 'dxre-icon-New', alwaysShowText: true, name: Command.CreateNewDocumentLocally },
|
|
21
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.OpenButton'), icon: 'dxre-icon-Open', alwaysShowText: true, name: Command.OpenDocumentLocally },
|
|
22
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.SaveAsButton'), icon: 'dxre-icon-Save', alwaysShowText: true, name: Command.ExportDocument },
|
|
29
23
|
{
|
|
30
24
|
type: 'Menu',
|
|
31
25
|
name: Command.DownloadDocumentLocally,
|
|
32
|
-
text:
|
|
26
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.DownloadButton'),
|
|
33
27
|
icon: 'dxre-icon-Download',
|
|
34
28
|
alwaysShowText: true,
|
|
35
29
|
items: [
|
|
36
|
-
{ text:
|
|
37
|
-
{ text:
|
|
38
|
-
{ text:
|
|
39
|
-
{ text:
|
|
30
|
+
{ text: Utils.getTrimmedMessage("ASPxRichEditStringId.Download_WordDocument"), name: Command.DownloadDocx },
|
|
31
|
+
{ text: Utils.getTrimmedMessage("ASPxRichEditStringId.Download_RichTextFormat"), name: Command.DownloadRtf },
|
|
32
|
+
{ text: Utils.getTrimmedMessage("ASPxRichEditStringId.Download_PlainText"), name: Command.DownloadTxt },
|
|
33
|
+
{ text: Utils.getTrimmedMessage("ASPxRichEditStringId.Download_Html"), name: Command.DownloadHtml },
|
|
40
34
|
]
|
|
41
35
|
},
|
|
42
|
-
{ type: 'Button', text: getTrimmedMessage("OfficeStringId.MenuCmd_Print"), icon: 'dxre-icon-Print', alwaysShowText: true, name: Command.PrintDocumentOnClient }
|
|
36
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_Print"), icon: 'dxre-icon-Print', alwaysShowText: true, name: Command.PrintDocumentOnClient }
|
|
43
37
|
];
|
|
44
38
|
const homeToolbarItems = [
|
|
45
|
-
{ type: 'Button', text:
|
|
46
|
-
{ type: 'Button', text:
|
|
47
|
-
{ type: 'Button', text:
|
|
48
|
-
{ type: 'Button', text:
|
|
49
|
-
{ type: 'Button', text:
|
|
39
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.GroupUndo'), icon: 'dxre-icon-Undo', name: Command.Undo },
|
|
40
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_Redo"), icon: 'dxre-icon-Redo', name: Command.Redo },
|
|
41
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_CutSelection"), icon: 'dxre-icon-Cut', name: Command.CutSelection, beginGroup: true },
|
|
42
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_CopySelection"), icon: 'dxre-icon-Copy', name: Command.CopySelection },
|
|
43
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_Paste"), icon: 'dxre-icon-Paste', name: Command.PasteSelection },
|
|
50
44
|
{ type: 'SelectBox', dataSource: fonts, width: 150, name: Command.ChangeFontName, beginGroup: true, displayExpr: "text", valueExpr: "value" },
|
|
51
45
|
{ type: 'SelectBox', dataSource: fontSizes, width: 70, name: Command.ChangeFontSize, beginGroup: true, acceptCustomValue: true,
|
|
52
46
|
displayExpr: "text", valueExpr: "value", onCustomItemCreating: function (e) { e.customItem = { text: e.text, value: parseFloat(e.text) }; } },
|
|
53
|
-
{ type: 'Button', text:
|
|
54
|
-
{ type: 'Button', text:
|
|
55
|
-
{ type: 'ColorBox', text:
|
|
56
|
-
{ type: 'Button', text:
|
|
57
|
-
{ type: 'Button', text:
|
|
58
|
-
{ type: 'Button', text:
|
|
59
|
-
{ type: 'Button', text:
|
|
60
|
-
{ type: 'Button', text:
|
|
61
|
-
{ type: 'Button', text:
|
|
62
|
-
{ type: 'Button', text:
|
|
47
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_IncreaseFontSize"), icon: 'dxre-icon-FontSizeIncrease', name: Command.IncreaseFontSize, beginGroup: true },
|
|
48
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_DecreaseFontSize"), icon: 'dxre-icon-FontSizeDecrease', name: Command.DecreaseFontSize },
|
|
49
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_ChangeFontColor"), value: '#ff0000', name: Command.ChangeFontForeColor, beginGroup: true },
|
|
50
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_Font_settings'), icon: 'dxre-icon-ChangeFontStyle', name: Command.ShowFontForm, beginGroup: true },
|
|
51
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('OfficeStringId.MenuCmd_ToggleFontBold'), icon: 'dxre-icon-Bold', name: Command.ToggleFontBold, isToggleMode: true, beginGroup: true },
|
|
52
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('OfficeStringId.MenuCmd_ToggleFontItalic'), icon: 'dxre-icon-Italic', name: Command.ToggleFontItalic, isToggleMode: true },
|
|
53
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('OfficeStringId.MenuCmd_ToggleFontUnderline'), icon: 'dxre-icon-Underline', name: Command.ToggleFontUnderline, isToggleMode: true },
|
|
54
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('OfficeStringId.MenuCmd_ToggleFontStrikeout'), icon: 'dxre-icon-Strikeout', name: Command.ToggleFontStrikeout, isToggleMode: true },
|
|
55
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.CharacterFormattingScript_Subscript'), icon: 'dxre-icon-Subscript', name: Command.ToggleFontSubscript, isToggleMode: true },
|
|
56
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.CharacterFormattingScript_Superscript'), icon: 'dxre-icon-Superscript', name: Command.ToggleFontSuperscript, isToggleMode: true },
|
|
63
57
|
{
|
|
64
58
|
type: 'Menu',
|
|
65
59
|
name: Command.ChangeCaseMenu,
|
|
66
|
-
text:
|
|
60
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeTextCase'),
|
|
67
61
|
icon: 'dxre-icon-ChangeTextCase',
|
|
68
62
|
items: [
|
|
69
|
-
{ text:
|
|
70
|
-
{ text:
|
|
71
|
-
{ text:
|
|
72
|
-
{ text:
|
|
73
|
-
{ text:
|
|
63
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_MakeTextSentenceCase'), name: Command.SentenceCase },
|
|
64
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_MakeTextUpperCase'), name: Command.MakeTextUpperCase },
|
|
65
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_MakeTextLowerCase'), name: Command.MakeTextLowerCase },
|
|
66
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_CapitalizeEachWordTextCase'), name: Command.CapitalizeEachWordTextCase },
|
|
67
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTextCase'), name: Command.ToggleTextCase }
|
|
74
68
|
]
|
|
75
69
|
},
|
|
76
|
-
{ type: 'Button', text:
|
|
77
|
-
{ type: 'Button', text: getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertBulletListDescription'), icon: 'dxre-icon-ListBullets', name: Command.ToggleBulletedListItem, isToggleMode: true, beginGroup: true },
|
|
78
|
-
{ type: 'Button', text: getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertSimpleListDescription'), icon: 'dxre-icon-ListNumbers', name: Command.ToggleNumberingListItem, isToggleMode: true },
|
|
79
|
-
{ type: 'Button', text: getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertMultilevelListDescription'), icon: 'dxre-icon-ListMultilevel', name: Command.ToggleMultilevelListItem, isToggleMode: true },
|
|
70
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.ClearFormatting'), icon: 'dxre-icon-ClearFormatting', name: Command.ClearFormatting },
|
|
71
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertBulletListDescription'), icon: 'dxre-icon-ListBullets', name: Command.ToggleBulletedListItem, isToggleMode: true, beginGroup: true },
|
|
72
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertSimpleListDescription'), icon: 'dxre-icon-ListNumbers', name: Command.ToggleNumberingListItem, isToggleMode: true },
|
|
73
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertMultilevelListDescription'), icon: 'dxre-icon-ListMultilevel', name: Command.ToggleMultilevelListItem, isToggleMode: true },
|
|
80
74
|
{
|
|
81
75
|
type: 'Menu',
|
|
82
76
|
name: Command.AlignParagraphMenu,
|
|
83
|
-
text:
|
|
77
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_Align_Paragraph'),
|
|
84
78
|
icon: 'dxre-icon-AlignLeft',
|
|
85
79
|
beginGroup: true,
|
|
86
80
|
items: [
|
|
87
|
-
{ text:
|
|
88
|
-
{ text:
|
|
89
|
-
{ text:
|
|
90
|
-
{ text:
|
|
81
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.Caption_ParagraphAlignment_Left'), name: Command.ToggleParagraphAlignmentLeft, icon: 'dxre-icon-AlignLeft' },
|
|
82
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.Caption_ParagraphAlignment_Center'), name: Command.ToggleParagraphAlignmentCenter, icon: 'dxre-icon-AlignCenter' },
|
|
83
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.Caption_ParagraphAlignment_Right'), name: Command.ToggleParagraphAlignmentRight, icon: 'dxre-icon-AlignRight' },
|
|
84
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.Caption_ParagraphAlignment_Justify'), name: Command.ToggleParagraphAlignmentJustify, icon: 'dxre-icon-AlignJustify' }
|
|
91
85
|
]
|
|
92
86
|
},
|
|
93
|
-
{ type: 'Button', text:
|
|
87
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleWhitespace'), icon: 'dxre-icon-ShowHidden', name: Command.ToggleShowWhitespace, isToggleMode: true },
|
|
94
88
|
{
|
|
95
89
|
type: 'Menu',
|
|
96
90
|
name: Command.LineSpacingMenu,
|
|
97
91
|
icon: 'dxre-icon-LineSpacing',
|
|
98
|
-
text:
|
|
92
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeParagraphLineSpacing'),
|
|
99
93
|
items: [
|
|
100
94
|
{ text: '1.0', name: Command.SetSingleParagraphSpacing },
|
|
101
95
|
{ text: '1.5', name: Command.SetSesquialteralParagraphSpacing },
|
|
102
96
|
{ text: '2.0', name: Command.SetDoubleParagraphSpacing },
|
|
103
|
-
{ text:
|
|
104
|
-
{ text:
|
|
105
|
-
{ text:
|
|
106
|
-
{ text:
|
|
97
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_AddSpacingBeforeParagraph'), name: Command.AddSpacingBeforeParagraph },
|
|
98
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_AddSpacingAfterParagraph'), name: Command.AddSpacingAfterParagraph },
|
|
99
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_RemoveSpacingBeforeParagraph'), name: Command.RemoveSpacingBeforeParagraph },
|
|
100
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_RemoveSpacingAfterParagraph'), name: Command.RemoveSpacingAfterParagraph }
|
|
107
101
|
]
|
|
108
102
|
},
|
|
109
|
-
{ type: 'ColorBox', text:
|
|
103
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeParagraphBackColorDescription'), value: '#fff', name: Command.ChangeParagraphBackColor, beginGroup: true },
|
|
110
104
|
{ type: 'SelectBox', width: 130, name: Command.ChangeStyle, dataSource: Constants.getParagraphStylesList(),
|
|
111
105
|
displayExpr: 'text', valueExpr: 'value', beginGroup: true, acceptCustomValue: true },
|
|
112
|
-
{ type: 'Button', text:
|
|
113
|
-
{ type: 'Button', text:
|
|
106
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.FindReplace_Find'), icon: 'dxre-icon-Find', name: Command.Find, beginGroup: true },
|
|
107
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.FindReplace_Replace'), icon: 'dxre-icon-Replace', name: Command.Replace }
|
|
114
108
|
];
|
|
115
109
|
const insertToolbarItems = [
|
|
116
|
-
{ type: 'Button', text:
|
|
117
|
-
{ type: 'Button', text:
|
|
118
|
-
{ type: 'Button', text:
|
|
119
|
-
{ type: 'Button', text:
|
|
120
|
-
{ type: 'Button', text:
|
|
121
|
-
{ type: 'Button', text:
|
|
122
|
-
{ type: 'Button', text:
|
|
123
|
-
{ type: 'Button', text:
|
|
124
|
-
{ type: 'Button', text:
|
|
110
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTable'), icon: 'dxre-icon-InsertTable', alwaysShowText: true, name: Command.ShowInsertTableForm },
|
|
111
|
+
{ type: 'Button', text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_InsertFloatingObjectPicture"), icon: 'dxre-icon-InsertImage', alwaysShowText: true, name: Command.InsertPictureLocally },
|
|
112
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ShowBookmarkForm'), icon: 'dxre-icon-Bookmark', alwaysShowText: true, name: Command.ShowBookmarkForm, beginGroup: true },
|
|
113
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('OfficeStringId.MenuCmd_Hyperlink'), icon: 'dxre-icon-Hyperlink', alwaysShowText: true, name: Command.ShowHyperlinkForm },
|
|
114
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_EditPageHeader'), icon: 'dxre-icon-Header', alwaysShowText: true, name: Command.InsertHeader, beginGroup: true },
|
|
115
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_EditPageFooter'), icon: 'dxre-icon-Footer', alwaysShowText: true, name: Command.InsertFooter },
|
|
116
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertPageNumberField'), icon: 'dxre-icon-InsertPageNumber', alwaysShowText: true, name: Command.InsertPageNumberField },
|
|
117
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertPageCountField'), icon: 'dxre-icon-InsertPageCount', alwaysShowText: true, name: Command.InsertPageCountField },
|
|
118
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTextBox'), icon: 'dxre-icon-InsertTextBox', alwaysShowText: true, name: Command.InsertAnchoredTextBox, beginGroup: true }
|
|
125
119
|
];
|
|
126
120
|
const pageLayoutToolbarItems = [
|
|
127
121
|
{
|
|
128
122
|
type: 'Menu',
|
|
129
123
|
name: Command.MarginsMenu,
|
|
130
124
|
icon: 'dxre-icon-PageMargins',
|
|
131
|
-
text:
|
|
125
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.Margins'),
|
|
132
126
|
alwaysShowText: true,
|
|
133
127
|
items: [
|
|
134
|
-
{ text:
|
|
135
|
-
{ text:
|
|
136
|
-
{ text:
|
|
137
|
-
{ text:
|
|
138
|
-
{ text:
|
|
128
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Normal'), icon: 'dxre-icon-PageMarginsNormal', name: Command.SetNormalSectionPageMargins },
|
|
129
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.MarginsNarrow'), icon: 'dxre-icon-PageMarginsNarrow', name: Command.SetNarrowSectionPageMargins },
|
|
130
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.MarginsModerate'), icon: 'dxre-icon-PageMarginsModerate', name: Command.SetModerateSectionPageMargins },
|
|
131
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.MarginsWide'), icon: 'dxre-icon-PageMarginsWide', name: Command.SetWideSectionPageMargins },
|
|
132
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ShowPageMarginsSetupForm'), name: Command.ShowPageMarginsSetupForm, beginGroup: true }
|
|
139
133
|
]
|
|
140
134
|
},
|
|
141
135
|
{
|
|
142
136
|
type: 'Menu',
|
|
143
137
|
name: Command.OrientationMenu,
|
|
144
138
|
icon: 'dxre-icon-PageOrientation',
|
|
145
|
-
text:
|
|
139
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.Orientation'),
|
|
146
140
|
alwaysShowText: true,
|
|
147
141
|
items: [
|
|
148
|
-
{ text:
|
|
149
|
-
{ text:
|
|
142
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Portrait'), icon: 'dxre-icon-PageOrientationPortrait', name: Command.SetPortraitPageOrientation },
|
|
143
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Landscape'), icon: 'dxre-icon-PageOrientationLandscape', name: Command.SetLandscapePageOrientation }
|
|
150
144
|
]
|
|
151
145
|
},
|
|
152
146
|
{
|
|
@@ -154,7 +148,7 @@ export class RibbonItemsData {
|
|
|
154
148
|
name: Command.SizeMenu,
|
|
155
149
|
icon: 'dxre-icon-PaperSize',
|
|
156
150
|
alwaysShowText: true,
|
|
157
|
-
text:
|
|
151
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.TableProperties_Size'),
|
|
158
152
|
items: [
|
|
159
153
|
{ text: 'Letter', name: Command.SetSectionLetterPaperKind },
|
|
160
154
|
{ text: 'Legal', name: Command.SetSectionLegalPaperKind },
|
|
@@ -164,7 +158,7 @@ export class RibbonItemsData {
|
|
|
164
158
|
{ text: 'Executive', name: Command.SetSectionExecutivePaperKind },
|
|
165
159
|
{ text: 'A5', name: Command.SetSectionA5PaperKind },
|
|
166
160
|
{ text: 'A6', name: Command.SetSectionA6PaperKind },
|
|
167
|
-
{ text:
|
|
161
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ShowPagePaperSetupForm'), name: Command.ShowPagePaperSetupForm, beginGroup: true }
|
|
168
162
|
]
|
|
169
163
|
},
|
|
170
164
|
{
|
|
@@ -172,11 +166,11 @@ export class RibbonItemsData {
|
|
|
172
166
|
name: Command.ColumnsMenu,
|
|
173
167
|
icon: 'dxre-icon-Columns',
|
|
174
168
|
alwaysShowText: true,
|
|
175
|
-
text:
|
|
169
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.ColumnsTitle'),
|
|
176
170
|
items: [
|
|
177
|
-
{ text:
|
|
178
|
-
{ text:
|
|
179
|
-
{ text:
|
|
171
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetSectionOneColumn'), icon: 'dxre-icon-ColumnsOne', name: Command.SetSectionOneColumn },
|
|
172
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetSectionTwoColumns'), icon: 'dxre-icon-ColumnsTwo', name: Command.SetSectionTwoColumns },
|
|
173
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetSectionThreeColumns'), icon: 'dxre-icon-ColumnsThree', name: Command.SetSectionThreeColumns },
|
|
180
174
|
]
|
|
181
175
|
},
|
|
182
176
|
{
|
|
@@ -184,99 +178,99 @@ export class RibbonItemsData {
|
|
|
184
178
|
name: Command.BreaksMenu,
|
|
185
179
|
icon: 'dxre-icon-InsertSectionBreakNextPage',
|
|
186
180
|
alwaysShowText: true,
|
|
187
|
-
text:
|
|
181
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertBreak'),
|
|
188
182
|
items: [
|
|
189
|
-
{ text:
|
|
190
|
-
{ text:
|
|
191
|
-
{ text:
|
|
192
|
-
{ text:
|
|
193
|
-
{ text:
|
|
183
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.FloatingObjectLayoutOptionsForm_HorizontalPositionTypePage'), icon: 'dxre-icon-InsertPageBreak', name: Command.InsertPageBreak },
|
|
184
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.TableProperties_Column'), icon: 'dxre-icon-InsertColumnBreak', name: Command.InsertColumnBreak },
|
|
185
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertSectionBreakNextPage'), icon: 'dxre-icon-InsertSectionBreakNextPage', name: Command.InsertSectionBreakNextPage },
|
|
186
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertSectionBreakEvenPage'), icon: 'dxre-icon-InsertSectionBreakEvenPage', name: Command.InsertSectionBreakEvenPage },
|
|
187
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertSectionBreakOddPage'), icon: 'dxre-icon-InsertSectionBreakOddPage', name: Command.InsertSectionBreakOddPage }
|
|
194
188
|
]
|
|
195
189
|
},
|
|
196
|
-
{ type: 'ColorBox', text:
|
|
190
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangePageColor'), value: '#fff', name: Command.ChangePageColor, beginGroup: true }
|
|
197
191
|
];
|
|
198
192
|
const referencesToolbarItems = [
|
|
199
|
-
{ type: 'Button', text:
|
|
193
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.GroupTableOfContents'), icon: 'dxre-icon-InsertTableOfContents', alwaysShowText: true, name: Command.CreateTocField },
|
|
200
194
|
{
|
|
201
195
|
type: 'Menu',
|
|
202
196
|
name: Command.AddTextMenu,
|
|
203
197
|
icon: 'dxre-icon-AddParagraphToTableOfContents',
|
|
204
|
-
text:
|
|
198
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_AddParagraphsToTableOfContents'),
|
|
205
199
|
alwaysShowText: true,
|
|
206
200
|
items: [
|
|
207
|
-
{ text:
|
|
208
|
-
{ text:
|
|
209
|
-
{ text:
|
|
210
|
-
{ text:
|
|
211
|
-
{ text:
|
|
212
|
-
{ text:
|
|
213
|
-
{ text:
|
|
214
|
-
{ text:
|
|
215
|
-
{ text:
|
|
216
|
-
{ text:
|
|
201
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetParagraphBodyTextLevel'), name: Command.SetParagraphBodyTextLevel },
|
|
202
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 1', name: Command.SetParagraphHeading1Level },
|
|
203
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 2', name: Command.SetParagraphHeading2Level },
|
|
204
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 3', name: Command.SetParagraphHeading3Level },
|
|
205
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 4', name: Command.SetParagraphHeading4Level },
|
|
206
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 5', name: Command.SetParagraphHeading5Level },
|
|
207
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 6', name: Command.SetParagraphHeading6Level },
|
|
208
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 7', name: Command.SetParagraphHeading7Level },
|
|
209
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 8', name: Command.SetParagraphHeading8Level },
|
|
210
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.Level') + ' 9', name: Command.SetParagraphHeading9Level }
|
|
217
211
|
]
|
|
218
212
|
},
|
|
219
213
|
{
|
|
220
214
|
type: 'Menu',
|
|
221
215
|
name: Command.InsertCaptionMenu,
|
|
222
216
|
icon: 'dxre-icon-InsertCaption',
|
|
223
|
-
text:
|
|
217
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertCaptionPlaceholder'),
|
|
224
218
|
beginGroup: true,
|
|
225
219
|
alwaysShowText: true,
|
|
226
220
|
items: [
|
|
227
|
-
{ text:
|
|
228
|
-
{ text:
|
|
229
|
-
{ text:
|
|
221
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertFiguresCaption'), icon: 'dxre-icon-InsertFigureCaption', name: Command.CreateFigureCaptionField },
|
|
222
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTablesCaption'), icon: 'dxre-icon-InsertTableCaption', name: Command.CreateTableCaptionField },
|
|
223
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertEquationsCaption'), icon: 'dxre-icon-InsertTableOfEquations', name: Command.CreateEquationCaptionField }
|
|
230
224
|
]
|
|
231
225
|
},
|
|
232
226
|
{
|
|
233
227
|
type: 'Menu',
|
|
234
228
|
name: Command.InsertTableOfFiguresMenu,
|
|
235
229
|
icon: 'dxre-icon-InsertTableOfCaptions',
|
|
236
|
-
text:
|
|
230
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableOfFiguresPlaceholder'),
|
|
237
231
|
alwaysShowText: true,
|
|
238
232
|
items: [
|
|
239
|
-
{ text:
|
|
240
|
-
{ text:
|
|
241
|
-
{ text:
|
|
233
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.DefaultStyleName_tableoffigures'), icon: 'dxre-icon-InsertFigureCaption', name: Command.CreateTableOfFiguresField },
|
|
234
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableOfTables'), icon: 'dxre-icon-InsertTableCaption', name: Command.CreateTableOfTablesField },
|
|
235
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableOfEquations'), icon: 'dxre-icon-InsertTableOfEquations', name: Command.CreateTableOfEquationsField }
|
|
242
236
|
]
|
|
243
237
|
},
|
|
244
|
-
{ type: 'Button', text:
|
|
238
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_UpdateTableOfContents'), icon: 'dxre-icon-UpdateTableOfContents', alwaysShowText: true, name: Command.UpdateTableOfContents, beginGroup: true }
|
|
245
239
|
];
|
|
246
240
|
const mailMergeToolbarItems = [
|
|
247
241
|
{
|
|
248
242
|
type: 'Menu',
|
|
249
243
|
name: Command.CreateFieldMenu,
|
|
250
244
|
icon: 'dxre-icon-InsertDataField',
|
|
251
|
-
text:
|
|
245
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_CreateField'),
|
|
252
246
|
alwaysShowText: true,
|
|
253
247
|
items: [
|
|
254
|
-
{ text:
|
|
255
|
-
{ text:
|
|
256
|
-
{ text:
|
|
257
|
-
{ text:
|
|
258
|
-
{ text:
|
|
259
|
-
{ text:
|
|
260
|
-
{ text:
|
|
261
|
-
{ text:
|
|
248
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_Empty'), name: Command.CreateField },
|
|
249
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreateDateField'), name: Command.CreateDateField },
|
|
250
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreateTimeField'), name: Command.CreateTimeField },
|
|
251
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreatePageField'), name: Command.CreatePageField },
|
|
252
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreatePageCountField'), name: Command.InsertPageCountField },
|
|
253
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreateEmptyMergeField'), name: Command.CreateEmptyMergeField },
|
|
254
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreateEmptyDocVariableField'), name: Command.CreateEmptyDocVariableField },
|
|
255
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.CreateEmptyIfField'), name: Command.CreateEmptyIfField }
|
|
262
256
|
]
|
|
263
257
|
},
|
|
264
|
-
{ type: 'Button', text:
|
|
265
|
-
{ type: 'Button', text:
|
|
266
|
-
{ type: 'Button', text:
|
|
267
|
-
{ type: 'Button', text:
|
|
268
|
-
{ type: 'Button', text:
|
|
269
|
-
{ type: 'Button', text:
|
|
270
|
-
{ type: 'Button', text:
|
|
271
|
-
{ type: 'Button', text:
|
|
272
|
-
{ type: 'Button', text:
|
|
273
|
-
{ type: 'Button', text:
|
|
258
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.InsertMergeFieldTitle'), icon: 'dxre-icon-InsertDataField', alwaysShowText: true, name: Command.ShowInsertMergeFieldForm, },
|
|
259
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleViewMergedData'), icon: 'dxre-icon-ViewMergedData', alwaysShowText: true, name: Command.ToggleViewMergedData, beginGroup: true, isToggleMode: true },
|
|
260
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ShowAllFieldCodes'), icon: 'dxre-icon-ShowAllFieldCodes', alwaysShowText: true, name: Command.ShowAllFieldCodes },
|
|
261
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ShowAllFieldResults'), icon: 'dxre-icon-ShowAllFieldResults', alwaysShowText: true, name: Command.ShowAllFieldResults },
|
|
262
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_UpdateAllFields'), icon: 'dxre-icon-UpdateField', alwaysShowText: true, name: Command.UpdateAllFields },
|
|
263
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_FirstDataRecord'), icon: 'dxre-icon-First', name: Command.GoToFirstDataRecord, beginGroup: true },
|
|
264
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_PreviousDataRecord'), icon: 'dxre-icon-Prev', name: Command.GoToPreviousDataRecord },
|
|
265
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_NextDataRecord'), icon: 'dxre-icon-Next', name: Command.GoToNextDataRecord },
|
|
266
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_LastDataRecord'), icon: 'dxre-icon-Last', name: Command.GoToLastDataRecord },
|
|
267
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_MailMergeSaveDocumentAsCommand'), icon: 'dxre-icon-MailMerge', alwaysShowText: true, name: Command.ShowFinishAndMergeForm, beginGroup: true }
|
|
274
268
|
];
|
|
275
269
|
const viewToolbarItems = [
|
|
276
|
-
{ type: 'Button', text:
|
|
277
|
-
{ type: 'Button', text:
|
|
278
|
-
{ type: 'Button', text:
|
|
279
|
-
{ type: 'Button', text:
|
|
270
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SimpleView'), icon: 'dxre-icon-SimpleView', alwaysShowText: true, name: Command.SwitchToSimpleView, isToggleMode: true },
|
|
271
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SwitchToPrintLayoutView'), icon: 'dxre-icon-PrintLayoutView', alwaysShowText: true, name: Command.SwitchToPrintLayoutView, isToggleMode: true },
|
|
272
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleShowHorizontalRuler'), icon: 'dxre-icon-RulerHorizontal', alwaysShowText: true, name: Command.ToggleShowHorizontalRuler, isToggleMode: true, beginGroup: true },
|
|
273
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_ToggleFullScreen'), icon: 'dxre-icon-FullScreen', alwaysShowText: true, name: Command.FullScreen, isToggleMode: true, beginGroup: true },
|
|
280
274
|
{ type: 'SelectBox', dataSource: zoomLevels, width: 90, name: Command.ChangeZoomLevel, beginGroup: true, acceptCustomValue: true, valueExpr: "this",
|
|
281
275
|
onCustomItemCreating: function (e) {
|
|
282
276
|
const parsed = parseFloat(e.text);
|
|
@@ -289,43 +283,43 @@ export class RibbonItemsData {
|
|
|
289
283
|
},
|
|
290
284
|
];
|
|
291
285
|
return [
|
|
292
|
-
{ title:
|
|
293
|
-
{ title:
|
|
294
|
-
{ title:
|
|
295
|
-
{ title:
|
|
296
|
-
{ title:
|
|
297
|
-
{ title:
|
|
298
|
-
{ title:
|
|
286
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageFile'), items: fileToolBarItems, id: RibbonTabType.File },
|
|
287
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageHome'), items: homeToolbarItems, id: RibbonTabType.Home },
|
|
288
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageInsert'), items: insertToolbarItems, id: RibbonTabType.Insert },
|
|
289
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PagePageLayout'), items: pageLayoutToolbarItems, id: RibbonTabType.PageLayout },
|
|
290
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageReferences'), items: referencesToolbarItems, id: RibbonTabType.References },
|
|
291
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageMailings'), items: mailMergeToolbarItems, id: RibbonTabType.MailMerge },
|
|
292
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageView'), items: viewToolbarItems, id: RibbonTabType.View },
|
|
299
293
|
];
|
|
300
294
|
}
|
|
301
295
|
static getDefaultContextItemsCategories() {
|
|
302
296
|
loadDefaultMessages();
|
|
303
297
|
const headerAndFooter = [
|
|
304
|
-
{ type: 'Button', text:
|
|
305
|
-
{ type: 'Button', text:
|
|
306
|
-
{ type: 'Button', text:
|
|
307
|
-
{ type: 'Button', text:
|
|
308
|
-
{ type: 'Button', text:
|
|
309
|
-
{ type: 'Button', text:
|
|
310
|
-
{ type: 'Button', text:
|
|
311
|
-
{ type: 'NumberBox', text:
|
|
312
|
-
{ type: 'NumberBox', text:
|
|
313
|
-
{ type: 'Button', text:
|
|
298
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_GoToPageHeader'), icon: 'dxre-icon-GoToHeader', name: Command.GoToPageHeader },
|
|
299
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_GoToPageFooter'), icon: 'dxre-icon-GoToFooter', name: Command.GoToPageFooter },
|
|
300
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_GoToPreviousHeaderFooter'), icon: 'dxre-icon-ShowPrevious', name: Command.GoToPreviousPageHeaderFooter },
|
|
301
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_GoToNextHeaderFooter'), icon: 'dxre-icon-ShowNext', name: Command.GoToNextPageHeaderFooter },
|
|
302
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleHeaderFooterLinkToPrevious'), icon: 'dxre-icon-LinkToPrevious', name: Command.LinkHeaderFooterToPrevious },
|
|
303
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleDifferentFirstPage'), icon: 'dxre-icon-DifferentFirstPage', name: Command.ToggleDifferentFirstPage, beginGroup: true },
|
|
304
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleDifferentOddAndEvenPages'), icon: 'dxre-icon-DifferentOddAndEvenPages', name: Command.ToggleDifferentOddAndEvenPages },
|
|
305
|
+
{ type: 'NumberBox', text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_HeaderOffset'), name: Command.ChangeHeaderOffset, min: 0, max: 20, step: 0.1, width: 200, beginGroup: true },
|
|
306
|
+
{ type: 'NumberBox', text: Utils.getTrimmedMessage('ASPxRichEditStringId.MenuCmd_FooterOffset'), name: Command.ChangeFooterOffset, min: 0, max: 20, step: 0.1, width: 220, beginGroup: true },
|
|
307
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ClosePageHeaderFooter'), icon: 'dxre-icon-ClearHeaderAndFooter', name: Command.ClosePageHeaderFooter, beginGroup: true },
|
|
314
308
|
];
|
|
315
309
|
const tableDesign = [
|
|
316
310
|
{
|
|
317
311
|
type: 'Menu',
|
|
318
312
|
name: Command.TableStyleOptionsMenu,
|
|
319
313
|
alwaysShowText: true,
|
|
320
|
-
text:
|
|
314
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.Caption_GroupTableStyleOptions'),
|
|
321
315
|
icon: 'dxre-icon-SplitTableCells',
|
|
322
316
|
items: [
|
|
323
|
-
{ text:
|
|
324
|
-
{ text:
|
|
325
|
-
{ text:
|
|
326
|
-
{ text:
|
|
327
|
-
{ text:
|
|
328
|
-
{ text:
|
|
317
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleFirstRow'), name: Command.ToggleFirstRow },
|
|
318
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleLastRow'), name: Command.ToggleLastRow },
|
|
319
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleBandedRows'), name: Command.ToggleBandedRows },
|
|
320
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleFirstColumn'), name: Command.ToggleFirstColumn, beginGroup: true },
|
|
321
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleLastColumn'), name: Command.ToggleLastColumn },
|
|
322
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleBandedColumn'), name: Command.ToggleBandedColumn }
|
|
329
323
|
]
|
|
330
324
|
},
|
|
331
325
|
{ type: 'SelectBox', width: 180, name: Command.ApplyTableStyle, dataSource: Constants.getTableStylesList(),
|
|
@@ -333,11 +327,11 @@ export class RibbonItemsData {
|
|
|
333
327
|
{
|
|
334
328
|
type: 'SelectBox', width: 100, displayExpr: 'text', valueExpr: 'value', name: Command.ChangeTableBorderStyleRepositoryItem, beginGroup: true,
|
|
335
329
|
dataSource: [
|
|
336
|
-
{ text:
|
|
337
|
-
{ text:
|
|
338
|
-
{ text:
|
|
339
|
-
{ text:
|
|
340
|
-
{ text:
|
|
330
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.UnderlineType_None'), value: BorderLineStyle.None },
|
|
331
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.UnderlineType_Single'), value: BorderLineStyle.Single },
|
|
332
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.UnderlineType_Dotted'), value: BorderLineStyle.Dotted },
|
|
333
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.UnderlineType_Dashed'), value: BorderLineStyle.Dashed },
|
|
334
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.UnderlineType_Double'), value: BorderLineStyle.Double }
|
|
341
335
|
]
|
|
342
336
|
},
|
|
343
337
|
{
|
|
@@ -351,109 +345,109 @@ export class RibbonItemsData {
|
|
|
351
345
|
{ text: '2 pt', value: 40 }
|
|
352
346
|
]
|
|
353
347
|
},
|
|
354
|
-
{ type: 'ColorBox', text:
|
|
348
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeCurrentBorderRepositoryItemColor'), value: '#000', name: Command.ChangeTableBorderColorRepositoryItem, beginGroup: true },
|
|
355
349
|
{
|
|
356
350
|
type: 'Menu',
|
|
357
351
|
name: Command.BordersMenu,
|
|
358
|
-
text:
|
|
352
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.BorderShading_Borders'),
|
|
359
353
|
alwaysShowText: true,
|
|
360
354
|
icon: 'dxre-icon-BordersAll',
|
|
361
355
|
beginGroup: true,
|
|
362
356
|
items: [
|
|
363
|
-
{ text:
|
|
364
|
-
{ text:
|
|
365
|
-
{ text:
|
|
366
|
-
{ text:
|
|
367
|
-
{ text:
|
|
368
|
-
{ text:
|
|
369
|
-
{ text:
|
|
370
|
-
{ text:
|
|
371
|
-
{ text:
|
|
372
|
-
{ text:
|
|
373
|
-
{ text:
|
|
357
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsBottomBorder'), icon: 'dxre-icon-BorderBottom', name: Command.ToggleTableCellsBottomBorder },
|
|
358
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsTopBorder'), icon: 'dxre-icon-BorderTop', name: Command.ToggleTableCellsTopBorder },
|
|
359
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsLeftBorder'), icon: 'dxre-icon-BorderLeft', name: Command.ToggleTableCellsLeftBorder },
|
|
360
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsRightBorder'), icon: 'dxre-icon-BorderRight', name: Command.ToggleTableCellsRightBorder },
|
|
361
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ResetTableCellsBorders'), icon: 'dxre-icon-BorderNone', name: Command.ToggleTableCellNoBorder, beginGroup: true },
|
|
362
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsAllBorders'), icon: 'dxre-icon-BordersAll', name: Command.ToggleTableCellAllBorders },
|
|
363
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsOutsideBorder'), icon: 'dxre-icon-BorderOutside', name: Command.ToggleTableCellOutsideBorders },
|
|
364
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsInsideBorder'), icon: 'dxre-icon-BordersInside', name: Command.ToggleTableCellInsideBorders },
|
|
365
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsInsideHorizontalBorder'), icon: 'dxre-icon-BorderInsideHorizontal', name: Command.ToggleTableCellInsideHorizontalBorders, beginGroup: true },
|
|
366
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsInsideVerticalBorder'), icon: 'dxre-icon-BorderInsideVertical', name: Command.ToggleTableCellInsideVerticalBorders },
|
|
367
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleShowTableGridLines'), icon: 'dxre-icon-ViewTableGridlines', name: Command.ToggleShowTableGridLines, beginGroup: true }
|
|
374
368
|
]
|
|
375
369
|
},
|
|
376
|
-
{ type: 'ColorBox', text:
|
|
370
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('ASPxRichEditStringId.BorderShading_Shading'), value: '#fff', name: Command.ChangeTableCellShading, beginGroup: true }
|
|
377
371
|
];
|
|
378
372
|
const tableLayout = [
|
|
379
373
|
{
|
|
380
374
|
type: 'Menu',
|
|
381
375
|
name: Command.SelectMenu,
|
|
382
|
-
text:
|
|
376
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SelectTableElements'),
|
|
383
377
|
icon: 'dxre-icon-Select',
|
|
384
378
|
items: [
|
|
385
|
-
{ text:
|
|
386
|
-
{ text:
|
|
387
|
-
{ text:
|
|
388
|
-
{ text:
|
|
379
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SelectTableCell'), icon: 'dxre-icon-SelectTableCell', name: Command.SelectTableCell },
|
|
380
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SelectTableColumns'), icon: 'dxre-icon-SelectTableColumn', name: Command.SelectTableColumn },
|
|
381
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SelectTableRow'), icon: 'dxre-icon-SelectTableRow', name: Command.SelectTableRow },
|
|
382
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SelectTable'), icon: 'dxre-icon-SelectTable', name: Command.SelectTable }
|
|
389
383
|
]
|
|
390
384
|
},
|
|
391
|
-
{ type: 'Button', text:
|
|
385
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleShowTableGridLines'), icon: 'dxre-icon-ViewTableGridlines', alwaysShowText: true, name: Command.ToggleShowTableGridLines, isToggleMode: true },
|
|
392
386
|
{
|
|
393
387
|
type: 'Menu',
|
|
394
388
|
name: Command.DeleteMenu,
|
|
395
|
-
text:
|
|
389
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_DeleteTableElements'),
|
|
396
390
|
icon: 'dxre-icon-DeleteTable',
|
|
397
391
|
beginGroup: true,
|
|
398
392
|
alwaysShowText: true,
|
|
399
393
|
items: [
|
|
400
|
-
{ text:
|
|
401
|
-
{ text:
|
|
402
|
-
{ text:
|
|
403
|
-
{ text:
|
|
394
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_DeleteTableCells'), icon: 'dxre-icon-DeleteTableCells', name: Command.ShowDeleteTableCellsForm },
|
|
395
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_DeleteTableColumns'), icon: 'dxre-icon-DeleteTableColumns', name: Command.DeleteTableColumns },
|
|
396
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_DeleteTableRows'), icon: 'dxre-icon-DeleteTableRows', name: Command.DeleteTableRows },
|
|
397
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_DeleteTable'), icon: 'dxre-icon-DeleteTable', name: Command.DeleteTable }
|
|
404
398
|
]
|
|
405
399
|
},
|
|
406
400
|
{
|
|
407
401
|
type: 'Menu',
|
|
408
402
|
name: Command.InsertMenu,
|
|
409
|
-
text:
|
|
403
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.InsertButton'),
|
|
410
404
|
icon: 'dxre-icon-InsertTableRowsBelow',
|
|
411
405
|
alwaysShowText: true,
|
|
412
406
|
items: [
|
|
413
|
-
{ text:
|
|
414
|
-
{ text:
|
|
415
|
-
{ text:
|
|
416
|
-
{ text:
|
|
407
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableRowAbove'), icon: 'dxre-icon-InsertTableRowsAbove', name: Command.InsertTableRowAbove },
|
|
408
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableRowBelow'), icon: 'dxre-icon-InsertTableRowsBelow', name: Command.InsertTableRowBelow },
|
|
409
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableColumnToTheLeft'), icon: 'dxre-icon-InsertTableColumnsToTheLeft', name: Command.InsertTableColumnToTheLeft },
|
|
410
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_InsertTableColumnToTheRight'), icon: 'dxre-icon-InsertTableColumnsToTheRight', name: Command.InsertTableColumnToTheRight }
|
|
417
411
|
]
|
|
418
412
|
},
|
|
419
|
-
{ type: 'Button', text:
|
|
420
|
-
{ type: 'Button', text:
|
|
413
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_MergeTableCells'), icon: 'dxre-icon-MergeTableCells', alwaysShowText: true, name: Command.MergeTableCells, beginGroup: true },
|
|
414
|
+
{ type: 'Button', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SplitTableCellsMenuItem'), icon: 'dxre-icon-SplitTable', alwaysShowText: true, name: Command.ShowSplitTableCellsForm },
|
|
421
415
|
{
|
|
422
416
|
type: 'Menu',
|
|
423
417
|
name: Command.AutoFitMenu,
|
|
424
|
-
text:
|
|
418
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableAutoFitPlaceholder'),
|
|
425
419
|
icon: 'dxre-icon-TableAutoFitContents',
|
|
426
420
|
beginGroup: true,
|
|
427
421
|
alwaysShowText: true,
|
|
428
422
|
items: [
|
|
429
|
-
{ text:
|
|
430
|
-
{ text:
|
|
431
|
-
{ text:
|
|
423
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableAutoFitContents'), icon: 'dxre-icon-TableAutoFitContents', name: Command.SetAutoFitContents },
|
|
424
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableAutoFitWindow'), icon: 'dxre-icon-TableAutoFitWindow', name: Command.SetAutoFitWindow },
|
|
425
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableFixedColumnWidth'), icon: 'dxre-icon-TableFixedColumnWidth', name: Command.SetFixedColumnWidth }
|
|
432
426
|
]
|
|
433
427
|
},
|
|
434
428
|
{
|
|
435
429
|
type: 'Menu',
|
|
436
430
|
name: Command.AlignmentMenu,
|
|
437
|
-
text:
|
|
431
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.Alignment'),
|
|
438
432
|
icon: 'dxre-icon-AlignTopLeft',
|
|
439
433
|
alwaysShowText: true,
|
|
440
434
|
beginGroup: true,
|
|
441
435
|
items: [
|
|
442
|
-
{ text:
|
|
443
|
-
{ text:
|
|
444
|
-
{ text:
|
|
445
|
-
{ text:
|
|
446
|
-
{ text:
|
|
447
|
-
{ text:
|
|
448
|
-
{ text:
|
|
449
|
-
{ text:
|
|
450
|
-
{ text:
|
|
436
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsTopLeftAlignment'), icon: 'dxre-icon-AlignTopLeft', name: Command.TableCellAlignTopLeft },
|
|
437
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsTopCenterAlignment'), icon: 'dxre-icon-AlignTopCenter', name: Command.TableCellAlignTopCenter },
|
|
438
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsTopRightAlignment'), icon: 'dxre-icon-AlignTopRight', name: Command.TableCellAlignTopRight },
|
|
439
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsMiddleLeftAlignment'), icon: 'dxre-icon-AlignMiddleLeft', name: Command.TableCellAlignMiddleLeft, beginGroup: true },
|
|
440
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsMiddleCenterAlignment'), icon: 'dxre-icon-AlignMiddleCenter', name: Command.TableCellAlignMiddleCenter },
|
|
441
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsMiddleRightAlignment'), icon: 'dxre-icon-AlignMiddleRight', name: Command.TableCellAlignMiddleRight },
|
|
442
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsBottomLeftAlignment'), icon: 'dxre-icon-AlignBottomLeft', name: Command.TableCellAlignBottomLeft, beginGroup: true },
|
|
443
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsBottomCenterAlignment'), icon: 'dxre-icon-AlignBottomCenter', name: Command.TableCellAlignBottomCenter },
|
|
444
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ToggleTableCellsBottomRightAlignment'), icon: 'dxre-icon-AlignBottomRight', name: Command.TableCellAlignBottomRight }
|
|
451
445
|
]
|
|
452
446
|
},
|
|
453
447
|
];
|
|
454
448
|
const floatingObjects = [
|
|
455
|
-
{ type: 'ColorBox', text:
|
|
456
|
-
{ type: 'ColorBox', text:
|
|
449
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeFloatingObjectFillColor'), value: '#fff', name: Command.ChangeFloatingObjectFillColor, beginGroup: true },
|
|
450
|
+
{ type: 'ColorBox', text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeFloatingObjectOutlineColor'), value: '#000', name: Command.ChangeFloatingObjectOutlineColor, beginGroup: true },
|
|
457
451
|
{
|
|
458
452
|
type: 'SelectBox', width: 110, displayExpr: 'text', valueExpr: 'value', name: Command.ChangeFloatingObjectOutlineWidth, beginGroup: true,
|
|
459
453
|
dataSource: [
|
|
@@ -472,60 +466,60 @@ export class RibbonItemsData {
|
|
|
472
466
|
{
|
|
473
467
|
type: 'Menu',
|
|
474
468
|
name: Command.WrapTextMenu,
|
|
475
|
-
text:
|
|
469
|
+
text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_ChangeFloatingObjectTextWrapType'),
|
|
476
470
|
icon: 'dxre-icon-TextWrapSquare',
|
|
477
471
|
alwaysShowText: true,
|
|
478
472
|
beginGroup: true,
|
|
479
473
|
items: [
|
|
480
|
-
{ text:
|
|
481
|
-
{ text:
|
|
482
|
-
{ text:
|
|
483
|
-
{ text:
|
|
484
|
-
{ text:
|
|
485
|
-
{ text:
|
|
486
|
-
{ text:
|
|
474
|
+
{ text: Utils.getTrimmedMessage('ASPxRichEditStringId.LayoutOptions_Inline'), icon: 'dxre-icon-TextWrapInline', name: Command.SetFloatingObjectInlineTextWrapType },
|
|
475
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectSquareTextWrapType'), icon: 'dxre-icon-TextWrapSquare', name: Command.SetFloatingObjectSquareTextWrapType },
|
|
476
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectTightTextWrapType'), icon: 'dxre-icon-TextWrapTight', name: Command.SetFloatingObjectTightTextWrapType },
|
|
477
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectThroughTextWrapType'), icon: 'dxre-icon-TextWrapThrough', name: Command.SetFloatingObjectThroughTextWrapType },
|
|
478
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectTopAndBottomTextWrapType'), icon: 'dxre-icon-TextWrapTopAndBottom', name: Command.SetFloatingObjectTopAndBottomTextWrapType },
|
|
479
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectBehindTextWrapType'), icon: 'dxre-icon-TextWrapBehind', name: Command.SetFloatingObjectBehindTextWrapType },
|
|
480
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectInFrontOfTextWrapType'), icon: 'dxre-icon-TextWrapInFrontOfText', name: Command.SetFloatingObjectInFrontOfTextWrapType },
|
|
487
481
|
]
|
|
488
482
|
},
|
|
489
483
|
{
|
|
490
484
|
type: 'Menu',
|
|
491
485
|
name: Command.PositionMenu,
|
|
492
|
-
text:
|
|
486
|
+
text: Utils.getTrimmedMessage('ASPxRichEditStringId.GroupHeaderFooterToolsDesignPosition'),
|
|
493
487
|
icon: 'dxre-icon-AlignFloatingObjectTopRight',
|
|
494
488
|
alwaysShowText: true,
|
|
495
489
|
items: [
|
|
496
|
-
{ text:
|
|
497
|
-
{ text:
|
|
498
|
-
{ text:
|
|
499
|
-
{ text:
|
|
500
|
-
{ text:
|
|
501
|
-
{ text:
|
|
502
|
-
{ text:
|
|
503
|
-
{ text:
|
|
504
|
-
{ text:
|
|
490
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectTopLeftAlignment'), icon: 'dxre-icon-AlignFloatingObjectTopLeft', name: Command.SetFloatingObjectTopLeftAlignment },
|
|
491
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectTopCenterAlignment'), icon: 'dxre-icon-AlignFloatingObjectTopCenter', name: Command.SetFloatingObjectTopCenterAlignment },
|
|
492
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectTopRightAlignment'), icon: 'dxre-icon-AlignFloatingObjectTopRight', name: Command.SetFloatingObjectTopRightAlignment },
|
|
493
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectMiddleLeftAlignment'), icon: 'dxre-icon-AlignFloatingObjectMiddleLeft', name: Command.SetFloatingObjectMiddleLeftAlignment, beginGroup: true },
|
|
494
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectMiddleCenterAlignment'), icon: 'dxre-icon-AlignFloatingObjectMiddleCenter', name: Command.SetFloatingObjectMiddleCenterAlignment },
|
|
495
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectMiddleRightAlignment'), icon: 'dxre-icon-AlignFloatingObjectMiddleRight', name: Command.SetFloatingObjectMiddleRightAlignment },
|
|
496
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectBottomLeftAlignment'), icon: 'dxre-icon-AlignFloatingObjectBottomLeft', name: Command.SetFloatingObjectBottomLeftAlignment, beginGroup: true },
|
|
497
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectBottomCenterAlignment'), icon: 'dxre-icon-AlignFloatingObjectBottomCenter', name: Command.SetFloatingObjectBottomCenterAlignment },
|
|
498
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_SetFloatingObjectBottomRightAlignment'), icon: 'dxre-icon-AlignFloatingObjectBottomRight', name: Command.SetFloatingObjectBottomRightAlignment },
|
|
505
499
|
]
|
|
506
500
|
},
|
|
507
501
|
{
|
|
508
502
|
type: 'Menu',
|
|
509
503
|
name: Command.BringForwardMenu,
|
|
510
|
-
text:
|
|
504
|
+
text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectBringForward"),
|
|
511
505
|
icon: 'dxre-icon-FloatingObjectBringForward',
|
|
512
506
|
alwaysShowText: true,
|
|
513
507
|
items: [
|
|
514
|
-
{ text:
|
|
515
|
-
{ text:
|
|
516
|
-
{ text:
|
|
508
|
+
{ text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectBringForward"), icon: 'dxre-icon-FloatingObjectBringForward', name: Command.FloatingObjectBringForward },
|
|
509
|
+
{ text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectBringToFront"), icon: 'dxre-icon-FloatingObjectBringToFront', name: Command.FloatingObjectBringToFront },
|
|
510
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_FloatingObjectBringInFrontOfText'), icon: 'dxre-icon-FloatingObjectBringInFrontOfText', name: Command.FloatingObjectBringInFrontOfText }
|
|
517
511
|
]
|
|
518
512
|
},
|
|
519
513
|
{
|
|
520
514
|
type: 'Menu',
|
|
521
515
|
name: Command.SendBackwardMenu,
|
|
522
|
-
text:
|
|
516
|
+
text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectSendBackward"),
|
|
523
517
|
icon: 'dxre-icon-FloatingObjectSendBackward',
|
|
524
518
|
alwaysShowText: true,
|
|
525
519
|
items: [
|
|
526
|
-
{ text:
|
|
527
|
-
{ text:
|
|
528
|
-
{ text:
|
|
520
|
+
{ text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectSendBackward"), icon: 'dxre-icon-FloatingObjectSendBackward', name: Command.FloatingObjectSendBackward },
|
|
521
|
+
{ text: Utils.getTrimmedMessage("OfficeStringId.MenuCmd_FloatingObjectSendToBack"), icon: 'dxre-icon-FloatingObjectSendToBack', name: Command.FloatingObjectSendToBack },
|
|
522
|
+
{ text: Utils.getTrimmedMessage('XtraRichEditStringId.MenuCmd_FloatingObjectSendBehindText'), icon: 'dxre-icon-FloatingObjectSendBehindText', name: Command.FloatingObjectSendBehindText }
|
|
529
523
|
]
|
|
530
524
|
},
|
|
531
525
|
];
|
|
@@ -533,20 +527,20 @@ export class RibbonItemsData {
|
|
|
533
527
|
{
|
|
534
528
|
name: Command.ContextItem_HeadersFooters,
|
|
535
529
|
items: [
|
|
536
|
-
{ title:
|
|
530
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageHeaderAndFooter'), items: headerAndFooter, id: RibbonTabType.HeadersFooters }
|
|
537
531
|
]
|
|
538
532
|
},
|
|
539
533
|
{
|
|
540
534
|
name: Command.ContextItem_Tables,
|
|
541
535
|
items: [
|
|
542
|
-
{ title:
|
|
543
|
-
{ title:
|
|
536
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageTableDesign'), items: tableDesign, id: RibbonTabType.TableDesign },
|
|
537
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageTableLayout'), items: tableLayout, id: RibbonTabType.TableLayout }
|
|
544
538
|
]
|
|
545
539
|
},
|
|
546
540
|
{
|
|
547
541
|
name: Command.ContextItem_FloatingObjects,
|
|
548
542
|
items: [
|
|
549
|
-
{ title:
|
|
543
|
+
{ title: Utils.getTrimmedMessage('ASPxRichEditStringId.PageFloatingObjects'), items: floatingObjects, id: RibbonTabType.FloatingObjectsFormat }
|
|
550
544
|
]
|
|
551
545
|
}
|
|
552
546
|
];
|