This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Give hyperlink to pdf table perl

Hi all,

I have a pdf file which contains table. Now I want to give hyperlink to all cells of first column using perl script.

I've tried PDF::API2::Annotation, but not getting links at first column. I'm confused how to give hyperlink to particular text in PDF table.

Thanks

#!/usr/bin/perl
use PDF::API2;
use strict;
use warnings;
use Data::Dumper;
use PDF::Table;
use PDF::API2::Annotation;

my $pdftable = new PDF::Table;
my $pdf = new PDF::API2(-file => "table.pdf");
my $page = $pdf->page;
#my $page = $pdf->openpage(1);
my $annot = $page->annotation();
my $url='http://permalink.gmane.org/gmane.comp.lang.perl.modules.pdfapi2/655';
$annot->url($url,-rect => [80,80,794,1050,],-border =>
[1,1,1]);

$pdf->saveas();
$pdf->end;
sequence snp perl hyperlink

Hello Shivangi Naik!

We believe that this post is does not fit the main topic of this site.

question is not related to bioinformatics.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.