Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Javascript
  FAQ FAQ  Forum Search   Register Register  Login Login

Javascript

 Post Reply Post Reply
Author
Message
JHPJHP View Drop Down
Beginner
Beginner


Joined: 24 Feb 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote JHPJHP Quote  Post ReplyReply Direct Link To This Post Topic: Javascript
    Posted: 24 Feb 11 at 4:04PM

Adds JavaScript to a global location in the document. For example, this allows functions to be defined which can then be called from JavaScript attached to events.

Is this excluded to:

"O" = (capital letter O) This event occurs when the page is opened.
"C" = This event occurs when the page is closed.

and

"DC" = Document close
"WS" = Will save
"DS" = Did save
"WP" = Will print
"DP" = Did print

Thank you,

Back to Top
JHPJHP View Drop Down
Beginner
Beginner


Joined: 24 Feb 11
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote JHPJHP Quote  Post ReplyReply Direct Link To This Post Posted: 24 Feb 11 at 6:29PM
Hi Again,
 
I would also like to know if the following is possible, or if there is an alternate solution:
 
After JavaScript has executed on the Open Event - is it possible to return the value to the calling application?
 
Setting the JavaScript into the PDF:
objQPDF.PageJavaScriptAction("O", 'var pageNumber; pageNumber=this.pageNum + 1;')
 
Open the PDF document into a Browser:
objPDF.Object.Navigate("test.pdf#view=FitH&toolbar=1&scrollbar=1&navpanes=0")
 
Thank you for any insite,
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 09 Mar 11 at 10:19AM
This is more of a general JavaScript + PDF question which should probably be asked on the Planet PDF Forum. Quick PDF Library will let you insert this JavaScript into the PDF but as to whether or not the JavaScript that you're using will work in the different versions of Adobe Reader, Acrobat and other 3rd party PDF viewers is a question that the experts on the Planet PDF Forum should be able to help you with.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store