devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
19 lines (18 loc) • 542 B
JavaScript
import { LayoutBoxType } from './layout-box';
import { LayoutPageBreakBox } from './layout-page-break-box';
export class LayoutColumnBreakBox extends LayoutPageBreakBox {
clone() {
const newObj = new LayoutColumnBreakBox(this.characterProperties, this.colorInfo);
newObj.copyFrom(this);
return newObj;
}
getType() {
return LayoutBoxType.ColumnBreak;
}
getHiddenText() {
return "........Column Break........";
}
isLineBreak() {
return true;
}
}