Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hello there,I have just purchased a new mac running on OS X El Capitan and noticed that some of my Adobe products have issues or do not transfer properly to this OS platform. I am using "Adobe CS5 Premium" and "Adobe Acrobat 9 Pro" and have come across the 2 following issues thus far:1. Adobe Illustrator CS5 crashes every time I use the eyedropper tool. Any suggestions on how to fix this issue? Not sure yet what other issues I will encounter as I have yet to test all the software included in the CS5 Premium package.2. Also, when I bought the "Adobe CS5 Premium" package for use with Design/Web, it included "Adobe Acrobat 9 Pro", for which I also have the product serial number (shown as registered in my Adobe account). I downloaded it from the following Adobe downloads site: https://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html and it will not open at all (I realize it is an older version). Any suggestions regarding fixing this or providing me with a link to an upgrade th
Hello everyoneI'd like to insert a PDF as a watermark on odd page numbers in a specific page range of another PDF. My problem with the code below is that the loop doesn't work. The watermark is always inserted on all pages of my target PDF (all 600 pages). Even if I replace the variables with fixed numbers, the watermark appears on all 600 pages.I have to say, that I'm a beginner regarding JavaScript. Here's my code:var nStart = 1;var nEnd = 11;function watermark() { this.addWatermarkFromFile({ cDIPath: "Register_DEU_Layerk_Rand.pdf", nSourcePage: 0,// nStart: 0,// nEnd: 11, nHorizAlign: app.constants.align.right, nVertAlign: 0, })}var p;for (var p = nStart - 1; p <= nEnd; p++) if (p%2==1) { watermark();};Where's the problem?Thanks in advance.
I am trying to create a plugin that redacts words in the same fashion as the ones you are creating manually. But I am having a hard time figuring out how this can be done. I have played around with PDRedactParams and PDApplyRedactionParams but with no luck. It always create the redaction with my "custom" values for color etc.So what I am basically asking is how to programatically create redaction annotations with the same parameters as used in "Properties" for redaction annotations in Acrobat DC?
Could you please go through below points and help me understand how can I proceed further.1) We've Acrobat Adobe Pro tool which is used to convert pdf files of any format(encrypted, protected) into PLAIN readable pdf files. 2) And then we will use these readable pdf files as inputs to our java programs and extract the content from them.3) When I use our JAVA program to extract the content from these kind of encrypted PDF files, we're getting the output text in symbols and non recognized fonts. So I hope if I use your "SDK\Library\jar" while extracting the content from PDF files, I'll get the content in readable text format. Even when I'm copying the content from pdf and pasting in a text file, the same thing is happening, the pasted content will have symbols and non recognized fonts.4) We'd be happy if you can let us know about the SDK\Library\jar which Acrobat Adobe PRO is using to convert these encrypted PDF files into PLAIN PDF files, so that we can use the same library in our
I want to convert a pdf file to a txt file. I don't know if acrobat SDK can be do it ,Which function is used to do it?
Hi,I used the library provided by datalogic(acrobat's) in my Java Program to extract the content from a pdf file, but after extraction, the content has symbols and non understandable fonts. The same program works fine when I extract the content of another pdf file.Can you please let me know how to read the exact content from the pdf file avoiding the symbols and various non understandable fonts.Thanks,Mahesh
Need SDK to emmbed video in the PDFWe have seen in the Emmbed flash icon
Hi I made a pdf form in acrobat pro XI. In the file I need to calculate total days excluding weekends. I went through the community and come up with the below code. This code counts Saturday and Sunday as weekends. // get the end date valuevar Date1 = this.getField("From").value; // get the start date valuevar Date2 = this.getField("To").value; var dDate2 = util.scand("dd/mm/yyyy H:MM:SS", Date2 + " 0:00:00");var dDate1 =util.scand("dd/mm/yyyy H:MM:SS", Date1 + " 0:00:00"); event.value = calcBusinessDays(dDate1, dDate2); function calcBusinessDays(dDate1, dDate2) { // input given as Date objects var iWeeks, iDateDiff, iAdjust = 0; if (dDate2 < dDate1) return -1; // error code if dates transposed var iWeekday1 = dDate1.getDay(); // day of week var iWeekday2 = dDate2.getDay(); iWeekday1 = (iWeekday1 == 0) ? 7 : iWeekday1; // change Sunday from 0 to 7 iWeekday2 = (iWeekday2 == 0)
hello,I am trying to create a folder level script that will save the file as a specific filename based on the form field data of 2 form fields. I understand that it needs to be a folder level script for proper permissions, but I can't seem to get anything to work. I have searched around a lot and have seen too many lines of code. If anyone can help me from scratch, I feel it would be better to start fresh.The file name should look like this: current folder/W.O. "text1" "text2" "text3".pdfText 1 is a number only field, text 2 is a general text field and text 3 is a date field (ideally this would change the long date to a short date such as Sept 3, 2018 rather than September 3, 2018.Need help with this script, installing the scrip in acrobat XI program java script folder and creating a button on the toolbar in acrobat XI to launch the code.I have something similar setup in word 2010, but this seems to be much more difficult to implement in acrobat.All help is appreciated greatly.Thanks
Hi there,I am trying to use field data to populate text in the summary line using my submit button. Can anyone help me figure this one out? I have tried searching the forums as this seems like a typical thing, but I haven't had much luck...
Hello;I'm working on an Acrobat DC PDF form and need to have one field be able to extract the year (format: yyyy) from another field where the user enters the entire date (format: mmddyyyy). This second field (where the user enters the date) should also automatically add in the slashes once the user leaves the field. How would I be able to do this?Thanks for any help you can provide.
the js file is attached to the 1.7 PDF file.
Hello all,I wanterd to insert pages from one file into a mainfile, and this should be after every third page of the document.I created this js:this.insertPages({cPath:"Mainfile.pdf"});var start = 4;var jump = 3;for (var i=start; i<this.numPages; i=i+jump) {this.insertPages (i);i++({cPath:"Insertfile.pdf"})}But every time I want to run it, I get the error :syntax error: missing; before statement 4, in Zeile5.But I can't see any syntax error (I am not so good with js).Could you please help me? ThanksChristian
Hello, I have 19 various checkboxes that have unique names. I would like it so that if I check Check.19 that checkboxes 1-18 are checked. However, if you uncheck Check.19, they all are unchecked accordingly.The export value is the regular "Yes" currently.Thanks!
Is there any method in SDK which can be used to created AvDoc or PdDoc from Steam or MemoryStream?Basically I don't want to pass File's path but want to use its Steam or MemoryStream or even byte[] can be use.
Hello,In a PDF form I need to reset form fields via a Reset Button, and after that I need to do a go to label, because reset will clear a few fields that has been populated via a dialog display entry. I need to go back where the dialog started to get the data again via dialog fields. Your help and suggestion is appreciated in advance. Regards,Jeff P
Hi there, I am new to Javascripting and could use some help. I'm not even sure what this is called, but I want to have a list box of Available Options and have buttons to move items from that list to the Selected Options list box. Something similar to the screenshot below. Can anyone help me with this?
Hi all,comming from thread Re: Acrobat not releasing files, AV_Layer, AVDocDoSave(), AVDocClose() I'd like to clarify how I can work on the PDDoc API.My aim is to perform an OCR on a given document. To do so I've tried for example:ASAtom pathType = ASAtomFromString( "Cstring");ASFileSys fileSys = ASGetDefaultFileSysForPath(pathType, "C:/_TRANSFER/a4.pdf");ASPathName pathLaunchFile = ASFileSysCreatePathName(fileSys, pathType, "C:/_TRANSFER/a4.pdf", NULL);// AVDoc avDoc = AVDocOpenFromFile(pathLaunchFile, fileSys, NULL);// PDDoc pdDoc = AVDocGetPDDoc(avDoc);PDDoc pdDoc = PDDocOpen(pathLaunchFile, fileSys, false, false);PDAction myAct1 = PDActionNew(pdDoc, ASAtomFromString("PaperCapture"));CosObj onObj = PDActionGetCosObj(myAct1);CosDoc cosDoc = CosObjGetDoc(onObj);PDDoc pdDocNew = PDDocFromCosDoc(cosDoc);PDSaveFlags pdsaveflags = PDSaveFlags();ASProgressMonitor asProgressMonitor = ASProgressMonitor();PDDocSave(pdDocNew, pdsaveflags, pathLau
I'm trying the below code to get a stamp with the multiple input. Based on the selection of option buttons, I require the stamp to be updated. I'm unable to find the error. Could someone help pl.
I am attempting to create a timesheet and so far have managed to calculate time based on Decimal value, however I would like to convert the decimal value to HH:MM with using simple calculations. Reason for this is that the form will be used on IPAD and PDF expert which does not support some java script functions. I would like to split the decimal value into two parts being (for example 2.75 to two seperate values 2 and 75. However no matter how I attempt to escape the ful stop form the test java script below it will not split and provide the first value. (being 2)var c1 = getField("Lunch Time 2").value;var ctime1 = c1.split(".");event.value = ctime1[0];If the value of 2.75 is 2:75 and I change the javascript to split : it works no problem. Just so you know I have tried to escape the dot in many ways but cant seem to get it to work.I have tried("\\.")("\.")("//.")("/.")('\.")('\\.')('/.')('//.')and many others, but for the life of me dot just does not want to be the split po
I have Acrobat 8.1 Pro. The software has started me giving trouble stating it requires activation. I bought this software several years ago and I have original box with serial number. I have re-installed the software and entered the serial number. Whenever, I tried to make PDf from my AutoCad drawings - off and on it will not print stating the software requires activation. After repairing - the software will work for a week or so and then it will quit. There are times when I try to down load PDF files from the net - it will do the same thing. When I tried to register - it says we are unable to contact Adobe to register your product. Only thing, when I re-install the software - I did deactivate the software. I am afraid - I may not be able to re-install the software because of being older version. I am not sure Adobe will activate this older version.Can somebody advice me whether I could deactivate the software when removing it and I will be able to re-install the software and shall be
I have a control that activates the drawing tool in the "onFocus" event. I want to get to the selection tool when the user is done. Is that possible with Javascript / Events?
I created Application by Using SDK to convert Word document to PDF.It works fine but after conversation PDF file's size increases so much.15-20 KB Word document becomes 1 MB PDF file after conversation.How can I optimize the PDF file's size?
hi, i need javascript to manage my bellow issue. can u pls help me.. thanks in advance. "aa" field is empty, "bb" field also empty"aa" field have some value then "bb" field value = "cc" field value
Hello! So the need for this code stems from a long line of problems with solutions that only somewhat work. I need a text box in a fillable PDF form that someone can type any amount of characters into and have it fill the text box. Solution: Use Auto text size. Works great. Problem is, I'm using a font that cuts off some decendors (like j, g, y) when the text box is set to Auto, and I need to use this font. I have tried changing the text box size and adding spaces after the words. Adding spaces does work (it keeps things centered and just makes the font smaller) but it also results in the Text Overflow Indicator ( + ) on the text box, which unfortunately prints. To make the + stop printing, you have to change your acrobat preferences, and I am not interested in including instructions with this pdf for all my clients to change this setting locally on their computers. This PDF should just work for them seamlessly without adding unnece
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.