Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Jasper_Lee@adobeforums.com #1
what's wrong with PDSaveFull in Acrobat 8
Thanks for all who reply me first!
So strange.
I'm just open an PDF in Acrobat and close it then crash!
I write the following sentence in PlugInit()
if(!cbDocWillSave)
cbDocWillSave = ASCallbackCreateNotification(PDDocWillSaveEx, &NoteMeWillSave);
AVAppRegisterNotification(PDDocWillSaveExNSEL, gExtensionID, cbDocWillSave, NULL);
The following is NoteMeWillSave function:
void NoteMeWillSave(PDDoc doc, PDDocSaveParams params, void * clientData)
{
DURING
if(clientData){
if(*((ASBool*)clientData))
{
//I watch the value of saveFlags, it is 1(PDSaveFull)
//if i add the following sentence Acrobat will crash!
params->saveFlags &= ~PDSaveFull;
}
}
HANDLER
END_HANDLER
}
Any idea?
Thanks,
Jasper.
It's OK in Acroabt 7,but in Acroabt 8 it stucks.
Jasper_Lee@adobeforums.com Guest
-
Excel PDF Conversions - Wrong Size in Acrobat 6 Standard
Hi, I am trying to convert Excel spreadsheet into PDF format using Acrobat 6 Std. The problem is, the pdf's are being created slightly smaller... -
PDSaveFull and doc encryption
Hi there! Does anybody know how to know doc will be encrypted? Normally, my plugin will save doc with increment, so the doc will keep the changed... -
Acrobat 8 - Files Appear Wrong On Only One Mac
Greetings everyone. First post on Adobe Forums. I have found quite a few answers on here so thanks to everyone who contributes. I have finally... -
IDCS & Acrobat 6: PDFs from Distiller wrong size
I have a document in InDesign CS that is 10.5" wide x 15/9" tall. If I save an EPS or print to PS file, it Distills to 8/5 x 11. Why? How do I fix... -
Leonard_Rosenthol@adobeforums.com #2
Re: what's wrong with PDSaveFull in Acrobat 8
Where do you figure that clientData is a pointer to an ASBool? Is that something you are controlling yourself? I don't see that from your notification registration...
Leonard_Rosenthol@adobeforums.com Guest
-
Jasper_Lee@adobeforums.com #3
Re: what's wrong with PDSaveFull in Acrobat 8
Sorry
The real method is
AVAppRegisterNotification(PDDocWillSaveExNSEL, gExtensionID, cbDocWillSave, &g_bIncSave);
The g_bIncSave is a ASBool variable
Jasper_Lee@adobeforums.com Guest



Reply With Quote

