modern-pdf-lib / buildDocumentStructure
Function: buildDocumentStructure()
buildDocumentStructure(
pages,meta,registry,options?):DocumentStructure
Defined in: src/core/pdfCatalog.ts:320
Build the complete document structure.
Parameters
pages
readonly PageEntry[]
Page entries (already have refs allocated).
meta
Document metadata.
registry
Object registry.
options?
Optional catalog settings.