Unlock the power of Acrobat SDK through our community.
Actividad reciente
Hello,I have a form with 5 fields that are drop down boxes. There are 4 choices: Blank (default), Y, N, N/A. I have two fields that produce a calculation. One returns '# of #' and the other produces a % of Y's.In the default state of blank, the calculations are '0 of 0' and '0%'. The problem is that, unfortunately, some providers will want a printed hardcopy to fill out and the fields have these zero's in them.How can I make the field so blank? I have tried several variations to no avail.1st script '0 of 0':var totalY = 0; var total = 0; for (var i=1; i<=5; i++) { var f = this.getField("JJCRDropdown"+i); if (f.valueAsString=="Y") { totalY++; total++; } else if (f.valueAsString=="N") { total++; } } if (total==0) event
Hi All, I see the option after the signed form, a script can be run. So I would like Adobe auto-generate an order number in a sequence when the form is signed But I am very new to this. Can someone help with this? Thank you in advance Best regards Thanh Le
Hi There,I need to add a JS on adbole fillable form on submit button. when Checkbox1 is not ticked give a warning an desable submit button, when check box is ticked submit button enables to email the form.appreciate your help. Dee
Dear Community,I've a Listbox in adobe acrobat pro with following words: Telephone, Computer, Mobile, Notebook, if i select one or more words from the Listbox, the selected word should in a new Texflied for example :1. Telephone2. Mobile3. NotebookMany thanks for your answer/ help. Best RegardsNoel
I want to turn on/off protected mode when adobe reader is opening. It there API for that. But I don't want to restart acrobat reader again.
Hi, We have integrated View SDK into our application.But I want to know, SDK provides automated form filling feature. can you please confirm SDK supports create fillable forms and fill forms functionality ? Thank youRakesh Sorathiya.
I am using Acrobat DC SDK and Acrobat Reader DC. I want to know if I can turn off protected mode, but I need to use sandbox and broker.exe
I want to save opened file by myself, there is AVAppSaveDialogSEL API. But I want to save file without dialog. Any API can be used.
I want to highlight or color a field when it's empty, how do you do it?I've been trying out this formula but I think it's not correct because there's a Syntax Error:var a1 = this.getField("FirstN");if (a1.value == null){a1.style.backgroundColor = "yellow";}
After initiating the tool, placing/ clicking the cursor, typing the text, no text is written. There is a small rectangle with tiny grip squares as expected, but the rectangle cannot be pulled or stretched either. In fact, it cannot be deleted. It is behaving just as if it were locked but before I am able to type anything into the rectangle.
I read this statement in 1 of the Adobe DC SDK guidelines - "OLE or ActiveX server plug-ins must be implemented using the ActiveX Template Library." Could anyone please clarify if it means that we cannot instantiate COM object for a COM server other than ATL (C++). We are instantiating COM object of C# generated tlb in plugin code and are facing issue when protected mode is ON.Thanks
Hello All, I've been trying to figure out a way to render multiple PDFs within a WinForm using Visual CS and Visual Studio 2019. Namely I'm looking to provide a solution to search through PDFs and display locations of these search patterns side-by-side. I've currently been able to display PDFs through a WebBrowser object, which isn't directly supported by Acrobat based on the 1st URL below. This is when I stumbled across mention about the SDK and started reading into the documentation, which is the 2nd URL below.https://helpx.adobe.com/acrobat/kb/using-acropdf-dll-within-microsoft.htmlhttps://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/ Currently, I haven't been able to find any documentation explaining the DLLs I need to reference within my solution. I've stumbled arcoss this 'AcroPDFLib' file found in the 'C:\Program Files (x86)\Common Files\Adobe\Acrobat\ActiveX' folder, but it doesn't seem to to have all the method calls explained in the IAC section of
I am using Acrobat Reader DC SDK to develope a *.api. Currently I need to get file path and file name. Is there an API like AVDocOpenFromFile to get file path and file name which is Acrobat Reader open file? thanks,tony
I am using Acrobat SDK for developing *.api. When I use command line to open pdf file as follows:AcroRd32.exe 0001.pdf aaa bbb ccc.If *.api can get the parameter - aaa bbb ccc?
I'm creating a form in Acrobat DC. I have a checkbox named AN_PA_CB; its export value is "Proximate Analysis" (this cannot be changed because of other code in my form). I have three text fields named AN_PA_CP_TB, AN_PA_CF_TB, and AN_PA_A_TB. I need checkbox AN_PA_CB to check if text is entered in one or more of the three text fields AN_PA_CP_TB, AN_PA_CF_TB, and AN_PA_A_TB. I also need the checkbox to uncheck if text is deleted from all three text fields; however, the checkbox must stay checked if text remains in one or more of the fields. I tried entering the code below in the custom format of each textbox:this.getField("AN_PA_CB").checkThisBox(0,!/^\s*$/.test(event.value));This checks/unchecks the checkbox successfully when text is added/deleted from a text field; however, this code considers each text field individually and unchecks the checkbox whenever text is deleted from any text field, even if the other two still contain text. Is there a way for checkbox AN_PA_CB to c
Dear All, I used Visual Studio 2013 for developing plugin from Adobe Reader DC SDK in the development computer. I built the sampe code - SampleExtn. Put the *.api into Acrobat Reader DC's plug_ins directory. Open Acrobat Reader and it can work. Show the "Acrobat SDK" in menu bar. But when I installed the same Acrobat Reader DC in the another computer - testing computer. Copy the same *.api into Acrobat Reader's plug_ins directory. Open the Acrobat Reader and cannot show "Acrobat SDK" menu. The two computers have the windows 10 OS and Acrobat Reader DC is 2020.013.20066. Thanks,Tony
Dear All, I cannot open file by using AVDocOpenFromFile, if the file is under C:/user/localadmin. But it can open file if I added "Everyone" into the security of directory - localadmin. Anyone has the idea about it? Thanks and best regards,Tony
Dear All,I need static library build, but acrobat SDK sample project only DLL /MD build. I have changed it from Multi-threaded DLL (/MD) to Multi-threaded (/MT). It has the following error:"mismatch detected for 'RuntimeLibrary'".anyone has the idea about it?thanks,tony
Hello. I want to display the validation appearance mark (valid, Invalid, unknown) on a signature image by using plugin.But, my signed signature data is on layer 0 and 2 data. (There is no layer 1 or 3 data.) Can I set up the Plugin to call the GetAPLabel(), GetLogo() functions to display the verification image? Or is there another better way?
I created a script for my text fields to default to the following settings:Font Size: 10Font Color: BlueFont: Times-RomanThis is working for the most part. However, I would also like to add another default setting for text field, under the option tab only have the "check spelling" box selected. Also, the current script is not being applied to checkboxes. I would like checkboxes to have the same default setting (Blue, 10) with the check box style set to "cross". Below is my current script, can I please get assistance with the above additional settings added to my existing script? /* Auto Detect Font Changer */for (var i = 0; i < numFields; i++) {var fName = getNthFieldName(i);var f = getField(fName);if (f.type === "text") {f.alignment ="left";f.textFont = "Times-Roman";f.textSize = 10;f.textColor = ["CMYK",1,1,0,0];// Other properties go here}}
Hello all, I would like to list all the fillable fields in a PDF in an array for each page. I found a page that seems to say its script will do just that. I cannot get it to work. Could someone take a look and tell me what is wrong. In the function that is created should I be inserting my document name? If anyone has a better way to do this I will appreciate that as well. The page that offers a script: Page at Acrobat Library function getPageFields(doc, p) { var fields = []; for (var i=0; i<doc.numFields; i++) { var f = doc.getField(doc.getNthFieldName(i)); if ((typeof f.page=="number" && f.page==p) || (typeof f.page!="number" && f.page.indexOf(p)>-1)) fields.push(f.name); } return fields; } If my results are listed in the console it is fine. I want the listing to refer to them elsewhere. Thanks for any help.
We have developed plugins for Adobe Acrobat using Visual Studio 2013 and the latest Acrobat SDK. We would like to upgrade to Visual Studio 2015 without having to also keep VS 2013 in our machines. The challenge is that we have references to sandbox_pisdk_client.lib and sandbox_pisdk_server.lib. We use those because our plugin needs to run in Protected Mode and we had to implement a broker process for actions that cannot be executed within the sandbox boundary.Unfortunately, the sandbox_pisdk libraries in the sdk were compiled in VS 2013 and we cannot use them to build in VS 2015.I had a few questions...* Is it possible to get sandbox_pisdk library files that have been built in VS 2015* If that is not possible, is it possible to get access to the source files so we can build them ourselves? This would actually be helpful for future Visual Studio upgrades (VS2017 is coming out soon!)Thanks
I keep receiving this error message when trying to open Adobe Acrobat "C:\Program Files (x86)\Adobe\Acrobat 110.\ [CoolType.dll] [BIB.dll] [AGM.dll] is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. I have uninstalled and reinstalled Abode and this did not work. I have ran command prompt to sfc /scannow commands. I am running Windows 10 Pro x64. I have Adobe Acrobat version 11.0.15 version installed as well. Thanks for the help!
I have an MS-Word document with several mp4 files in it.After conversion to pdf, the pdf file shows the video file's icon but it's now only an image, the video is not available any more.Is there a setting that ensures videos are embedded in the pdf doc?Many thanks
Our plugin loads fine when Protected mode is off but does not loads when protected mode is ON. Error message appears "Unable to initialize Adobe Plugins. Class not registered."Any clue what might be the possible reasons?Thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.