Unlock the power of Acrobat SDK through our community.
Recently active
Hello,I'm looking to create a PDF document with text variables. This could be a document from scratch or a document that is pre-made and updated. My problem is that there are so many platforms and websites trying to sell me drag and drop products or enterprise solutions for document creation and management, that I'm not interested in using. I'm having a hard time understanding what the environment would look like, and the best way to manipulate the document. I've attached a file that has internal data and variables, it's way more complicated than what I want to do, however, it illustrates what I'd like to accomplish. Barring a self-contained PDF, in a nutshell, the functionality I'm looking for would be a text input update to the file (think MadLibs generator, type a verb and it populates the document). It needs to be a simple form with text boxes, dropdowns, etc. that will create a new or populate an existing PDF from input and a database, XML or static data via a PDF form or eve
Hello I have below questions. 1. How can we integration adobe apis in angular application ? 2. How to retrive only image from adobe api Please suggest Thanks
Hi,I am creating a dynamic stamp and I need help. The script is given below: list_lis1 = {"Middle":-1,"Secondary":-1};list_lis2 = {"AA-20":-1,"AA-21":-1;var oJSDlg = {strEdt1:null,strEdt2:null,strlis1:null,strlis2:null,GetListSel:function(oLst){for(var x in oLst){if(oLst[x]>0)return x;}return null;},initialize:function(dialog){var oInit = {x001:this.strEdt1,x002:this.strEdt2,lis1:this.strlis1,lis2:this.strlis2,lis1:list_lis1,lis2:list_lis2,};dialog.load(oInit);},validate:function(dialog){var bRtn = true;var oRslt = dialog.store();return bRtn;},commit:function(dialog){var oRslt = dialog.store();this.strEdt1 = oRslt.x001;this.strEdt2 = oRslt.x002;this.strlis1 = this.GetListSel(oRslt.lis1);this.strlis2 = this.GetListSel(oRslt.lis2);},description:{name:"Default",font:"default",bold:true,elements:[{type:"view",elements:[{type:"view",item_id:"Vew1",width:60,alignment:"align_fill",align_children:"align_row",elements:[{type:"static_text",item_id:"St01",name:"Name",width:115,bold:true,a
Hello everybody! I am trying to solve a problem. I have to develop an interactive PDF where users can click a button and display a number on another page of the same document. And if users click another button, a different number will appear.Does anyone know how I can do that?
Hi,I have an Excel table of data that has columns containing full .pdf file names/locations. I'm trying to insert each file into a master pdf file, and do 2 things:Add a bookmark to the location of the new file in the master file, in order. I have gotten the bookmarks to show up, but they are currently showing up out of order, and/or reversed.Ideally I would like the Bookmarks Navigation Pane to show as the default view, though this is 2nd priority. With adding the bookmarks, I'm getting a "Run-Time error 438:Object doesn't support this property or method" when I get to "n = UBound (BookmarkRoot.Children) +1" or any other reference to "BookmarkRoot.Chldren" I'm new to manipulating PDFs with VBA, so any help is much appreciated! Here is the more relevant code to this section: Dim numPages As Integer &nb
Hello everyone! I am trying to solve a problem: automatic insertion of a signature into a stamp on each sheet of a document.At the moment, I managed to create a dynamic stamp with a signature, refer to it from the code and insert the signature at the specified coordinate:app.addMenuItem({ cName: "Little_stamp", cUser: "Little_stamp", cParent: "Help", nPos: -1, cExec: "myTrustedFunction()", cEnable: "event.rc = (event.target != null);"}); function myTrustedFunction() { for (var p = 0; p < this.numPages; p++) { var annot = this.addAnnot({ page: p, type: "Stamp", author: "Acrobat", name: "myStamp", rect: [175, 40, 205, 60], AP: "#mySig" }); app.trustedFunction(myTrustedFunction);... but unfortunately this method sometimes fails because the coordinate is changing. Therefore, I decided to implement another way: find a specific word, find out its coordinates and step back 20 points from it. Tell me how to do this?
I am creating a form to ask: Have you had any of the following in the past 12 months? (Check all that apply or check here if None [ ]<--named "None Apply" ) checkbox.1 Problem maintaining balance.checkbox.2 Mental health problems.checkbox.3 Shortness of breathcheckbox.4 Chemical Dependencycheckbox.5 Needed emergency carecheckbox.6 Other (Explain: [TextboxOther])My checkbox JS is as follows: #1 var oAll = this.getField("checkbox");#2 var aAll = oAll.getArray();#3#4 //if "None Apply" checkbox is not checked[Off] then checkbox.1-6 remain visible. If checked then hide checkbox.[1-6] if unchecked become visible again.#5 if (event.target.value !== "Off") {#6 //set the check boxes to hidden if none apply;#7 for(var i = 0; i < aAll.length; i++){# 8 this.getField("aAll.").display = display.hidden;#9 console.println(aAll..value);#10 }#11 }#12 else {#13 //set the check boxes to visible if the none box not checked;#14 for(var i = 0; i <
I am using javascript to create an interactive PDF. I have just been doing this for a few weeks so I'm definitely a beginner. I have been successful in collecting and storing data from user form input. Now, I would like to graph results from this data (and ultimately create KPIs) and insert the generated images at predefined locations in the same PDF document - but I am not having any success.1) I haven't been able to find PDF javascript APIs to create basic graphs.2) Also I tried to import external library that creates KPIs into my PDF javascript logic but it didn't allow me to use the 'import' statement. Is what I'm trying to do possible? Thanks
I have been running Acrobat Pro DC for some time now, and just updated per Creative Cloud to Vesion: 2015.016.20045Since doing so, I am unable to utilize shared review functions. When attempting to initiate a shared email review, I cannot even progress to the second step using the "NEXT" button provided... it simply doesn't initiate a thing. In addition, when attemting to initiate a shared review on our network server, I can't get past the first step. I have uninstalled and reinstalled Acrobat, and just applied a patch. Still nothing. This is quite frustrating as the shared review functionality seems to be going in reverse as far as functionality goes... used to work perfectly and saved us time and effort. Not happening at the moment. Can anyone assist?
Hello everyone, the documentation of Acrobat SDK states "The only requirement for using the OLE objects made available by Acrobat DC is to have the product installed on your system".Which Version of Acrobat do I need to use those OLE objects (Acrobat Standard DC or Acrobat Pro DC)?Are there any differences between those two regarding the SDK features?
Does Acrobat Pro 8 work on Mac OS 10.11 ?
I understand that I can edit PDF documents, but I'm having trouble getting Adobe to recognize my hand-written PDF scans. I exported them into WORD and EXCEL and neither are translating the handwriting accurately. Does this make sense?
when [Enable Protected Mode at startup] turn offWe have code using AppExit() method to exit Adobe Reader DC 2020 after printing using DDE.Now with Adobe Reader DC 2021, the same AppExit() method does not exit , Adobe Reader DC 2021 application is still opened.how should we exit the application using DDE? Much appreciated!
Hi all, I was trying to run the OCR in Acrobat(Acrobat API) using node js. I have successfully run the OCR using node js with acrobat API. But I was trying convert the code executable app using electron & packager library from node js I got belo error. I have created the credential and replace in the path ,but got the same above error. Please share your thoughts..... Thanks
I'm working with C# and adobe acrobat SDK. When the program throws an error due to the pdf already being compressed I want to move the pdf.However, C# complains that the file is being used by another process and I know it has to do with the SDK and not another program. After some debugging I found out that compressPDFOperation.Execute is the culprit.How can I close it so that I can move the file? try { // Initial setup, create credentials instance. Console.WriteLine(".json: " + Directory.GetCurrentDirectory() + "/pdftools-api-credentials.json"); Credentials credentials = Credentials.ServiceAccountCredentialsBuilder() .FromFile(Directory.GetCurrentDirectory() + "/pdftools-api- credentials.json").Build(); // Create an ExecutionContext using credentials and create a new operation instance. ExecutionContext executionContext = ExecutionContext.Create(credentials); CompressPDFOperation com
When I script the OCRing of an image PDF, it creates bounded boxes and can't find text unless the cursor is in that particular bounded box.However, if I manually (Enhance Scans > Recognize Text > In this file > Settings > Output = Editable Text and Images, OK) OCR the file, the findtext command works.Document is already open when I run this VBA script:Set aApp = CreateObject("AcroExch.App")Set aAVDoc = aApp.GetActiveDoc() Set aPageView = aAVDoc.GetAVPageView() Set aPdDoc = aAVDoc.GetPDDoc() pageCount = aPdDoc.GetNumPages ' Get PDF OCR'd For curPage = 0 To pageCount - 1 aPageView.GoTo curPage aApp.MenuItemExecute ("TouchUp:EditDocument") Next curPage rtgFound = aAVDoc.FindText("accordingly", 0, 0, 1) rtgFound is False. If I manually OCR the document and run this code:Set aApp = CreateObject("AcroExch.App") Set aAVDoc = aApp.GetActiveDoc() Set aPageView = aAVDoc.GetAVPageView() Set aPdDoc = aAVDoc.GetPDDoc() pageCo
Hey all, I'm working on a project where I need the choice on a dropdown menu to reveal and hide certain fields. I wrote a code that works just fine for text fields but will not work with an image field. Code below: switch(event.value) { case "Option A":this.getField("Text 1").display=display.visible;this.getField("Text 2").display=display.hidden;this.getField("Image 1").display=display.visible;this.getField("Image 2").display=display.hidden;break; case "Option B":this.getField("Text 1").display=display.hidden;this.getField("Text 2").display=display.visible;this.getField("Image 1").display=display.hidden;this.getField("Image 2").display=display.visible;break; } With this code applied to my Dropdown field my Text fields swap just fine, but the Images remain visible no matter the dropdown option chosen. Another thing I noticed is that whenever I rename an Image field it becomes a Button automatically. I thought that might be the issue, but I adjusted the code
Hi I am using Adobe Acrobat standard 7.0 version. I am not able to insert page number in the option "Header and 'Footer" . error message prompted as "Bad Parameter". please help
Hello, I would like to calculate the time of the beginning of a treatment, depending on a date and time of a medical exam selected in a fieldFor example, I select in the fiedl "Date exam" that the exam will be on the 2021/05/31 12H30so the time for beginning the treatment will be calculated : 12H30 - 6H = 6H30I don't need to see the date in the result, only the time. The date of the exam with time is written for information at the top of the prescription, this is why I don't use only a time.I would like also to add or not an additionnal delay of 2 hours, depending on the answer of a radio button "Delay" (yes or not)the calculation would be : "Exam date" - 6 hours - (2 hours if Yes, 0 hours if Not). I am not familiar with java script and I searched among forums and could not find a precise answer and examples. Thank you very much
Is there a JavaScript for a date picker for a custom dialogue which is used to create an acrobat dynamic stamp? The custom dialogue has several text fields and radio buttons on it, and the user has to type in a date (not the current date). If it is possible, I would like the user to select a date from a date picker, but I don't know if this can be done.
I export hundreds of PDFs a day out of InDesign and want to see if there is a way to save a PDF export preset to save the presets for security settings so I can just type in the password. Maybe there is a JavaScript with Acrobat that could do this?Or a batch action wizard?
Is there a way to edit values in a PDF Portfolio? I made a plugin for Adobe Acrobat Pro DC that adds a menu item and and does an action. Currently the plugin gets a page number from an open PDF Portfolio document and displays the page number in a popup window. What I want to do is add that page number into a PDF Portfolio field for that PDF document. I read through the Developing Plugins and Applications Guide in the Acrobat SDK library documentation page, but I didn't see anything about updating Adobe PDF Portfolios. Is it possible to update the PDF Portfolio with a plugin? If so, can someone point me to the right direction or to some examples? Not sure if if helps, but I added an image of the PDF Portfolio. Thanks!
I have 3 drop down boxes that need to be averaged. However, before they are averaged, I need to change their value to:1=72=63=54=45=36=21=7What do I do?
Hi,I need help using the saveAs funtion in a portfolio. My portfolio contains multipe pdf files and i use a protected funtion.This funtion use to work as intended in acrobat 11. However since upgrading to acrobat DC the file no longer saves or reopens the file i am working on.Basicly my protected funtion saves the original document, then saves the document as a tempory file and flattents it, then attaches it self to an email, then reopens the original document.any help would be very much appreciated.Running this.saveAs funtion through the console while working inside of a portfolio throws an error that the file is already open.below is the code for my mouse up buttonvar docName = this.documentFileName;var saveDirectoryFull = this.path;var certNo = this.getField ("CertificateNo").value;if (saveDirectoryFull.indexOf("|") > -1 ) {saveDirectoryFull = saveDirectoryFull.replace ("|", "");saveDirectoryFull = saveDirectoryFull.split ("|",1);};savecopyemail(saveDirectoryFull, docName, certNo
I have a field "subtotal"I want to round up or round down my value from "subtotal" field,If 50.49 it will be 50.00If 50.50 it will be 51.00less than .50 will round down (.10-.49)greater or equal to .50 will round upplease help me.I am very new in JavaScript, but this is a great community to learn JavaScript.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.