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.
Works out which page each bookmark of a template starts on, and how many pages it and each of its sections have, once
patchDocumenthas patched it, so the page numbers of its tables of contents and page references, and its numbers of pages, are written with it.estimatePageNumbers, fromdocx/layout, is one. Give it topatchDocumentas itspageNumbers.