Unlock the power of Acrobat SDK through our community.
Recently active
Hi,I'm trying to build my app and want to generate apk file for android.But It's showing rendering from last 6 hours. Neither showing error nor generating file.I'm able to generate 'appx' file within 2 minutes.Thanks!
Hallo,schwierig zu beschreiben aber vielleicht kennt jemand die Problematik zu nachstehenden vermeintlichen Rechenfehler in javascript das in einem PDF Formular eingesetzt wird.Hier eine beispielhafte Rechnung:1,15 - (1,15 * 0,05)ergibt per Hand gerechnet eigentlich1,0925gebe ich diese Formel jedoch wie folgt als Berechnung in Acrobat einevent.value = 1.15-(1.15*0.05)ergibt diese Rechnung1.0924999999999998Frage: Wieso werden hier Nachkommastellen eingefügt? Wo ist hier mein Denkfehler?Mein Problem ist, das sich dadurch Rundungsfehler im weiteren Verlauf der Berechnungen ergeben.
I have a rather intense PDF form we are creating as a Purchase Request. I need an if then statement for the Line Item Adjustments total. I need it to NOT calculate anything unless there has been an actual change.Columns are as follows:QTY OrderedUnit CostTotal CostQTY ChangeActual Unit CostLine Item AdjustmentI have a calculation for the of the Total costs of the initial order. What I need now is to calculate the adjusted costs.If QTY Change is blank, then return no resultIf QTY Change has a number in it, then return total of the Line Adjustments minus the Original Amount
I have a document that allows for someone to add a headshot next to a description using the built-in "add image button" but in some cases, they may not have a headshot to add. We have added a save button that flattens the PDF and removes said button but would also like it to remove the add image icon if there is no image. This is not an issue in Acrobat Pro as I guess it understands what that icon is and removes it if no image has been added but in Reader where this is meant to be used the icon stays on the page once flattened.My "Save Document" button is set up as such.on Mouse Down:- Hide Save Document Button- Run Flatten Javascript (see below)- Execute Menu item... File>Save asThe Javascript:flattenFields()function flattenFields(){ if (app.viewerType=="Reader"){ for (var i=0 ; i<this.numFields ; i++) { var f = this.getField(this.getNthFieldName(i)) ; &nb
I have a simple ratio calculation to perform as seen below:if (this.getField("HiBrach").value==""){event.value="";}else{event.value=this.getField("HiAnk").value / this.getField("HiBrach").value;}"HiBrach" is derived from multiple (3) fields with a maximum value calculation performed before the ratio operation.This works no problem.However, how does the script change if "HiAnk" is also made up multiple fields with a Maximum value calculation.I haven't been able to solve this!?
Hi guys,Do you know how long does it take to receive access to PDF SDK library? I filled out a form at http://wwwimages.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/adobepdflform.pdf more than 2 weeks ago and have not yet received a free trial.Any help would be much appreciated,Sofiia
I want to add $3.00 to a field if a checkbox is checked.If the box is not checked than the original amount entered is not changed.EFS_FEE is the checkbox nameLUMPER_FEE is the textbox with a value - which could potentially be "0" or any number.I've tried this and with no luck:var Lumper = this.getField("LUMPER_FEE")var Fee = this.getField("EFS_FEE");if fee.value!="Off"var Fee = 3elsevar Fee = 0event.value = Lumper + Fee
I want to implement a plug-in for Acrobat DC that will call a CSC (cloud consortium signature) web service in order to sign the pdf-s. The web service uses OAuth 2.0 for authentication. I don't know where to start from, any suggestions? Thanks!
First of all, I'm pretty new with scripting in PDF Forms.my case:I'm trying to create a form with mutliple textfields. The last textfields should multiplicat all other fields togeather so I get a sum in the end.Thats really easy to do. Every field gets the format of a number with "1.234,56" because the German culture is uses "." as a group separator and "," as the decimal separator.The script to get the sum in textfield3 is as easy as it can get:var v1 = this.getField("Text1").value;var v2 = this.getField("Text2").value;event.value = v1 + v2;In Adobe DC pro and Adobe DC reader everything works fine but when I open the form in google chrome directly I get the issue that the calculation goes wrong.Google Chrome is using the format "1,234.56" instead of "1.234,56". That causes the value to change from, for excample 12,12 to 12012.Is there any methode to force the PDF in google chrome to use the German culture instead of the English culture?I can't change any settings in Google Chrome, so
Hello all,I've got a question about PDF forms and scripts. Can I execute a custom made script inside a PDF form without opening the PDF.Example:I've got a PDF form with x-amount of text fields and y-amount buttons. I made a script (button) that converts all the text fields to read-only and removes all buttons from sight. Is it possible to execute this script(/button) without opening the PDF?Looking forward to you answerSincerely
Want to add a stamp and a certification to documents (have to repeat this task often)I would like to use the Action Wizard, but I don't see where adding a stamp (regular stamp not dynamic) can be done.It looks like javascript may be the way to go, but don't know how to get started with javascript. Can someone give me a direction to start learning javascript for Acrobat?Better yet an example of adding a stamp and certification would be a big help.Thanks,Billt
The FileToPDF() method which is an API of Acrobat Distiller may not work properly. The FileToPDF() method is executed by VBA script of Microsoft Excel, and the source code is as follows.----------VBA script start----------Option ExplicitConst m_strDistillerProgID = "pdfdistiller.pdfdistiller.1"Sub Button1_Click() CreatePDF2 ActiveSheet.Range("D2").Value, ActiveSheet.Range("D3").ValueEnd SubFunction CreatePDF2(szPSFilePath As String, strFullPathOfPDFFile As String) As Boolean Dim DistillerObj As Object ActiveSheet.PrintOut copies:=1, PrToFileName:=szPSFilePath Set DistillerObj = CreateObject(m_strDistillerProgID) DistillerObj.FileToPDF szPSFilePath, strFullPathOfPDFFile, "" Set DistillerObj = NothingEnd Function----------VBA script end----------Usually, the PDF file is created in the path in strFullPathOfPDFFile. (expected behavior)However, if the VBA script is executed while prin
I installed Acrobat DC Pro on my Mac Air and it won't open pdf files. This has happened several times now. Occasionally I will reinstall and it will work. And once it just started working. What is wrong?
I am trying to fill out a fillable pdf form and the font is too large (you can only see half of the letter). How do you adjust the font size on a fillable form on Adobe Acrobat Pro DC?
I'm running JavaScript validations on form fields to show and hide follow on fields based on user input from the dropdown menu. The problem I'm having is that if the user confirms the value using Tab, the cursor gets lost on the document and starts over at the first field instead of continuing to the next field beyond the now hidden field. I tried using getNext to no avail. The dropdown defaults to a blank space so it could be printed as a blank form, followed by a checkmark, an "X", and finally a "/". Selecting "/" identifies that the subfields are not required and while the user could simply tab through them, I'm trying to make it easier on the user. Any help would be appreciated. Here's a sample of the code:if (event.value == " /") { this.getField("EGI GROUND CHECK").display = display.hidden; goNext(this, event, "BEFORE 7");}else { this.getField("EGI GROUND CHECK").display = display.visib
Hi, I am really new to javascript so bear with me. I am making a form where I have many checkboxes all named "checkbox 1" and so on (like 30 or more) that I have assigned export values (such as "red", "blue", "green"..etc). I need all of those checkboxes to populate their given export values to a single textbox(textbox 1) when checked and to remove the value when unchecked. also I need to have the values separated by commas when they are populated to the textbox and to be able to manually type in the text box as well. Please help
Good.I would like to know how to avoid opening the acrobat window when executing the following code (JS)var createdDocument = app.newDoc();createdDocument.saveAs({cPath: ReleasePath});createdDocument.closeDoc(true);
HelloI'm trying to pritn using adobe acrobat activeXhere is my code<!DOCTYPE html><html><head> <title>Print Test</title> <meta charset="utf-8" /> <script> function startPrinting() { var acrobatObj = document.createElement('object'); acrobatObj.width = '500'; acrobatObj.height = '500'; acrobatObj.classid = 'clsid:CA8A9780-280D-11CF-A24D-444553540000';document.body.appendChild(acrobatObj)acrobatObj.src = 'test.pdf'; window.setTimeout( function () { &n
I have a fillable form that I created in 2008 that I am now getting complaints from users who are on Acrobat Reader DC. The complaint is that when they print, the form fields are blank. I have narrowed it down to the "Save Ink/Toner" option that is new to DC on the print options menu.What is happening is that, when left checked, the Save Ink/Toner option is causing the Document WillSave event handler to run right before it actually prints. I have javascript in that handler that clears certain fields before a user saves, because there are only certain fields I want them to be able to store (otherwise it screws up calculations next time they open the document). So when WillSave runs right before print execution, it is clearing the form fields, then printing blank forms.Unchecking the Save Ink/Toner option when printing is an easy fix. And if I get 2 thousand phone calls from people who upgraded to DC and now their forms are printing blank, then maybe I
Good evening, I am having a problem with the Buttons within our PDFs. We are using a program that runs, only if there are certain buttons that are checked.What is happening is that the buttons we are checking sometimes look like they are checked, but are actually not.You have to click on the button, then click it again to uncheck the button... after doing this, the button works fine.Here is the error from the console:InvalidGetError: Get not possible, invalid or unknown.Field.value:92:Batch undefined:ExecIs there any way to check for these messed up check boxes? Is there any way to prevent these check boxes from messing up?Thank you!
Hello,Does anyone know how I can code a form to have a submit button that sends the form data to an excel spreadsheet? I am trying to make it so that if the user submits the data it goes into 1 row per submission. My organization does not have adobe livecycle.Thank you,Nick
Hi,I am trying to export annotations from a pdf to excel using a macro. The code is working except for the fact that if I try to assign parameters to GetAnnots() I receive an error message saying "Named argument not found".If I don't assign any parameter to GetAnnots the code works but the comments are not in order by page.This is the code i wrote for the javascript object:''Access JSO objectDim JSO As ObjectSet JSO = AcroPDDoc.GetJSObjectJSO.console.Show ''show javascript console''get total number of annotationsJSO.syncAnnotScan''get list of annotations in documentDim Annotations() As ObjectAnnotations = JSO.GetAnnots(nSortBy:=ANSB_Page, bReverse:=True)Did anybody have the same issue? Thanks
Liebe UserIch möchte mit einer Stapelverarbeitung in Adobe Acrobat DC Pro mit Javascript ein Wasserzeichen setzen wo jeweils der Dateiname ohne Endung aufgeführt wird.Vorab sollte Philips Bern, stehen. Die Farbe ist rot, Schrift 14 Arial und 10mm vom linken Rand und 1.5 mm vom unteren Rand sein. Wer kann mir helfen? Im Voraus vielen Dank.
Good.The problem is that when opening a pdf with the following function:CAcroAVDoc avdoc = new AcroAVDoc();avDoc.Open(path, "");Automatically opens the adobe acrobat, I would like to know if there is any way to work with pdfs without seeing the adobe acrobat(I do not care if the process starts, I want it to at least not be seen by users)
I want to be able to open PDF files and read the contents for order processing using Visual Studio 2017 & C#.But I can't make sense of the documentationI see parts like this How can I extract text from PDF documents using the Acrobat DC SDK?You can extract text with the Acrobat DC SDK in two ways:Use the Acrobat core APIUse the Acrobat automation APIand thisHow can I use Visual Basic .NET or Visual C# .NET with the Acrobat DC SDK?The Windows version of Acrobat is an OLE automation server. In order to use the OLE objects made available by Acrobat, you must have the full Acrobat product installed on your system and the Acrobat.tlb file included in the project references for your Visual Basic project. This allows you to use the Visual Studio 2005 object browser to browse the OLE objects.and thisIt should be easy to add more code to improve and extend the capability.- The way to set up using Acrobat IAC in the project is from the menu Project -> Add Rerences... -> COM to select A
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.