![]() |
|
![]() | ||
|
Subject:
programmatic manipulation of "Number Pages" function in Adobe Acrobat
Category: Computers > Programming Asked by: crom654-ga List Price: $200.00 |
Posted:
31 Dec 2002 12:24 PST
Expires: 01 Jan 2003 07:59 PST Question ID: 135644 |
This is perhaps a little much for this type of forum, but I'm desperate, so here goes: In Acrobat 5, you can change the page numbers that popup and that are in the thumbnail by using the menu command "Document > Number Pages". I need a way to do that using Visual Basic. See, certain large PDF files are split up, and we want them to have correct page numbers, in spite of how many pages are actually in a given file. For example, a file which is page 356 is in one file; it should be noted in the page number thumbnail that it is page 356, even though there is only one page in the file. Can the Acrobat SDK accomplish this? If so, please provide sample use of property. Also, please advise as to cost and method of use. Can one just run a program manipulating the sdk on a pc with Acrobat installed? Or does one need a plugin of some sort? If Acrobat SDK cannot do this, can a third party application (preferably inexpensive) handle this? If so, please provide links and info. We have something called ActivePDF server, which we use for a lot of things via VB, but I don't believe it can help us with this problem. If you know differently, please let me know! If you don't have any idea what any of this means, this probably isn't the question for you. I noticed a couple of questions about Adobe Acrobat were asked and answered, so hopefully there are some Acrobat experts on here. :) |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: programmatic manipulation of "Number Pages" function in Adobe Acrobat
From: cipher17-ga on 01 Jan 2003 07:19 PST |
Hi crom654-ga, this is not the entire things that you asked for but might be useful. what document>number pages is doing is setting the logical page number rather than modifying the actual page numbers. The more detailed description is available at http://www.planetpdf.com/mainpage.asp?webpageid=678 My understanding is the you want to change the logical page numbers of pages in a PDF document so that one PDF document might be split over several files without affecting the 'viewable' page numbers. To use the above feature one might use the acrobat 5.0 SDK API AVPageViewSetPageNum. This does the same job. A complete description of this API can be found in core API reference available at http://partners.adobe.com/asn/developer/acrosdk/docs/Core_API/CoreAPIReference.pdf A brief description is: ASInt32 AVPageViewSetPageNum (AVPageView pageView, ASInt32 pageNum); Description Sets the current logical page of the page view, which might not be the same as the current number indicated on the screen. Plug-in writers in general do not need this, but if you wish to perform some operation on a page other than the one returned by AVPageViewGetPageNum, you can use this call to temporarily set the page. You must restore the page number when you are done. You should avoid causing any major changes to the page view (such as scrolling) to ensure that you end up restoring the page to the correct value. Parameters pageView The page view. pageNum The page number. Return Value Previous page number. Header File AVCalls.h A detailed description of how to use acrobat SDK with VB along with sample code and examples can be found at http://partners.adobe.com/asn/developer/acrosdk/docs/Interapplication_Communication/VBJavaScript.pdf A document to get started with programming with VB and acrobat SDK can be found at http://partners.adobe.com/asn/developer/acrosdk/docs/Interapplication_Communication/IACOverview.pdf and an overview of development with acrobat SDK can be found at http://partners.adobe.com/asn/developer/acrosdk/docs/getstart/DeveloperFAQ.pdf Hope this helps. thanks, -cipherr17-ga |
Subject:
Re: programmatic manipulation of "Number Pages" function in Adobe Acrobat
From: cipher17-ga on 01 Jan 2003 07:20 PST |
I forgot to mention that www.planetpdf.com is a good resource pllace for various developer FAQs and resources for developers workign with PDF files. |
Subject:
Re: programmatic manipulation of "Number Pages" function in Adobe Acrobat
From: crom654-ga on 01 Jan 2003 07:41 PST |
Thanks SO MUCH Cipher! I'm going to take this question off the market while I try the resources you gave me (since no one seems to be jumping for it). |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |