Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I've been beating my head against Adobe's JavaScript API (JavaScript APIs — Acrobat-PDFL SDK: JavaScript Reference) trying to figure out how to do what appears to be a very rudinmentary thing, show and hide specific layers in a PDF in a browser window. I created a map in Illustrator and used layers such that each one shows a single location. When it is opened in a browser window I want my JavaScript to show a specific layer as determined by a onmouseover event. However, I cannot get any layer to show with the file open in Acrobat using the console. I have to say that the API isn't very helpful, most aren't, but I have tried a number of times with no success in getting one specific layer to display on top of the bottom layer. Here is my current code and console output: var layers = this.getOCGs(); var cnt = layers.length; cnt layers[400].name; layers[400].getIntent; layers[400].initState; layers[400].state = true; undefined undefined 477 F1 function getIntent() { [
Why won't the product work when I have already paid for it? Why does it keep sending me to a link to pay for a product that I have already paid for? Why can't I just use the product that you have sold to me?
When open a pdf file, I wanted to hide the whole button bar (where print, star, delete etc. buttons are present) with java script.Also wanting to hide the right pane where "Fill & Sign", "Edit PDF" etc options are there. I could not find any resource so far. Any help will be highly appreciated. ThanksZia
My main goal is to rename fields in a form and keep the tab order.I've read other posts about mass renaming fields and it looks like the only solution is to create a new field, copy the data from the old field (except with a new name) and then delete the old field. I was able to find a script that does this just fine. The issue I am running into is that the tab order is lost when recreating the fields. In the program that created the form I can export a txt file that contains a bunch of information, including what order the tabs should be in. I am not sure how to access that txt file so that I can start parsing the data. I read about converting the txt file to pdf and then reading the data from that, but I was having problems doing that and it isn't really ideal.
Hello, I have some question about form and editting.1. If I create and edit Text Field. The form value is saved into /V property like string with specific encoding (UTF-16, UTF-8). I would like to confirm that those values are Unicode values, not in "Text". 2. If I create Text Field and select specific font for form in Adobe, then the font is create with specific encoding. How the Adobe select encoding for specific font?For instance:If I selected this font "YuGothicUI". The Adobe creates type0 font with this encoding "UniJIS-UTF16-H".If I selected this font "Arial". The Adobe create truetype font with this encoding "WinAnsiEncoding".If I selected this font "CourierStd". The Adobe create type1 font with this encoding "WinAnsiEncoding". Thank youDavid
I have an Excel formula calculates the Unit_Price which is then multuplied by the quantity to establish a quote for printed matierial. I have been asked to create a PDF Form for orders of printed material but I have very little to no experiience with PDF Custom Calculation Script (or java). I need help with translating the formula below into Custome Calculation Script for the Unit_Price field. It is calculated on 2 variables, the Item (H26) and Quantity (I26). I was able to do a basic custom calculation based just on the item and set a single price but not able to work out how to include the second variable which is the price change based on quantity). Unfortunatley I don't know javascript at all and nothing I found anywhere was able to really assist me in the translating this Excel formula. If anyone can help or point me to a great tutorial on translating Excel to Java, I would really appreciate the assisatance. (H26) - Printed_Item (var v1 = this.getFie
Acrobat DC, version 2024.005.20320 Alright, I'm losing my mind here and I'm pretty sure I'm running into a bug with how Custom Dialogs render Images. However, I am also questioning my overall direction with this project. I would really appreciate any ideas or help! Overall problem: I have a PDF form that needs up to 13 digital signatures and then a dated stamp with/after the last signature. Attempted solution: Since the stamp is different for every location, but rarely changes, I've rebuilt the PDF to allow embedding the stamp as a button icon before distribution, then hiding the icon until the Certifying Official digitally signs the form. I've built a Custom Dialog to walk users through importing the icon and loading in the required information. This is supposed to include a preview of the imported stamp. Current problem: The 'preview' image of the imported stamp does not render correctly and is a different size from the original. The imp
I have a pdf document with freetext annotations, when I view the pdf using embed api the annotations aren't visible first. But when I see the comments section, annotations are loaded in the document. Then when I interact with the annotation (drag or resize) then it gets displayed. Can anyone help me solve this issue?
I have 3 reagents with different expiry dates and I need to assign the earliest expiry date among the 3 for the final product. I am using Acrobat Pro and any help is greatly appreciated. Thanks!Below is the image of the Date fields of the three reagents Below is the text field of the expiry of my final product
Hi, I'm new to adobe acrobat interactive PDFs but there are so many helpful posts here that have got me a long way! I currently have a number of checkboxes for different courses (eg. Course1, Course2) which check proficiencies in a list:- Course1 checkbox: ticks proficiencies M1.1, M1.2, M1.4- Course2 checkbox: ticks proficiencies M1.1, M1.6, M1.7 Currently if someone unchecks Course1, this will uncheck box 1.1 even if Course2 is still checked. Is there a way to prevent this? I'm just using this code in Course1 checkbox on MouseUp:this.getField("M1.1").value = event.target.value;this.getField("M1.2").value = event.target.value;this.getField("M1.4").value = event.target.value; And this code in Course2 checkbox on MouseUp:this.getField("M1.1").value = event.target.value;this.getField("M1.6").value = event.target.value;this.getField("M1.7").value = event.target.value; Thanks in advance!Lucy
I have a problem combining pdfs using VBA in Access. The debug print says that all of the "Open", "Insertpages" functions are "true", but the final "Save" returns "false", and when the doc is opened the inserted pages are not there. In this example there are two attachments.----Private Sub CmdPDF_Click()Dim PDFindex As IntegerDim PDFfileName As StringDim CEUCertT As RecordsetDim AttachmentAry() As StringDim DestApp As Acrobat.AcroAppDim PDDocDest As New Acrobat.AcroPDDocDim PDDocSource As New Acrobat.AcroPDDocIf Me.ChkAttach = True ThenSet DestApp = CreateObject("AcroExch.App")Set PDDocDest = CreateObject("AcroExch.PDDoc")Set PDDocSource = CreateObject("AcroExch.PDDoc")Set CEUCertT = CurrentDb.OpenRecordset("Continuing Ed")k = 0With CEUCertT.MoveLast.MoveFirstStartDate = DateValue(Me.RepPeriodStart.Value)ExpirDate = DateValue(Me.ExpDate.Value)'k = .Fields("Attachment").ValueFor i = 1 To .RecordCountCompDate = DateValue(.Fields("Completion Date"))If (CompDate > StartDate)
Hi Adobe,We are using adbe.pkcs7.detached adding signature to the PDF. whenever I open signed PDF form it will show signature is unknown with below error code asError during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data.Support Information: SigDict /Contents illegal dataCan anyone confirm me issue w.r.t to the signature verification.With regardsRavi
Hello,I have a client that uses Adobe Acrobat Pro DC. When she opens the properties of a form field while under "Prepare Form" there seems to be some missing tabs. All she sees is General, Appearance, Position, and Options. She is needing to use some of the others like Action and Format but they are not present (Not even grayed out just not there).So that I'm clear, the Tabs in red are the ones we are missingI researched to the best of my ability and couldn't find anything about missing tabs or features that were not included with the Pro DC version. Her colleague has Acrobat Pro 9.2 and has these tabs in the properties otherwise the two versions look identical. I am not sure if they are something that is not included with Pro DC or if there is something we are missing to enable them? Any help would be much appreciated!
I am working on adding text to a text box when multiple checkboxes are marked/selected. I have looked all through the links that have been sent to me and tried several suggested options, but nothing is working for me. (this is why I do not make my living as a code specialist!) I need for these boxes outlined in Red : to add text to this box below all at the same time if the box is checked.. I will be doing this same thing from drop down boxes once I have this part with the checkmarks completed.Thanks in advance for any assistance for this newbie!
I am using Acrobat Pro DC, fully up to date. Whenever I scan a document using File | Create | PDF from Scanner, the settings default to append the scan to an existing file. That's rarely what I want to do. (When I want to append a scan to an existing file, I use the Insert Pages tool.) It's not a major problem to uncheck the "Append" box, but it's a repeated nuisance, especially if I forget and I wind up with new pages added to a document that have to either be extracted or deleted and re-scanned.I've seen the issue a number of times in the forums, but it's always for the opposite problem. Getting append to be the default is an issue that has, apparently, been solved too well.
Previously, when installing Adobe Acrobat DC, 'HKLM\SOFTWARE|Adobe\Acrobat Distiller\DC' was created.When installing Adobe Acrobat Reader DC, the path 'HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Adobe Acrobat\DC\RDCNotifiationAppx' was created. However, at some point, even though Adobe Acrobat Reader DC was installed, a registry for the Adobe Acrobat DC product was created. This is a huge problem, since I was looking at the registry to see what products were installed. Can someone please tell me which registry only exists when I install Adobe Acrobat DC?Also, the registry I found is 'HKLM\SOFTWARE\Adobe\Adobe Acrobat\DC\RDCNotificationAppx (AppName: ADCNotificationClient.appx)'.Is this registry created identically in all versions of Adobe Acrobat DC?
we started the Migration from JWT to OAuth to convert the PDF into Document. After migration in order use the PDF operation for export PDF to Document. we need to perform Five API calls to downlaod the Document. We refer the below URL to perfoem the PDF Operationhttps://developer.adobe.com/document-services/docs/overview/pdf-services-api/gettingstarted/ Is there any alternative way, we can perform the PDF operation to reduce the number of API calls please suggest some other way to perform this operation
Hello! I am fairly new to the whole javascript thing. I have edited a form for work to make it easier for people to make selections. I created a dependent drop down that based on the job that you pick, it gives you locations to select that you can go to. The field has asked for an additional dependency that would change only one job's locations, depending on if you have 3 years of experience or if you had less than 3 years (which already has a drop down).Is there a way to link this together? meaning:Job A can go to x, y, or z.Job B can go to x, y, or z if they have 1 to 3 years or a, b or c if the dropdown is set to 3+ years
Hello,using a dialog box in which I can make a selection, I would like to filter out the selection made in order to be able to perform further operations with it.In the Adobe AcrobatDC JavaScript API reference, example #3 is shown, which I used to select a font from several fonts.Example 3: This example uses a list box or a popup box. But I am not able to format the text of a form field with the selected font.How do I get the font assigned in the 'f.textFont =' option so that the text appears in the selected font?function PlaceText() { var dialog3 = { // This dialog box is called when the dialog box is created initialize: function (dialog) { this.loadDefaults(dialog); }, // This dialog box is called when the OK button is clicked. commit: function (dialog) { // See the Dialog object for a description of how dialog.load // and dialog.store work. var elements = dialog.store()["subl"];
I want to insert page number. When I click "Header & Footer", it shows "An error was encountered while retrieving page content". What does this mean? Can anyone help me? Thanks much!
Hello,I am new to javascript. I followed a tutorial to be able to autopopulate a dropdown based on another, but I don't know how to make it work based on the selections of two dropdowns.I have 7 options in the first column (discipline), and 5 levels in the second column (level). Depending on what is selected in those two, I need to auto populate different options in the third row (power).¿Could someone help me with that?
I want to convert PDF to HTML using C#. Adobe Acrobat Pro is installed on my computer. I have written the following code when runs without any issues but can't see output.html in the folder. What could be the reason? Is there any alternate way of achieving it? using Acrobat; using System; namespace PDFToHTMLWithAdobeAcrobatPro { internal class Program { static void Main(string[] args) { string inputFilePath = @"C:\tmp\Everest.pdf"; string outputFilePath = @"C:\tmp\output.html"; // Acrobat COM objects AcroApp acroApp = null; CAcroPDDoc pdfDoc = null; try { // Initialize Acrobat application acroApp = Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.App")) as AcroApp; pdfDoc = Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.PDDoc")) as CAcroPDDoc; if (acroApp == null || pdfDoc == null)
I'm trying to convert a 95 pages script from Word who has also tatal 120 extra pages into pdf (not acrobat) , but instead of 95 pages it shows 220How do I fix this?
Hey Everyone, how i enable to integrate Adobe Acrobat Pro DC in react application for advance Pdf Editing like change & edit actual content of pdf?
I want to use Python to change the language of all PDF tags in the Content tab of Object properties. Can anyone suggest how I can do this?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.