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

Accessing form field with multiple annotation kids #107

Open
panneer opened this issue May 25, 2020 · 0 comments
Open

Accessing form field with multiple annotation kids #107

panneer opened this issue May 25, 2020 · 0 comments

Comments

@panneer
Copy link

panneer commented May 25, 2020

Hey @corymickelson

I have a PDF defined with a form field as shown below

  • /DA: /QuickPDFF6af2e376 10 Tf 0 0 0 rg
  • /FT: /Tx
  • /Ff: 8388608
  • /Kids: Array
    • 117 0 R -> Dictionary of type: /Annot
    • 14 0 R -> Dictionary of type: /Annot
    • 85 0 R -> Dictionary of type: /Annot
  • /Q: 0
  • /T: 2213X
  • /TU:
  • /V:

When I access this field through Page->getField() API, the field does not have 'fieldName' attribute (/T).
Also, I could not set the field value with newly created appearance stream.

The field is defined once and has different annotation object for each page it is presented.
i.e, Same field is used in three pages (so we have three Annot type kids)

Please give me some advise to meet my requirement

Thanks a lot in advance

NOTE: I could not share the PDF sample for privacy reasons.

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