devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
14 lines (13 loc) • 653 B
JavaScript
import { __awaiter } from "tslib";
import { ParagraphPropertyDescriptor } from '../../../../../../../common/model/paragraph/paragraph-properties';
import { ParagraphFormattingLeafElementDestination } from '../paragraph-formatting-leaf-element-destination';
export class ParagraphRightToLeftDestination extends ParagraphFormattingLeafElementDestination {
processElementOpen(reader) {
return __awaiter(this, void 0, void 0, function* () {
this.setProperty(this.data.readerHelper.getWpSTOnOffValue(reader, 'val'));
});
}
getDescriptor() {
return ParagraphPropertyDescriptor.rightToLeft;
}
}