Questions
Recently active
The calling sequence for PDFViewDestCreate() isPDViewDestination PDViewDestCreate(PDDoc doc, PDPage initialPage, ASAtom initialFitType, const ASFixedRectP initialRect, const ASFixed initialZoom, ASInt32 pageNumber) I want to set action on bookmarks to Inherit Zoom.There is not fit type for inheritZoom. I suspect to get inheritZoom, I set the initialFitType to ASAtom("XYZ") and initialZoom to PDViewDestNULL. Can anyone verify if that is correct? According to:https://opensource.adobe.com/dc-acrobat-sdk-docs/library/plugin/Plugins_Bookmark.html#creating-a-pdviewdestination-objectPossible fitTypes are:ValueDescriptionXYZDestination specified as upper-left corner point and a zoom factor.FitFits the page into the window, corresponding to the Acrobat viewer’s Fit Page menu item.FitHFits the width of the page into the window, corresponding to the Acrobat viewer’s Fit Width menu item.FitVFits the height of the page into a win
When I print a fillable form I have created it is now printing with the check boxes filled in. The form was created in InDesign and the .pdf was made into a fillable document with Acrobat Pro. This file has always worked in the past however today it started to print with every box filled in. It seems to only be happening on my computer, my coworker was able to print it correctly. This is happening for all of the forms I have tested so far today.
I'm trying to get the BasicPlugin.cpp to compile, but it's having difficulties with the PIHeaders.h file. An error shows saying that it's missing a dependency file "ASBasic.h". I've looked around in the plugin folder and found no such header file.In one of the header files included by PIHeaders.h, there is a conditional statement to include these two headers that I can't find in the SDK. Is there a step I missed after downloading the SDK? Am I legitimately missing these files or is there another step to the installation? Is there an installation guide for the SDK after downloading it? This is the Windows 2021 v3 of the Acrobat SDK.
I am using the starter.api extension as an example, all the extension does is a PIHandshake, set the extension name to ADBE:Starter, and set PluginImportReplaceAndRegister/PluginInit to true.when this extension is active, and Acrobat is in the "new Acrobat" UI, the Export a PDF button looks clickable, but when i bring the mouse cursor to it, it doesnt bring out the submenu. When it is in the old Acrobat UI, the "Export To" button does expand to the submenus. this happens in 2024.003.20112. Has anyone else run into this issue? do i have to enable anything special in the Plugin Initialization for it to behave in the "new Acrobat" ui?
Hi all, I am trying to write a script that subtracts a certain amount from the selected text box in Adobe Acrobat Pro DC. Can anyone offer me some advice? Sincere thanks.
I am stuck at this, so currently, I have a code to get the DS (and DA) string and modify the font number. I successfully modified them, but the freetext font size doesn't change. I also tried to scale the matrix and bbox, from AP>N but didn't work too. Any idea, please?
I am creating a PDF form and am wanting to restrict the user so they cannot paste text from another source into a text field on the form. Is this possible?I am using Acrobat Pro DC.Thanks.
Hello,I have scanned an old document, and am trying to edit the text inside. However, when I go to edit PDF, it does not allow me to edit the text itself. I OCR'd the document and it recognizes the text, but I am unable to edit it. I am currently using a trial version of Adobe Acrobat Pro DC.The file can be downloaded here Dropbox - Sample Page.pdf .
I am using Adboe Embed API to display PDFs. I works fine in all browsers, except that when using Firefox, the print function does not work. Strangely, if I load a sample Adobe file (eg. https://documentservices.adobe.com/view-sdk-demo/PDFs/Bodea%20Brochure.pdf) it prints OK. But if I use a URL for one of my own files, all that happens when I try to print in Firefox is that the PDF is dimmed for a few seconds - but no print dialogue appears. According to the release notes, a fix for Firefox printing was released on 27 June 2024. But I am still having problems. In all browsers except Firefox the print function works fine. Can anyone help please?
I get this message evertime I try to open a pdf on a specific website on my iPad."This application domain is not authorized to use the provided PDF Embed API Client ID"I have no idea how to fix. I tried to but I just got lost and had no idea what to do. Can someone please help. Thank you
Hi.I am finding the word I want using Excel VBA.There are about 530 pages in my PDF file.After processing about 400 pages, the error message "Microsoft Excel is waiting for another application to complete an OLE action. " always displayed from Excel, and Acrobat becomes "Not Responding". lRet = objAcroAVDoc.Open(PDFPath, "") lRet = objAcroApp.Show Set objAcroPDDoc = objAcroAVDoc.GetPDDoc() Set jso = objAcroPDDoc.GetJSObject pageNum = objAcroPDDoc.GetNumPages() For i = 0 To pageNum - 1 wordNum = jso.getPageNumWords(i) For j = 0 To wordNum - 1 wordStr = jso.getPageNthWord(i, j, False) If wordStr = MyFindWord Then ' Do some processing end if next nextMy PC : Windows11Acrobat Pro Version: 2024.002.21005 64bitExcel : 365 I tried the following, but it didn't change anything.1. Reinstall Acrobat2. Repair Acrobat3. Restart my PC4. Turn off "Enable Protected Mode at startup" and "Enable Enhanced Security"5. Delete thumbnails in C:\Users\Us
Hi, I know that the "Acrobat JavaScript API Reference" is online at https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/index.htmHowever, I always prefer (call me "old fashioned") the PDF version of such documents. I found a PDF version of the above document dated 2-1-21 (quite recent in the overall scheme of things) on a non-Adobe website. I'm wondering if Adobe still maintains/posts the PDF version of this document on their website, and thought that there might be a later version.Another PDF document I found on the non-Adobe website is "Developing Acrobat Applications Using JavaScript". I would also be interesed if Adobe maintains/posts later versions of this document on their website?Thanks for any thoughts anyone has on this.Dave
I use Abode Acrobat DC and I am particularly fond of the "Fill and Sign Tool". As a disabled professional, I like how clicking "Sign Yourself" would bring up an image of my actual signature and initials I used when I was stronger in the past. It was basically an electronic signature that looks like a wet signature for everyone involved. I have used this feature for years. Never had a problem with it. As a redundancy, I used the "Stamp Tool" to make a version of my signature for when I just need to sign, but not lock down a document for other signers, like what happens when you sign normally electronically. Then, yesterday in the middle of the day, suddenly my signature disappeared from the Fill and Sign Tool when I used it to fill and sign tax documents for a married couple (I am a tax attorney). I was just filling out a tax form and when finished, I signed it on behalf of one spouse with no issues. Yet 15 minutes
Im using the Javascript plugin with the following code var j = 3 for (var i = 0; i < 10; i++) { var line= this.getPageNthWord(0,j+i,false); var final2 = line.slice(-2); if (final2 == ""){ console.println("I AM A NEW LINE"); } //console.println(this.getPageNthWord(0, j+i,false)); console.println(line); //console.println(line.slice(-2)); }the output of this shows for example word1 word2word3 word4word5 word6word7word8word9work10 as expexted howeever i want to see what is the last word on the line the spaces in the console print are showing correctly but ive tried if line == "" and "\n" etc but nothing is telling me that its the space. Any suggestions?
Good afternoon,I am looking to automatically flatten my document when I place a dynamic stamp. I am pretty new to Java and have cobbled together code to make my stamp, learning on the way.I have tried adding this.flattenPages() to the script, but when I do Acrobat crashes when I place the stamp.I cannot install the menu bar script to add a flatten document button, because I don't have admin permissions.Thank you in advance for any help.Patrick
In the "SampleExtn" plugin that demonstrates how to write a plugin to work when Acrobat is running in protected mode, the plugin does not attempt to start the broker by calling sandboxpisdk::InitSandboxPIBrokerIPCChannel(L"SamplePIBroker.exe") until Adobe Acrobat has fully started, the SampleExtn plugin has been loaded, and the user selects an item from the menu for the SampleExtn plugin. For my company's Acrobat plugin, we require our users to sign into a server to enable the plugin's features. Until now, our plugin has never been made to work when Acrobat is in protected mode. Now we are enhancing it to do so. Until now, our plugin has always automatically signed the user into our server when the plugin is loaded, when Acrobat starts, if the user's login and password was saved from a previous login. Here is what is happening now that we have modified our plugin to work when Acrobat is in protected mode: START OF EVENT CHAIN Our plugin's P
For my company's Acrobat plugin, we require our users to sign into a server to enable the plugin's features. Just to be safe, I want to ask this probably paranoid question: Must ALL 3rd party plugins that run when Acrobat is in protected mode have their broker binaries submitted to Adobe for certifying? Or must only plugins that run when Acrobat is in protected mode AND when Acrobat is in "certified plugins only" mode have their broker binaries submitted to Adobe for certifying? Background for the question: Until now, our plugin has never been made to work when Acrobat is in protected mode. Now we are enhancing it to do so. Our plugin requires the user to have an account with us and sign in to enable the plugin's features. After the plugin sends the login request, it also makes network requests to download preferences and other things from our servers. In order for a plugin to make network requests when Acrobat is in protected mode, Developers need to
Hi All, Am looking for a JavaScript script to import comments from a different PDF document using the "Import Data File" option in Adobe Acrobat Pro. The script I have works to open the dialog box, but it does not allow for the selection of PDF files or import comments from a different file. This isn't the whole process. Prior to this, there is a resizing of the documents is step 1, which I have worked on and it is working fine.Kindly help me out to open the dialog box from comments section "Import Data File..."var cPathToFile = "/path/to/your/comments.fdf";// Replace with the actual path to your FDF/XFDF filethis.importAnFDF(cPathToFile);
I've used the below code for ~7 years, but have recently been getting the following error: "An error occurred: GeneralError: Operation failed.", in the console, but unfortunately, this is all the console shows, so I have been unable to troubleshoot and determine what is causing the error. All I know is that the signature field gets placed correctly, but the signature is not being applied. Any help is appreciated. Thanks! /* * sdkAddSignature.js * * * Folder Javascript Created by Acrobat SDK. * This JavaScript sample shows you can programmatically sign a PDF document using * your digital ID file. * * As a sample, this file has included all the digital signature information * except the path and password for the digital ID file to be used. * When you are ready to sign a PDF, click the newly added "Add My Signature" * menu item under the Edit>Acrobat SDK JavaScript menu. * * After you input the platform independent path and * the password through a
Hello I am new to Javascript and specifically Javascript + Adobe. At my jobs I use a lot of stamps in my pdf. I want to create a script, button, or tool that when clicked will count all the specific stamps in the document. Is there a way to do this or is there an easier way to go about counting my things on the document. Thank you
I'm trying to execute a javascript file in Acrobat. tell application "Adobe Acrobat" do script file theFilepath as aliasend tell But Acrobat (24.002.21005) crashes. The contents of the file "theFilepath" executes if do script is called using a string. What am I doing wrong? Thanks!Doug
Hi Community! I am trying to batch convert 100s of HTML downloaded files with a chart to a PDF (I can do one by one on chrome, and formatt is great) however I want to be able batch convert (a function that adobe can do for me). However when I convert even a single file from HTML to PDF using adobe, it doesn't convert the chart, it just drops it. Is there a setting or a script I can change/run to make adobe convert the chart?I have taken a snip on the HTML when chrome displays the chart. - not sure if that is helpful or not. Thanks
When I attempt to update the fields used for a calculated field, the changes do not take. Any ideas what is going on? TIA
I used to have batch stamp on my Adobe Reader but I recently got a new computer. I need to apply stamps to PDFs daily, sometimes up to 300 pages for one document. Applying the stamp to each page manually just doesn't make sense. I did have a javascript that was on my old computer but now I cannot find the page I got it from. How can I do this? I have Acrobat XPlease help.Thank you.
I'm trying to convert the PDF to PDF/A using C#. Having a CAcroAppPrefs reference issue. There is no clear documentation for which library has CAcroAppPrefs class. If anyone experiences this issue please help me with this.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.