modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface HeaderFooterData

    The worksheet's <headerFooter>: print header and footer text for odd, even and first pages.

    interface HeaderFooterData {
        alignWithMargins?: boolean;
        differentFirst?: boolean;
        differentOddEven?: boolean;
        evenFooter?: string | null;
        evenHeader?: string | null;
        firstFooter?: string | null;
        firstHeader?: string | null;
        oddFooter?: string | null;
        oddHeader?: string | null;
        scaleWithDoc?: boolean;
    }
    Index
    alignWithMargins?: boolean

    Align the header and footer with the page margins. Omitted means true.

    differentFirst?: boolean

    Use firstHeader/firstFooter on the first page. Omitted means false.

    differentOddEven?: boolean

    Use evenHeader/evenFooter on even pages. Omitted means false.

    evenFooter?: string | null
    evenHeader?: string | null
    firstFooter?: string | null
    firstHeader?: string | null
    oddFooter?: string | null
    oddHeader?: string | null
    scaleWithDoc?: boolean

    Scale the header and footer with the document. Omitted means true.