Previous | Next | (P-PDF) JavaScript
Topic: Re: Breaking PDF file using table of contents (Via Email)
Conf: (P-PDF) JavaScript, Msg: 27588
From: LeonardR
Date: 9/25/2001 06:56 AM
At 05:44 AM 9/25/2001 +1000, p-pdf-javascript Listmanager wrote:
>I need to break the PDF down to smaller PDFs by chapters or
>subchapters in table of contents. The problem is that given a bookmark
>object I cannot locate in the PDF were a particular subchapter begins and
>ends. Can you tell me how to do this?
Check out Ari's Splitter Pro from Dionis (http://www.dionis.com).
>Given the bookmark object and running within a batch sequence I try to
>reference the Doc Object doc.pageNum I get a Global.pageNum error. Is this
>an Acrob 5.0 error? Why can't I get the value for pageNum attribute? I can
>access other attributes like, numPages, filesize, etc.?
Probably because that bookmark doesn't have a simple page number
associated with it. Bookmarks can be attached to page numbers (views),
named destinations or Actions - and in the case of Actions, they could be
anything from a "Go To" to a complete JavaScript.
Leonard
----------------------------------------------------------------------------------
Leonard Rosenthol
Director of Software Development (215) 922-3509 (voice)
Appligent, Inc. (formerly Digital Applications) (610) 284-4233 (fax)
PGP Fingerprint: 8CC9 8878 921E C627 0BC1 15BB FC19 64A9 0016 1397