Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Cam::pdf, document page number

Thread Tools

Cam::pdf, document page number

Posts: n/a
Hi all:

I know CAM:DF has a method to calculate the number of pages (PDF-
>numPages) in an PDF file but is there any function that can calculate

the document's starting page number.

Eg. A document consisting of 10 pages would theoretically begin at Pg.
1 and end at Pg. 10 but the relative page number (appears next to "1"
in Adobe Reader) may be (say) 91 or something. The page numbers are
relative to the previous chapter's ending page.

Is there anything out there in Perl that can return the relative
starting page number? I tried looking at many PDF modules in CPAN but
none of them seem to do this (or I don't know how to use them!)

Would be grateful for leads.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SiSU] book/document generator, sample documents: summary page for document markup and output Ralph Amissah Ruby 0 11-20-2005 03:23 PM
OT: Number Nine, Number Nine, Number Nine FrisbeeŽ MCSE 37 09-26-2005 04:06 PM
DocumentBuilder.parse() returns "[#Document: null]" Document Mike Java 0 09-06-2003 03:38 AM
Help with JDOM, turn org.jdom.Document -> org.w3c.dom.Document? Wendy S Java 1 08-04-2003 11:48 PM
Xalan document() function finding wrong document root Steve Carrow Java 0 07-28-2003 02:28 AM