Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
kentgibson@yahoo.com@adobeforums.com #1
Acrobat Reader + Java
I am trying to preview pdf documents using the Acrobat Interapplication Communication. This works with reader version 5 & 6, but not 7.
Does anyone know why? or have an example where this works with version 7?
thanks.
kentgibson@yahoo.com@adobeforums.com Guest
-
Unable to print from Acrobat since Acrobat Reader update 7.02
Since I have installed the Adobe Reader 7.02 update. I cannot print from Reader 7 or Acrobat Pro 6 but still can print from Reader 6. Error... -
Acrobat Pro/Reader 7 Batch enable commenting for Reader 7
I have been searching for a good way other than opening and saving each file using Acrobat 7 Pro in order to enable commenting in Reader 7. Is there... -
Acrobat Professional V6 vs. Acrobat Reader V6 in Internet Explorer
I have both Acrobat Professioanl v6 and Acrobat Reader v6 on my PC. When I view a PDF via Internet Explorer, Acrobat Professional is launched. I want... -
upgrade acrobat reader 5 to acrobat reader 6.0.1
I have installed acrobat reader 6.0.1, so instead of upgrading acrobat reader 5, it installed fresh copy. now i have two acrobat reader. Does any one... -
How to uninstall Acrobat Reader 5 but retain with Acrobat Writer 5
YOu can uninstall AR5 & Acrobat5, then reinstall Acrobat5, then install AR6. You should also be able to reinstall Acrobat5 after installing AR6.... -
Aandi_Inston@adobeforums.com #2
Re: Acrobat Reader + Java
What interapplication communication interface are you using in the IAC
Reference?
Aandi Inston
Aandi_Inston@adobeforums.com Guest
-
kentgibson@yahoo.com@adobeforums.com #3
Re: Acrobat Reader + Java
I am trying to use OLE Automation.
The method which worked in versions 5 & 6 is called "LoadFile" - on pg 244 of the guide.
I am trying to view a pdf and hopefully programmitcally control the activeX component, like zooming it.
I try to create a OleControlSite, but with the progID "AcroPDF.PDF" nothing works.
With the prog ID "AcroExch.Document", I at least get a dialog popping up and after choosing a file it will embed the pdf into a dialog.
But I cannot then do anything with the document, or load another one.
Any ideas? I have tried getting help on java sites, and no one can help.
Thanks.
kentgibson@yahoo.com@adobeforums.com Guest
-
Aandi_Inston@adobeforums.com #4
Re: Acrobat Reader + Java
I don't understand how it could have worked in earlier releases, at
least not unchanged. AXAcroPDF is a new interface in Reader 7.
Previous versions of Acrobat did not include this. There was the
unsupported pdf.ocx, however. Are you trying to convert old code based
on the reverse-engineered pdf.ocx?
AcroExch is not a part of Reader, only Acrobat.
Aandi Inston
Aandi_Inston@adobeforums.com Guest
-
kentgibson@yahoo.com@adobeforums.com #5
Re: Acrobat Reader + Java
hmm. I am sure it worked, here you can see a screen shot here:
<http://www-128.ibm.com/developerworks/library/os-activex/>
This is the code I am trying to get running for version 7, in that article the progId is "PDF.PdfCtrl.5".
Odd that AcroExch.Document "almost" works, because I do not have acrobat installed, only reader.
Plus I am not trying to directly use the pdc.ocx. I do not think that example was based on the on the reverse-engineered pdf.ocx, what do you think?
kentgibson@yahoo.com@adobeforums.com Guest
-
Aandi_Inston@adobeforums.com #6
Re: Acrobat Reader + Java
The article is absolutely using PDF.OCX. It has to be, because there
is no other suitable OLE interface. I think it's somewhat
irresponsible of the article not to make clear it's using an
undocumented, unsupported interface not intended for programmers!
I haven't worked with the control, but it may be worth starting from
the top with the new documentation, rather than assuming you simply
adapt the reverse engineered code. Not sure if the full SDK includes
examples - anyone?
Aandi Inston
Aandi_Inston@adobeforums.com Guest
-
chicks@adobeforums.com #7
Re: Acrobat Reader + Java
<http://www.codeproject.com/miscctrl/acroview.asp>
chicks@adobeforums.com Guest
-
kentgibson@yahoo.com@adobeforums.com #8
Re: Acrobat Reader + Java
still no one with ideas? this must be possible.
kentgibson@yahoo.com@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #9
Re: Acrobat Reader + Java
What is possible is documented in the Acrobat SDK.
Have you downloaded the SDK and read the necessary documentation?
Leonard
Leonard_Rosenthol@adobeforums.com Guest
-
kentgibson@yahoo.com@adobeforums.com #10
Re: Acrobat Reader + Java
I have tried to download version 7 of the sdk, but you can't download it (at least for my machine), "Pending the release of the next Acrobat SDK, the Acrobat 7.0.5 SDK has been removed".
I am holding out hope that in version 8 there might be a java example, but I kind of doubt it (and who knows when that will be available). I have never seen any type of java example for this type of thing from adobe. And after trawling the internet, and finding lots of people who are having this exact problem I am sort of losing hope. There are some vendors who make this possible, but I really would like to do this myself, but I need an idea on how to precede.
kentgibson@yahoo.com@adobeforums.com Guest
-
Reinhard_Franke@adobeforums.com #11
Re: Acrobat Reader + Java
Let's take you by the hand:
Can you open a PDF in your WebBrowser?
If yes, which versions is comming up?
br, Reinhard
Reinhard_Franke@adobeforums.com Guest
-
kentgibson@yahoo.com@adobeforums.com #12
Re: Acrobat Reader + Java
Thanks. I can open a pdf with a browser (version 7 of the reader) and I can also open a browser with java which opens a pdf fine. But I want to be able to embed the reader in an application, and hopefully do stuff like zoom programmatically.
Let me briefly reiterate my requirements:
* I need to be able to open a pdf with acrobat reader 7 with java and embed it and use the acrobat interapplication communication.
any help would be grand.
kentgibson@yahoo.com@adobeforums.com Guest
-
Reinhard_Franke@adobeforums.com #13
Re: Acrobat Reader + Java
If you can open in IE then following should work:
$oPDF = ObjCreate("AcroPDF.PDF.1"); Create the Object
$oPDF.src =("C:\Test.pdf"); Load a file
That's not JAVA, but the command how I get it embedded. If that not works ask in a JAVA-Forum. You allways have to make sure, that no older version is already open.
HTH, Reinhard
Reinhard_Franke@adobeforums.com Guest
-
chicks@adobeforums.com #14
Re: Acrobat Reader + Java
As I replied on Nov 7, it's not only possible, but demonstrated with full source code here:
<http://www.codeproject.com/miscctrl/acroview.asp>
You'll need to figure out the details of calling it from Java. Using OLE controls from Java isn't exactly a widespread or recommended practice.
chicks@adobeforums.com Guest



Reply With Quote

