Inquiry About PDFium Support for Portfolio (File Attachment) Functionality

15 views
Skip to first unread message

尼古拉特斯拉

unread,
Jan 5, 2026, 3:23:16 PM (4 days ago) Jan 5
to pdfium

Dear PDFium Team,

I hope this message finds you well.

I am currently evaluating PDFium for a project that involves handling PDF documents with embedded file attachments—specifically, PDF portfolios (also known as "PDF packages" or collections of files bundled within a single PDF container).

Could you please clarify whether PDFium supports the creation, reading, or manipulation of such PDF portfolio structures? If so, are there any APIs or code examples available that demonstrate how to work with embedded files or portfolio metadata?

Any guidance or documentation you could provide would be greatly appreciated.

Thank you in advance for your time and assistance.

Best regards,

Lei Zhang

unread,
Jan 6, 2026, 1:53:45 PM (3 days ago) Jan 6
to 尼古拉特斯拉, pdfium
Hi,

Please take a look at FPDFDoc_GetAttachment(),
FPDFAttachment_GetName() and FPDFAttachment_GetFile() as starting
points. All of these APIs have tests demonstrating their use.
https://source.chromium.org/chromium searches and cross-indexes
Chromium and PDFium code.
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pdfium/11a30cc0-7b12-41a1-a4ac-185a3cc494a5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages