Unlock the power of Acrobat SDK through our community.
Recently active
Hello,I am trying to create highlight annotation for the selected text over multiple line.For example, see in the below image:This is my selected text. Now when I apply the annotation to this text, it looks like below:That means selection is getting extended while applying the annotation.Here is my code:I have usedACCB1 void ACCB2 createRequirement(char *sectionName) {AVDoc avDoc = AVAppGetActiveDoc();if (avDoc == NULL) { AVAlertNote("Please open the document first."); return;}PDDoc pdDoc = AVDocGetPDDoc(avDoc);ASFixedRect boundingRect;PDPage page = NULL;PDAnnot annot, hilightAnnot;LPCWSTR secName = convertCharArrayToLPCWSTR(sectionName);LPCWSTR arg = L"value";DWORD size = 1024;LPCWSTR filePath = convertCharArrayToLPCWSTR(iniFilePath);PDTextSelect pdtext =static_cast<PDTextSelect>(AVDocGetSelection(avDoc));char reqId[2048];char ident[2048];int numPages = PDDocGetNumPages(pdDoc);//Check if text is not selectedif (pdtext == NULL) { AVAlertNote("Please select the t
I have 2 plugins, one written in C++ which does some processing of the document and one written in JavaScript which opens a modal with textbox and a button, where the user can enter some information and press OK. Is there a way to either - 1. Store it in some default location from where the C++ plugin can read that information (or)2. Pass this information directly to the C++ plugin. This is for Adobe Acrobat Pro and not for reader.
I am trying to get the pathname of the active document in Acrobat using the following: ACCB1 std::string ACCB2 GetActiveDocumentFilename() { AVDoc activeDocument = AVAppGetActiveDoc();if (!activeDocument) {return "";}PDDoc document = AVDocGetPDDoc(activeDocument);if (!document) {return "";}ASFile file = PDDocGetFile(document);if (!file) {return "";}ASPathName filePath = ASFileAcquirePathName(file);if (!filePath) {return "";} return ASFileSysDIPathFromPath(NULL, filePath, NULL);} However, the pathname I get is (for example) /D/Documents/Testing/Test.pdf Is there a way to get a Windows-formatted path/filename? CheersPete
Hola, necesito extraer las paginas de un formulario pdf de una en una. He utilizado el comando extract en javascript, pero cuando abro el documento pdf en Acrobat Reader DC dicho comando no funciona. Cuando lo abro en Acrobat DC si funciona, pero despues de abrir los documentos no me deja grabarlos. Se pueden extraer algunas paginas de un formulario pdf abriendolo con Acrobat Reader DC?. Se pueden grabar los nuevos documentos y como?.Saludos y gracias
Vor allem die Einstellungen in der Werkzeugleiste in der rechten Spalte bleiben nicht erhalten bzw. es erscheint imm die Defaultauswahl. Auch das Intro, das nach einer (Neu)Installation erscheint, lässt sich nicht unterdrücken. Unter Windows 11 Home läuft die Sache OK, aber auf dem neuen Laptop mit Windows 11 Pro nicht mehr. Woran kann das liegen? [Email address removed]
0down votefavoriteI was reading from a forum thread: https://forums.adobe.com/thread/604177 and started experimenting with it. But I think the function didn't load at all. I wasn't sure what might the reason be behind it - I reckon it has to be simple and probably related to the library. Can someone help point out why the following code failed to compile at all?(the code appeared not to have ran upon execution in immediate as none of the breakpoints triggered)The libraries I have loaded includeAcrobat DistillerAdobe Acrobat 10.0 Type LibraryAcrobat Scan 1.0 Type LibraryThe computer which this code is executed on have Acrobat Professional installed on it.Public Function GetPDF() '(FilePath As String) As Object Dim origPdf As Acrobat.AcroPDDoc Dim path1 As String MsgBox ("Start") path1 = Application.ActiveWorkbook.Path path1 = path1 & "/31700100" Set origPdf = CreateObject("AcroExch.PDDoc") If origPdf.Open(path1) Then MsgBox ("weee") End If origPdf.Close Set o
I've recently started using the SDK with the interapplication communication documentation to work with PDF files through VBA (in this case, VBA through Excel). Presently, I've been able to successfully write code that finds text on a page, sets the correct rectangle bounds around that text, and then crops the PDF to that area. However, when trying to use the Javascript "SaveAs" method, it doesn't work properly. My line of code reads:JSO.SaveAs wbpath & "\IAR YtD.png", "com.adobe.acrobat.png"Where "JSO" is the name of my Javascript Object and "wbpath" is the string variable containing the path of the excel workbook I'm working with. The result from using it changes based on if I try to export a Jpg or a Png. As a png, it returns a "write error" saying there isn't enough disc space (when there is plenty). As a jpg, it completely crashes the entire Adobe Acrobat application. What do I need to do to make saving the PDF file as an image work through VBA?
In a single pdf having >100 fields with the same dropdowns, would it work to put the dropdown in a DOC-level script and call it from each field? The choices are the same for each field. An example would be very helpful.
I don't see a property that sets transparency or a background color, but not positive that a form XObject is transparent by default (or always). Working on transparency of image inside of it and want to make sure I am not getting confused by form obscuring background when I think it is the image.
I am trying to get one of the sample plugins working on Windows 11 using Visual Studio 2022. The BasicPlugin compiles OK, but when I copy the dll into the Acrobat plugins folder, the plugin fails to load. I made no modifications to the code. Any suggestions as to what the issue could be or where I can look to see what the problem is? CheersPete
I have a PDEImage that I assign to a PDEImage with the simple call:PDEImageSetSMask(pdeImage, pdeImageMask);and then I get an error in Acrobat that says something is wrong and the page may not display correctly and the image does not show. Don't do the assignment and it is fine. But I can change my code so that I use the image mask I ceate as the image and that displays fine; it is a grayscale rendering of the same image. So it is a valid PDImage but I assume it must not meet some special requirement to be a mask. I am having trouble finding any concise information on image masks. Is there somewhere it is documented. It's another case where I am using a working sample as the basis for my code. As mentioned, my own experiemnt of just using the generated mask as teh image demonstrates that it is a properly formed PDImage. but something makes it fail when used a s a mask.
On the attached form there is some wierd rounding issues occuring that I can't figure out. Line 7 and 8 are both numbers to two decimal places. Line 9 uses the following formula:var a = this.getField("A").value;var b = this.getField("B").value;if (a !=="" || b !==""){event.value = b-a;} else {event.value ="";} value of a is 5,112,068.82value of b is 5,184,600.47 For some reason line 9 calculates to 72531.64999999944.I am having the same issues with line 10. Can someone please take a look and help me out? I attached the PDF for reference.
I already erased a pdf. file but the title still appears on my pdf. list how do I remove the title from my existing list, when I try it says file no longer available..
Hi,I have a script that creates bookmarks with "this.pageNum=10" and it works, when clicking the bookmark it jumps to that page, but when i try to "Split by Top-level bookmarks" (Orgenize pages tab) it doesn't recognize the js bookmarks...it only recognize the bookmarks created manualy with "Go to a page in this document" Action - How can i create this type of action with js?Thanks!
We have created New Dynamic stamp to ask for Customer Number through Pop up. My requirement is when users clicks cancel Button from the POP up, stamp should not gets pasted to PDF. Is there any way to delete the stamp when we click the cancel Button in the POP Up message.
Hello,I posted on Acrobat forum. But it may be better here. I created a PDF form using InDesign with a submit button. The button doesn't work when uploaded onto the website. Link is below. https://madinaacademy.org.uk/images/downloads/document1.pdf Also, when the form is downloaded, the submit button disappears. If you hover over the area where the button is, the pointer changes to a hand but still the button doesn't work. See image below.
Hello I am new to using Adobe products instead of receiving them from agencies for signature. I have been approached to retype PDFs to Word documents from overseas. Do you think they really asking me to convert PDFs to Word? I have downloaded Adobe Acrobat but wanted to know if I need any other APPs to complete the process? I have not received the docs yet but wanted to be ahead. Any tips?
When a document is OCR'd, Acrobat DC places paragraphs -- or what appears to be paragraphs -- in each own bounding box. This "feature" prevents me from copying several paragraphs or pages to paste in another application (i.e., email message). This is not an issue in Acrobat X. Screenshots below.Is there a way in Acrobat DC to convert scanned page to editable text without bounding boxes or remove the bounding boxes?Acrobat DC - unable to select beyond bounding boxAcrobat X - able to select multiple paragraphs
We run OLE to Acrobat Pro, it run OK, but we need to run the application on server so each user can use it on his session of the server.Is it possible? how does it should licenced?thanksShlomo Sarel
Hi,I create documents in Indesign and then export to PDF to be placed on the web, but I've been experiencing problems with documents the past week or so; specifically, if I create a document that is A4 landscape, Chrome only displays the first page, it will not scroll. Bizarrely, if I rotate the page it 'reveals' the rest of the document, and then allows me to scroll through it.I have tried various page sizes and orientations and oddly this ONLY affects A4 landscape.The PDF's display fine in all other browsers.To eliminate issues, the same problem occurs when I create a PDF from MS Word (so it's not an Indesign issue)and I DON'T have a problem when I create a PDF using a different PDF maker (so not a Chrome issue)When I inspect the code for a troublesome PDF, I see there's a div id called "sizer" which is only recognising the size of the first page, and not the whole document as it does on PDFs which scroll correctly.When I change the size within the div tag, the scrollbar appears, but
Is there any possible way to create a pdf with compression from html within 60 sec using javascript sdk
The client must have the exchange_jwt scope.":invalid_client
Hey guys! I have a query. I have 2 dates and a text box calclating working days excluding sat and sun. Everything is working well unless i enter start date as sat or sun, the calculation then starts adding that sat or sun also. Example: (format: mm/dd/yyyy) Begin date: 04/09/2023(sunday) - End Date: 04/17/2023(monday) so W.Days should be 6 excluding the start date sunday but unfortunately I'm getting 7 days. Same problem is occuring when i enter start and end date as sat and sun then the entire calculation is messing up. I'm attaching the file and I'm not good with js, please if anyone can help me with the script
I have a Military CAC that I am trying to use to sign a PDF document with. I created the document and have tried multiple signature fields. I have my CAC connected via an ActivCard reader and my computer is correctly reading the card. I have verified that the certificate is present in the computer and that Adobe Acrobat Pro can see the certificate. I am not given the option to sign with the card. Am I missing something? Thanks, Alex
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.