UNPKG

devexpress-richedit

Version:

DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.

22 lines (21 loc) 649 B
export class MailMergeOptions { constructor() { this.isEnabled = false; this.viewMergedData = false; this.activeRecordIndex = 0; this.recordCount = 0; this.allowInsertFields = false; } copyFrom(obj) { this.isEnabled = obj.isEnabled; this.viewMergedData = obj.viewMergedData; this.activeRecordIndex = obj.activeRecordIndex; this.recordCount = obj.recordCount; this.allowInsertFields = obj.allowInsertFields; } clone() { const result = new MailMergeOptions(); result.copyFrom(this); return result; } }