Unlock the power of Acrobat SDK through our community.
Recently active
I need to create a simple dynamic stamp with a date/time field, which the user will use to indicate when a document was filed. The rest of the stamp is simple text, just their name and other identifying information. I created one according to the directions here: https://helpx.adobe.com/acrobat/kb/create-custom-dynamicstamp.html At first the stamp worked as expected for a few weeks/months, and then suddenly stopped working inexplicably. I have since created a new stamp, but using the following Javascript code instead: event.value = util.printd("mmm dd yyyy h:MMtt", new Date());console.println("Dynamic stamp calculation script"); Unfortunately it still does not work, and I am unable to determine why.
I am trying to get an image into an appearance stream. I have the image as an XObject in a form and have created a PDEForm. the STAMPR sample was my base project.. What I am doing is in snippets below. the else case if I am not testing bmp is to do an altered form of what's in the sampe, which works fine. the last thing it does is explained and shown after the first snippets. if (pOptions->CreateAsStamps){annot = PDPageAddNewAnnot(pdPage, -1, ASAtomFromString("Stamp"), &pdLocation);}else{annot = PDPageAddNewAnnot(pdPage, -1, Stamper_K, &pdLocation);}PDTextAnnotSetContents(annot, CurrentTickItem->Desc.c_str(), strlen(CurrentTickItem->Desc.c_str()));cAnnotObj = PDAnnotGetCosObj(annot);cdoc = PDDocGetCosDoc(PDPageGetDoc(pdPage));...cAPDictObj = CosNewDict(cdoc, false, 1L);cNullObj = CosNewNull();if (bTestBmp){CosObj cosBmp = CreateBmpForm(CurrentTickItem->GethBmp());CosDictPut(cAPDictObj, FaceNormal_K, cosBmp);CosDictPutKeyString(cAnnotObj, Appearance_KStr,
Hi,i have this code that revrites multiple textfields into one. i need to change variable i into a1, a2 or a3 depending ond the value of i.//final text should look like this//text10: loan1//text20: loan2//text30: loan3CODE:a1=("text10");a2=("text20");a3=("text30");var text = "";for (var i=1; i<=3; i++) {var s = this.getField("loans"+i).valueAsString;if (s!="") text+=""+ i + ": " + s + "\r";}event.value = text;
How do I find "Snapshot" in Adobe Acrobat DC?
I want to use"Recognize Text" tool option available, from my plug-in tool? But when I searched SDK, I didn't get the corresponding tool name.Is it possible to call that "Recognize Text" tool option from a plug-in. If yes, please let me know, which is that correct tool name? or how to use it from my plug-in application? thanks, Palaksha
Hi All, I'm new to this community and am simply looking to see what's needed to support programmatic conversion of PDFs to Word as part of a 3rd party application. Can somebody please point me in the right direction? I'm assuming that I need an SDK, but which one, and if you have a sample call or doc reference that'd be ideal! Thanks.
I have a dropdown field with three choices. Based on the selection, I need a specific text form field to appear, and the others to remain hidden. (Or if it makes the code more clean, the resulting field could be a dropdown, too, with the appropriate choice selected.) I don't know Java well enough to extrapolate code from online examples and repurpose it for my forms. I can provide a sample form. Thanks in advance for your help.
This is my form: A costs 3.000€, B 2.500€ and C 2.000€ If A is selected total value must be 3.000, if B is also checked total must be 5.500€ and if C is also checked I should be 7.500. Basically I need to calculate the sum of all checked boxes. Thanks in advance,
I'm using Coldfusion 2021 Enterprise and would LOVE to be able to determine if a particular PDF contains crop marks. Is there ANY WAY to do this? I don't mind using a 3rd party utility or SDK.
Good Morning,One of my users is trying to edit a PDF that does not currently have recognizable text. I understand that if none of the text is recognized you are unable to edit it until you run OCR.Although from my understanding with Adobe Acrobat DC after choosing "Edit PDF" Acrobat should automatically recognize the text on the first page to make it editable, although for my user after choosing "Edit PDF" they receive this error message: If I try the same process with the same document on Adobe Acrobat PRO DC the program will automatically recognize the first page and make it editable.So my question is: Is this problem occurring because we are using Adobe Acrobat Standard? I tried looking on your website to see what features do not come with Adobe Acrobat DC Standard but was unable to find any information regarding OCRing files automatically.Any help regarding this would be greatly appreciated.
I am trying to add a field to a fillable form so someone can upload a document or photo. Any help would be appreciated.
I have a pretty large document that has over 200 text/check boxes. What I want to do is create a button that makes a pop-up warning for any blank fields in the entire document.Right now the only way I've seen to do this is using javascript using an array of every field and checking them 1 by 1 in a for-loop. I would like to avoid this as the array requires you to type the title of each field so with 200+ fields it becomes quite tedious typing them all in.Using Acrobat XI Pro, thanks.
I am looking to duplicate a single page dynamically based on the value of a text box. E.G. if the text box has the number 3 as a value, there will be 3 copies of this page. I assume this would be done using page templates, but I cannot find out how to create them in Adobe Acrobat Pro DC. If this is not possible, is there another way of achieving what I want?
How do i add a page to a pdf?
Is there a way I can burn in annotations so the onscreen images become images in the document?It would be preferable if it were annotation by annotation.
How to access name destination with spaces?For ex: My named destination in pdf file is 'About This'.The following does not work<path of pdf>#nameddest=About This
pictures edited in photoshop gets saturated when exported to pdf with brigde/outout.It has been a problem for me a coupple ogf years - just getting worse every update. What am I doing wrong?Photoshop 2023 - latest version via creative cloudAcrobat - latest version via creative cloudprofile adobe rgbmac os 12.5.1Eizo cs 240 - calibrated with spyder pro latest versioncolor profile syncronised in bridge.Please Help
Hello. I'm wondering why the richValue in the textbox doesn't work on the mouseUp event, while it does on the other mouse events. (the script placed in mouseUp behaves here as if it were placed in the onBlur event). I created a basicStyle object as a single item according to the MyStyle constructor. This object is part of the received spans array. Unable to declare:event.target.richValue = [basicStyle];(the code is placed on the mouseUp event) in the text field. And if I click in the box, nothing happens. The console says to me: "The setting is not possible, it is invalid or unknown." I am using Acrobat DC Pro 15.020.20039.7108Thank you. My javascript (in MouseUp event): var MyStyle = function( xText, xTextColor, xTextSize, xLinespacing, xFontFamily, xFontWeight, xFontStyle, xAlignment, xFontStretch, xSubscript, xSuperscript, xUnderline ){ this.text = xText; this.textColor = xTextColor; this.textSize = xTextSize; this.linespacing = xLinespacing; this.fontFamily = xFontFa
In one of plug-in application, I want to perform text selection and in that I want to allow user to select text as character by character (Acrobat itself will allow you to select only the characters), but sdk fucntion not allowing me to develop like that, here the text selection is always of whole words, not part ofwords. Is there a way to achieve that functionality(to selecte the desired part of the text), any SDK funciton available to set that option, please let me know.thanks,Palaksha
I am trying to find a way to automate the changing of a PDF Layer specifically called "Template" so when I run the wizard/script it sets the PDF Layer Properties for "Template" as follows: Default state: OffInitial State Visibility: Never Visable Print: Never Prints Export: Never Exports I have to do this on multiple documents so I'm hoping there is a way to automate the change in settings instead of changing them manually on each one. I still learning and was unable to find a way to get the Action Wizard to do it. Can anyone point me in the right direction?
Hi, I want this calc (percentage)in pdf form. Can someone solve,I need your help again, I tried but didnt figure out. Again hopefully experts would help me. details are below. Regards: MishiI tried this :var ir = Number(this.getField("InterestRate").value);var dp = Number(this.getField("DiscountPointsCharged").value);var pr = Number(this.getField("PerRateUndiscounted").value);if (pr <= dp) {event.value = "";} else {event.value = (pr - ir) / dp *100;}https://drive.google.com/file/d/1vZNxaXV1huh5sMavtvPZYa-khed1tRao/view?usp=share_link Formula & Details:Par Rate is defined as the interest rate that applies if no discount points are paid. This will be higher than the discounted rate.Buy Down Percent is defined as the amount of reduction to the interest rate (Par Rate minus Interest Rate) divided by Discount points, then multiplied by 100. i.e. Par rate is 3.5, discounted rate is 3% and points charged is 1.5%. (3.5-3.0) / 1.5 *100 = 33.33%.NOTE: AWS requires a 10% buy down perc
Does anyone know how to make the default value in a field be equal to another field.For example if I had a field called "Name" and I wanted that field contents to be the Default value in a field called "Name2". The idea is not having to input the value twice but leaving the possibility to change the value in field "Name2" "the default value" to another value if desired.
A few questions today; looming deadlines with a list of things I haven't had success working out of docs, samples and experimentation... I need to show a popup/tooltip when a user hovers over my annotation. the text in the annotation is a tick mark; a special character to denote something. the popyp shouldexplain what it denotes. I have a AVAnnotHandlerCursorEnterProc and AVAnnotHandlerCursorExitProc wired up and working and the the text I need is in a string in the CosOnj that I retrieve successfully. I just need to know how to display it.
Hi! Im trying to detect detect when when a user saves and or closes a PDF. Im struggeling to find a way to this with the Acrobat SDK for .NET Framework (Windows Forms). Im mearly intrested in listening to the save state, and catching when the document (not the application because of the tabs) is closed by the user or some unhandled exception, somehing like the Office Interop API. Does anyone know if this is possible, or event better, done it before and willing to share their experiamce?
The following code works perfectly in Microsoft excel VBA. How can I change it to late binding? Dim AcroPDDocNew As New Acrobat.AcroPDDoc Dim AcroPDDocAdd As New Acrobat.AcroPDDoc Dim lRet As Long lPages=0 lRet = AcroPDDocNew.Create() lRet = AcroPDDocAdd.Open("E:\Test1.pdf") lRet = AcroPDDocNew.InsertPages(lPages - 1, AcroPDDocAdd, 0, 1, True) Thank you.
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.