Converting Acrobat 7 SDK -built plug-in to Acrobat 9

We have a plug-in developed inhouse with Acrobat 7 SDK. We are looking for someone with SDK programming experience to help us port it for Acrobat 9. We tried ourselves using Xcode compiler, but it seems that the plug-in is not showing up either as a Menu item nor as a tool icon.
I understand that it may be a very simple problem, which somehow we miss resolving, but since our original programmer is no longer with us, we need some help in porting the tool to Acrobat 9 Pro.
If interested, or have a suggestion, please call me at 216-252 7300 ext. 2684.
Andrzej

NoSmoking,
Thanks for the reply. Since I am not the programmer you may need to just bear with me a bit, if you can.
First, the app is running on OSX (10.3.9 - 10.5.11) - hence the use of XCode as compiler. I checked About Adobe Plug-ins list in 9 Pro which shows loaded plug-ins and our UpdatePage4Layer.acroplugin is not there. Unless there is another way to look at the loaded plug-in list, I cannot find it.
Second, could you explain the check using PluginInit method? There is a section in the project's code which covers PluginInit, but I am not sure how I can use it:
/* PluginInit
** The main initialization routine.
** Return true to continue loading plug-in.
** Return false to cause plug-in loading to stop.
ACCB1 ASBool ACCB2 PluginInit(void)
return MyPluginSetmenu();
I also searched for AVMenuItemNew in the project's code and here is what I found:
// Create our menuitem
menuItem = AVMenuItemNew (MyMenuItemTitle, MyMenuItemName, NULL, true, NO_SHORTCUT, 0, NULL, gExtensionID);
AVMenuItemSetExecuteProc (menuItem, ASCallbackCreateProto(AVExecuteProc, MyPluginCommand), NULL);
AVMenuItemSetComputeEnabledProc (menuItem,
ASCallbackCreateProto(AVComputeEnabledProc, MyPluginIsEnabled), (void *)pdPermEdit);
// get advanced menu
advancedMenu = AVMenubarAcquireMenuByName (menubar, "Advanced");
endToolsGroup1MenuItem = AVMenubarAcquireMenuItemByName(menubar, "endToolsGroup1");
ASInt32 sepIndex = AVMenuGetMenuItemIndex(advancedMenu, endToolsGroup1MenuItem);
// add new menuitem under AcrobatSDK Sub Menu
if(bUnderAcrobatSDKSubMenu) {
// Acquire the common "AcrobatSDK" sub menu.
commonMenu = AVMenubarAcquireMenuByName (menubar, "AMGR:AG_Plugins");
// if "AcrobatSDK" sub menu is not existing, create one under Advanced menu.
if (!commonMenu) {
commonMenu = AVMenuNew ("AG Plugins", "AMGR:AG_Plugins", gExtensionID);
commonMenuItem = AVMenuItemNew ("AG Plugins", "AMGR:AG_Plugins", commonMenu,
false, NO_SHORTCUT, 0, NULL, gExtensionID);
bCreatedCommonMenu = true;
AVMenuAddMenuItem(advancedMenu, commonMenuItem, sepIndex);
// add new menu item to Acrobat SDK sub menu
AVMenuAddMenuItem (commonMenu, menuItem, APPEND_MENUITEM);
// or directly add new menu item under Advanced menu
else {
endToolsGroup1MenuItem = AVMenubarAcquireMenuItemByName(menubar, "endToolsGroup1");
ASInt32 sepIndex = AVMenuGetMenuItemIndex(advancedMenu, endToolsGroup1MenuItem);
AVMenuAddMenuItem(advancedMenu, menuItem, APPEND_MENUITEM);
AVMenuRelease(advancedMenu);
AVMenuItemRelease(endToolsGroup1MenuItem);
AVMenuRelease (commonMenu);
HANDLER
if(endToolsGroup1MenuItem)
AVMenuItemRelease(endToolsGroup1MenuItem);
if (advancedMenu)
AVMenuRelease (advancedMenu);
if (commonMenu)
AVMenuRelease (commonMenu);
return false;
END_HANDLER
Then I found also instructions to get the tool bar button (which BTW did not work in Acrobat 8):
//add button to toolbar
DURING
// Create the main toolbutton. We position it just before the end of the
// tools group of buttons.
toolsSeparator = AVToolBarGetButtonByName(toolBar, ASAtomFromString("endSelectToolsGroup"));
toolButton = AVToolButtonNew (ASAtomFromString("AMGR:UpdatePG4Layer"),GetToolButtonIcon("UpdatePG4Icon","png"), true, false);
// You must set the internal/external nature of the toolbutton
// before adding it to the toolbar. Buttons are internal by default.
// AVToolButtonSetExternal (toolButton, TOOLBUTTON_EXTERNAL);
AVToolBarAddButton (toolBar, toolButton, true, toolsSeparator);
AVToolButtonSetExecuteProc (toolButton,
ASCallbackCreateProto(AVExecuteProc, MyPluginCommand), NULL);
AVToolButtonSetComputeEnabledProc (toolButton,
ASCallbackCreateProto(AVComputeEnabledProc, MyPluginIsEnabled), (void *)pdPermEdit);
AVToolButtonSetHelpText (toolButton, "AG Plugins:UpdatePG4Layer");
HANDLER
return false;
END_HANDLER
return true;
However I do not know where I can find AVMenuItemNew&#12289, or is that expression a combination of separate items?
Thanks again for your help,
A.

Similar Messages

  • Acrobat 10 and plug-ins for Acrobat 9 incompatibility?

    Hi,
    Today I've installed trial version of Acrobat 10 to check if my plug-in for Acrobat 9 could run for it as well. But after Acrobat 10 launch I've got a window:
    Acrobat.exe - Unable to Locate Component
    This application has failed to start because MSVCP80.dll was not found.
    Quick check over plug-ins shipped now inside Acrobat 10 showed me that they are using now MSVCP90.DLLL library instread of MSVCP80.dll used for Acrobat 9.
    Does it mean that we need to recompile our source code with higher version of MS Visual Studio? If so - what version should we use?
    Does it also mean that our plug-ins prepared for Acrobat 9 are incompatible with Acrobat 10 or there is some way they could still run without recompilation?
    Any comments on this would be highly appreciated.

    I always prefer to use shared libraries, i.e. DLLs, in their supposed shared way and not statically embedded into my executable if I know that some environment is pretty stable and customer is aware of various possible DLLs dependencies. If Acrobat could do some job for me - then I'm happy with that without allocation of additional memory/resources needed in case of static linking.
    So, you don't answer my question. What C++ compiler's version should be used to put MSVCP90.DLL reference now instead of previously used MSVCP80.DLL?

  • Ducallbacks.h and Acrobat SDK XI Plug-in Development

    I am new to plugin development and am in the process of upgrading a plug-in developed under Acrobat 5.  The SDK XI API documentation under "Plug-ins and Applications > Developing Plug-ins and Applications > Understanding Plug-ins > About plug-in initialization > Handshaking" references the DUCallbacks.h header file. 
    I have that header file in the Acrobat 5 SDK, but I do not see it in the current Acrobat XI download and I don't see any usage of it in the SDK XI samples.  Am I missing files or is Ducallbacks.h no longer part of the SDK? If it's not a part of the SDK any longer, is there an updated version of the plug-in developer's guide that discusses handshaking under the current SDK?  I have searched the Adobe site and not found anything newer than what's included in the SDK download.
    Thanks!

    Thank you.  It is disappointing that Adobe is releasing an obsolete document with the Acrobat XI SDK.  I wasted several hours trying to track this down.  I will use the sample code from here on. 

  • Reader/Acrobat SDK Licensing Query

    I am developing an application in C# and this application will display the PDF document on a form. I have 3 questions as follows.
    Question one : I am currently using the axAcroPDF which is exposed in the free Acrobat Reader. Now, if I deploy my application to my client, do I have to have them purchase any license from Adobe for the Reader or for using the Reader .NET classes?
    Question two: Since the Reader SDK is quite limited, I am thinking of using some of the Acrobat SDK classes in my application. In this case, how does the license works - do I have my client by an Adobe Acrobat Std or Pro for each PC where my application runs? Does this mean that each copy of Acrobat comes with 1 license for SDK, or can I buy 1 Acrobat and separate licenses for the SDK, or can I just buy the SDK separately.
    Question three : Is the PDF Library SDK license also tied to Acrobat Std or Pro?
    Kindly enlighten on this because I called my local retailers and they are not sure about this also. And I tried to look into the forums and I do get a vague idea but want your confirmation before I inform my client on what to buy.
    Thank you.
    John

    Hello, I have managed to find a relevant posting which answers my questions by Patrick Leckey.
    Link is http://forums.adobe.com/message/1908336#1908336
    In short, for using Acrobat Reader API in your applications there is no license to buy. But to use the Acrobat SDK, need to buy the Acrobat Std or Pro depending on which API calls the developer is using. And for PDL Library SDK, have to work with a partner of Adobe for licensing.
    I have spent several days reading the EULAS and searching the NET and even talking to people, but could not get a clear answer, but this link cleared it all up. This is the first time I am working with Acrobat for development, as other softwares license their SDK separately, unlike Adobe. So this is something new for me.
    Thanks to Patrick Leckey for his excellent answer!
    Cheers!
    John

  • Acrobat sdk and pdf library questions.

    hello everyone. i have some questions.
    is acrobat sdk can develop software without acrobat?  like pdf library sdk
    pdf library sdk and acrobat sdk can use same project?
    thank you

    This question belongs here: http://forums.adobe.com/community/acrobat/acrobat_sdk

  • How to convert html to pdf using acrobat sdk 8.0?

    hi
    I am a beginner of acrobat sdk .
    I want to know How to use acrobat sdk 8.0 to convert html to pdf?
    herere some questions :
    1:How to support navigation inside PDF file that generated using acrobat sdk 8.0? For example: theres catalog in the top of HTML file, customer hopes can navigate inside the PDF file just like navigating inside the HTML file.
    2:How to support operating some controls in the PDF file that generated using acrobat sdk 8.0? For example: therere some drop down list and text box in HTML file, customer hopes can input text in the text box, click the drop down list to see available options in it just like in HTML file.
    Thanks in advance for any help and suggestion.

    Hello,
    I want a system to re-brand my 37 pages PDF for affiliates.
    I want a php dynamic link in the PDF online in order to personalize automatically the PDF for each affiliate. I need to change 2 links each time. The affiliate ID and the Paypal email (payment button) in page 36.
    Can you help?
    Please let me know
    Thank you
    Alex
    PS My system is online and i can give you the url if it helps.

  • Plug in for visual studio 6.0 in acrobat sdk 6.0

    Dear Friends,
    I am absolutely in to the pdf plug in work. Can any one please help me, to know that how to install the plug in for visual studio 6.0.
    I have installed acrobat sdk 6.0 , acrobat professional and visual studio 6.0 in my system.
    Please suggest me whether I have to download any other tool for this.
    Regards,
    Safee

    My problem has resolved... still thank you...
    I just follwed
    You must install the wizard manually. Simply copy the AcrobatPluginWiz.awx and
    AcrobatPluginWiz.hlp files from PluginSupport\Tools\Visual Studio App Wizard
    subdirectory of the Acrobat 6.0 SDK installation to the Common\MSDev98\Template\
    subdirectory of the Visual Studio 6.0 installation. The default path to copy from is
    C:\Program Files\Adobe\Acrobat 6.0 SDK\PluginSupport\Tools\Visual Studio App Wizard
    and the default path to copy to is C:\Program Files\Microsoft Visual
    Studio\Common\MSDev98\Template.
    Once the files are copied, the Acrobat 6.0 Plugin Wizard option will now be available in the
    File > New > Projects dialog.

  • Acrobat SDK parameter definitions initialization locations

    I just updated an old plug-in to work in the SDK 9 environment using Acrobat 9.1.3.  It works great now.  However, our user community is still using Acrobat 7.  My plug-in won't load in an Acrobat 7 environment (Windows PC with Acrobat 7 installed on it).  Which parameters control whether my plug-in will work with prior versions of Acrobat such as Acrobat 7?  Or do I need to install Acrobat 7 on my PC with the Acrobat SDK 7?
    As I've research this issue, I've found numerous C++ compiler parameters whose definitions are checked by various C++ header files.  However, I don't know where those headers are initially set.  For example, where is PI_ACROVIEW_VERSION initially set? 

    Thanks for the very quick response.  I just found the header file that contains a lot of the definitions that may allow me to configure my plug-in to work in Acrobat 7 as well as Acrobat 9.  The header file is PIRequir.h.  Do any other header files need to be updated to define the SDK and Acrobat versions?
    Along with my getting up to speed writing plug-ins for Acrobat, I am having trouble compiling my working plug-in ourside the Acrobat SDK 9 Sample plug-ins directory/project environment.  I defined a new DLL Project using Visual Studio 2008 under the Visual Studio Projects directory but some C++ compiler parameters were not properly defined.  I tried to set the project properties to be the same in the new project as it was under the Samples project (i.e., the BasicPlug-in defined as the startup project).  But I'm getting some compile errors because certain parameters are apparently not set properly.  Note that I used Visual Studio 2008 with the Acrobat SDK 9 but I converted the BasicPlug-in to be my new plug-in and it worked fine.
    Anyway, if you know any secrets for setting up a new Acrobat plug-in in Visual Studio 2008 Visual C++ project to ensure that the C++ compiler parameters are set properly such as which the ones that need special attention in a newly defined project, that would be very helpful.

  • Create pdf using Adobe acrobat sdk

    Hello,
    I'm new to this concept of using adobe sdk to convert a html into pdf.I would like to know few details regarding this..
    I went thorugh the documentation but I did not get any help about the vector image support in the pdf and I aslo want to know abot the dpi support in the pdf.
    I also want to know wether I can create a pdf form a Html page.
    thanks for the help.

    >I want this to be on the server.
    Ok, we can start there - or stop. The Acrobat SDK is for automating
    Acrobat. Acrobat must not be installed on a server. So you cannot use
    Acrobat.
    Adobe have a PDF Library, which can be licensed for server use. But it
    does not have any easy HTML to PDF converter.
    You might look into LiveCycle PDF Generator, a different application
    with a Java API and more, for server use.
    >The dpi what I was talking about was..in the pdf i want a logo to appear that would around 200-300 dpi.That logo is a vector image.
    This seems a contradiction. PDF files can store text, vector images
    and bitmaps/images. If you store a vector image, it remains vector and
    there is no dpi to worry about.
    HOWEVER if you can only convert HTML
    1. HTML does not support any vector formats
    2. HTML often forces images to 72 dpi.
    HTML is not suitable for print quality.
    Aandi Inston

  • How do I Create Dialogs in the Acrobat SDK?

    I need to pop up a registration dialog the first time a user launches Acrobat after my Plug-In is installed. The user will need to enter some user information that I will store in a prefernces file. I do not have much experience with the SDK or VC++, so detailed answers would help me the most.
    It looks like the Adobe Dialog Manager (ADM) may be the answer, but I can not find a download for the SDK.
    Any suggestions would be greatly appreciated.
    Gregory

    Leonard,
    My plug-in will be used on both Windows and Mac.
    I looked at the wxPlugin example and got it working, but I don't seam to be able to port the code to my plugin. I get a lot of link error that I am trying to work through.
    Any suggestions?
    Gregory

  • Where to find file AForm32.api mentioned in Acrobat SDK?

    Hello everyone,
    A paragraph under the following path in Acrobat SDK
    "Acrobat Interapplication Communication > Interapplication Communication API Reference > Acrobat Forms Plug-In > Forms plug-in OLE automation"
    suggests to place the AForm32.api file in the Acrobat's plug-ins folder:
    Quote:
    Registration in the Windows registry (which is different from the class object registration described above) happens every time Acrobat loads the plug-in. Therefore, you must run Acrobat at least once with the AForm32.api file in the plug-ins folder before its type library can be found for object browsing within the Microsoft Visual Studio environment. This is also necessary in order to allow early binding. Declare the program variables as objects of the corresponding classes in AFORMAUTLib, and not simply as Object.
    Question:
    Does anybody know where can I get the mentioned file AForm32.api ?
    Thank you.
    surotkin.

    AForm32 is now AcroForm – it's the same thing.
    However, I don't believe that we expose the COM APIs in the Standard edition – only in the Professional edition.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 23 Nov 2011 09:21:02 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Where to find file AForm32.api mentioned in Acrobat SDK?
    Re: Where to find file AForm32.api mentioned in Acrobat SDK?
    created by surotkin<http://forums.adobe.com/people/surotkin> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4043128#4043128

  • Acrobat SDK 9.1 - custom plugin - Polish Characters issue

    Hi,
    I hope any of you will be able to help me out as we are having small issue.  We are developing a plug-in that will digitally sign only XML prior to posting via webservice. This plug-in is developed for Adobe Reader 9.1 and we are using Adobe Acrobat SDK 9.1 to develop it.  This plug-in needs to support Polish characters, so the plug-in will be compiled with _UNICODE directive.  We are running into a Polish Character issue where Polish Characters are not being displayed in the plug-in popup.  Would you be able to tell us how is the Acrobat SDK dealing with this (as it is using std:string and not any type of wide string format), what type of params will get simple functions (like AVAlertNote).
    We are also using the JS bridge to export data from the fdf form (using exportXFAData).
    Any help would be greatly appreciated!
    Thank you,
    Jan Kropiwnicki

    You should be using ASText objects when working with Unicode.

  • Acrobat SDK plugin in Visual Studio 2012

    Hello
    I am trying to develop a plugin for Acrobat SDK. We are using Visual Studio 2012 here at work but as the samples seemed to require using Visual Studio 2010 I had to resort to downloading Microsoft Visual C++ 2010 Express and trying to run the examples there. I managed to get the BasicPlugin to work by building it and copying the BasicPlugin.api file into the plug_ins directory and the menu and menu item would show.
    Since then I have been battling by using Visual Studio 2012 to work the same way and have used two different attempts, first by including the header files in the solution and then replicating the samples more closely by setting the includes (Additional Include Directories) in the Property Pages for the project and having other settings in the same way, but to no avail.
    Is it not possible to use Visual Studio 2012 or is there something I am missing?
    I must confess that my C++ is rather rusty as I normally use C#.
    Please find the two projects here if that helps explain my problem:
    OneAcrobatPlugin.zip - Box
    OneAdobePlugin.zip - Box

    It probably won't be impossible, but having worked through this many, many years ago (with different versions), it will demand a great deal of experiment, detailed analysis of the type of project and all of the options and included files; in some cases the header files need intelligent adjustment. A plug-in is a type of DLL with very specific requirements as everything has to match the internal conventions used to build Acrobat. Plug-ins are not like ordinary apps because they become a true part of the app that runs them, and any error crashes the whole app. It is not, frankly, worth the time needed to do such a port at your stage, especially as you won't be able to know whether your problems are due to porting issues or inexperience with plug-ins.

  • Where can I get Acrobat SDK for Visual Studio 6.0?

    Several years ago, I purchased the Adobe Acrobat SDK for
    VS 6.0. It has since been misplaced or deleted.
    Where can I obtain another copy?

    There are legacy programs out there written in VB 6.0
    Unfortunately, my client is not willing to spend the thousands of dollars it would cost for us to convert all that code to .NET
    I don't expect Adobe to provide support for the VB 6.0 SDK.
    I just need to get another copy of it.
    Please advise.
    Thanks

  • Acrobat sdk 9 wizard problem!

    Developing acrobat plug_in with the acrobat wizard ,slecting using mfc,. I creat a dialog in resource  ,when I call the domodal function ,the program crash,why? the program select using mfc in shalled dll,so I use the AFX_MANAGE_STATE marco ,but cause link error.when I choose using mfc in static
    dll,also cause link error.
    when developing  the plug in using acrobat sdk ,I want to create a window on the windows system,I only can using windows sdk?Can i use the mfc?

    Have you stepped through the debugger to find the exact place of the crash?  Have you been sure to use proper exception catching mechanism?

Maybe you are looking for

  • BAPI for creation of PO

    Hi All, This is the first time that i have got to work with BAPI . Can some 1 tell me the BAPI to create a purchase order. And also is bapi same as using a function module in calling . How do we pass the parameters and get back the result. I got 1 ba

  • Itunes crashes while syncing movies

    For several months now itunes will crash whenever i attempt to sync movies to my iPod touch. I can sync music and podcasts just fine, but whenever i try to sync movies i get the error message that itunes has encountered an error and needs to close. t

  • Mangal Fonts and Tunga Fonts in (MS Home and Student 2010) Word 2010 not getting converted into PDF

    Why do I get a totally blank PDF file whenever I try to convert any (Microsoft Office Home and Student 2010, Version: 14.0.6029.1000) Word document file containing either Mangal Fonts (Hindi) and Tunga Fonts (Kannada) into a PDF file (by using Adobe

  • I have a question whether I am using the correct IIf statement in SSRS?

    I have created a report with columns for case name, date opened, staff assigned, title, contact date, created by, and comments. I also have selected the comment_type field for the sake of indicating which data to pull but it will not be listed on the

  • Functional spec's

    hi guru's can u plz let me know elobrately how to take functional spec's of any module (let's take SD) before we start new implimentation .wat r step and how to choose waht r are the data source r requiered  for that projects?..... regards raju