I was wondering if it is possible to create a radial context menu using the Acrobat API/SDK. I have made a COM based program that talks with MS-Office (MFC/ATL) in C++ but now I need to integrate with Acrobat DC and the AVMenu is not what I am looking for. I have checked the examples and I could not find nothing but these examples AVAppRegisterForContextMenuSnip and ExternalWindows. Could you give some ideas or examples of how I can achive this?
The radial context menu should appear as soon as I hightlight something (like the quick action menu). Here a mockup:
I highly doubt it. For starters, all menus, fields, links, etc. in Acrobat files are rectangular.
1. Is the JS compiler of Acrobat powerfull enough to render my radial menu or what considerations I should have?
2. The JS code should be part of the add-in (C++), but not as an embeded JS code within the PDFs.
3. If the point 1 is possible, how to call the JS code once I highlight a text? I have the JS code of the radial menu and I have the highlight routine in C++, I need to integrate them.
Please, some help and I'm sorry for the silly questions... I'm a newbie.
I don't think you'll be able to use this JS code in Acrobat. It only shares the core JS syntax with web-based JS.
As to executing it via C++, I can't help you with that, either...