Unlock the power of Acrobat SDK through our community.
Actividad reciente
I'm trying to enable scrolling when opening a pdf in html.Is it possible to achieve this using PDF Open Parameters?For example, likehttp://example.com/example.pdf#view=FitH Or is there a way to do something likethis.viewState = {pageViewLayoutMode: 2}in Acrobat Javascript with browser javascript.
I installed Acrobat DC a week ago and have been checking out its features.1 . Measure the dimensions of the imported drawing (pdf).2 . Enter the name and measurement point in the form for each measurement.3 . Register the measurement results in a database. I wondered if the above requirements could be realized with Adobe's measurement functions, so I touched a few samples.As a result, I was able to use the measurement function on the form with the OpenInWindowEx function.However, the OpeninWindowsEx function does not seem to be able to extract the measurement values on the form... Sorry for my poor English.I would like to know if you have any information about the sample that controls the measurement tool in AcrobatDC, or the sample that processes the measurement results.
Hi good day! just want to ask why is it that whenever i try to print booklet type in pdf file, the document shrink and did not fit to the paper size?
When using a Mac and trying to create a PDF from a scanner, I receive the following error message: "The Selected Color Format is not supported." How does this get resolved?
Hi How do i change High resolution in printing setting in SDK (c++)automation.pls suggest any library.
Hi, I can name a textfield the same name on different pages. Enter text in one, exact text autopopulates. I all the fields that autopopulate except the one on page 1 to become read only. Only way to change any of them is to use the field on page 1?
How to change the code so that when the button is pressed, the dialog window does not close, and it would be possible to re-enter the data in the edittext and click the button again?app.addMenuItem({ cParent:"Help", cName:"-", cExec:" ", nPos: 0}); app.addMenuItem({ cParent: "Help", cUser: "Test", cName: "Test", cExec: "Test()", cEnable: "event.rc = (event.target != null);", nPos: 0}); function Test() { var dialog1 = { Btn1: function(dialog) { var result = dialog.store()["Txt1"] Ndata = result dialog.end("Btn1"); }, Stop: function(dialog) { idx = "Cancel" dialog.end("Stop"); }, description: {name: "Test", align_children: "row", width: 300, height: 300, elements: [ { alignment: "align_right", type: "button", name: "Cancel", item_id: "Stop", width: 5 }, { type: "edit_text", item_id: "Txt1", width: 170, height: 25 }, { type: "button", name: "Enter date", item_id: "Btn1", } ] } }; app.execDialog
Hello!The OLE Automation is technically available in Acrobat Pro 2020. But we don't quite understand if we are allowed to use OLE Automation in automatic mode in Acrobat Pro 2020 in order to start a service (automated server processing) in automatic mode from 1C on the server, which will generate and fill pdf files for our employees. Since Acrobat EULA contains a clause restricting the use of Acrobat Pro on the server: For clarification and without limitation, you must not install or access (either directly or through commands, data, or instructions) the Software: (d) as a component of a system, workflow or service accessible by more than the Permitted Number of users; or (e) for operations not initiated by an individual user (e.g., automated server processing, such as RPA or similar) unless permitted in your separate purchasing document.Do we need to register and agree to the Adobe Developer Terms of Use if we are going to use OLE Automation in Acrobat Pr
I am trying to find documentation for Adobe's Adobe Acrobat 10.0 Type VBA Library. I can view the object browser (shown below) which gets most of what I need. However there are some parameters that depend on specific string terms that I'm unable to find, such as the one below: AcroPDDoc.GetInfo("Title") 'this works AcroPDDoc.GetInfo("DateCreated") 'this doesn't and I don't know syntax. I've googled a wide variety of phrases/terms and seen links to various SDK documents. It eventually takes me to a login screen to create a project. I've seen other questions make reference but I again am asked to login or that link to a broken API page.I'm sure I'm not looking in the right spot or doing something wrong, but I can't find something straightforward like Google's App Script Documentation for Spreadsheets. If anyone can point me in the right direction, or perhaps explain what I'm doing wrong on the SDK Page, I'd be grateful. Object Browser
I followed all the necessary steps as descripted in the Plugin Apps Developer Guide document to debug a plugin into Visual C++:● Specify the Acrobat plug-ins directory under the link | output tab in the Project settings dialog box.● Specify the Acrobat or Adobe Reader executable under the executable for debug session in the Project settings dialog box.● The first time you build a plug-in, do a Rebuild All.● Set breakpoints in your source code by selecting the line and clicking the hand icon or pressing the F9 key.● After setting breakpoints, press the F5 key to have Microsoft Visual Studio launch Acrobat or Adobe Reader.However I received the following message when a press F5 key:Of course I don't have PDB file of Acrobat's executable. So what do I have to do? Other question, the plugin have a lot of callbacks, can VS handle that?Thanks,Rodrigo Gonçalves.
Is it possible to use Adobe PDF Embed offline in an application? Can anyone provide this SDK for download?
I would like a calculation of 2 date input which only gives gives me the year difference in whole year on the 2 inputs.The inputs have the format [dd-mmm-yyyy] and the script shown below also seems OK for that, but I have 2 more wishes that I would like the calculation to perform.If the inputs are only entered in the format [yyyy], it must also be able to calculate the difference throughout the year, and if one or both inputs are not of the formats [dd-mmm-yyyy] or [yyyy], the output must be blank (nothing).Please help me with what the calculation should look like to fulfill my wishes. // Custom calculate script(function () {var sStart = getField("Dato5").valueAsString;var sEnd = getField("Dato6").valueAsString;var dStart, dEnd, diff;if(sStart && sEnd) {dStart = util.scand("dd-mmm-yyyy", sStart);dEnd = util.scand("dd-mmm-yyyy", sEnd);diff = dEnd.getTime() - dStart.getTime();event.value = Math.floor(diff / 31536e6) + " år";} else {event.value = "";}})();
Hi all,can't figure out how to pass the value of a variable from the main code to a form field?In main code i have var Ndata = EditTextValue.split("+", 1) ......... this.addAnnot({page: i, type: "Stamp", rect: X1, author: "", AP: "#NewDate" }) it doesn't work...//var a = this.getField("#NewDate").value; //a.value = Ndata; this.setField("#NewDate").value = Ndata;and it doesn't work that way...var d = this.dataObjects[0]; d.setFieldValue("#NewDate", Ndata);
Hi Team,I am running "auto tag document" for PDF to convert it as accessible PDF, but as per PDF/UA standard all the "Link" tag should be nested within "Reference" tag. so i have manged to create the reference tag above the link tag by using the below code, but how brink the Link tag as child to reference tag will "PDSMCGetPDEContainer" will help to achive this process, if so how to obtain the PDSMC parameter to pass in this method, or is there is any other api is there to achive this requirment. ASInt32 numKids = PDSElementGetNumKids(element); ASInt32 kidIndex; for (kidIndex = 0; kidIndex < numKids; ++kidIndex) //for (kidIndex = numKids - 1; kidIndex >= 0; --kidIndex) { PDSElement kid; PDSMCInfo mcidInfo; ASAtom kidType = PDSElementGetKidWithMCInfo(element,kidIndex,&kid,&mcidInfo,NULL,NULL); char buf[256], title[128]; buf[0] = title[0] = '\0'; if (kidType == OBJR_K) { PDSElement parent = CosNewNull(); PDSOBJGetParent(kid, &parent); if
A colleague has created a simple Acrobat Preflight profile that produces a red error "X" if a PDF contains RGB objects. However, when she runs it on a PDF that she knows contains an RGB image, it reports that there are no problems. Despite this, when she expands the preflight report's Overview, it duly lists the presence of the RGB image, noting that it is "RGB (ICC profile)".She has sent me the preflight profile and the PDF in question, both created with Acrobat Pro XI (Windows). I can confirm that it does the same thing for me when I run the preflight check, both in Acrobat Pro XI (Windows and Mac) and even in Acrobat DC.Has anyone here seen this issue before? Could you suggest a workaround?- Alistair
Hi,I am trying to highlight form fields in a pdf if the data in the field contains an asterisk before the number, for example "*8.596" may be in the field. I have searched through multiple threads in this community and feel like maybe I am close, but it is not working. With the asterisk being a special character, I added the backspace.I am not getting an error, it is just not highlighting the field. Right now I am using this:if (event.value=="\**") event.target.fillColor = color.yellow;else event.target.fillColor = color.transparent;Any suggestions on what I am doing wrong?
Hi Is it possible to assign the Acrobat's buit-in Date format to a field via JavaScript?I tried several things but without success: this.getField("myField").setAction("Format", Date); this.getField("myField").setAction("Format", "date(fr){DD MMMM YYYY}"); Etc. Thank you
Hi Team, I'm using Acrobat Adobe Dc Samples Basic Plugin project, I enabled another submenu under Acrobat sdk. So, whenever i'm clicking that submenu the action enabled in that function i wrote code for Dialog purpose. Way One: Inside function:I wrote modal dialog code from Acrobat adobe pulgins pdf document:code:HWND CapturehWnd, hParent, hWnd;// nRetVal;HINSTANCE gHINSTANCE;CapturehWnd = GetCapture();if (CapturehWnd != NULL)ReleaseCapture();hParent = WinAppGetModalParent(AVAppGetActiveDoc());int nRetVal = DialogBoxA(gHINSTANCE, MAKEINTRESOURCE(IDD_DIALOG1), hParent,AboutDlgProc);if (CapturehWnd != NULL)SetCapture(CapturehWnd);static AVWindow sAVWin;//.....// hWnd is the window handle of the dialog box windowHWND hWnd1;sAVWin = AVWindowNewFromPlatformThing(AVWLmodal, 0, NULL,gExtensionID,0);AVAppBeginModal(sAVWin);AVAppEndModal();AVWindowDestroy(sAVWin); Way Two: Inside function: I added Dialog resource and created the class from Cdialog I used mfc code for dialog like: Mydialog obj;
I've been trying to open a PDF in Acrobat via interapplication communication, by using the .Open() method of an AVDoc object created from the .GetAVDoc() method of an App object (after using .Close() to close a document that was previously open in the same AVDoc object). However, when I attempt to do this, Acrobat produces an "access denied" message. I am able to open the document directly from Acrobat without problem, and via the .Open() method of an AVDoc object created by Dispatch("AcroExch.AVDoc"), but I want to use a menu command on a large number of documents, so I need to automatically open documents attatched to an App object. The problem occurs with all PDFs.
How could I open a FileAttachment type annot via JavaScript?I read all the annot proprieties but I don't understand which one I have to use for opening such as a double-click on the icon!!!Thanks
Hi,I have AutoCAD 2019 installed along with Adobe Acrobat Pro DC 2021, I was successful to load the PDFMAcad.arx, however when I try to create the layered pdf, I get a PDF with all layers switched on and switching them off/on does not have any impact, I like to use the PDFMacad because it gives the ability to arrange the layers under subfolders, and it is very helpful specially if your file has a lot of layers, anyone knows how to fix this issue or it is a bug on the latest PDFMacad? Unfortunately I can not share the drawing but I hope you understand the issue Thank you Noureddine
i know absolutely nothing about java so be patient with me.i have created a pdf work order that i would like to have generate a new work order number each time i open it.i dont know where to start from . i have found some script examples but i dont know how to implement or place it to have the result show where i want it on the document.any help would be greatly appreciated
Can you tell me how to edit this script to generate the new number upon printing? Currently it changes on saving and opening. var f = this.getField("Tracking Number");if (f.value=="") f.value = "0001";else f.value = util.printf("%04d", (Number(f.value)+1)); Thank you!
Hi, im very new to PDF scripting. I just want to write an automated script which can search a simple text string and replace it with an another text string in multiple PDF document. Can somebody help me on this? i do not want to do it manually for more than 300 PDF's. Atleast, 1 example of scripting will help me to build the script or anyother way to deal with it.
Hello team;I need help with a "print" instruction in my own code.In my code, I have created a tool that allows me to edit and lock my own reports pdf wit ADOBE API.but after that i can't print it and i think i put the correct function; addPermissions .... "PRINT" ...Can you help me with that? example:..... permissions.addPermission(protectPDFOptions.Permission.PRINT_LOW_QUALITY) permissions.addPermission(protectPDFOptions.Permission.EDIT_DOCUMENT_ASSEMBLY) permissions.addPermission(protectPDFOptions.Permission.COPY_CONTENT) const options = new protectPDFOptions.PasswordProtectOptions.Builder() .setOwnerPassword(config.pdf_lock_password) .setPermissions(permissions) .setEncryptionAlgorithm(protectPDFOptions.EncryptionAlgorithm.AES_256) .setContentEncryption(protectPDFOptions.ContentEncryption.ALL_CONTENT_EXCEPT_METADATA) .setContentEncryption(protectPDFOptions.ContentEncryption.ALL_CONTENT) ...... info: https:/
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.