-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF
Description
The new Link class in annotation returns an empty* dict and hence creates no link.
I took a look at the link class and can't see any calls to self.update (since the base class is dict) as I do in the other annotation classes.
I reverted back to pypdf.generic.AnnotationBuilder.add_link with the same call parameters and links are inserted as expected.
*possibly 'title' would get through via the kwargs into the super constructor.
Environment
Windows, Python 3.11, running version 3.14.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
is-bugFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDFFrom a users perspective, this is a bug - a violation of the expected behavior with a compliant PDF