Moving annotation too a new page - 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 Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Moving annotation too a new page

Moving annotation too a new page 4 years 3 months ago #4983

  • sparklellama
  • sparklellama's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0
I have implemented a system for dragging annotations to a new location on a page. However, if the annotation is dragged across a page boundary I have not been able to find in the framework any way of putting the annotation onto the new page.

Does such functionality exist?

Thanks

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

Moving annotation too a new page 4 years 3 months ago #4989

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58
no, but you can implement it by removing the annotation from the first page and add it to the second page

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

Moving annotation too a new page 4 years 3 months ago #4994

  • sparklellama
  • sparklellama's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0
Hi and thanks for the reply. Forgive me if I am missing something obvious :) But it seems like the Page object does not support adding an existing annotation to a Page. It only seems to support creating new annotations. Have I missed something?

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

Moving annotation too a new page 4 years 3 months ago #4995

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58
Nop, you did not miss anything (the Page object does not support adding an existing annotation to a Page).. to support this you need to check the type and the parameters of the annotation being moved..
create a new one with the same specs in the next page and then remove the old annotation from the first page

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

Moving annotation too a new page 4 years 3 months ago #4997

  • sparklellama
  • sparklellama's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 34
  • Thank you received: 0
That almost works… However I am using a PDF that was annotated in Adobe Reader. The PDF contains stamp annotations. There does not appear to be any way of re-creating a stamp annotation on a new page. I believe there are other annotation types that the library does not support as well, such as the "thought bubble / curly line" annotation type.

This means if you open a PDF that was annotated in Reader, you can move some annotations to a new page and not others.

It looks like I will have to proceed by not allowing any annotations to be moved to a new page by constraining the user's drag operation. I'd like to suggest that if possible it would be great to add a method to the Page object allowing existing annotations to be assigned to a new page, to make the library more useful in the future.

Thanks for your help.

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

Moving annotation too a new page 4 years 3 months ago #5002

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
new interfaces added, and demo project updated.
plz wait next version.

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

Last Edit: by .
  • Page:
  • 1
  • 2
Powered by Kunena Forum