devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
12 lines (11 loc) • 687 B
JavaScript
import { __awaiter } from "tslib";
import { TableCellPropertyDescriptor } from '../../../../../../../../common/model/tables/properties/table-cell-properties';
import { ShadingHelper } from '../../../shading/shading-helper';
import { TableCellPropertiesLeafElementDestination } from './table-cell-properties-leaf-element-destination';
export class TableCellShadingDestination extends TableCellPropertiesLeafElementDestination {
processElementOpen(reader) {
return __awaiter(this, void 0, void 0, function* () {
this.cell.properties.setValue(TableCellPropertyDescriptor.shadingInfo, ShadingHelper.getShadingValue(this.data, reader));
});
}
}