docx
    Preparing search index...

    Type Alias TemplatePageNumberEstimator

    TemplatePageNumberEstimator: (template: PatchedTemplate) => EstimatedPageNumbers

    Works out which page each bookmark of a template starts on, and how many pages it and each of its sections have, once patchDocument has patched it, so the page numbers of its tables of contents and page references, and its numbers of pages, are written with it.

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

    Type Declaration