Unlock the power of Acrobat SDK through our community.
Recently active
Hi Experts, Any one know, do we have any free node modules for add watermark in pdf? I can see few example in adobe-dc-pdf-services-sdk-node. Same like, I want to add watermark. Please help to guide create Node. Thanks.
For a workflow situation we are exporting lots of PDFs to Tiff files for further processing. But with some of those PDFs the Tiff file get's stretched.E.g. The original PDF is 420mm x 594mm. When I export to TIFF it turns into a 4878 x 3999 pixels (or 420 mm x 344,32mm) image. This is just an illustration of how it's get stretched. The same happens for other formats. And it also doesn't matter if I export to JPEG (see attached). Exactly the same result. These are all (initially) simple Indesign layouts: image with some text and logo. Does anybody have an idea what might go wrong?
Hi! Experts, I am creating a PDF Fillable Form. I created a Dependable Dropdown it's working using the below code First Dropdown Name: "Tile"Second Dropdown Name: "Condition" This code is pasted in First Dropdown "Tile" var f = this.getField("Condition");switch(event.value){case "Terracotta":f.setItems(["lichen"]);break;case "Concrete Tiles":f.setItems(["Acceptable","Fair","Poor","Mould","Moss" ]);break;case"-Select-":f.clearItems();} its create dropdown items in 2nd dropdown. NOW I want to auto-populate the Description based on 2nd dropdown selected in Third Field Name: "Description" For Exemple:in 2nd dropdown "Acceptable" Selected it auto populate description in "Description" field and so on. Kindly Help me out.
I'm trying to build a calculator that works out the users BMI.I've managed to get this far at the moment, however I would like to add the users age and gender to the calculation.<!DOCTYPE html><html><html><head><title>BMI Calculator</title><script type="text/javascript"> function computeBMI() { //Obtain user inputs var height=Number(document.getElementById("height").value); var heightunits=document.getElementById("heightunits").value; var weight=Number(document.getElementById("weight").value); var weightunits=document.getElementById("weightunits").value; //Convert all units to metric if (heightunits=="inches") height/=39
I have Adobe Acrobat DC (Classic) Version 2015.006.30119.I saw that there is a feature under Edit > Preferences > General called "Open documents as new tabs in the same window," however, I am missing this option. Is it not available in the Classic track? (Image taken from another post.)
Hello,I am preparing a form for our shipping department and I have it set up to calculate taxes, palletizing, etc and give a total. At first, it was giving me numbers with a bunch of decimal places like $37.555555557778 so I set the format to number and 2 decimals. It also makes an unwanted zero appear in that space even though no data has been entered yet. How can I fix this? I want my calculations to remain the same and for the numbers to only display 2 decimal places but I don't want the zero there because we sometimes have to fill out the form manually. I have very little experience with java script, I read up on some things but they do not make any sense to me. If there is a flat out formula you know that I can just copy and paste to the custom format box that achieves this, please just let me know. I greatly appreciate any help and thank you for your time.
Hi there! I am trying to create a form that prompts you to submit via email utilizing the Actions > Run Javascript. Is there a way to bcc an email? My current script is below. Any help would be appreciated! var targetEmail = "email"var cCCAddr = "email; email"var subjectLine = "ACTION REQUIRED: Status Change Form for: " + this.getField("LEGALNAME").value+" has been submitted.";var body = "Status Change Form for: " + this.getField("LEGALNAME").value+" has been submitted by: "+ this.getField("SUPERVISORSIG").value+" on "+this.getField("TODAYSDATE").value+". \n\nPlease advise if approved for payroll processing.";this.mailDoc({cTo: targetEmail, cCc: cCCAddr, cSubject: subjectLine, cMsg: body});
I am running the code below to attempt to remove a page I created and added a legend to. It gets no error. I created a test file that only had one page and a legend. If I step in the debugger, I see the scroll bar change as if there is no second page and then change back. the second page is now a blank page and does not have the legend content. The bookmark is gone. If I attempt to delete the pag in the UI, I get an error indicating the page is in use. If I save and close thfile, then reopen it, I still get an error saying the page is in use if I try to delete it in the UI. void RemoveLegendBookmark(PDDoc pdDoc){DURING// We make top-level bookmarks only, so add a new bookmark to the rootPDBookmark bmRoot, bmNode;bmRoot = PDDocGetBookmarkRoot(pdDoc);if (PDBookmarkHasChildren(bmRoot)){bmNode = PDBookmarkGetByTitle(bmRoot, pOptions->LegendBookmarkTitle.c_str(), pOptions->LegendBookmarkTitle.length(), -1);if(PDBookmarkIsValid(bmNode)){// get the action for the current bookmarkPD
Hi All,I have a requirement where I need to password protect PDF files in background task. I have an option to call external OS commands from my system to run the tool on specific file.Does Adobe Acrobat DC help in this? Can we execute from command line and make a PDF password protected?Kindly advice,Thank you,Pallavi
I have a macro that opens 2 pdf's and replaces pages from one with the pages from the other. It was working before I moved to a new computer. Both computers are running Acrobat Pro -- but the older one was using 2017 version, and the new one is using the newest Acrobat pro subscription license. Is there something that's changed that would make this method now fail? If Doc1.ReplacePages(Doc1.GetNumPages - 7, Doc2, 0, Doc2.GetNumPages, 1) = False Then MsgBox "Cannot replace pages" Exit Sub End If My code executes fine - but now returns "FALSE" but previously was working fine. Thanks!
Hello,I am trying to create a PDF Form that has expandable text boxes. I would like for users to be able to type in a text box that would expand as the user types and once they are done typing the text box would then revert back to its original size but if you would click on it again it would show all the text that was previously typed.Any help would be appreciated. Thank you.
Could you please advise if Adobe SDK is right tool for building following application.. I need to (high level description):Allow users to select data in the PDF viewer.Then user selects tool which will trigger a custom python functions in the backend, which will analyze selected data and then provide user with feedback. Is your PDF SDK right tool for that? Any examples or documentation showcasing similar integrations?Thank you!
I'm on an enterprise Acrobat. I'm very keen to use the PDF Embed API but I can't seem to access it. It says I need to talk to my enterprise. I have. They can't find any way to get to it. I have looked for cost. Nothing. It just seems like a black hole of no information. Has anyone overcome this?
I am trying to derive a means to have a button that will jump to a specific empty field. Example: I have a series of date fields that will be entered by the user. I would like to create a button that will jump to the first empty date field. Is this possible with a script and would such a script work in Reader without security issues? Thank you!
When using getPageNthWord to obtain words in a PDF, every sentence that is wrapped causes the wrapped pair of words to be concatenated. for example assume wrap at the 7 6 CFR 210.5(c), 7CFR There should be 6 words obtained6 CFR 210.5 c 7 CFR instead only 5 worrds are obtained6 CFR 210.5 c 7CFRThe 7 is concatanated to the CFR which is incorrect and makes searching fail if I am searching for "7 CFR". I assume this is a bug in the SDK for the javscript example I am usingobject[] getPageNthWordParam = { p, i }; word = (String)T.InvokeMember( "getPageNthWord", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, getPageNthWordParam); If indeed this is a bug, where can I report it?Is there a work around such as disabling sentence wraping?Another way to read individual words other than getPageNthWord? I can not use my program and it is a lot easier to convert PDF to DOCX and not even use Acrobat
I am currently designing a form in Acrobat Pro with Javascript providing the required functionality. The form has 7 pages with two hidden as templates. I have two paired checkboxes Competent and Not Yet Competent (NYC). When the NYC checkbox is selected I want the twp hidden template pages to appear but I also want to alert the person that by selecting the NYC the pages will appear and do they wish to proceed. If they select 'Yes' then the checkbox will be ticked and pages will appear. If they select 'No' then the checkbox will not be ticked and the pages will not appear.I am using the follow script: event.target.checkThisBox(0, app.alert("By selecting this checkbox the Re-assessment pages at the bottom of this document will appear for re-assessment purposes. To remove the Re-assessment pages select the Competent or Satisfactory checkbox to the left.\n\nCheck this box?",2,2)==2); this.getTemplate("Page6").spawn(5); this.getTemplate("Page7").spawn(6); My issue i
// start var start = this.getField("ST1").value; var startArr = start.split(":"); // Lunch var finish = this.getField("LT1").value; var finishArr = finish.split(":"); // Convert to Minutes var minDiffST = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); var minDiffLT = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); //Difference System.out.println var output1 = (minDiffLT - minDiffST)/60); // Lunch End var start = this.getField("LTE1").value; var startArr = start.split(":"); // finish var finish = this.getField("ET1").value; var finishArr = finish.split(":"); // Convert to Minutes var minDiffLTE = Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); var minDiffET =Math.abs(((finishArr[1]/60); + startArr[0])*60)/60); //Difference System.out.println var output2 = (minDiffET - minDiffLTE)/60); //Total Difference System.out.println (output2 + output1);
Two-pages PDF with forms: for the most part the same - first page for company, second for client. Contains the same forms (differences just on top, marked as copy for client or for company + some extra frames on companys copy).In Acrobat Pro DC i made and copied the forms from the first page to the second, so they have same names, and after filling them on first page, same forms are automatically filled on second too (as intended).OK for text fields and check boxes. Problem just with radio buttons - changes in them are not copied to second page. And when radio button is checked on second page, radio buttons in same group on first page will be unchecked.For now, i deleted copied radio buttons on second page (3 groups with 2 to 4 radiobuttons) and created new ones (with new names). They can by filled independently (changes on one page will not mark/unmark radios on other page). Better, but not perfect solution.Is it possible to make radio-buttons work same as text and check boxes? So, wh
Hi Acrobat Team,Please suggest code working fine with 2017 acrobat plugin(Acrobat) but after install latest plugin is not working and not throw error. below sample C# code. AcroPDDoc pdfd = new AcroPDDoc();pdfd.Open("abc.pdf");Object jsObj = pdfd.GetJSObject();Type jsType = pdfd.GetType();object[] saveAsParam = { "xya.doc", "com.adobe.acrobat.doc", "", false, false };try{jsType.InvokeMember("saveAs", BindingFlags.InvokeMethod | BindingFlags.Public | BindingFlags.Instance, null, jsObj, saveAsParam, CultureInfo.InvariantCulture);}catch (Exception ex){MessageBox.Show(ex.Message);}
OMG! This 2023.003.20269 Adobe version takes me so much more time to perform simple tasks. Even just navigating around requires too many steps. Menue, view, zoom, dynamic just to do what i used to do with a tap of the scrool wheel. Then, I must return back to the screen and click my hand too to navigate, then go back to menu, view, zoom, dynamic. This is crazy. Please bring back the 2022 version. It was so much easier to navigate.
Hello everyone I have a question Is adobe acrobat professional 6.0 compatible with windows 10 ?!because I tried several times to install it but keep stuck without loading. Can please someone answer my question Thank you
Hi AllI am want to use the adobe SDK to create accessible PDF document but due to security reason i don't want to use or pass data on cloud in any way. can any one confirm without use of any external cloud API/Rest API dependency can i use adobe SDK and perform the creation of accessible PDF document. its greate help is some one confirm this and share adobe link or github sample code. ThanksAbhishek
I am trying to follow instruction here - https://developer.adobe.com/document-services/docs/overview/2.2.0/pdf-extract-api/quickstarts/ to test pdf extract, and as indicated below, there should be private.key no matter it is personalized download or non personalized, i tried both and both downloads don't have private.key! where and how should i get it?=================== AuthenticationOnce you complete the Getting Credentials, you will receive a zip file with content whose structure varies based on whether you opted to download personalized code samples. The zip file structures are as follows:Personalized Download: The samples download.zip contains a private.key file and an adobe-dc-pdfservices-sdk-python-samples directory. Each sample directory contains the sample code as well as a preconfigured pdfservices-api-credentials.json file.Non Personalized Download: The samples download zip contains the private.key file and unconfigured pdfservices-api-credentials.json file.
Hi AllI am want to use the adobe SDK or any adobe library to create accessible PDF document, due to security reason i don't want to use or pass data on cloud in any way. can any one confirm without use of any external cloud API/Rest API dependency can i use adobe SDK and perform the creation of accessible PDF document. its greate help is some one confirm this and share adobe link or github sample code. ThanksAbhishek
"There was an error opening this document. The file is damaged and could not be repaired." That is the error message when trying now to open downloaded pdf files in Acrobat Reader (64-bit latest version) on my pc with Windows 10. Older pdf files open fine. The problem files in question can be opened with Microsoft Edge browser, so the files appear to be ok. What is wrong, and what do I do to fix this??
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.