AVDocGetSelectionType TouchUpHighlightContentServer
What is a TouchUpHighlightContentServer AVDocGetSelectionType equivalent to. I tried to represent the selection as a PDEContent, but it produces a lot of mistakes.
As a general rule, no. I can't think of the panels, or interactive tools provided by a plug-in can interact with. If you want a version modified to a tool or a Panel, you must re-implement existing functionality (which may not be a real group).
I think that Adobe deliberately so that they are free to change or re-implement tools completely between versions.
Tags: Acrobat
Similar Questions
-
Acrobat9: Export selected the Image.
Hi all
I need to export the selected image.
I wrote this code to export the image.
Code:
ASAtom ImageSelection = ASAtomFromString ("Image");
If (ImageSelection is AVDocGetSelectionType (avDoc))
{
void * data = AVDocGetSelection (avDoc);
If (data! = NULL)
{
PDXObject xObj = static_cast < PDXObject > (AVDocGetSelection (avDoc));
PDImageAttrsP attrsP;
ASInt32 attrsLen;
PDImageGetAttrs (xObject, attrsP, sizeof (PDImageAttr));
}
}
but it gives an error "an internal error has occurred."
Help, please.
First of all, have you read the documentation?
There are only 4 types of objects which manages the AVDocGetSelection with the default server: text, Bitmap, Annotation, thumbnail image. What type AVDocGetSelectionType coming back when you have your selected image?
If it returns 'Bitmap' and then, in accordance with the documentation, the type returned will be AVGrafSelect.
If you select a non-bitmap (JPEG, PNG, etc.) then you have to write your own selection as a plug-in server to handle these Images. There is an example provided with the SDK called SelectionServer, and fortunately for you, it is designed to manage Images, so you should be able to implement with few changes.
Maybe you are looking for
-
FF4 tabs: above the Awesomebar, but not in the title bar?
How do you get the tabs above the awesomebar, but not in the title next to the Firefox button bar? I have a dock at the top of my screen I want to keep, so I'm not all the way at the top. I want it to look like it turn Firefox page (http://www.mozill
-
HP 250 G4: Webcam in HP 250 G4
I have another problem. Why when I talk on Skype, my very bad quality of web camera? You may need to install the driver? Laptop bought 10 days ago in the obviously stupid shop vendors. Thx for SNA.
-
R61i garbled display Nvidia Quadro NVS 140 M
Hi all Last year (Apr 2008), I brought a lenovo R61i model 774223A. Last March, suddenly it unresponsive and displays a garbled screen as soon as I switch on the device. Fortunately, I still have 5 days of warranty left and he rushed at his service c
-
I looked in all my programs, but do not see it. If it came with the computer? Can I download it? What should I buy? We are a group of computer illiterate pensioners, having fun with our families. Thanks for your help.
-
Remove Favorites from the dialog box "save under".
Hello world I already removed the libraries and the Favorites in the navigation pane (regedit) successfully - ok But whenever I have Open or Save as I always get these options here (in the open or save as dialog box) How to remove (especially!) Favor