UNPKG

@syncfusion/ej2-documenteditor

Version:

Feature-rich document editor control with built-in support for context menu, options pane and dialogs.

46 lines (45 loc) 1.29 kB
/** * Represents document editor header and footer. */ import { DocumentEditorContainer } from '../document-editor-container'; /** * @private */ export declare class HeaderFooterProperties { element: HTMLElement; private container; private firstPage; private oddOrEven; private linkToPrevious; private pageNumber; private pageCount; private headerFromTop; private footerFromTop; private isHeaderTopApply; private isFooterTopApply; private isRtl; private readonly documentEditor; private readonly toolbar; /** * @private * @param {boolean} enable - enable/disable header footer pane. * @returns {void} */ enableDisableElements(enable: boolean): void; constructor(container: DocumentEditorContainer, isRtl?: boolean); initHeaderFooterPane(): void; showHeaderFooterPane(isShow: boolean): void; private initializeHeaderFooter; private createDivTemplate; private wireEvents; private onClose; private changeFirstPageOptions; private changeoddOrEvenOptions; private changeLinkToPreviousOptions; private changeHeaderValue; private onHeaderValue; private onFooterValue; private changeFooterValue; onSelectionChange(): void; destroy(): void; }