UNPKG

devexpress-richedit

Version:

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

17 lines (16 loc) 539 B
import { LayoutBoxType } from './layout-box'; import { LayoutPageBreakBox } from './layout-page-break-box'; export class LayoutSectionMarkBox extends LayoutPageBreakBox { get isSectionBreakBox() { return true; } clone() { const newObj = new LayoutSectionMarkBox(this.characterProperties, this.colorInfo); newObj.copyFrom(this); return newObj; } getType() { return LayoutBoxType.SectionMark; } getHiddenText() { return "::::::::Section Break::::::::"; } }