- Posts: 6
- 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
Annotation Link Named Action,
IP: 192.168.0.71
11 years 4 months ago #7747
by bsantiago
Annotation Link Named Action, was created 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.
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.
IP: 192.168.0.71
11 years 4 months ago #7749
by radaee
Replied by radaee on topic Annotation Link Named Action,
it is managed in native library for named action.
example: "NextPage" shall return (pageno of Page object) + 1;
example: "NextPage" shall return (pageno of Page object) + 1;
IP: 192.168.0.71
11 years 4 months ago - 11 years 4 months ago #7751
by bsantiago
Replied by bsantiago on topic Annotation Link Named Action,
I already notice that.
But I still want to check first if the link annotation is a "GoTo" page or a "NextPage";
Thanks.
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.
IP: 192.168.0.71
11 years 4 months ago #7777
by bsantiago
Replied by bsantiago on topic Annotation Link Named Action,
Any update on this? Thanks
IP: 192.168.0.71
11 years 4 months ago #7778
by radaee
Replied by radaee on topic Annotation Link Named Action,
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.
to support this demand, we will have to add a new interface.
normally, we not consider this demand.
IP: 192.168.0.71
11 years 4 months ago #7881
by bsantiago
Replied by bsantiago on topic Annotation Link Named Action,
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.
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