@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
37 lines (36 loc) • 1.36 kB
TypeScript
import { PagesHeaderFooter, HeaderFooterDate, Parameter, OptionsFont, HeaderFooterPositions, OptionsMargin } from "./../index";
export interface HeaderFooterInterface {
date?: HeaderFooterDate;
firstPageNumber?: number;
font?: OptionsFont;
footer?: HeaderFooterPositions;
header?: HeaderFooterPositions;
margin?: OptionsMargin;
pages?: PagesHeaderFooter;
replaceExisting?: boolean;
}
export declare class HeaderFooter implements HeaderFooterInterface, Parameter {
date?: HeaderFooterDate;
firstPageNumber?: number;
font?: OptionsFont;
footer?: HeaderFooterPositions;
header?: HeaderFooterPositions;
margin?: OptionsMargin;
pages?: PagesHeaderFooter;
replaceExisting?: boolean;
constructor(data: any);
static getDateDescription(): string;
static getFirstPageNumberDefault(): number;
static getFirstPageNumberDescription(): string;
static getFirstPageNumberMin(): number;
static getFontDescription(): string;
static getFooterDescription(): string;
static getHeaderDescription(): string;
static getMarginDescription(): string;
static getPagesDescription(): string;
static getReplaceExistingDefault(): boolean;
static getReplaceExistingDescription(): string;
static fromJson(data: any): HeaderFooter;
toJson(): any;
clone(): HeaderFooter;
}