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

Annotation Link Named Action,

More
IP: 192.168.0.71 11 years 4 months ago #7747 by bsantiago
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.
More
IP: 192.168.0.71 11 years 4 months ago #7749 by radaee
it is managed in native library for named action.
example: "NextPage" shall return (pageno of Page object) + 1;
More
IP: 192.168.0.71 11 years 4 months ago - 11 years 4 months ago #7751 by bsantiago
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: 11 years 4 months ago by Vacvn.
More
IP: 192.168.0.71 11 years 4 months ago #7777 by bsantiago
Any update on this? Thanks
More
IP: 192.168.0.71 11 years 4 months ago #7778 by radaee
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.
More
IP: 192.168.0.71 11 years 4 months ago #7881 by bsantiago
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.
Time to create page: 0.432 seconds
Powered by Kunena Forum