RadaeePDF.com :: Topic: Annotation Link Named Action, (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Annotation Link Named Action,

Annotation Link Named Action, 2 years 10 months ago #7747

  • bsantiago
  • bsantiago's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 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.
The administrator has disabled public write access.

Annotation Link Named Action, 2 years 10 months ago #7749

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
it is managed in native library for named action.
example: "NextPage" shall return (pageno of Page object) + 1;
The administrator has disabled public write access.

Annotation Link Named Action, 2 years 10 months ago #7751

  • bsantiago
  • bsantiago's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I already notice that.
But I still want to check first if the link annotation is a "GoTo" page or a "NextPage";
Thanks.
Last Edit: 2 years 10 months ago by Vacvn.
The administrator has disabled public write access.

Annotation Link Named Action, 2 years 10 months ago #7777

  • bsantiago
  • bsantiago's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Any update on this? Thanks
The administrator has disabled public write access.

Annotation Link Named Action, 2 years 10 months ago #7778

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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.
The administrator has disabled public write access.

Annotation Link Named Action, 2 years 9 months ago #7881

  • bsantiago
  • bsantiago's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 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.
The administrator has disabled public write access.
Powered by Kunena Forum