Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Kimberly_G@adobeforums.com #1
Current Page Number
Hi,
I'm a newbie at any kind of Acrobat development, but can't seem to find a way to get the current page number on the client side of a pdf loaded into Reader. Is there a fairly painless way to do this? Additionally, it'd be cool to be able to change pages using client-side script as well (I'm currently re-loading it with the #page= attribute)...can I do that easily?
Here's a short description of the app so that my questions make a little more sense:
- Dropdowns on the left to drill down to a specific set of options. Iframe on the right that loads a corresponding pdf and loads the proper page for the dropdown options the user has selected as they drill down.
- Need to be able to reverse the process somehwat so that if the user goes to a page in the pdf on the right I can update some of the info on the left.
Any tips on how to accomplish this are greatly appreciated! :)
Thanks!
Kimberly_G@adobeforums.com Guest
-
How to get back the current count of a auto incrementing number.
hi How to get the current value of a auto incrementing number generated using CREATE SEQUENCE seqname START 1 Is there any way and if yes... -
How do you get the current number of lines in a textField ?
Ive got a textField and a function for adding letters to it over time (setInterval).. If there is more text than the textField size, I would need a... -
printing current frame number... but.. :( ?
Q: How to make flash print current frame number on each frame of the movie...? I tryed solving this by adding this action on every frame counter... -
redirect to another page based on text in the URL of the current page
Hi JPElectron, You were looking good until you got to the code. You're trying to use client-side code for your redirects, when you should be... -
note 33729 added to function.xml-get-current-column-number
Column numbers apparently start at 0. So you may want to add 1. ---- Manual Page --... -
Leonard_Rosenthol@adobeforums.com #2
Re: Current Page Number
Start by downloading the Acrobat SDK and reading the documentation and looking at the sample code.
Leonard_Rosenthol@adobeforums.com Guest
-
Kimberly_G@adobeforums.com #3
Re: Current Page Number
Leonard, thanks for your quick reply. I have downloaded the items you mentioned and started going through them. I see that the "this.pageNum" would be what I need; however, I'm unsure how to use this. How would my web page get access to this (pdf is displayed from within an iframe)...or is Acrobat JavaScript only for use within pdfs themselves (I don't have access to the internals of the pdfs or the files that they were created from...only the web page that wants to manipulate the pdf)? Thanks again!
Kimberly_G@adobeforums.com Guest
-
malkyt8@adobeforums.com #4
Re: Current Page Number
Hi,
The JavaScript is only available in Acrobat. however you can use the AxAcroPDFLib.AxAcroPDF from the IAC Reference.
Unfortunately this does not have a current page number function. It does have numerous functions for moving pages and so may prove helpful.
HTH
Malky
malkyt8@adobeforums.com Guest
-
Kimberly_G@adobeforums.com #5
Re: Current Page Number
Thanks, Malky! I have been looking more into that aspect of the sdk now and it looks promising. However, I've downloaded the samples and can't seem to get any of them to work. I even tried the html sample figuring it'd be the easiest to get running, but the control specified by the object tag won't load (and doesn't error or anything like that). Can you point me in the right direction for getting started with the IAC stuff? Do I need to have Acrobat in order to do this or something? Thanks for your help!
Kimberly_G@adobeforums.com Guest
-
Kimberly_G@adobeforums.com #6
Re: Current Page Number
Apparently I was just using the wrong browser...I had tried the html sample in FireFox. In IE it works as expected and I see the client-side paging you spoke of. Do you know if this is an IE only control or where I could find versions for other browsers? And is there something in the IAC stuff that you could point me to that I could use instead that would be browser independent but that I could still manipulate on the client-side? Thanks!
Kimberly_G@adobeforums.com Guest



Reply With Quote

