Unlock the power of Acrobat SDK through our community.
Recently active
Hello all,I'm having trouble with what I think is a simple "If" statement. I'm trying to reset two checkboxes if one checkbox is checked. Here is my code:<code>If (this.getField("NoUrinaryProblems").value == "yes") {this.getField("UninaryProblems").value = "Off";this.getField("UrinaryPain").value = "Off";}</code>I'm getting an error on line 2 saying missing ; before statement. I'm not a Java expert but I can't seem to see what's wrong, especially because I basically copied the statements from the forum and just changed the names. This is what I have tried:* If I remove the "if" statement it works, checking the target box (NoUrinaryProblems) unchecks the two other fields no matter what the status of the first checkbox is* Moved the { to the next line, then I don't get the error but it doesn't work at all* Experimented with changing the double quotes to single quotes, no effect.* put a ; after the value == "yes" partCan anyone tell me what I'm doing wrong here?Thanks,stevinga
Hi all i am new in Acrobat SDK... i just subscribed to acrobat DC Pro to be able to export PDF to docx format.i would like to do that in .NET. i was able to accomplish that but i am a bit lost with the diffrent product naming and pricing. my goal is to convert pdf to MS office format. is it doable with Acrobat DC Pro subscription? the pricing is monthly based and not based the number of docs i am planning to convert? thank you for your help! LB
I have a form created, but still a novice. So extended steps may need to be provided(more than likely)- just being honest since I am searching for help.I have created a form that will be posted in one location and used by multiple people. I need to add a unique id for each as a new document is created. I do have the form set up with a "submit form" to a specific email address as a PDF, for management signature. I do have a read only text field set up named: GL_ID. And I just don't know how to create it to make the magic. This unique identifier can be from 6-8 characters. I would like to attach the magic to the submit button, however it can generate the number upon opening of the document. Please note that any guidance is welcomejd
Are there any special steps to notarise the acrobat dc. pro .api files? I am wondering if that is the case, it seems to be the case for reader enabled pluginsI also had to use adobe provided tools to codesign the CEP extensions I built ThanksRahul
I am writing a plugin and I cant seem to find a way in sdk to determine if the document has missing fontsI also looked at the info regarding to the font format for a Font and could not find a way beyond CID fonts
I have a plugin that's reading the fonts within a pdf documentI have written code to use PDDocEnumLoadedFonts to read all the fonts loaded by the docThis code will be run after the AVDocDidOpen fired by the runtime I am expecting to be able to read fontsBut no fonts are read It seems that the whole of doc is not loaded when AVDocDidOpen is firedIf I run the same code say on a pointer move, the fonts are found RegardsRahul
I'm attempting to add a folder within another folder in Adobe Acrobat, however every time I do so the folder gets added in my main documents page and NOT within the folder I added it to. How can I fix this?
Joel_Geraci helped me massively on this project already, but now I have a question that doesn't fit my earlier discussion.I am using javascript and page templates. I have a button that spawns a new narrative page and all of the fields get renamed with that new page number to prevent text from duplicating.However there is one field, "PageTotal" that I don't want to be changed at all even when spawned from a template. I want to be able to type "5" and it be duplicated across all of the pages. What I would end up with is Page X of 5.Any ideas what the javascript exemption would be so I can spawn the page, but prevent just that one field ("PageTotal") from turning into "P2.Narrative.PageTotal"?
While looking at the font props in the Acrobat Pro 2020 I get this weird behavior where for few fonts the name is "Family,Style" instead of "Family-style". The same happens when we read this value via the SDK Its not isolated to Calibiri but for other fonts as wellIts also reporducible across different machines Any insights/link to known issues is highly appreciated Thanks
I have added a JS for validation of a field included in a form (Luhn algorithm). I'm told the script is ok. But nothing happens if I type in a wrong number. Have a missed something? Total newbie to JS 😞
My HTML TOC is working and well-formatted, but when I tried to convert that HTML into PDF format, the TOC links are missing. any suggestion will be appreciated
I am interested in automating a process that involves using Adobe Acrobat Reader to fill a form. This process involves the user doing the following steps:Retrieve the PDF file from the applicationOpen the file in Adobe Acrobat ReaderFill the available form fields (no automation required)Save the PDF file from Adobe Acrobat ReaderAdd the updated PDF file back to the applicationI would like to automate this process from the application in the following way:Open Adobe Acrobat ReaderSend the PDF content to Adobe Acrobat ReaderWait for the user to fill the formRetrieve the PDF content from Adobe Acrobat ReaderI am working with C# under Windows and I have the following questions:Do I need to install Adobe Acrobat (Standard or Pro) on my development machine to create applications that integrate with Adobe Acrobat Reader?If answer to question 1 is no, what is the API that I need to reference in my project? So far, I know about the following COM references: "Adobe Acrobat 7.0 Browser Control ..
I have a serial number log form (PDF) where the first serial number entered will be 0001 (it shows the leading zeros in the first text box. Formatting set to NONE ) and there after increment the following text box by 1. The calculation to increment by 1 is not the issue. I cant seem to format the text box to show the leading zeros. The second serial number comes out as "2" not "0002" as I would liked.I take it that I'm going to need some type of "Format" java script here to get the leading Zeros to show up?
I have a need to develop plugins for Acrobat Pro 2020 The only SDK I could find was for Acrobat DC Where do I find the sdk and related documentation for Acrobat Pro 2020? Thanks
I'm working in Acrobat Pro XI on a 4 page document with a button that allows a template pages to be inserted after page 3. I created a button for this and it is working fine. But each page has a text field that is supposed to auto update all of the page numbers. The code looks like this:event.value="Page "+(event.target.page+1)+" of "+this.numPages;calculateNow();On the four pages visible when the file is opened it is working perfectly; they will update from "Page 1 of 4" to "1 of 5", etc. without any problems. However, the inserted template pages are very random. Sometimes the first spawned one will work and say Page 4 of 5 but sometimes it will say Page 0 of 4. It's worth mentioning that even when it says Page 4 of 5 printing that page shows it saying Page 0 of 4 again. And any additional pages spawned after that will list a bunch of random numbers out of the correct number of pages. So it will look like "Page 7, 6, 5, 4, 31 of 9".I've
We are displaying a PDF in our WinForm (VB.Net) using an AxAcroPDFLib.AxAcroPDF object by specifying the path to the PDF document using the LoadFile() method. When we call the .Print() method on this object it pops a print dialog. Is there any way we can pass in or specify a specific printer (prefereably any printer installed, not just the default printer) and suppress the print dialog box?
How to disable 'Some difficult pages were encountered requiring all graphics on those pages to be labeled as figures. ' pop up ? I was using avDoc and jsObject to convert PDF to text documents.I was using script to scan bulk number of PDF's to text but these pop up's halt the process and I need to manually close the pop up to make the process continue. Is there a way to either disable these pop up's or any suggestions in avDoc or jsObject script which can close these pop up's?
Bonjourj'ai crée mon formulaire remplissable mais lorsque j'accède en lien via dropbox mon champ image ne fonctionne plus. le formulaire s'ouvre via l'éditeur google et non via adobe. Quelle est la solutionmerci
Hi, We have a PDF file which has font subtypes. we need to replace all font sub types with courier new font. we are using Adobe DC sdk for .net to do it. we need to understnad how can we do that using Adobe DC sdk for .net [Question moved to the Acrobat SDK forum]
I'm trying to populate a few thousands of PDF forms with around 100 fields per file. In Python it looks like this: def createPDF(data) : import winerror from win32com.client.dynamic import Dispatch, ERRORS_BAD_CONTEXT ERRORS_BAD_CONTEXT.append(winerror.E_NOTIMPL) template = 'C:\\template.pdf' for row in data: app = Dispatch('AcroExch.App') pdfDoc = Dispatch('AcroExch.PDDoc') pdfDoc.Open(template) jso = pdfDoc.GetJSObject() jso.getField('field1').Value = row[0] #... &
I am trying to add a FreeText annotation to a PDF programmatically using JavaScript. When I try to call a function specifying the FreeText annotation directly from the menuItem, everything works as expected. When I try to call the FreeText annotation from another function, I get an error "TypeError: this.addAnnot is not a function". I am not sure what is wrong. I have included my code below. Your help is much appreciated.Code:app.addSubMenu({cName: "Tech Services", cParent: "Edit"});app.addMenuItem({cName: "Add SO Info", cParent: "Tech Services", cExec: "addSalesOrderInfo();"});function addSalesOrderInfo() { addSerialNumber(); //addSalesOrderNumber(); //addEhProjectNumber(); //addNosetype(); //addNumberOfUnits();}// add serial number textboxfunction addSerialNumber() {
I need to be able to use form fields to indicate "Page X of Y". I know there's an option to do this in the document footer, but it won't work for this process because the documents are being aggregated in another system and it needs to be able to combine docs and have the page numbering change to match. If you use Acrobat's footers, combining two three-page documents gives you a six page document with page numbers 1/3, 2/3, 3/3, 1/3, 2/3, 3/3 instead of 1/6, 2/6, etc. The question: How do I set it up so each page has a field, "PageNo", that indicates the current page number, and another field next to it, "NoPages," that contains the current number of pages in the document? These fields have to be able to update dynamically on document open as the documents are combined or split in a third party system. The main problem I've run into: Any field with the same name as another field is functionally a copy of the original field and mirrors that field's contents. So you end up with
Hello.I'm creating some forms for an inspection. But I need to create an image field that at the time of touching it redirects me to the camera of my tablet and take a photo and once the photo is taken it is inserted in the document.Could someone help me creating that javascript or someone has already done it?
Dears,I have an little problem in controlling Acrobat DC with VBA (Acess 2013).My Issue: I have an Automaticly opend .pdf Document and I need to save this at an defined location.I Have activaed the necessary Libarys in AccessMy Code:Sub SavePDf() Dim AcroApp As Acrobat.CAcroApp Dim PdDoc As Acrobat.CAcroPDDoc Dim avdoc As Acrobat.CAcroAVDoc Set AcroApp = CreateObject("AcroExch.App") Set avdoc = AcroApp.GetActiveDoc Set PdDoc = avdoc.GetPDDoc WasSaved = PdDoc.Save(PDSaveFull, "C:\Users\ND01132\Documents\Excel") End SubAt the Set PDDoc line I get the Runtime Error 91 "Object variable or Wih block not Set" but I dont have any Idea why.Thanks for your Help !Regards
Hi, so I've created a document with various handlers open/close/print/save etc. All of them are executing and the js is triggered except close document handler: The handlers were added with this dictionary: 8 0 obj<</DC 9 0 R/DP 10 0 R/DS 11 0 R/WP 12 0 R/WS 13 0 R>>endobj The JS for close looks like this: 9 0 obj<</Type /Action/S /JavaScript/JS (h = 99app.alert({cMsg: 'close PDF', cTitle: 'Testing PDF JavaScript', nIcon: 3});)>>endobj Also another interesting thing I noticed is that the scope is shared between all these handlers. If I set a variable somewhere it's visibile in all the handlers. In which case I can set variable/functions in open and call them everywhere......
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.