what's wrong with PDSaveFull in Acrobat 8

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
  3. #2

    Default 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

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139