Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
arvindg007@adobeforums.com #1
How to clean file cache before loading PDF file ?
Hi,
I have one application in which we open PDF file inside it using the following api .
BOOL ok = m_pAcroAVDoc->OpenInWindowEx (pszPathName, (long)OurHWND,AV_DOC_VIEW ,TRUE , 0 , PDUseBookmarks ,
AVZoomFitPage , 0 , 0 , 0 );
What I observed that, when we open PDF files second time, it opens with a page where we have closed it for the first time.
It happens only when acrobat.exe is already running means if somebody already opened another PDF document and then we open and close the document in my application
So I wanted to know is there any way to clean file cache information so that it open file with the first page always ?.
Regards,
Arvind
arvindg007@adobeforums.com Guest
-
Trusted cache and txt file
I have caching turned on. I have property.txt file that is read in using cffile. My question is, if I make changes to that property.txt file, will... -
file upload, multipart form, and cgi::cache
Not sure if folks frequent this forum but if you see this and can/do help, I'd be much obliged I am trying to implement caching in a cgi app I am... -
install HTML::Template - Problem reading cache file / Bad file number
i get the following error when i try to install HTML::Template to my local space, ie, not as root: +---------------------------- % perl -MCPAN... -
how can I clean up the no-useful file in rootvg?
I have only one disk for rootvg,so can anyone give me some advises to free more space for system use----decrease the size of the common use... -
File browser cache purge
On the file browser, … (after clicking "more") … at the bottom of the option list is "purge cache". If the "purge cache" is clicked a caution... -
Leonard_Rosenthol@adobeforums.com #2
Re: How to clean file cache before loading PDF file ?
there is a preference in Acrobat to re-open documents at the last page that they were viewed. this preference works in both Acrobat and external applications.
Ask your users to not set that preference (it is off by default).
Leonard
Leonard_Rosenthol@adobeforums.com Guest
-
arvindg007@adobeforums.com #3
Re: How to clean file cache before loading PDF file ?
Hi Leonard,
Just now,I checked that setting, and that is working fine for external application. But not for internal application.
I set it off that restore setting even then it is opening the document at the last page where user viewed in my application.
Is there any api to set that particular setting internally ?
-Regards,
Arvind
arvindg007@adobeforums.com Guest
-
arvindg007@adobeforums.com #4
Re: How to clean file cache before loading PDF file ?
Leonard,
Could you please let me know the internal name for document preference named "Restore Last View Settings When Reopening Documents"?.
So that, I can change it thru code.
Regards,
Arvind
arvindg007@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #5
Re: How to clean file cache before loading PDF file ?
I don't believe that preference is exposed via the preferences API. If it is, then it will be listed in the documentation.
Leonard_Rosenthol@adobeforums.com Guest



Reply With Quote

