Annotation Link Named Action, - 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

TOPIC: Annotation Link Named Action,

Annotation Link Named Action, 4 years 5 days ago #7747

  • bsantiago
  • bsantiago's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I was just wondering if there is a way to get the Named Action of an Annotation Link.

For example if there are 2 annotation links on page 1 of a document.
- First link points to the 2nd page.
- Second link has a Named Action = NEXT_PAGE.

Now both links will return page 2 when I use Annotation.getDest().
But I want to know if I click a link with a named Action = NEXT_PAGE.

Thanks.

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

Annotation Link Named Action, 4 years 5 days ago #7749

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
it is managed in native library for named action.
example: "NextPage" shall return (pageno of Page object) + 1;

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

Annotation Link Named Action, 4 years 5 days ago #7751

  • bsantiago
  • bsantiago's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I already notice that.
But I still want to check first if the link annotation is a "GoTo" page or a "NextPage";
Thanks.

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

Last edit: by Vacvn.

Annotation Link Named Action, 4 years 1 day ago #7777

  • bsantiago
  • bsantiago's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Any update on this? Thanks

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

Annotation Link Named Action, 4 years 1 day ago #7778

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
i'm wondering why you has this requirement.
to support this demand, we will have to add a new interface.
normally, we not consider this demand.

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

Annotation Link Named Action, 3 years 11 months ago #7881

  • bsantiago
  • bsantiago's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Imagine a Named Action "PrevPage" on the first page, Annotation.getDest() returns -1 which is similar to other named action links, so I cannot tell if the annotation link is a "PrevPage" or other named action link.

May I know if you'll consider adding this?

I have a similar query
www.androidpdf.mobi/forum/Android-develo...tation-custom-action

I think adding this Custom Name Action will both solve our problems.

Thanks.

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

  • Page:
  • 1
Powered by Kunena Forum