docx
    Preparing search index...

    Type Alias PageNumberEstimator

    PageNumberEstimator: (
        body: IXmlableObject,
        context: IContext,
    ) => EstimatedPageNumbers

    Works out which page each bookmark of a document starts on, and how many pages the document and its sections have, from the body of the document as it is written, so the page numbers of its tables of contents, page references and page counts can be written with it.

    estimatePageNumbers, from docx/layout, is one. Give it to a document as its pageNumbers.

    Type Declaration