devexpress-richedit 24.1.6-build-24232-0102 → 24.2.1-alpha-24260-0102
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 +1 -1
- package/bin/index-custom.js +1 -1
- package/bin/localization-builder.js +1 -1
- package/bin/nspell-index.js +1 -1
- package/bin/nspell.webpack.config.js +1 -1
- package/bin/webpack-externals.js +1 -1
- package/bin/webpack.config.js +1 -1
- package/dist/dx.richedit.d.ts +1 -1
- package/dist/dx.richedit.js +860 -788
- package/dist/dx.richedit.min.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/lib/client/api/loading-panel.js +3 -3
- package/lib/client/bars/rich-edit-ribbon/ribbon-items-data.d.ts +2 -2
- package/lib/client/client-rich-edit.d.ts +1 -0
- package/lib/client/client-rich-edit.js +15 -11
- package/lib/client/commands/open-document-command.d.ts +1 -1
- package/lib/client/dialogs/dialog-base.js +3 -3
- package/lib/client/document-processor/public/processor.js +3 -3
- package/lib/client/formats/docx/export/data.js +5 -5
- package/lib/client/formats/docx/export/exporters/base/sections.js +4 -4
- package/lib/client/formats/docx/export/exporters/base.js +1 -1
- package/lib/client/formats/docx/export/exporters/content-types.js +4 -4
- package/lib/client/formats/docx/export/exporters/relations/relation-collection.js +1 -1
- package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.d.ts +1 -1
- package/lib/client/formats/docx/export/exporters/sub-document/base-sub-document.js +3 -3
- package/lib/client/formats/docx/export/exporters/sub-document/header-footer-sub-document-exporter.js +1 -1
- package/lib/client/formats/docx/import/data.js +2 -2
- package/lib/client/formats/docx/import/destination/character-properties/run-properties-base-destination.js +1 -1
- package/lib/client/formats/docx/import/destination/destination.d.ts +2 -2
- package/lib/client/formats/docx/import/destination/destination.js +7 -7
- package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-position-destination.js +9 -9
- package/lib/client/formats/docx/import/destination/drawing/drawing-anchor-relative-size-destination.js +6 -6
- package/lib/client/formats/docx/import/destination/drawing/drawing-destination.js +38 -38
- package/lib/client/formats/docx/import/destination/drawing/non-visual-pucture-properties-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/drawing/shape-properties-destination.js +9 -9
- package/lib/client/formats/docx/import/destination/notes/note-destination.d.ts +1 -1
- package/lib/client/formats/docx/import/destination/notes/note-properties-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/numbering/numberings-destination.js +15 -15
- package/lib/client/formats/docx/import/destination/paragraph/paragraph-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-numbering-reference-destination.js +5 -5
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-base-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/paragraph-properties/paragraph-properties-destination.js +7 -7
- package/lib/client/formats/docx/import/destination/relationships/relationships-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/runs/inline-object-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/style/destinations/style-paragraph-properties-destination.js +4 -4
- package/lib/client/formats/docx/import/destination/table/cell/properties/table-cell-properties-destination-core.js +3 -3
- package/lib/client/formats/docx/import/destination/table/cell/table-cell-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/table/row/properties/table-row-properties-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/table/row/table-row-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/table/table/properties/table-cell-margins-destination.d.ts +1 -1
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination-core.js +3 -3
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/table/table/properties/table-properties-leaf-element-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/table/table/table-destination.js +3 -3
- package/lib/client/formats/docx/import/destination/themes/color/drawing-color-properties-destination-base.js +3 -3
- package/lib/client/formats/docx/import/destination/themes/font/office-theme-font-collection-scheme-destination.js +7 -7
- package/lib/client/formats/docx/import/destination/vml/v-mlshape-destination.js +7 -7
- package/lib/client/formats/docx/import/importers/character-importer.js +6 -6
- package/lib/client/formats/docx/import/importers/comments-importer.js +1 -1
- package/lib/client/formats/docx/import/importers/field-importer.js +2 -2
- package/lib/client/formats/docx/import/importers/table-importer.js +1 -1
- package/lib/client/formats/docx/import/list/open-xml-list-level-override.js +3 -3
- package/lib/client/formats/docx/import/list/open-xml-numbering-list-info.d.ts +1 -1
- package/lib/client/formats/docx/utils/constants.js +6 -6
- package/lib/client/formats/docx/zip/xml-reader.js +10 -10
- package/lib/client/i-rich-constructor-settings.d.ts +3 -1
- package/lib/client/model-api/api-utils/parameter-checker.d.ts +1 -1
- package/lib/client/model-api/fonts/control-font.js +4 -4
- package/lib/client/model-api/images/image-iterator.js +3 -3
- package/lib/client/model-api/interval.js +1 -1
- package/lib/client/public/api/authentication-options.js +3 -3
- package/lib/client/public/api/range-permission-options.js +3 -3
- package/lib/client/public/client-events.d.ts +2 -1
- package/lib/client/public/client-events.js +3 -1
- package/lib/client/public/commands/enum.d.ts +1 -1
- package/lib/client/public/context-menu/menu.js +5 -5
- package/lib/client/public/events.d.ts +6 -0
- package/lib/client/public/events.js +8 -0
- package/lib/client/public/nusa/external-types.d.ts +2 -2
- package/lib/client/public/nusa/settings.js +1 -1
- package/lib/client/public/options.d.ts +2 -0
- package/lib/client/public/ribbon/item-ids.d.ts +1 -1
- package/lib/client/public/ribbon/tab.d.ts +4 -4
- package/lib/client/public/ribbon/tab.js +2 -2
- package/lib/client/public/rich-edit.js +1 -1
- package/lib/client/ribbon/i-toolbar-item-options.d.ts +1 -1
- package/lib/client/ribbon/ribbon.d.ts +3 -3
- package/lib/client/ribbon/ribbon.js +1 -1
- package/lib/client/ribbon/toolbar-items/toolbar-interactive-item.d.ts +2 -2
- package/lib/client/settings.js +4 -0
- package/lib/client/utils/devextreme/devextreme-types.d.ts +17 -17
- package/lib/client/utils/devextreme/dxt-utils.d.ts +1 -1
- package/lib/common/auto-correct/auto-correct-providers.js +1 -1
- package/lib/common/bars/base.js +1 -1
- package/lib/common/canvas/canvas-manager.js +3 -3
- package/lib/common/canvas/canvas-scroll-manager.js +2 -2
- package/lib/common/canvas/listeners/anchor-listener.js +3 -3
- package/lib/common/canvas/listeners/resize-box-listener.js +5 -5
- package/lib/common/canvas/renderes/canvas-listener/canvas-listener.js +1 -1
- package/lib/common/canvas/renderes/change-active-sub-document/renderer.js +10 -10
- package/lib/common/canvas/renderes/common/document-renderer.d.ts +1 -1
- package/lib/common/canvas/renderes/common/document-renderer.js +1 -1
- package/lib/common/canvas/renderes/view-manager.js +3 -3
- package/lib/common/client-side-events.d.ts +1 -0
- package/lib/common/client-side-events.js +3 -0
- package/lib/common/commands/command-base.js +10 -10
- package/lib/common/commands/command-states.js +3 -3
- package/lib/common/commands/dialogs/dialog-spell-checker-command.js +3 -3
- package/lib/common/commands/document/print-document-on-client-command.js +4 -4
- package/lib/common/commands/fields/open-hyperlink-command.js +6 -2
- package/lib/common/commands/ruler/toggle-show-horizontal-ruler-command.js +3 -1
- package/lib/common/commands/text/change-text-case-commands.d.ts +1 -1
- package/lib/common/event-manager.js +4 -4
- package/lib/common/formats/html/export/html-document-exporter.js +1 -1
- package/lib/common/formats/html/export/html-export.js +4 -4
- package/lib/common/formats/html/import/html-importer.d.ts +1 -1
- package/lib/common/formats/html/import/html-importer.js +12 -12
- package/lib/common/formats/html/import/html-model-inserter.js +4 -4
- package/lib/common/formats/html/import/importers/base.js +1 -1
- package/lib/common/formats/html/import/utils/character-properties-utils.js +4 -4
- package/lib/common/formats/i-document-importer.d.ts +2 -2
- package/lib/common/formats/pdf/exporter.js +3 -3
- package/lib/common/formats/pdf/interfaces.d.ts +2 -2
- package/lib/common/formats/rtf/export/exporter.js +1 -1
- package/lib/common/formats/rtf/export/exporters/rtf-anchored-picture-run-exporter.js +5 -5
- package/lib/common/formats/rtf/export/exporters/rtf-content-exporter.d.ts +1 -1
- package/lib/common/formats/rtf/export/exporters/rtf-content-exporter.js +2 -2
- package/lib/common/formats/rtf/export/rtf-builder.d.ts +2 -2
- package/lib/common/formats/rtf/import/destination/base/destination.d.ts +4 -4
- package/lib/common/formats/rtf/import/destination/base/destination.js +1 -1
- package/lib/common/formats/rtf/import/destination/base/skip-destination.js +3 -3
- package/lib/common/formats/rtf/import/destination/base/string-property-base-destination.js +2 -2
- package/lib/common/formats/rtf/import/destination/base/string-property-destination.js +2 -2
- package/lib/common/formats/rtf/import/destination/base/unicode-destination.js +2 -2
- package/lib/common/formats/rtf/import/destination/fields/field-sub-destination.js +1 -1
- package/lib/common/formats/rtf/import/destination/fields/table-content-field-destination.js +1 -1
- package/lib/common/formats/rtf/import/destination/font-table-destination.js +3 -3
- package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-paragraph-numbering.js +1 -1
- package/lib/common/formats/rtf/import/destination/numbering-list/destination-old-section-numbering-level.js +1 -1
- package/lib/common/formats/rtf/import/destination/picture/picture-destination.js +4 -4
- package/lib/common/formats/rtf/import/destination/shape/shape-properties-destination-base.js +2 -2
- package/lib/common/formats/rtf/import/destination/shape/shape-property-destination.js +2 -2
- package/lib/common/formats/rtf/import/destination/shape/shape-property-hsv-value-destination.js +2 -2
- package/lib/common/formats/rtf/import/destination/styles/character-style-destination.js +5 -5
- package/lib/common/formats/rtf/import/destination/styles/style-sheet-destination.js +3 -3
- package/lib/common/formats/rtf/import/destination/styles/table-style-destination.js +7 -7
- 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 +1 -1
- package/lib/common/formats/rtf/import/importers/character-importer.js +1 -1
- package/lib/common/formats/rtf/import/importers/field-importer.js +2 -2
- package/lib/common/formats/rtf/import/importers/paragraph-importer.js +4 -4
- package/lib/common/formats/rtf/import/importers/range-permission-importer.js +1 -1
- package/lib/common/formats/rtf/import/importers/section-importer.js +4 -4
- package/lib/common/formats/rtf/import/importers/styles/paragraph-style-importer.js +4 -4
- package/lib/common/formats/rtf/import/model/numbering-lists/rtf-old-list-level-info.js +10 -10
- package/lib/common/formats/rtf/import/rtf-import-data.js +13 -13
- package/lib/common/formats/txt/txt-exporter.js +1 -1
- package/lib/common/global-event-dispatcher.d.ts +1 -1
- package/lib/common/interfaces/i-control-owner.d.ts +1 -0
- package/lib/common/layout/main-structures/layout-boxes/layout-anchored-object-box.d.ts +1 -1
- package/lib/common/layout/main-structures/layout-boxes/layout-dash-box.js +1 -1
- package/lib/common/layout/main-structures/layout-boxes/layout-line-break-box.js +4 -4
- package/lib/common/layout/main-structures/layout-boxes/layout-numbering-list-box.js +10 -10
- package/lib/common/layout/main-structures/layout-boxes/layout-page-break-box.js +4 -4
- package/lib/common/layout/main-structures/layout-row.js +1 -1
- package/lib/common/layout/table/table-cell-iterator.js +6 -6
- package/lib/common/layout-engine/hit-test-manager/hit-test-result.d.ts +1 -1
- package/lib/common/layout-engine/selection/selection-formatter.js +1 -1
- package/lib/common/layout-formatter/box/generator/box-infos-generator.js +3 -3
- package/lib/common/layout-formatter/changes/changes/layout-change-base.js +12 -12
- package/lib/common/layout-formatter/invalidator/layout-invalidator.js +3 -3
- package/lib/common/layout-formatter/managers/formatter-manager.d.ts +1 -1
- package/lib/common/layout-formatter/managers/formatter-manager.js +2 -2
- package/lib/common/layout-formatter/row/result.js +3 -3
- package/lib/common/layout-formatter/row/size-engine/row-formatting-info.js +2 -2
- package/lib/common/layout-formatter/row/size-engine/row-height-calculator.js +3 -3
- package/lib/common/layout-formatter/row/tab-info.js +8 -8
- package/lib/common/layout-formatter/table/borders/border-helper.d.ts +1 -1
- package/lib/common/layout-formatter/table/borders/border-helper.js +5 -5
- package/lib/common/layout-formatter/table/formatter.js +12 -12
- package/lib/common/layout-formatter/table/grid-engine/calculators/column-interval.js +3 -3
- package/lib/common/layout-formatter/table/grid-engine/calculators/grid-calculator.js +3 -3
- package/lib/common/layout-formatter/table/grid-engine/calculators/table-properties-cache.js +7 -7
- package/lib/common/layout-formatter/table/info/cell-info.js +8 -8
- package/lib/common/layout-formatter/table/info/row-info.js +1 -1
- package/lib/common/layout-formatter/table/info/table-info.js +17 -17
- package/lib/common/model/bookmarks.js +7 -7
- package/lib/common/model/borders/border-base.js +3 -3
- package/lib/common/model/caches/hash-based-cache.d.ts +1 -1
- package/lib/common/model/caches/hash-based-cache.js +2 -2
- package/lib/common/model/caches/images.js +11 -11
- package/lib/common/model/changes/change.d.ts +1 -1
- package/lib/common/model/changes/sub-document/list/paragraph-numbering-list-changed.js +1 -1
- package/lib/common/model/changes/sub-document/table/cell-property-changed.js +1 -1
- package/lib/common/model/changes/sub-document/table/property-changed.js +1 -1
- package/lib/common/model/changes/sub-document/table/row-property-changed.js +1 -1
- package/lib/common/model/character/character-property-descriptor.d.ts +1 -1
- package/lib/common/model/color/color-model-info.js +6 -6
- package/lib/common/model/creator/font-corrector.js +5 -5
- package/lib/common/model/document-model.js +10 -10
- package/lib/common/model/fields/field-request-manager.d.ts +1 -1
- package/lib/common/model/fields/field-request-manager.js +2 -2
- package/lib/common/model/fields/parsers/field-code-parser.d.ts +2 -2
- package/lib/common/model/fields/tree-creator.js +1 -1
- package/lib/common/model/floating-objects/sizes.js +2 -2
- package/lib/common/model/fonts/control-font.js +9 -9
- package/lib/common/model/fonts/loader.js +1 -1
- package/lib/common/model/footnotes/footnote.d.ts +1 -1
- package/lib/common/model/history/base/history-item.js +6 -6
- package/lib/common/model/history/base/interval-based-history-item.js +2 -2
- package/lib/common/model/history/base/position-based-history-item.js +2 -2
- package/lib/common/model/history/items/insert-text-history-item.js +3 -3
- package/lib/common/model/history/selection/scroll-history-item.js +3 -3
- package/lib/common/model/history/selection/selection-history-item.js +3 -3
- package/lib/common/model/json/importers/sub-document/run-importers.d.ts +2 -2
- package/lib/common/model/manipulators/base-manipulator.js +2 -2
- package/lib/common/model/manipulators/document/sub-document-inserter.js +6 -6
- package/lib/common/model/manipulators/model-manipulator.js +1 -1
- package/lib/common/model/manipulators/picture-manipulator/insert-picture-manipulator-params.js +1 -1
- package/lib/common/model/manipulators/picture-manipulator/loader/image-loading-options.d.ts +1 -1
- package/lib/common/model/manipulators/picture-manipulator/loader/picture-loader.d.ts +1 -1
- package/lib/common/model/manipulators/picture-manipulator/loader/picture-loader.js +1 -1
- package/lib/common/model/manipulators/range/create-range-copy-operation.js +3 -3
- package/lib/common/model/manipulators/tables/insert-table-cell-operation.js +1 -1
- package/lib/common/model/manipulators/tables/insert-table-row-operation.js +1 -1
- package/lib/common/model/manipulators/tables/merge-table-cells-operation.js +1 -1
- package/lib/common/model/manipulators/tables/table-normalizator.d.ts +2 -2
- package/lib/common/model/options/fields.d.ts +2 -0
- package/lib/common/model/options/fields.js +7 -3
- package/lib/common/model/options/pdf.d.ts +2 -2
- package/lib/common/model/options/rich-options.js +3 -3
- package/lib/common/model/paragraph/paragraph-property-descriptors.d.ts +1 -1
- package/lib/common/model/paragraph/paragraph.js +1 -1
- package/lib/common/model/position/linked-interval.js +4 -4
- package/lib/common/model/range-permissions.js +3 -3
- package/lib/common/model/runs/anchored-picture-run.js +4 -4
- package/lib/common/model/runs/inline-picture-run.d.ts +1 -1
- package/lib/common/model/runs/inline-picture-run.js +1 -1
- package/lib/common/model/runs/run-base.js +4 -4
- package/lib/common/model/section/section-property-descriptor.d.ts +1 -1
- package/lib/common/model/shadings/shading-info.js +3 -3
- package/lib/common/model/styles-manager.d.ts +1 -1
- package/lib/common/model/tables/main-structures/table-row.js +1 -1
- package/lib/common/mouse-handler/base/manipulator-handler-state-base.js +2 -2
- package/lib/common/mouse-handler/mouse-handler/mouse-handler-drag-column-or-row-state.d.ts +1 -1
- package/lib/common/rich-edit-core.js +11 -11
- package/lib/common/rich-utils/debug/runtime-template-model-creator.js +6 -6
- package/lib/common/scroll/model-states.d.ts +1 -1
- package/lib/common/scroll/model-states.js +4 -4
- package/lib/common/selection/input-position.js +17 -6
- package/lib/common/selection/selected-cells-engine.js +12 -12
- package/lib/common/selection/selection-intervals-info.js +7 -7
- package/lib/common/selection/selection-state.js +5 -5
- package/lib/common/selection/selection.js +13 -13
- package/lib/common/ui/quick-search-panel.js +1 -1
- package/lib/common/ui/ruler/controls/base.js +1 -1
- package/lib/common/ui/ruler/controls/column.js +1 -1
- package/lib/common/ui/ruler/controls/divisions.js +1 -1
- package/lib/common/ui/ruler/controls/indent/first-line.js +5 -5
- package/lib/common/ui/ruler/controls/indent/left.js +2 -2
- package/lib/common/ui/ruler/controls/indent/right.js +5 -5
- package/lib/common/ui/ruler/controls/margin/left.js +3 -3
- package/lib/common/ui/ruler/controls/owner.js +1 -1
- package/lib/common/ui/ruler/controls/ruler.js +4 -4
- package/lib/common/ui/ruler/controls/tab/tab-type.js +2 -2
- package/lib/common/ui/ruler/manager.js +18 -18
- package/lib/common/ui/ruler/model-data.js +4 -4
- package/lib/common/ui/ruler/ruler.js +2 -2
- package/lib/common/utils/utils.d.ts +7 -0
- package/lib/common/utils/utils.js +26 -0
- package/lib/common/view-settings/views-settings.js +6 -6
- package/package.json +3 -3
@@ -31,16 +31,16 @@ import { DrawingAnchorWrapNoneDestination, DrawingAnchorWrapSquareDestination, D
|
|
31
31
|
import { NonVisualPicturePropertiesDestination } from './non-visual-pucture-properties-destination';
|
32
32
|
import { WordProcessingShapePropertiesDestination } from './shape-properties-destination';
|
33
33
|
export class DrawingDestination extends ElementDestination {
|
34
|
-
constructor(data) {
|
35
|
-
super(data);
|
36
|
-
this.floatingObjectImportInfo = new FloatingObjectImportInfo(data);
|
37
|
-
}
|
38
34
|
get elementHandlerTable() {
|
39
35
|
return DrawingDestination.handlerTable;
|
40
36
|
}
|
41
37
|
get imageId() {
|
42
38
|
return this.floatingObjectImportInfo.imageId;
|
43
39
|
}
|
40
|
+
constructor(data) {
|
41
|
+
super(data);
|
42
|
+
this.floatingObjectImportInfo = new FloatingObjectImportInfo(data);
|
43
|
+
}
|
44
44
|
static onInline(data, _reader) {
|
45
45
|
DrawingDestination.getThis(data).floatingObjectImportInfo.isFloatingObject = false;
|
46
46
|
return new DrawingInlineDestination(data, DrawingDestination.getThis(data).floatingObjectImportInfo);
|
@@ -89,13 +89,13 @@ DrawingDestination.handlerTable = new MapCreator()
|
|
89
89
|
.add('anchor', DrawingDestination.onAnchor)
|
90
90
|
.get();
|
91
91
|
export class DrawingInlineDestination extends ElementDestination {
|
92
|
+
get elementHandlerTable() {
|
93
|
+
return DrawingInlineDestination.handlerTable;
|
94
|
+
}
|
92
95
|
constructor(data, floatingObjectImportInfo) {
|
93
96
|
super(data);
|
94
97
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
95
98
|
}
|
96
|
-
get elementHandlerTable() {
|
97
|
-
return DrawingInlineDestination.handlerTable;
|
98
|
-
}
|
99
99
|
static getThis(data) {
|
100
100
|
return data.destinationStack.getThis();
|
101
101
|
}
|
@@ -120,16 +120,16 @@ DrawingInlineDestination.handlerTable = new MapCreator()
|
|
120
120
|
.add('cNvGraphicFramePr', DrawingInlineDestination.onCNvGraphicFramePr)
|
121
121
|
.get();
|
122
122
|
export class DrawingAnchorDestination extends ElementDestination {
|
123
|
-
constructor(data, floatingObjectImportInfo) {
|
124
|
-
super(data);
|
125
|
-
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
126
|
-
}
|
127
123
|
get elementHandlerTable() {
|
128
124
|
return DrawingAnchorDestination.handlerTable;
|
129
125
|
}
|
130
126
|
get floatingObject() {
|
131
127
|
return this.floatingObjectImportInfo.anchorInfo;
|
132
128
|
}
|
129
|
+
constructor(data, floatingObjectImportInfo) {
|
130
|
+
super(data);
|
131
|
+
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
132
|
+
}
|
133
133
|
static getThis(data) {
|
134
134
|
return data.destinationStack.getThis();
|
135
135
|
}
|
@@ -233,13 +233,13 @@ DrawingAnchorDestination.handlerTable = new MapCreator()
|
|
233
233
|
.add('sizeRelV', DrawingAnchorDestination.onAnchorVerticalRelativeSize)
|
234
234
|
.get();
|
235
235
|
export class DrawingGraphicFramePropertyDestination extends ElementDestination {
|
236
|
+
get elementHandlerTable() {
|
237
|
+
return DrawingGraphicFramePropertyDestination.handlerTable;
|
238
|
+
}
|
236
239
|
constructor(data, destination) {
|
237
240
|
super(data);
|
238
241
|
this.size = destination.floatingObjectImportInfo.size;
|
239
242
|
}
|
240
|
-
get elementHandlerTable() {
|
241
|
-
return DrawingGraphicFramePropertyDestination.handlerTable;
|
242
|
-
}
|
243
243
|
static getThis(data) {
|
244
244
|
return data.destinationStack.getThis();
|
245
245
|
}
|
@@ -283,14 +283,14 @@ export class DrawingInlineExtentDestination extends LeafElementDestination {
|
|
283
283
|
}
|
284
284
|
}
|
285
285
|
export class DrawingAnchorDocumentPropertiesDestination extends ElementDestination {
|
286
|
+
get elementHandlerTable() {
|
287
|
+
return DrawingAnchorDocumentPropertiesDestination.handlerTable;
|
288
|
+
}
|
286
289
|
constructor(data, floatingObjectImportInfo, nonVisualProperties) {
|
287
290
|
super(data);
|
288
291
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
289
292
|
this.nonVisualProperties = nonVisualProperties;
|
290
293
|
}
|
291
|
-
get elementHandlerTable() {
|
292
|
-
return DrawingAnchorDocumentPropertiesDestination.handlerTable;
|
293
|
-
}
|
294
294
|
static getThis(data) {
|
295
295
|
return data.destinationStack.getThis();
|
296
296
|
}
|
@@ -346,13 +346,13 @@ export class HyperlinkClickDestination extends LeafElementDestination {
|
|
346
346
|
}
|
347
347
|
}
|
348
348
|
export class DrawingInlineGraphicDestination extends ElementDestination {
|
349
|
+
get elementHandlerTable() {
|
350
|
+
return DrawingInlineGraphicDestination.handlerTable;
|
351
|
+
}
|
349
352
|
constructor(data, floatingObjectImportInfo) {
|
350
353
|
super(data);
|
351
354
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
352
355
|
}
|
353
|
-
get elementHandlerTable() {
|
354
|
-
return DrawingInlineGraphicDestination.handlerTable;
|
355
|
-
}
|
356
356
|
static getThis(data) {
|
357
357
|
return data.destinationStack.getThis();
|
358
358
|
}
|
@@ -364,13 +364,13 @@ DrawingInlineGraphicDestination.handlerTable = new MapCreator()
|
|
364
364
|
.add('graphicData', DrawingInlineGraphicDestination.onGraphicData)
|
365
365
|
.get();
|
366
366
|
export class DrawingInlineGraphicDataDestination extends ElementDestination {
|
367
|
+
get elementHandlerTable() {
|
368
|
+
return DrawingInlineGraphicDataDestination.handlerTable;
|
369
|
+
}
|
367
370
|
constructor(data, floatingObjectImportInfo) {
|
368
371
|
super(data);
|
369
372
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
370
373
|
}
|
371
|
-
get elementHandlerTable() {
|
372
|
-
return DrawingInlineGraphicDataDestination.handlerTable;
|
373
|
-
}
|
374
374
|
static getThis(data) {
|
375
375
|
return data.destinationStack.getThis();
|
376
376
|
}
|
@@ -392,13 +392,13 @@ DrawingInlineGraphicDataDestination.handlerTable = new MapCreator()
|
|
392
392
|
export class DrawingGroupShapeDestination extends DrawingInlineGraphicDataDestination {
|
393
393
|
}
|
394
394
|
export class DrawingInlineGraphicDataPictureDestination extends ElementDestination {
|
395
|
+
get elementHandlerTable() {
|
396
|
+
return DrawingInlineGraphicDataPictureDestination.handlerTable;
|
397
|
+
}
|
395
398
|
constructor(data, floatingObjectImportInfo) {
|
396
399
|
super(data);
|
397
400
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
398
401
|
}
|
399
|
-
get elementHandlerTable() {
|
400
|
-
return DrawingInlineGraphicDataPictureDestination.handlerTable;
|
401
|
-
}
|
402
402
|
static getThis(data) {
|
403
403
|
return data.destinationStack.getThis();
|
404
404
|
}
|
@@ -431,13 +431,13 @@ DrawingInlineGraphicDataPictureDestination.handlerTable = new MapCreator()
|
|
431
431
|
.add('spPr', DrawingInlineGraphicDataPictureDestination.onShapeProperties)
|
432
432
|
.get();
|
433
433
|
export class PictureBlipFillDestination extends ElementDestination {
|
434
|
+
get elementHandlerTable() {
|
435
|
+
return PictureBlipFillDestination.handlerTable;
|
436
|
+
}
|
434
437
|
constructor(data, floatingObjectImportInfo) {
|
435
438
|
super(data);
|
436
439
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
437
440
|
}
|
438
|
-
get elementHandlerTable() {
|
439
|
-
return PictureBlipFillDestination.handlerTable;
|
440
|
-
}
|
441
441
|
static getThis(data) {
|
442
442
|
return data.destinationStack.getThis();
|
443
443
|
}
|
@@ -534,13 +534,13 @@ export class DrawingAnchorSimplePositionDestination extends LeafElementDestinati
|
|
534
534
|
}
|
535
535
|
}
|
536
536
|
export class WordProcessingShapeDestination extends ElementDestination {
|
537
|
+
get elementHandlerTable() {
|
538
|
+
return WordProcessingShapeDestination.handlerTable;
|
539
|
+
}
|
537
540
|
constructor(data, floatingObjectImportInfo) {
|
538
541
|
super(data);
|
539
542
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
540
543
|
}
|
541
|
-
get elementHandlerTable() {
|
542
|
-
return WordProcessingShapeDestination.handlerTable;
|
543
|
-
}
|
544
544
|
static getThis(data) {
|
545
545
|
return data.destinationStack.getThis();
|
546
546
|
}
|
@@ -566,15 +566,15 @@ WordProcessingShapeDestination.handlerTable = new MapCreator()
|
|
566
566
|
.add('spPr', WordProcessingShapeDestination.onShapeProperties)
|
567
567
|
.get();
|
568
568
|
export class TextBoxDestination extends ElementDestination {
|
569
|
+
get elementHandlerTable() {
|
570
|
+
return TextBoxDestination.handlerTable;
|
571
|
+
}
|
569
572
|
constructor(data, floatingObjectImportInfo) {
|
570
573
|
super(data);
|
571
574
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
572
575
|
this.floatingObjectImportInfo.shapeType = ShapeType.TextBox;
|
573
576
|
this.data.pushCurrentSubDocument(this.documentModel.createSubDocument(SubDocumentInfoType.TextBox, this.data.subDocument.id, true));
|
574
577
|
}
|
575
|
-
get elementHandlerTable() {
|
576
|
-
return TextBoxDestination.handlerTable;
|
577
|
-
}
|
578
578
|
static onTextBoxContent(data, _reader) {
|
579
579
|
return new TextBoxContentDestination(data);
|
580
580
|
}
|
@@ -646,13 +646,13 @@ TextBoxContentDestination.handlerTable = new MapCreator()
|
|
646
646
|
.add('ins', BodyDestinationBase.onInserted)
|
647
647
|
.get();
|
648
648
|
export class TextBoxPropertiesDestination extends ElementDestination {
|
649
|
+
get elementHandlerTable() {
|
650
|
+
return TextBoxPropertiesDestination.handlerTable;
|
651
|
+
}
|
649
652
|
constructor(data, textBoxProperties) {
|
650
653
|
super(data);
|
651
654
|
this.textBoxProperties = textBoxProperties;
|
652
655
|
}
|
653
|
-
get elementHandlerTable() {
|
654
|
-
return TextBoxPropertiesDestination.handlerTable;
|
655
|
-
}
|
656
656
|
static getThis(data) {
|
657
657
|
return data.destinationStack.getThis();
|
658
658
|
}
|
@@ -2,13 +2,13 @@ import { MapCreator } from '../../../../../../common/utils/map-creator';
|
|
2
2
|
import { ElementDestination } from '../destination';
|
3
3
|
import { DrawingAnchorDocumentPropertiesDestination } from './drawing-destination';
|
4
4
|
export class NonVisualPicturePropertiesDestination extends ElementDestination {
|
5
|
+
get elementHandlerTable() {
|
6
|
+
return NonVisualPicturePropertiesDestination.handlerTable;
|
7
|
+
}
|
5
8
|
constructor(data, floatingObjectImportInfo) {
|
6
9
|
super(data);
|
7
10
|
this.floatingObjectImportInfo = floatingObjectImportInfo;
|
8
11
|
}
|
9
|
-
get elementHandlerTable() {
|
10
|
-
return NonVisualPicturePropertiesDestination.handlerTable;
|
11
|
-
}
|
12
12
|
static OnNonVisualDrawingProperties(data, _reader) {
|
13
13
|
const floatingObjectImportInfo = NonVisualPicturePropertiesDestination.getThis(data).floatingObjectImportInfo;
|
14
14
|
return new DrawingAnchorDocumentPropertiesDestination(data, floatingObjectImportInfo, floatingObjectImportInfo.objectNonVisualProperties);
|
@@ -13,15 +13,15 @@ import { AlphaColorTransform } from '../../../../../../common/model/drawing/tran
|
|
13
13
|
import { isDefined } from '@devexpress/utils/lib/utils/common';
|
14
14
|
import { DXColor } from '../../../../../../common/model/color/dx-color';
|
15
15
|
export class WordProcessingShapePropertiesDestination extends ElementDestination {
|
16
|
+
get elementHandlerTable() {
|
17
|
+
return WordProcessingShapePropertiesDestination.handlerTable;
|
18
|
+
}
|
16
19
|
constructor(data, shape, size) {
|
17
20
|
super(data);
|
18
21
|
this.shape = shape;
|
19
22
|
this.size = size;
|
20
23
|
this.fillColor = new DrawingColor(DrawingColorModelInfo.empty);
|
21
24
|
}
|
22
|
-
get elementHandlerTable() {
|
23
|
-
return WordProcessingShapePropertiesDestination.handlerTable;
|
24
|
-
}
|
25
25
|
static getThis(data) {
|
26
26
|
return data.destinationStack.getThis();
|
27
27
|
}
|
@@ -58,13 +58,13 @@ WordProcessingShapePropertiesDestination.handlerTable = new MapCreator()
|
|
58
58
|
.add('xfrm', WordProcessingShapePropertiesDestination.onGraphicFrame)
|
59
59
|
.get();
|
60
60
|
export class SolidFillDestination extends ElementDestination {
|
61
|
+
get elementHandlerTable() {
|
62
|
+
return SolidFillDestination.handlerTable;
|
63
|
+
}
|
61
64
|
constructor(data, color) {
|
62
65
|
super(data);
|
63
66
|
this.color = color;
|
64
67
|
}
|
65
|
-
get elementHandlerTable() {
|
66
|
-
return SolidFillDestination.handlerTable;
|
67
|
-
}
|
68
68
|
static getThis(data) {
|
69
69
|
return data.destinationStack.getThis();
|
70
70
|
}
|
@@ -95,14 +95,14 @@ export class NoFillDestination extends LeafElementDestination {
|
|
95
95
|
}
|
96
96
|
}
|
97
97
|
export class OutlineDestination extends ElementDestination {
|
98
|
+
get elementHandlerTable() {
|
99
|
+
return OutlineDestination.handlerTable;
|
100
|
+
}
|
98
101
|
constructor(data, shape) {
|
99
102
|
super(data);
|
100
103
|
this.shape = shape;
|
101
104
|
this.color = new DrawingColor(new DrawingColorModelInfo());
|
102
105
|
}
|
103
|
-
get elementHandlerTable() {
|
104
|
-
return OutlineDestination.handlerTable;
|
105
|
-
}
|
106
106
|
static getThis(data) {
|
107
107
|
return data.destinationStack.getThis();
|
108
108
|
}
|
@@ -3,7 +3,7 @@ import { NoteType } from "../../../../../../common/model/footnotes/footnote";
|
|
3
3
|
import { XmlReader } from "../../../zip/xml-reader";
|
4
4
|
import { ElementHandlerTable } from "../destination";
|
5
5
|
import { BodyDestinationBase } from "../document/body-destination-base";
|
6
|
-
export
|
6
|
+
export type NoteSubDocumentType = SubDocumentInfoType.FootNote | SubDocumentInfoType.EndNote;
|
7
7
|
export declare abstract class NoteDestination extends BodyDestinationBase {
|
8
8
|
static handlerTable: ElementHandlerTable;
|
9
9
|
protected get elementHandlerTable(): ElementHandlerTable;
|
@@ -25,15 +25,15 @@ class NoteNumberingRestartTypeDestination extends NotePropertiesLeafElementDesti
|
|
25
25
|
}
|
26
26
|
}
|
27
27
|
export class NotePropertiesDestination extends ElementDestination {
|
28
|
+
static getThis(data) {
|
29
|
+
return data.destinationStack.getThis();
|
30
|
+
}
|
28
31
|
constructor(data, defaultPosition, defaultFormat) {
|
29
32
|
super(data);
|
30
33
|
this.notes = NoteProperties.createDefault();
|
31
34
|
this.defaultPosition = defaultPosition;
|
32
35
|
this.defaultFormat = defaultFormat;
|
33
36
|
}
|
34
|
-
static getThis(data) {
|
35
|
-
return data.destinationStack.getThis();
|
36
|
-
}
|
37
37
|
get elementHandlerTable() {
|
38
38
|
return NotePropertiesDestination.handlerTable;
|
39
39
|
}
|
@@ -37,14 +37,14 @@ NumberingsDestination.handlerTable = new MapCreator()
|
|
37
37
|
.add('num', NumberingsDestination.onNumbering)
|
38
38
|
.get();
|
39
39
|
export class AbstractNumberingListDestination extends ElementDestination {
|
40
|
+
get elementHandlerTable() {
|
41
|
+
return AbstractNumberingListDestination.handlerTable;
|
42
|
+
}
|
40
43
|
constructor(data) {
|
41
44
|
super(data);
|
42
45
|
this.list = new AbstractNumberingList(data.documentModel);
|
43
46
|
this.info = new OpenXmlAbstractNumberingInfo();
|
44
47
|
}
|
45
|
-
get elementHandlerTable() {
|
46
|
-
return AbstractNumberingListDestination.handlerTable;
|
47
|
-
}
|
48
48
|
static getThis(data) {
|
49
49
|
return data.destinationStack.getThis();
|
50
50
|
}
|
@@ -101,13 +101,13 @@ AbstractNumberingListDestination.handlerTable = new MapCreator()
|
|
101
101
|
.add('tmpl', AbstractNumberingListDestination.onTemplate)
|
102
102
|
.get();
|
103
103
|
export class NumberingListDestination extends ElementDestination {
|
104
|
+
get elementHandlerTable() {
|
105
|
+
return NumberingListDestination.handlerTable;
|
106
|
+
}
|
104
107
|
constructor(data) {
|
105
108
|
super(data);
|
106
109
|
this.listInfo = new OpenXmlNumberingListInfo();
|
107
110
|
}
|
108
|
-
get elementHandlerTable() {
|
109
|
-
return NumberingListDestination.handlerTable;
|
110
|
-
}
|
111
111
|
static getThis(data) {
|
112
112
|
return data.destinationStack.getThis();
|
113
113
|
}
|
@@ -207,14 +207,14 @@ export class AbstractNumberingListReferenceDestination extends LeafElementDestin
|
|
207
207
|
}
|
208
208
|
}
|
209
209
|
export class ListLevelOverrideDestination extends LeafElementDestination {
|
210
|
+
get elementHandlerTable() {
|
211
|
+
return ListLevelOverrideDestination.handlerTable;
|
212
|
+
}
|
210
213
|
constructor(data, listInfo) {
|
211
214
|
super(data);
|
212
215
|
this.listInfo = listInfo;
|
213
216
|
this.levelOverride = new OpenXmlListLevelOverride(this.data.documentModel);
|
214
217
|
}
|
215
|
-
get elementHandlerTable() {
|
216
|
-
return ListLevelOverrideDestination.handlerTable;
|
217
|
-
}
|
218
218
|
static getThis(data) {
|
219
219
|
return data.destinationStack.getThis();
|
220
220
|
}
|
@@ -244,9 +244,6 @@ ListLevelOverrideDestination.handlerTable = new MapCreator()
|
|
244
244
|
.add('startOverride', ListLevelOverrideDestination.onLevelStartOverride)
|
245
245
|
.get();
|
246
246
|
export class NumberingLevelBaseDestination extends ElementDestination {
|
247
|
-
constructor(data) {
|
248
|
-
super(data);
|
249
|
-
}
|
250
247
|
get elementHandlerTable() {
|
251
248
|
return NumberingLevelBaseDestination.handlerTable;
|
252
249
|
}
|
@@ -254,6 +251,9 @@ export class NumberingLevelBaseDestination extends ElementDestination {
|
|
254
251
|
;
|
255
252
|
set levelIndex(val) { this._levelIndex = val; }
|
256
253
|
;
|
254
|
+
constructor(data) {
|
255
|
+
super(data);
|
256
|
+
}
|
257
257
|
static getThis(data) {
|
258
258
|
return data.destinationStack.getThis();
|
259
259
|
}
|
@@ -305,13 +305,13 @@ export class NumberingLevelBaseDestination extends ElementDestination {
|
|
305
305
|
NumberingLevelBaseDestination.handlerTable = NumberingLevelBaseDestination.createElementHandlerTable()
|
306
306
|
.get();
|
307
307
|
export class NumberingLevelDestination extends NumberingLevelBaseDestination {
|
308
|
+
get elementHandlerTable() {
|
309
|
+
return NumberingLevelDestination.handlerTable;
|
310
|
+
}
|
308
311
|
constructor(data, list) {
|
309
312
|
super(data);
|
310
313
|
this.list = list;
|
311
314
|
}
|
312
|
-
get elementHandlerTable() {
|
313
|
-
return NumberingLevelDestination.handlerTable;
|
314
|
-
}
|
315
315
|
static onParagraphStyleReference(data, _reader) {
|
316
316
|
return new ListLevelParagraphStyleReferenceDestination(data, NumberingLevelBaseDestination.getThis(data));
|
317
317
|
}
|
@@ -26,6 +26,9 @@ import { RunDestination } from '../runs/run-destination';
|
|
26
26
|
import { TextDestination } from '../runs/text-destination';
|
27
27
|
import { StructuredDocumentDestination } from '../structured-document-destination';
|
28
28
|
export class ParagraphDestination extends ElementDestination {
|
29
|
+
get elementHandlerTable() {
|
30
|
+
return ParagraphDestination.handlerTable;
|
31
|
+
}
|
29
32
|
constructor(data) {
|
30
33
|
super(data);
|
31
34
|
this.listLevelIndex = Constants.MIN_SAFE_INTEGER;
|
@@ -40,9 +43,6 @@ export class ParagraphDestination extends ElementDestination {
|
|
40
43
|
if (this.data.subDocument.isMain())
|
41
44
|
this.data.sectionImporter.shouldInsertSection = false;
|
42
45
|
}
|
43
|
-
get elementHandlerTable() {
|
44
|
-
return ParagraphDestination.handlerTable;
|
45
|
-
}
|
46
46
|
static getThis(data) {
|
47
47
|
return data.destinationStack.getThis();
|
48
48
|
}
|
@@ -3,11 +3,6 @@ import { ElementDestination } from '../destination';
|
|
3
3
|
import { ParagraphNumberingReferenceLevelDestination } from './paragraph-numbering-reference-level-destination';
|
4
4
|
import { ParagraphNumberingReferenceNumberingIdDestination } from './paragraph-numbering-reference-numbering-id-destination';
|
5
5
|
export class ParagraphNumberingReferenceDestination extends ElementDestination {
|
6
|
-
constructor(data, paragraphPropertiesDestination) {
|
7
|
-
super(data);
|
8
|
-
this.paragraphPropertiesDestination = paragraphPropertiesDestination;
|
9
|
-
this.paragraphPropertiesDestination.listLevelIndex = -1;
|
10
|
-
}
|
11
6
|
get listLevelIndex() { return this.paragraphPropertiesDestination.listLevelIndex; }
|
12
7
|
set listLevelIndex(value) { this.paragraphPropertiesDestination.listLevelIndex = value; }
|
13
8
|
get numberingId() { return this.paragraphPropertiesDestination.numberingId; }
|
@@ -15,6 +10,11 @@ export class ParagraphNumberingReferenceDestination extends ElementDestination {
|
|
15
10
|
get elementHandlerTable() {
|
16
11
|
return ParagraphNumberingReferenceDestination.handlerTable;
|
17
12
|
}
|
13
|
+
constructor(data, paragraphPropertiesDestination) {
|
14
|
+
super(data);
|
15
|
+
this.paragraphPropertiesDestination = paragraphPropertiesDestination;
|
16
|
+
this.paragraphPropertiesDestination.listLevelIndex = -1;
|
17
|
+
}
|
18
18
|
static getThis(data) {
|
19
19
|
return data.destinationStack.getThis();
|
20
20
|
}
|
@@ -19,14 +19,14 @@ import { SuppressHyphenationDestination } from './properties/suppress-hyphenatio
|
|
19
19
|
import { SuppressLineNumbersDestination } from './properties/suppress-line-numbers-destination';
|
20
20
|
import { WidowOrphanControlDestination } from './properties/widow-orphan-control-destination';
|
21
21
|
export class ParagraphPropertiesBaseDestination extends ElementDestination {
|
22
|
+
get elementHandlerTable() {
|
23
|
+
return ParagraphPropertiesBaseDestination.handlerTable;
|
24
|
+
}
|
22
25
|
constructor(data, paragraphProperties, tabs) {
|
23
26
|
super(data);
|
24
27
|
this.paragraphProperties = paragraphProperties;
|
25
28
|
this.tabs = tabs;
|
26
29
|
}
|
27
|
-
get elementHandlerTable() {
|
28
|
-
return ParagraphPropertiesBaseDestination.handlerTable;
|
29
|
-
}
|
30
30
|
static getThis(data) {
|
31
31
|
return data.destinationStack.getThis();
|
32
32
|
}
|
@@ -8,6 +8,13 @@ import { ParagraphStyleReferenceDestination } from '../style/paragraph/paragraph
|
|
8
8
|
import { ParagraphNumberingReferenceDestination } from './paragraph-numbering-reference-destination';
|
9
9
|
import { ParagraphPropertiesBaseDestination } from './paragraph-properties-base-destination';
|
10
10
|
export class ParagraphPropertiesDestination extends ParagraphPropertiesBaseDestination {
|
11
|
+
get listLevelIndex() { return this.paragraphDestination.listLevelIndex; }
|
12
|
+
set listLevelIndex(value) { this.paragraphDestination.listLevelIndex = value; }
|
13
|
+
get numberingId() { return this.paragraphDestination.numberingId; }
|
14
|
+
set numberingId(value) { this.paragraphDestination.numberingId = value; }
|
15
|
+
get elementHandlerTable() {
|
16
|
+
return ParagraphPropertiesDestination.handlerTable;
|
17
|
+
}
|
11
18
|
constructor(data, paragraphDestination, paragraphProperties, tabs) {
|
12
19
|
super(data, paragraphProperties, tabs);
|
13
20
|
this.paragraphDestination = paragraphDestination;
|
@@ -16,13 +23,6 @@ export class ParagraphPropertiesDestination extends ParagraphPropertiesBaseDesti
|
|
16
23
|
.resetStyle();
|
17
24
|
ListUtils.clear(tabs.tabsInfo);
|
18
25
|
}
|
19
|
-
get listLevelIndex() { return this.paragraphDestination.listLevelIndex; }
|
20
|
-
set listLevelIndex(value) { this.paragraphDestination.listLevelIndex = value; }
|
21
|
-
get numberingId() { return this.paragraphDestination.numberingId; }
|
22
|
-
set numberingId(value) { this.paragraphDestination.numberingId = value; }
|
23
|
-
get elementHandlerTable() {
|
24
|
-
return ParagraphPropertiesDestination.handlerTable;
|
25
|
-
}
|
26
26
|
static getThis(data) {
|
27
27
|
return data.destinationStack.getThis();
|
28
28
|
}
|
package/lib/client/formats/docx/import/destination/relationships/relationships-destination.js
CHANGED
@@ -2,13 +2,13 @@ import { MapCreator } from '../../../../../../common/utils/map-creator';
|
|
2
2
|
import { ElementDestination } from '../destination';
|
3
3
|
import { RelationDestination } from './relation-destination';
|
4
4
|
export class RelationshipsDestination extends ElementDestination {
|
5
|
+
get elementHandlerTable() {
|
6
|
+
return RelationshipsDestination.handlerTable;
|
7
|
+
}
|
5
8
|
constructor(data, relations) {
|
6
9
|
super(data);
|
7
10
|
this.relations = relations;
|
8
11
|
}
|
9
|
-
get elementHandlerTable() {
|
10
|
-
return RelationshipsDestination.handlerTable;
|
11
|
-
}
|
12
12
|
static getThis(data) {
|
13
13
|
return data.destinationStack.getThis();
|
14
14
|
}
|
@@ -15,13 +15,13 @@ import { FloatingObjectImportInfo, ShapeType } from '../../model/floating-object
|
|
15
15
|
import { ElementDestination } from '../destination';
|
16
16
|
import { VMLShapeDestination } from '../vml/v-mlshape-destination';
|
17
17
|
export class InlineObjectDestination extends ElementDestination {
|
18
|
+
get elementHandlerTable() {
|
19
|
+
return InlineObjectDestination.handlerTable;
|
20
|
+
}
|
18
21
|
constructor(data) {
|
19
22
|
super(data);
|
20
23
|
this.floatingObjectImportInfo = new FloatingObjectImportInfo(this.data);
|
21
24
|
}
|
22
|
-
get elementHandlerTable() {
|
23
|
-
return InlineObjectDestination.handlerTable;
|
24
|
-
}
|
25
25
|
static getThis(data) {
|
26
26
|
return data.destinationStack.getThis();
|
27
27
|
}
|
@@ -3,10 +3,6 @@ import { StringMapUtils } from '@devexpress/utils/lib/utils/map/string';
|
|
3
3
|
import { ParagraphNumberingReferenceDestination } from '../../paragraph-properties/paragraph-numbering-reference-destination';
|
4
4
|
import { ParagraphPropertiesBaseDestination } from '../../paragraph-properties/paragraph-properties-base-destination';
|
5
5
|
export class StyleParagraphPropertiesDestination extends ParagraphPropertiesBaseDestination {
|
6
|
-
constructor(data, styleDestination, paragraphProperties, tabs) {
|
7
|
-
super(data, paragraphProperties, tabs);
|
8
|
-
this.styleDestination = styleDestination;
|
9
|
-
}
|
10
6
|
get elementHandlerTable() {
|
11
7
|
return StyleParagraphPropertiesDestination.handlerTable;
|
12
8
|
}
|
@@ -22,6 +18,10 @@ export class StyleParagraphPropertiesDestination extends ParagraphPropertiesBase
|
|
22
18
|
set listLevelIndex(value) {
|
23
19
|
this.styleDestination.listLevelIndex = value;
|
24
20
|
}
|
21
|
+
constructor(data, styleDestination, paragraphProperties, tabs) {
|
22
|
+
super(data, paragraphProperties, tabs);
|
23
|
+
this.styleDestination = styleDestination;
|
24
|
+
}
|
25
25
|
static getThis(data) {
|
26
26
|
return data.destinationStack.getThis();
|
27
27
|
}
|
@@ -14,13 +14,13 @@ import { TableCellTextDirectionDestination } from './table-cell-text-direction-d
|
|
14
14
|
import { TableCellVerticalAlignmentDestination } from './table-cell-vertical-alignment-destination';
|
15
15
|
import { TableCellVerticalMergingStateDestination } from './table-cell-vertical-merging-state-destination';
|
16
16
|
export class TableCellPropertiesDestinationCore extends ElementDestination {
|
17
|
+
get elementHandlerTable() {
|
18
|
+
return TableCellPropertiesDestinationCore.handlerTable;
|
19
|
+
}
|
17
20
|
constructor(data, cell) {
|
18
21
|
super(data);
|
19
22
|
this.cell = cell;
|
20
23
|
}
|
21
|
-
get elementHandlerTable() {
|
22
|
-
return TableCellPropertiesDestinationCore.handlerTable;
|
23
|
-
}
|
24
24
|
static getThis(data) {
|
25
25
|
return data.destinationStack.getThis();
|
26
26
|
}
|
@@ -15,15 +15,15 @@ import { StructuredDocumentDestination } from '../../structured-document-destina
|
|
15
15
|
import { TableDestination } from '../table/table-destination';
|
16
16
|
import { TableCellPropertiesDestination } from './properties/table-cell-properties-destination';
|
17
17
|
export class TableCellDestination extends ElementDestination {
|
18
|
+
get elementHandlerTable() {
|
19
|
+
return TableCellDestination.handlerTable;
|
20
|
+
}
|
18
21
|
constructor(data, row) {
|
19
22
|
super(data);
|
20
23
|
this.startParagraph = this.data.subDocumentInfo.paragraphImporter.paragraph;
|
21
24
|
this.cell = new TableCell(row, this.data.subDocumentInfo.tableImporter.createDefaultCellProperties());
|
22
25
|
this.paragraphRequired = true;
|
23
26
|
}
|
24
|
-
get elementHandlerTable() {
|
25
|
-
return TableCellDestination.handlerTable;
|
26
|
-
}
|
27
27
|
static getThis(data) {
|
28
28
|
return data.destinationStack.getThis();
|
29
29
|
}
|
@@ -13,13 +13,13 @@ import { TableRowGridBeforeDestination } from './table-row-grid-before-destinati
|
|
13
13
|
import { TableRowHeaderDestination } from './table-row-header-destination';
|
14
14
|
import { TableRowHideCellMarkDestination } from './table-row-hide-cell-mark-destination';
|
15
15
|
export class TableRowPropertiesDestination extends ElementDestination {
|
16
|
+
get elementHandlerTable() {
|
17
|
+
return TableRowPropertiesDestination.handlerTable;
|
18
|
+
}
|
16
19
|
constructor(data, row) {
|
17
20
|
super(data);
|
18
21
|
this.row = row;
|
19
22
|
}
|
20
|
-
get elementHandlerTable() {
|
21
|
-
return TableRowPropertiesDestination.handlerTable;
|
22
|
-
}
|
23
23
|
static getThis(data) {
|
24
24
|
return data.destinationStack.getThis();
|
25
25
|
}
|
@@ -13,13 +13,13 @@ import { TableCellDestination } from '../cell/table-cell-destination';
|
|
13
13
|
import { TablePropertiesDestinationCore } from '../table/properties/table-properties-destination-core';
|
14
14
|
import { TableRowPropertiesDestination } from './properties/table-row-properties-destination';
|
15
15
|
export class TableRowDestination extends ElementDestination {
|
16
|
+
get elementHandlerTable() {
|
17
|
+
return TableRowDestination.handlerTable;
|
18
|
+
}
|
16
19
|
constructor(data, table) {
|
17
20
|
super(data);
|
18
21
|
this.row = new TableRow(table, this.data.subDocumentInfo.tableImporter.createDefaultRowProperties());
|
19
22
|
}
|
20
|
-
get elementHandlerTable() {
|
21
|
-
return TableRowDestination.handlerTable;
|
22
|
-
}
|
23
23
|
static getThis(data) {
|
24
24
|
return data.destinationStack.getThis();
|
25
25
|
}
|
@@ -2,7 +2,7 @@ import { TableWidthUnit } from '../../../../../../../../common/model/tables/seco
|
|
2
2
|
import { ISetMaskedPropertyDescriptor, ISetMaskedPropertySupport } from '../../../../../../../../common/rich-utils/common-interfaces';
|
3
3
|
import { Data } from '../../../../data';
|
4
4
|
import { ElementDestination, ElementHandler, ElementHandlerTable } from '../../../destination';
|
5
|
-
|
5
|
+
type DescType<TProperties extends ISetMaskedPropertySupport<number, TableWidthUnit, TProperties>> = ISetMaskedPropertyDescriptor<number, TableWidthUnit, TProperties>;
|
6
6
|
interface IDescriptors<TProperties extends ISetMaskedPropertySupport<number, TableWidthUnit, TProperties>> {
|
7
7
|
top: DescType<TProperties>;
|
8
8
|
right: DescType<TProperties>;
|
@@ -14,14 +14,14 @@ import { TableStyleColBandSizeDestination } from './table-style-col-band-size-de
|
|
14
14
|
import { TableStyleRowBandSizeDestination } from './table-style-row-band-size-destination';
|
15
15
|
import { TableStyleShadingDestination } from './table-style-shading-destination';
|
16
16
|
export class TablePropertiesDestinationCore extends TablePropertiesBaseDestination {
|
17
|
+
get elementHandlerTable() {
|
18
|
+
return TablePropertiesDestinationCore.handlerTable;
|
19
|
+
}
|
17
20
|
constructor(data, table, tableProperties) {
|
18
21
|
super(data, tableProperties);
|
19
22
|
this.table = table;
|
20
23
|
this.tableProperties = tableProperties;
|
21
24
|
}
|
22
|
-
get elementHandlerTable() {
|
23
|
-
return TablePropertiesDestinationCore.handlerTable;
|
24
|
-
}
|
25
25
|
static getThis(data) {
|
26
26
|
return data.destinationStack.getThis();
|
27
27
|
}
|