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) 995 B
import { PrintingSettings, PrintMode } from '../../model/options/printing'; import { CommandBase, CommandSimpleOptions } from '../command-base'; import { SimpleCommandState } from '../command-states'; import { IRichEditControl } from '../../interfaces/i-rich-edit-core'; export declare class PrintDocumentOnClient extends CommandBase<SimpleCommandState> { private readonly _nonce; isEnabled(): boolean; isEnabledInReadOnlyMode(): boolean; constructor(control: IRichEditControl, _nonce: string); getState(): SimpleCommandState; private getMode; private getclosePrintDialogWithHtmlPreview; executeCore(_state: SimpleCommandState, options: CommandSimpleOptions<PrintMode | PrintingSettings | undefined>): boolean; private printCore; private generatePrintDocument; private getPrintDocumentStyleRules; private getGoogleFonts; private createGoogleFontStyleLink; private generatePrintContent; private fillZIndexStyles; }