Thank you! That works!
My original direction was to attempt to label the pages in order to get a handle on them; adding keyword meta data to describe the pages works equally well.
I really appreciate your help.
I used your code snippet and adapted to to read some custom tags in form of "stmnt1=1;disclaimer=2;etc" and it works!
# retrieve page labels from pdf (specified in pdf keywords section as +pagelabel=#;pagelabel=#;pagelabel=#;etc...) my %info = $pdf_template->info(); my %page_labels = (); my @attributes; if (defined $info{'Keywords'}) { my @pages = split ';',$info{'Keywords'}; foreach (@pages) { @attributes = split "=",$_; $page_labels{$attributes[0]} = $attributes[1]; if (($debugging != 0 ) || ($verbose !=0 )) { print "$attributes[0]: $attributes[1]\n"; } } undef @pages; } undef %info; undef @attributes;
In reply to Re^2: Reading page label (name) from PDF file...
by Anonymous Monk
in thread Reading page label (name) from PDF file...
by squirly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |