docx-preview.d.ts 608 B

12345678910111213141516171819
  1. export interface Options {
  2. inWrapper: boolean;
  3. ignoreWidth: boolean;
  4. ignoreHeight: boolean;
  5. ignoreFonts: boolean;
  6. breakPages: boolean;
  7. debug: boolean;
  8. experimental: boolean;
  9. className: string;
  10. trimXmlDeclaration: boolean;
  11. renderHeaders: boolean;
  12. renderFooters: boolean;
  13. renderFootnotes: boolean;
  14. ignoreLastRenderedPageBreak: boolean;
  15. }
  16. export declare const defaultOptions: Options;
  17. export declare function renderAsync(data: any, bodyContainer: HTMLElement, styleContainer?: HTMLElement, options?: Partial<Options>): PromiseLike<any>;