Unlock the power of Acrobat SDK through our community.
Recently active
hellowe scan plans, about 300, i would rotate all files in a folder via a vb.net program. Sub Drehunng(inRichtung As String, inPDF As System.IO.FileInfo) Dim PDFout1 As New Acrobat.AcroPDDoc Dim Seite As Acrobat.AcroPDPage PDFout1.Open(inPDF.FullName) For i As Long = 0 To PDFout1.GetNumPages - 1 Seite = PDFout1.AcquirePage(i) Select Case inRichtung Case "n" Seite.SetRotate(0) Case "l" &
We are using Acrobat Standard DC in a Windows 7 environment (64 bit). A very small percentage of our users repeatedly loses their PDF printer in the devices and printers area so they aren't able to print from other software to PDF. We run a repair on the Acrobat program and the printer comes back, but we shouldn't have to keep doing that. Is there a permanent fix for this?
I have the following Script to update a couple of records of mine. The script should fill a new line anytime anytime it finds the first field of a line empty (that means the entire line is empty), but before to do that, the script checks if any of the previous lines containes already the values it should be put at that moment. Problem is, apparently, the script jumps the second line. Anyone can help me? var shipsName = this.getField("SHIPSNAME").value;var data = this.getField("DATAAUTORIZZAZIONE").value;var port = this.getField("PORTOFARRIVAL").value;var flag = this.getField("FLAGSTATE").value;var targa = this.getField("PLATES").value;if (this.getField("Imposta bollo digitale").display === display.hidden) { var bunkerDoc = app.openDoc("G:\\Il mio Drive\\PERSONALE - BRUNO PADULA\\REGISTRO BUNKER.pdf"); var stop = false; for (var i = 1; i <= 294 && !stop; i++) {
Hello, I am trying to merge files using the API. I have a folder where the user places 3 or 4 files. We have named the files 01, 02, 03, 04 etc. but for some reason in the merge process the files get merged in a randow order. Any insight would be helpful. Thanks.
Hi everyone. I have a folder with a large number of PDFs (in the 1000s). We encountered one file that had some password protection - not required to open the file, just for some functionalities. If I look at the Document Properties Security tab, I can see that the selected Security Method is Password Security instead of No Security, and some functions in the Document Restrictions Summary show as Not Allowed. The task now is to identify other files with password protection, without a human opening each individual one and looking at the doc properties. I'm pretty limited in the tools I can use - just VBA and Python. (I don't have privileges to install anything else.) I do have the PDFMaker Office add-in, but so far I haven't been able to determine how to use that to tap into those document properties. To now I've only used the add-in to combine multiple PDF files to a single file, and that is using borrowed code. So my knowledge of how to use the add-in is close to nothing, and I ha
Hi I hope you can help me I have two fields. The first is called 'Bupa' and it has a Yes or No drop down options. If the user selects Yes I need another text field called 'Informed' to autopopulate with phrase 'Please inform Clare'.Any suggestions?Thanks in advance
Hello, I need a JavaScript to verify that a Social Security Number (123-45-6789) or Tax ID (12-3456789) has been entered correctly in a form field. I'd like it to accept hyphens, and in case the user doesn't enter a hyphen, to automatically place them. It should also not accept letters or any other special characters. If entered incorrectly, an alert message with pop-up. The reason why I cannot use the Special category inn the Format tab is because I need a custom message in the alert box, not the default one Acrobat provides. Any help would be greatly appreciated! Thanks.
Is it possible to set line spacing for a text field / variable? var strWord1 = this.getField("CityName").valueAsString;event.value = strWord1 +" is hosting an event..." I've seen that it can't be done within Form Edit mode. Is it possible with JS?Thanks!
Hi,The company I work for puts out PDFs to a lot of customers, and there are some instances where customers are known to view the PDFs in an Internet browser, like Chrome. Unfortunately, because of Google not wanting to support the in-browser PDF viewer, some problems have manifested—mainly the weird way it now handles hyperlinks in PDFs, where it treats them as annotations and forces clunky big yellow boxes to appear when the user's mouse hovers over the links.I have tried unsuccessfully to see if I could produce a JavaScript added to the PDF to hide the newly-generated "annotations," but that doesn't appear to work. I suspect the fact that these aren't really annotations but are being treated "as if" they were by the Chrome viewer is part of the problem.I would now like to see if there is a way, using a Document-level JavaScript added to the PDF, to put up an alert message when the user opens it in Chrome. I have found a way to tell if the user is viewing the PDF in *anything* other
When searching the Acrobat SDK forum, say for "edit text", many have nothing to do with the SDK, rather just asking for help in how to use the Acrobat app.It is beyond annoying to have to trawl through posts asking how to edit text using the Edit Pdf tool in Acrobat.
Hi,I'm trying to make a plugin using visual C++ (VS 2019) on Win10x64 machine. The idea is (or was) to be able to bold all numbers in the text. I thought this could be done by altering some of the PDFontMetrics members, since some change (ie PDFontMetricsP->stemV) between bold and normal text. The code shows I'm just taking the PDFontMetrics and reapplying them: PDEFont pdeFont = PDETextGetFont((PDEText)pdeElement, kPDETextRun, i); CosObj cosObj; PDEFontGetCosObj(pdeFont, &cosObj); PDFont pf = PDFontFromCosObj(cosObj); PDFontMetricsP metricsP = (PDFontMetricsP)calloc(sizeof(PDFontMetrics),1);//if not used, usually end up with null pointer ASSize_t sizeMetrics = sizeof(PDFontMetrics); PDFontGetMetrics(pf, metricsP, sizeMetrics); PDFontSetMetrics(pf, metricsP, sizeMetrics);And this is what it does to the pdf, which originally was TimesNewRoman:I would've expected no change to the font using the PDFontSetMetrics(), so eith
Hi, I need help in setting values to radio buttons and getting the sum of the selected radio buttons. Please note that I am a novice and am excited to learn more about this. I am creating this form for a client and each radio button should have its value. For example,Choice1 == "0"; Choice2 == "1";Choice3 == "2";Choice4 == "3";it's the same with the rest of the radio buttons. Each question is grouped so in SCORE1, there are 5 groups. this is what I've done so far, setting a value for each radio button.. not sure if this is the best option. I'm really lost with the total text field where it should get the sum of the selected radio buttons only. So say in: Group1, Choice1 is selected then value is at 0;then add the choice on group2 which is at 1 and so forth. Let me know how to go from here. Thank you!
-Adobe acrobat Standard XI-Corp environment - users are locked down from doing installs or updates.- Pushed a pop-up notification disable (regedit) to update adobe (because when they do it fails and rolls back) we believe when we do this is disables their adobe PDF virtual printer.any ideas on how to fix?
Hi,I am developing web software which requires online editing for PDF files (inside chrome browser). My users would like to add/delete/edit existing text, with basic styling features such as text-coloring, bullets etc.Is it possible to use the Acrobat SDK for PDF editing inside my application? What is the licensing model for this functionality?Is there an option to use it for on-premise products? (without cloud access). Thanks you!shahar
I've been trying to create a script to select a pdf containing the front sides of pages and another pdf containing the backside of pages, then combine them with the proper order.This is what I have so far:var myDoc = app.newDoc(); var frontSidePg = "<Path to front side pages pdf>"; var backSidePg = "<Path to back side pages pdf>"; // Only here for getting page count var fDoc = app.openDoc({ cPath: frontSidePg }); // Insert front and back pages in correct order for (var i=0; i<fDoc.numPages; i++) { // Front Pages myDoc.insertPages({ nPage : myDoc.numPages-1, cPath : frontSidePg, nStart: i }); // Back Pages myDoc.insertPages({ nPage : myDoc.numPages-1, cPath : backSidePg, nStart: fDoc.numPages-i-1 }); } myDoc.deletePages({nStart:0}); // Delete blank initial pageI have other co-workers who will likely be using this script so I can't expect them to manually change the file paths each time.I've tr
Hi,I have a very simple pdf with one line of text. If I use the PDWordFinder the text can be iterated word for word. However, if I try to use PDEContent then it is, so far, impossible to iterate through.The code below shows the problem, the PDEContent has one element which is not text, rather PDEObjectGetType() returns 12. Not sure what is going on - am using VS 2019 to create a 64-bit plug-in. AVDoc avDoc = AVAppGetActiveDoc(); AVPageView pageView = AVDocGetPageView(avDoc); PDPageNumber pageNum = AVPageViewGetPageNum(pageView); /* Bridge method to PD doc*/ PDDoc pdDoc = AVDocGetPDDoc(avDoc); /* Acquire current page */ PDPage pdPage = PDDocAcquirePage(pdDoc, pageNum); PDEContent pdeContent = PDPageAcquirePDEContent(pdPage, gExtensionID); ASInt32 eleNum = PDEContentGetNumElems(pdeContent);//returns 1 PDEElement pdeElement = PDEContentGetElem(pdeContent, 0); ASEnum8 test= PDEObjectGetType((PDEObject)pdeElement);//returns 12 if (PDEObjectGetType((PDEObje
Hi, I have created a daily time sheet, The column with the time entered for each task is totaled at the bottom in box A (Total Hours). We are now required to pay overtime if the person works over their daily shift hours. Sometimes the shift may be 10 hours or 8 hours.Is there a way to create a box with the daily hours (target hours). When the entered time totals less than the target, put total in box A, if the total exceeds the target hours, those hours over the target are put in box B (Overtime hours). Example would be: John's shift is 10 hours today, he enters 10 in the target box. He works through the day and at the end of his shift the total amount of hours he worked is 12 hours. Box A shows 10 Hours and Box B shows 2 hours.Any help would be appreciated. Thanks.
Hi, I have created a PDF with a (Barcode) form field using Adobe acrobat Pro. The Symbology is (PDF417) and Decode Condition is (Handheld Barcode Scanner). For the Encode Using (Tab Delimited) option, I've picked a particular field from the file. When I populate the acro fields though the JAVA application, it all works fine. But when I take a print out of the filled out pdf and try to scan the barcode with a handheld scanner, the barcode is not recognized. Is there any additional parameter required to recognize the barcode field ?Thank You
Hello, Everyone. I'm new on this one but I need to make a form that needs to get the total points of each column of the radio buttons. As you can see they are Grouped per row (e.g. Group35, Group36, Group37, Group38, Group 39) because it needs to function that person has only one choice which deselects automatically the other buttons if one already chose. I already got that part done. I'm just having difficulty to get the total sum of the column because this is a performance scoring sheet. Thank you.
Estimada comunidad:No puedo conectar mi licencia Acrobat Pro a Power Automate, me sale el siguiente anuncio:¿Cómo puedo activar esta opción de APIs en Adobe Acrobat Pro desde mi consola de admi?
I need some help getting the Acrobat SDK Starter plugin to work in protected mode. I'm developing on a 64-bit Windows machine. I have 32-bit Adobe Acrobat DC installed. I'm signed into my Adobe developer account when I run it. I'm building the solution "C:\Acrobat_DC_SDK_Windows_2021_v3\Adobe\Acrobat DC SDK\Version 1\PluginSupport\Samples\Starter\win32\Starter.sln" successfully using Visual Studio 2019, using configuration Debug, platform Win32. I have not made any code changes to the Starter sample plugin. I'm copying the resulting "C:\Acrobat_DC_SDK_Windows_2021_v3\Adobe\Acrobat DC SDK\Version 1\PluginSupport\Samples\Starter\win32\Debug\Starter.api" file to "C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\plug_ins\starter.api". The plugin loads fine when protected mode is deactivated - when I run "C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Acrobat.exe" from Visual Studio so that the debugger is attached to it from the start, my breakpoint in DllMain
Hi Team,I am trying to setup "universal editor" on localhost but getting below errors, any type of help appriciated ? Error: AEM Connection :
I am developing a 3rd party plugin. Since I need write access to the file system and I do not want to switch off the protected mode I added a policy for my plugin.When starting Acrobat, the log files of Adobe Acrobat Protected Mode Logging says:Custom policy file sanity checks failed: C:\Program Files\Adobe\Acrobat DC\Acrobat\MyPlugIn_policyconfigfile.txt When I add the "standard" policy file ProtectedModeWhitelistConfig.txt everything is fine. The logging says:Found custom policy file: C:\Program Files\Adobe\Acrobat DC\Acrobat\ProtectedModeWhitelistConfig.txtAdding custom policy: FILES_ALLOW_ANY = d:\MyPlugInFiles\* It makes no difference if MyPlugIn_policyconfigfile.txt even exists or is empty. The error message remains the same. It can't be a syntax issue either, since the same policy works fine in ProtectedModeWhitelistConfig.txt. I also checked the read access to MyPlugIn_policyconfigfile.txt which is ok. Did I overlook an additional switch
I have written an Adobe Acrobat plugin using Adobe SDK which helps me to modify PDF. It runs perfectly well when protected mode is turned off. However, as soon as I turn protected mode on, my DLL is not recognised and doesnt even load. Am I missing something here? What should I include in my DLL so that it gets recognised and loads up in protected mode too?
I am new to coding and am struggling with continuing to get errors on this code. I have made a drop down box and if the person selects other I would like a text box to appear. I have been trying to find an answer online and no luck. if (event.value == "Other")(this.getField("Text3").display = display.visible);)else if (event.value == "Get_furniture")this.getField("Text3").display = display.hidden;)else if (event.value == "Get_housing_assistance")(this.getField("Text3").display = display.hidden;))else if (event.value == "Get_internet_access")(this.getField("Text3").display = display.hidden;))else if (event.value == "Get_stable housing")(this.getField("Text3").display = display.hidden;))else if (event.value == "Shelter"))this.getField("Text3").display = display.hidden;)( It is currently giving me Syntax Error 4 for line 5. Any help would be appreciated.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.