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

DDE - OLE correlations

$
0
0

Hi,

 

I'm trying to get the page count from a pdf document (in Adobe Reader).

I keep track of the current page internally but without the page count, I can't detect when I've reached the end of the document.

 

I've tried catching error messages from DdeClientTransaction but even when I navigate (DocGoTo[ ]) using a negative number, no error message gets returned.

Adobe Reader handles this by navigating to page 1 (which is logic) but not practical from a developer's POV in terms of callback.

 

I know DDE has a very limited set of functions when looking at OLE but Reader can't be used for that (except for AxAcroPDFLib.AxAcroPDF but that's not an option either since that interface doesn't include a 'pagecount' property as well).

 

Thanks in progress,

 

Forcecast


Viewing all articles
Browse latest Browse all 10848

Trending Articles



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