Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

Implement undo and redo feature for annotations 9 years 9 months ago #6673

  • bashirisonline
  • bashirisonline's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 0
Hi,
I am implementing Undo and Redo functionality for annotations, I am able to implement undo functionality using annot.RemoveFromPage() API.
My problem is that how can I implement Redo functionality.

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

Implement undo and redo feature for annotations 9 years 9 months ago #6675

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You need to implement it yourself by keeping track of the annotations info (pageno, rect, ...)
You can save this info in a database if you want.

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

Implement undo and redo feature for annotations 9 years 9 months ago #6676

  • bashirisonline
  • bashirisonline's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 0
Can you please provide some information on what are the necessary parameters to be kept to redo an annotation.
for example:
for text highlight what details are required?
for text underline what details are required?
for ink what details are required?

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

Implement undo and redo feature for annotations 9 years 9 months ago #6678

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87

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

Last edit: by marcoP.

Implement undo and redo feature for annotations 9 years 9 months ago #6679

  • bashirisonline
  • bashirisonline's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 0
Ok, then How can I get Matrix of an annotation?

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

Implement undo and redo feature for annotations 9 years 9 months ago #6680

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
it depends how you created them in the first place, you can save the info while adding the annotation, at this moment all the info are available

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum