Unlock the power of Acrobat SDK through our community.
Recently active
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??
I have exhaustively searched for an answer, with limited success. I open a document from Excel using: Set AcroApp = CreateObject("AcroExch.App")Set AvDoc = CreateObject("AcroExch.AVDoc")'Open temporary fileAvDoc.Open "C:\Users\saylork\Documents\Waste Pickup Temp.pdf", ""Set AcroForm = CreateObject("AFormAut.App")Set Fields = AcroForm.Fields After extracting data, I attempt to close it using:Set Fields = NothingSet AcroForm = NothingAvDoc.Close TrueAcroApp.CloseAllDocsAcroApp.ExitSet AcroApp = NothingSet AvDoc = Nothing I've tried various ordering of the above just in case that made a difference, nope. Also tried (APIs at top of code): Sub CloseAdobeReader()Dim strClassName As StringDim hwnd As LongstrClassName = "AcrobatSDIWindow"hwnd = FindWindow(strClassName, vbNullString)If hwnd ThenSendMessage hwnd, WM_CLOSE, 0, ByVal 0&ElseMsgBox "Adobe is not running!"End IfEnd Sub This will force a shut down. However, I'm opening and closing in a loop. It w
Can i automate converting pdf. files in PDF A-1/A format at 200 DPI using SDK
I'm down on my hands and knees, begging. I have 300 files that I want to put a variable string at the top of the first page (centered, or at the right hand side). I am using Acrobat X and Microsoft Access 2010 and I do have the SDK and have spend over 10 hours so far searching it and the internet in general, for help and still am coming up empty handed. I can do the looping and passing variables with my eyes closed, but I cannot get the syntax for the actual opening of the pdf and inserting the string. I was trying to modify code I found yesterday that is supposed to add an annotation, but I don't want an annotation, I just want a string of text at the top of page 1. For now, all I want is to be successful at doing ONE file. Can someone please give me a concrete example of the code I need to use? Like I said, I'm in begging mode Public Sub AddText() Dim pdDoc As Acrobat.AcroPDDoc Dim page As Acrobat.AcroPDPage 
When attempting to sanitize a document, we are receiving an error that it could not be done. We have renamed the document, tried saving it to different locations, and ran a repair on Adobe but we are still unable to sanitize the document. I have read through other forums but have not found a solution yet. Please help!
I have tried to find it within teh software bits, but no luck.Any ideas?Thaks
I'm trying to simplify the UI for a C++ plugin I'm working on for Acrobat Pro (Mac platform-only at this point in time). I can add buttons to the toolbar in the latest version of Acrobat, but I cannot seem to create or assign the icons correctly. I'm following the code that is supplied in the "Custom Tool" example in the PluginSupport Samples and I'm not getting any errors on any of the system calls (AVAcquireSpecialFilePathName, ASFileSysOpenFile, PDDocOpenFromASFile, or AVIconCreateFromPDF), but the icon comes up as the default "Lego Block". Has anyone successfully created a custom Plugin Button for the Toolbar on a Mac? If so, would you be willing to share the code?
OK, so I'm trying to use a custom calculation script, tied to my AGE field to calculate age from the DOB field. The format of the AGE field is set to None and the format of the DOB field is set to Date, mm/dd/yyyy. This is the script I was working with and which I thought was working, but I see now it doesn't work for me when the DOB is 05/30/1926. Can someone please correct my script so it works and automatically updates the AGE field every time the PDF is opened, printed, or saved?Here is my current script:event.value = "";dobValue = getField("DOB").value;if (dobValue!="") {dob = util.scand("dd/mm/yyyy", dobValue);today = new Date();// compute using yearevent.value = today.getFullYear() - dob.getFullYear();// adjust when today's month is before dob's monthevent.value = event.value - (today.getMonth() < dob.getMonth() ) * 1;// adjust when months are equal and date is before dob's dateevent.value -= ( (today.getMonth() == dob.getMonth() ) && (today.ge
Question: For converting Technical PDFs to MS Word, is there some kind of comparison between different extraction methods?My pdfs are complex: text, tables, images, not always well formatted.The extraction methods:- MS Word--Import PDF (Local) - Acrobat Pro -- Export PDF to Word (Local) - Adobe extraction API (Cloud) I work with proprietary/ITAR rated documents--so Cloud-based conversion is probably not an option.Any opinions are welcome as python/unix-based extraction methods (PyPDF/PdfToText/Other) don't capture inline tables...not well. And converting tables to images and then OCR'ing them with machine learning....that's just terrible.Once the extraction is in Word, all text, table, and image objects are (more) extractableFor me, all this eventually gets stored in a dataframe. Much appreciation in advance
Hi, I have a large PDF form that has 400+ Radio Buttons. Many of these Radio Buttons are repeated and I want them to copy the prior selection. I know the property to turn on is "Buttons with the same name and choice are selected in unison". However, is there a way we can loop through the fields and turn this property on for all radio buttons in the PDF instead of going one-by-one or group-by-group? Maybe something like how we change the mark type of a radio button:this.getField().style = "styl.ch" Any guidance would be appreciated, thank you!
I hate having page controls pop up in my view, covering text, but they add too much length when I add them to the tool bar. Is it possible to delete some of the page controls I don't use?
So i have a PDF document which was made in English and i was translating it to arabic. The customer wants to keep the design of the PDF so i accepted then copied my translated work to the pdf document which i started editing in adobe acrobat pro 2022 my problem is that the english source document is left to right and i tried making the paragraphs right to left but when i do this the full stops go to the right as well even though it should be infront of the last word written and when ever there is an english word in the end of the paragraph it goes to the right too so i don't know what should i do, i am not an expert in acrobat and i need quick help
I just installed a Fujitsu ScanSnap iX500 onto my computer with Windows 10 and now our current version of Adobe Acrobat X Pro cannot recognize the new scanner. It can still find the old scanner which is on the Brother multi-function printer which I need it to print to that but I need it to do a custom scan using the new Fujitsu scansnap ix500 scanner. The scanner is working with everything else and I can scan into PDF's but when I open an existing PDF to insert more pages by doing a custom scan it doesn't show my new scanner.
I am using C# with the SDK's IAC to display the page a phrase is found on. Highlighting the phrase is a requirement. My program works but it does not work the way I though it would and was wondering why and if there is a better wat to do it.private CAcroAVPageView ThisDocView; private AcroAVDoc ThisDoc = null; private void OpenPdf(string filename) { ThisDoc = new AcroAVDoc(); ThisDoc.Open(filename, ""); } private void ShowPhraseOnPage(int p, string filename, string phrase) { //ThisDoc = new AcroAVDoc(); //ThisDoc.Open(filename, ""); ThisDoc.BringToFront(); ThisDoc.SetViewMode(1); ThisDocView = ThisDoc.GetAVPageView() as CAcroAVPageView; ThisDocView.GoTo(p); bool bFound = ThisDoc.FindText(Phrase, cbIgnoreCase.Checked ? 0 : 1, cbWholeWord.Checked ? 1 : 0, 0); I thought the above code would work: I first open the PDF and then I change the view to the page that has the phrase to be highlighted. The document does go to the correct page
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.