How to close the doc clearly in my plugin?

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

  1. #1

    Default How to close the doc clearly in my plugin?

    write a plugin and add a watermark to the doc,and call the pddocsave,and then delete the watermark added,add another watermark and saved.lastly i call the pddocsave,avdocdosave avdocclose,and pddocclose to close the doc,and want to move the file to another position,but always failed,told me that the file was opened by another process?but i have closed the doc? what is the matter?who can tell me.
    tigerrabbit@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Opera Plugin - Like IE Plugin
      Experts! Can anyone tell me if and how it is possible to insert the Contribute Plugin into the Opera Browser? Thank you very much, Sectas
    2. Please help --> How can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if flash plugin is not available in browser
      Hi, Please help How can I install flash player plugin (version 8) in browser without downloading setup or redirecting to macromedia site if...
    3. SO CLOSE!
      I'm using coldfusion and the MYSQL Migration toolkit to create my web application but when I'm trying to convert my access database to mysql...
    4. close my project that is in a browser window (close this window)
      How can I do this with a button? What do I have to put into button?
  3. #2

    Default Re: How to close the doc clearly in my plugin?

    use the acrobat sdk 7.0.
    tigerrabbit@adobeforums.com Guest

  4. #3

    Default Re: How to close the doc clearly in my plugin?

    Why are you mixing PDDoc and AVDoc calls in this manner? And how is the file opened - PDDocOpen, AVDocOpen, other?
    Leonard_Rosenthol@adobeforums.com Guest

  5. #4

    Default Re: How to close the doc clearly in my plugin?

    I am going through this problem, too. Does the sdk 7 work well with it compare to other version like the 8, 9?
    dit2000@adobeforums.com Guest

  6. #5

    Default Re: How to close the doc clearly in my plugin?

    To Leonard Rosenthol:
    i do not know how the file is opened?i just use the AVAppGetActiveDoc to get the AVDoc object,and then use the AVDocGetPDDoc to get thd PDDoc object throught the AVDoc object,and then operate the doc use the PDDoc object,and then save it.
    at last i should close the doc and the window not the acrobat process ,want to move the file to another position,but all failed which said the file is open by another process.
    tigerrabbit@adobeforums.com Guest

  7. #6

    Default Re: How to close the doc clearly in my plugin?

    Then if you started with an AVDoc - you should NEVER close the PDDoc. Also, if you didn't open the document, why would the user expect that you would be closing it?
    Leonard_Rosenthol@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