'flatAnnots' loses checkboxes on multiple pages - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1
  • 2

TOPIC: 'flatAnnots' loses checkboxes on multiple pages

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12299

  • jhaskins
  • jhaskins's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I have a PDF with multiple pages that has multiple types of existing form elements that I am programmatically filling out. I can do this successfully and save the output. I have added a file (before.png) as an attachment. I am also flattening each page of the PDF file with ( [page flatAnnots]; ) and then saving the output, so that the form elements can not be modified on a computer afterwards. I have also added this file (after.png) as an attachment. The problem I'm seeing is that the PDF file is missing the checkbox elements from anything after page 2 on the flattened file.

Is flattening the PDF file and losing form elements a bug?
Is there anything else I can do to flatten the file without losing form elements?
Is there anything else I can do to prevent form elements being modified without flattening the page?

Please Log in or Create an account to join the conversation.

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12300

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
May you provide your pdf file and screenshots, please?

Please Log in or Create an account to join the conversation.

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12303

  • jhaskins
  • jhaskins's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
I'm having trouble adding the attachments here. So, they can be viewed here:

before.png: www.dropbox.com/s/dowim664j0jspxz/before.png?dl=0
after.png: www.dropbox.com/s/dowim664j0jspxz/before.png?dl=0

Please Log in or Create an account to join the conversation.

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12304

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
you added twice the same image.

you should also provide your pdf to allow us doing some deeper test.

Please Log in or Create an account to join the conversation.

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12305

  • jhaskins
  • jhaskins's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

'flatAnnots' loses checkboxes on multiple pages 1 year 6 months ago #12307

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

which SDK version are you using?
we checked the issue with the last stable version and it seems fixed.
You can download the updated SDK here: http://www.radaeepdf.com/download/file/83-radaeepdf-3-8-1

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum