C++ plugin SDK ability to disable share, combine files and compare files tools
I am creating a C++ plugin for Acrobat, where in user can use this plugin and open the file from secured DB using Virtual file system. However, need to restrict all forms of sharing or extracting of contents from the PDF which is opened.
I tried using AVDocOpenFromPDDocWithParams and specified a permReqProc, using this I was able to restrict most of the tools from copying or extracting contents. i.e., Edit PDF, organize Pages, Prepare form etc.
However, the following tools seems to be not honoring the permReqProc and still content is being extracted from the already opened PDF Document.
1. Share tools: Like emailing (Inspite of denying PDPermReqOprUIemail) and Uploading to adobe cloud (One cloud option is disabled, however more are still active)
2. Combine files and Compare file tools.
I even tried PDDocOpenWithParams and specified the params.restrictPerms. This had no effect on the opened document.
I am not sure If I am using the APIs wrong or the tools are buggy. Any help with disabling the listed options will help. Thank you
I am using latest version of Acrobat Pro DC on Windows 10 machine.