simplify-angular
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.0.
51 lines (50 loc) • 1.99 kB
TypeScript
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
import { SimplifyService } from '../../services/simplify.service';
import { AppBrowserService } from '../../services/app-browser.service';
import { SimpleBaseClass } from '../../_base/simple-base-class';
import * as i0 from "@angular/core";
export declare class HtmlPrintPreviewComponent extends SimpleBaseClass implements AfterViewInit, OnInit {
appBrowser: AppBrowserService;
buttonDownload: ElementRef;
buttonPrint: ElementRef;
inputExportFormats: any;
inputPageMarginBottom: any;
inputPageMarginBottomUnit: any;
inputPageMarginLeft: any;
inputPageMarginLeftUnit: any;
inputPageMarginRight: any;
inputPageMarginRightUnit: any;
inputPageMarginTop: any;
inputPageMarginTopUnit: any;
inputPageOrientation: any;
inputPageSize: any;
inputPrinters: any;
previewFrame: ElementRef;
previewFrameContentWindow: any;
previewFrameDocument: any;
fileName: string;
functions: any;
optionsExportFormats: any[];
optionsMarginUnits: any[];
optionsPageOrientations: any[];
optionsPageSizes: any[];
optionsPrinters: any[];
pageSettings: any;
printSettings: any;
constructor(simplify: SimplifyService, elementRef: ElementRef, appBrowser: AppBrowserService);
ngOnInit(): void;
ngAfterViewInit(): void;
download(format?: string): void;
initialize(): void;
initPreviewFrame(): void;
generatePdf(params?: any): void;
getPrintSettings(): any;
getPrintersList(): void;
getPreviewFrameHtml(): any;
getPreviewFrameHtmlForPrint(): any;
removeScriptsFromHtml(htmlContent: string): string;
setPreviewFrameHtml(html: string): void;
print(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlPrintPreviewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlPrintPreviewComponent, "html-print-preview,[html-print-preview]", never, {}, {}, never, never, false, never>;
}