yanchengPowerSupply/node_modules/docx-preview/dist/docx-preview.d.ts

20 lines
589 B
TypeScript

export interface Options {
inWrapper: boolean;
ignoreWidth: boolean;
ignoreHeight: boolean;
ignoreFonts: boolean;
breakPages: boolean;
debug: boolean;
experimental: boolean;
className: string;
trimXmlDeclaration: boolean;
renderHeaders: boolean;
renderFooters: boolean;
renderFootnotes: boolean;
ignoreLastRenderedPageBreak: boolean;
}
export declare const defaultOptions: Options;
export declare function renderAsync(data: any, bodyContainer: HTMLElement, styleContainer?: HTMLElement, options?: Partial<Options>): PromiseLike<any>;