Skip to content

Add PdfPageObject.objectNumber#641

Merged
bobsingor merged 2 commits into
mainfrom
feature/add-page-object-number
May 19, 2026
Merged

Add PdfPageObject.objectNumber#641
bobsingor merged 2 commits into
mainfrom
feature/add-page-object-number

Conversation

@bobsingor

Copy link
Copy Markdown
Contributor

Add objectNumber:number to PdfPageObject and populate it from PDFium's EPDFDoc_GetPageObjectNumberByIndex. Update the PDFium engine bindings (functions, cjs/js glue and wasm), bump the pdfium submodule, and use the new call in openDocumentBuffer and importPages so page entries include their indirect-object number. Includes changesets for @embedpdf/engines and @embedpdf/models. The field will be 0 when PDFium cannot resolve the page dictionary (e.g. XFA pages).

Add objectNumber:number to PdfPageObject and populate it from PDFium's EPDFDoc_GetPageObjectNumberByIndex. Update the PDFium engine bindings (functions, cjs/js glue and wasm), bump the pdfium submodule, and use the new call in openDocumentBuffer and importPages so page entries include their indirect-object number. Includes changesets for @embedpdf/engines and @embedpdf/models. The field will be 0 when PDFium cannot resolve the page dictionary (e.g. XFA pages).
@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
embed-pdf-snippet Ready Ready Preview, Comment May 20, 2026 12:28am
embed-pdf-viewer-react-mui Ready Ready Preview, Comment May 20, 2026 12:28am
embed-pdf-viewer-svelte-tailwind Ready Ready Preview, Comment May 20, 2026 12:28am
embed-pdf-viewer-vue-vuetify Ready Ready Preview, Comment May 20, 2026 12:28am
embed-pdf-website Canceled Canceled May 20, 2026 12:28am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant