Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Some Forms are not placed to the proper page #30

Open
lubbo opened this issue Jan 26, 2016 · 2 comments
Open

Some Forms are not placed to the proper page #30

lubbo opened this issue Jan 26, 2016 · 2 comments

Comments

@lubbo
Copy link

lubbo commented Jan 26, 2016

I've experienced that with some PDF (created with Acrobat 9 PDF version 1.3) some forms are all placed in the first page instead of the correct page.

Investigating the PDF structure, I've noticed that in some Form Widgets the reference to the Parent object is not present.
Besides the Form Widget is referenced from the Page Annots: Catalogue -> Pages -> Annots

lubbo added a commit to lubbo/ILPDFKit that referenced this issue Jan 26, 2016
Created another map to link Forms Widget with proper page starting from Catalogue -> Pages -> Annots.
If no link to parent is present in the Form Widget, the new map is used
@SaurabhPrajapati
Copy link

SaurabhPrajapati commented May 4, 2016

It's great.. Thanks @lubbo.but some time i am not getting particular textfield form on actual position as per PDF.I think margins are not proper for iPad Fullscreen Landscape & Portrait.

@hectorddmx
Copy link

hectorddmx commented Apr 4, 2018

I'm getting this behavior with a PDF with AcroForms.
All the forms are displayed on the first page... instead of appearing in their respective page.

Tried it with a couple PDFs created with Adobe Acrobat Pro, both have the same behavior.
Xcode 9.3, swift 4.1. Both iPhone and iPad have the issue in either landscape or portrait.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants