Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: Passing "ActiveDoc" to query method fails with exception (.NET IAC)

$
0
0

Just a follow-up to my previous question.

I even looked into passing messages to the Search Plug-in using DDE.

However, to my dismay, there seems to be no way to change the search location with DDE.

They give you the following struct which has a very limited amount of options...

typedef struct _QueryData {

        eQLangType qlt;

        boolean bOverrideWordOptions;

        uns32 nWordOptions;

        uns16 nMaxDocs;

        uns16 nQueryOffset;

        uns16 nNumSorts; //deprecated in Acrobat 6.0

        uns16 nSortOffset[QP_MAX_SORT_FIELDS]; //deprecated in Acrobat 6.0

        boolean bSortWays[QP_MAX_SORT_FIELDS]; //deprecated in Acrobat 6.0

        unsigned char cData[1];

    } QueryData;

 

My conclusion is that it is not possible to use the Search Plug-in to search in the Active Document using IAC...

(the closest you can get is "FindText" from CAcroPDDoc)


Viewing all articles
Browse latest Browse all 10848

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>