Skip to content

An imported link gets a second Link structure element at the end of the document under PDF/UA #407

Description

@jakejackson1

On #325 (feature/pdfua-1-support) with #389, importing a tagged PDF clones its structure tree, including its Link elements. The imported link annotations then get a second, new Link element each at the end of the Document, which isn't matched to the cloned one. The cloned Link is dropped as empty, so the link is read at the end of the page rather than where it appears.

Expected. Match each imported annotation to the Link element that references it in the source (through its /StructParent and the source ParentTree), and attach the annotation's OBJR there.

Found in the #389 audit.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions