Interface HTMLTableWriter

interface HTMLTableWriter {
    writeComplete?: (() => void);
    writeHTMLCell: ((cell, coords, writer) => false | void);
    writeHTMLCol?: ((header, index, span, writer) => void);
    writeHTMLRow?: ((header, index, span, writer) => void);
    writeHTMLTable?: ((writer, range) => void);
}

Properties

writeComplete?: (() => void)

Type declaration

    • (): void
    • Returns void

writeHTMLCell: ((cell, coords, writer) => false | void)

If returns false this cell will not be added. This is useful for spanning

Type declaration

writeHTMLCol?: ((header, index, span, writer) => void)

If returns a number representing the colspan.

Type declaration

    • (header, index, span, writer): void
    • Parameters

      Returns void

writeHTMLRow?: ((header, index, span, writer) => void)

Type declaration

    • (header, index, span, writer): void
    • Parameters

      Returns void

writeHTMLTable?: ((writer, range) => void)

Type declaration