docx
    Preparing search index...

    Type Alias EstimatedPageNumbers

    The page each bookmark of a document starts on, and the number of pages of the document and of each of its sections, as a PageNumberEstimator works them out.

    type EstimatedPageNumbers = {
        bookmarks: ReadonlyMap<string, string>;
        pageCount?: number;
        sectionPageCounts?: readonly (number | undefined)[];
    }
    Index
    bookmarks: ReadonlyMap<string, string>

    The number of the page each bookmark starts on, as the page shows it, such as "3" or "iv", by the bookmark's name. The page references to a bookmark that isn't in it are left blank.

    pageCount?: number

    The number of pages of the document, which its NUMPAGES fields show. They are left blank without it

    sectionPageCounts?: readonly (number | undefined)[]

    The number of pages of each of the document's sections, in order, which the SECTIONPAGES fields in the section, and in headers and footers only on its pages, show. Those of a section whose number is undefined are left blank.