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 support for creating and deleting attachments to PdfAttachments collection. #49

Closed
ajrcarey opened this issue Sep 26, 2022 · 2 comments
Assignees

Comments

@ajrcarey
Copy link
Owner

Follow-on from #46. Add mutation functions to PdfAttachments collection.

@ajrcarey
Copy link
Owner Author

Added PdfAttachments::create_attachment_from_bytes(), PdfAttachments::create_attachment_from_file(), PdfAttachments::create_attachment_from_reader(), PdfAttachments::create_attachment_from_fetch(), PdfAttachments::create_attachment_from_blob(), and PdfAttachments::delete_at_index() functions. Added PdfAttachment::save_to_writer(), PdfAttachment::save_to_file() and PdfAttachment::save_to_blob() functions. Renamed PdfAttachment::bytes() to PdfAttachment::save_to_bytes() in keeping with naming used in PdfDocument. Updated examples/attachments.rs.

@ajrcarey
Copy link
Owner Author

Added bindings for FPDFLink_*() and FPDFText_Find*() functions to PdfiumLibraryBindings. Updated documentation. Scheduled for inclusion in 0.7.20.

ajrcarey pushed a commit that referenced this issue Sep 26, 2022
@ajrcarey ajrcarey self-assigned this Mar 10, 2023
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

No branches or pull requests

1 participant