-
1. Re: Need documentation clarification on AVDocOpenFromFile call
lrosenth Oct 18, 2010 6:33 AM (in response to andrejusc)Remember that AVDocs are documents that appear to the user, while PDDocs are those that you open for "machine processing". If you are only looking at a document for your purpose and not for a user/human - use PDDoc and don't worry.
-
2. Re: Need documentation clarification on AVDocOpenFromFile call
andrejusc Oct 18, 2010 6:38 AM (in response to lrosenth)Hmm, do we have an analogy of AVDocSaveOptimized for PDDoc level? Probably not - so the only way for me to utilize those presets is to use AVDoc. Am I right or there is something new in SDK 9.x I'm not aware about?
-
3. Re: Need documentation clarification on AVDocOpenFromFile call
lrosenth Oct 18, 2010 6:59 AM (in response to andrejusc)That is correct, you need an AVDoc to use SaveOptimized.
And you need not worry about the event loop in that case, it will be handled for you.
-
4. Re: Need documentation clarification on AVDocOpenFromFile call
andrejusc Oct 18, 2010 7:05 AM (in response to lrosenth)But in general case then - how could I put event loop step programatically if I need just AVDocOpenFromFile/AVDocClose and SaveOptimized is conditional between them? If it's mentioned in SDK documentation - there should be some hint (maybe for some other case) how to utilize it.
-
5. Re: Need documentation clarification on AVDocOpenFromFile call
lrosenth Oct 18, 2010 11:24 AM (in response to andrejusc)Without looking at the docs, I think it's AVDoIdle() (something like that).
-
6. Re: Need documentation clarification on AVDocOpenFromFile call
andrejusc Oct 18, 2010 11:06 PM (in response to lrosenth)Hmm, there is nothing in plugin headers files with DoIdle() suffix. Only it's mentioned that I could register my own Idle Proc via AVAppRegisterIdleProc, but as I could understand it's not the same as my own call of event loop.
Any other hint?
-
7. Re: Need documentation clarification on AVDocOpenFromFile call
lrosenth Oct 19, 2010 4:52 AM (in response to andrejusc)AVAppIdle()
-
8. Re: Need documentation clarification on AVDocOpenFromFile call
andrejusc Oct 26, 2010 8:05 AM (in response to lrosenth)There is no such API method as AVAppIdle() in Acrobat SDK 9 Version 1 Header files. Hope you could find another one.
There is only such statement in AVProcs.h Header file:
"When a multi-read protocol document is closed, the client must register an AVAppIdle task"
But no sample code on how to do that.


