Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getAttachments to PDFDocument #1242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on May 27, 2022

  1. Add getAttachments to PDFDocument

    This adds the getAttachments method to get all the attachments from a
    pdf document.
    
    This is basically implementing the suggestion in
    Hopding#534 (comment)
    
    There's some interesting behavior here, as the attachments don't show up
    until after save is called. That's tested in the test and described in
    the README, just so it's clear that's the behavior.
    
    I don't know how to do all that great jsfiddle setup, so for the README
    Ijust copied the basic example from that issue for now.
    sverch committed May 27, 2022
    Configuration menu
    Copy the full SHA
    8c29f85 View commit details
    Browse the repository at this point in the history