- Posts: 34
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Moving annotation too a new page
- sparklellama
- Topic Author
- Offline
- Junior Member
-
Less
More
IP: 192.168.0.70
12 years 8 months ago #4983
by sparklellama
Moving annotation too a new page was created by sparklellama
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
Does such functionality exist?
Thanks
IP: 192.168.0.158
12 years 8 months ago #4989
by nermeen
Replied by nermeen on topic Moving annotation too a new page
no, but you can implement it by removing the annotation from the first page and add it to the second page
- sparklellama
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
IP: 192.168.0.70
12 years 8 months ago #4994
by sparklellama
Replied by sparklellama on topic Moving annotation too a new page
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?
IP: 192.168.0.158
12 years 8 months ago #4995
by nermeen
Replied by nermeen on topic Moving annotation too a new page
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
create a new one with the same specs in the next page and then remove the old annotation from the first page
- sparklellama
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
IP: 192.168.0.70
12 years 7 months ago #4997
by sparklellama
Replied by sparklellama on topic Moving annotation too a new page
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.
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.
IP: 192.168.0.70
12 years 7 months ago - 12 years 7 months ago #5002
by radaee
Replied by radaee on topic Moving annotation too a new page
new interfaces added, and demo project updated.
plz wait next version.
plz wait next version.
Last edit: 12 years 7 months ago by .
Time to create page: 0.514 seconds