I have acrobat standard 9 installed on my computer, and I would like if I can use Acrobat SDK
to create a program (in cpp) to call silently the OCR (without any dialog or popup) on my pdf file.
Thank you for your answer.
If I understood correctly.
I have to create a custom plugin in cpp to call the ocr which will create an .api in the acrobat plug_ins directory.
Then In my program I will use AVCommand to call my plugin.
Is it correct ?
I don't understand how it can works without acrobat running.
You can only use AVCommand from within a plug-in.
Your program would have to
* start Acrobat ,with your plug-in installed
* have your plug-in monitor for an external event in a timer proc (this isn't an Acrobat event)
* have the program trigger the event
* have the plug-in work and send a message back to your program
Note that this can only happen on your workstation, it isn't for server use.
Thank you, it is clear now.
Yes it is for my workstation
But as I wrote in the thread subject, I would like to call the OCR silently.
And The first step you wrote is "Start Acrobat, with your plugin-in installed"
If I do that I need to have acrobat running all the time :/ on my workstation with acrobat in the task bar.
Is it not possible to use the SDK to call Acrobat OCR APi without acrobat.exe running ?
Or maybe is it possible to run acrobat.exe as daemon or silent mode ?
Because, my main program is a daemon on my workstation.
And in my view an advantage to use an SDK/API is also to avoid to run the full program.
Or at least no popup/window task bar item, which disturbs user.
Well, some SDKs will avoid that. For example the Windows SDK - you can run some neat programs, but you still have to run Windows! The Acrobat SDK is a tool for automating the visual tool Acrobat; not a back end engine for high powered processing. (Adobe have various pricy tools in that territory, but not for OCR).
Europe, Middle East and Africa