Unlock the power of Acrobat SDK through our community.
Actividad reciente
Hello,I am generating PDF with LuaLaTeX engine.In my code I embed the following JavaScript command to change the font in text filed:this.getField('fldname').textFont = 'fntname';When the fntname is set to a sans-serif font name, like Calibri (on Windows), this command changes the font, but when it is set to a serif font name, like Times New Roman (on Windows), this command do nothing.What is the difference between serif and sans-serif fonts in text fields?
I find myself turning to the Subject Matter Experts (SMEs) once again... I seriously don't know how y'all manage to accumulate this much arcane knowledge but a tip of my hat for your advice and all of the solutions I've found in your posts. So, as my scripting knowledge is virtually non-existent, I try to keep things as simple as possible. To that end, I've been trying to use the pulldown menu to show/hide additional fields -- based on selection -- while making the "new" field a required field and auto-locate the cursor to the said field. By proxy, if the selection does not display the "new" field, the cursor is supposed to auto-locate to the next field in the tab order. This is what I've tried using and while successful in the first dropdown, it was not successfull in another. While tinkering, I've managed to make it not work in either. :S//My working script//if(event.value=="Other"){this.getField("Other_01").display=visible;this.getField("Other_01").setFo
I am using Adobe Acrobat (11) on a PC. I have pdf file and have inserted some text information but would like use an arrow. I tried using the help and it said to click Shapes on Toolbar but I do not have the Shapes option on my toolbar. What should I do now.I tried to copy the document and insert it in a word document but when I tried Select all /copy/past all I got was the text information not the whole page.
Hello,I wanted to add an embedded PDF Viewer on my website, but after doing all the required settings, my page scrolls down to the PDF Window which is loading the document every time is accessed. It doesn't stay on top, as usual.Is it any solution to this problem?Thank you
Hello,sorry if this is not the right place for this question, in case please point me to the right place.I'm looking for the source code of the Java XMP core version 6.1.11 because I cannot find them in here https://mvnrepository.com/artifact/com.adobe.xmp/xmpcore/6.1.11Can anyone please point me to the right place?ThanksAndrea
Have created a form but stuck on one part where there are a number of choices to a question and the user needs to be able to show their preferred choice. There will be 8 choices in total and the user will need to select their first and second choice, a simple 1 and 2 will suffice, but I don't want users to be able to repeat values. Previously a ranking wasn't required and the form used checkboxes, but it now needs to be more specific, is there a script that can be applied here?
Hello, I'm working on an error check that looking at "S3 Breakfast meal count" and if it is greater than 0 then I need it to look at the other two and if either one of those is greater than 0 (or both are) its okay and doesn’t return my error code. However, if S3 Breakfast Meal count is greater than 0 and the other two are not greater than 0 two I need my error to return.Here’s my code to date… if (this.getField("*S3 B Meal Count").value >0 && this.getField (("S3 Add <= Count").value >0) or (this.getField ("S3 Add > Count").value >0)) event.value = "";else event.value = "Add meal count for additional amount for lunch."; Part of the above works… For the or I’ve tried && and ||. The || is only looking at the last half if its true it removes my code. I tried doing a var script, but I couldn’t work that one out in my head. And y
I have a form with Radio Button. I want the overall "Total" to increase by 55 if the user selects Choice2, and not change at all if the user selects Choice1.
I need to be able to edit/credit a pdf document so it has form fields.Do I need to purchase Acrobat Pro DC or Acrobat Standard DC ?
I am a developer and work with a documentation team that generates PDFs and then a set of PDX/idx files to seach all the documents. I see there seems to be a way to rebuild the index (idx) from the javascript console/SDK. Is the SDK portable to the point where I can call/use this on a remote build server without a licensed version of Adobe Acrobat or does use of the SDK/Javascript console require a licensed version of the Acrobat desktop application?
Hi I am very new with JavascriptKindly need your support i have 4 check box options which the value is set for each check boxes once checking the checkbox the value for the same should shown in the textbox.Also if they checked two checkboxes the value for the same should calculate below.
I seem to have encountered a bug in Adobe Acrobat XI. I have a pdf document with form fields, and I am completely unable to delete a certain field (which I didn't intentionally create). The field is invisible and displays no name, and the "Highlight Existing Fields" option does NOT shade the field pale purple -- it's as if the field isn't really there. Here's how it behaves (for ease of discussion I'll refer to the field as the "blank field"):In Form Editing mode, I can see the black outline of the blank field (with a tab order of 0). It has no name. I can point to the blank field and select it, and the outline turns bright blue with handles. When I press the delete key or right-click on the field and click "Delete," nothing happens. When I close Form Editing, the blank field disappears. If I view the Content pane and look at the individual annotations, I find two fields identically named (there is only supposed to be one field in my document with that name). When the first
Hi Team, How to set bookmarks actions, I'm able to set magnification at the time of creating bookmarks But i need set whole bookmark actions like Magnification,Openin,GoTo, GoToR, Launch.Please suggest which Apis will help us!
Hello Everyone, I'm Pretty much new to Adobe PDF Services API . I just want to know how Adobe PDF Services API Working for .NET SDK? I have created new credentials using the below linkhttps://documentcloud.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-services-api# It Automatically generated one zip folder . I picked my zip like thisPDFServicesSDK-.NetSamples.zip\adobe-DC.PDFServices.SDK.NET.Samples\CreatePDFFromDynamicHtml The above zip folder contains "PDFServices-api-credentials" and Private Key. Q1. How PDF Services api working for the credentials and Private Key. in the downloaded version I hardly see any API Url to interact with PDF Services API. ? Q2 : What is the Purpose of this JSON ? {"client_credentials": {"client_id": "","client_secret": ""},"service_account_credentials": {"organization_id": "","account_id": "","private_key_file": "private.key"}} Can some one reply to this how pdf services API Working as a co
There is a setting "Protect with password" in Acrobat Pro, but I want to realize this in C#.NET. What kind of program should I write? Please let me know if there is a sample program or reference. thank you.
Acrobat Proに「パスワードを使用して保護」の設定が存在しますが、これをC#.NETで実現したいです。どのようなプログラムを書けばよいでしょうか?サンプルプログラム、またはリファレンスがあれば教えていただきたいです。よろしくお願いします。
I want to compress a bunch of pdfs in vscode using the sdk. Can somebody tell me how to do it? I'm receiving the following error: [ERROR]: Request could not be completed due to an unexpected error. Error: socket disconnect Exception occurred while performing the operation ServiceApiError: request timed out after 10 seconds at ClientRequest <anonymous> (D:\Desktop\adobe\node modules\@adobe\pdfservices-node-sdk\src\internal\http\http-client.js:276:13) at ClientRequest.emit (node:events:520:28) at TLSSocket.emitRequestTimeout (node: http client:758:9) at Object.onceWrapper (node:events:639:28) at TLSSocket.Socket. onTimeout (node:net:501:8) at listOnTimeout (node:internal/timers: unknown requestTrackingId, statusCode: 0, errorCode: 'UNKNOWN'
Hi All,A vba script that I've used for years is suddenly stuck on an error I can't resolve. The code essentially points to a PDF and uses that PDF's bookmarks to create a Table of Contents in a word document. I upgraded to Windows 10 from 7 and Adobe Pro DC from Adobe Pro 10 since the last time I ran it so I don't know which software is causing a problem. Here is the code : Sub loop_thru_members()Application.ScreenUpdating = FalseDim membCode(), a As IntegermembCode = Array("BH")For a = 0 To UBound(membCode)Call BFormulaire_Click(membCode(a))NextApplication.ScreenUpdating = TrueEnd SubPrivate Sub BFormulaire_Click(fff)Dim retour As BooleanDim PInt_Retour_X_pixel As IntegerDim PInt_Retour_Y_Pixel As IntegerDim AcroExchApp As Object, AcroPDFDoc As Object, AcrobatViewPage As Object, _AcrobatPage As Object, AcrobatTaille As Object, acroform As Object, Champs As Object, _field As Object, oneg As String, sJS3b As String, sJS4 As String, tr As StringSet AcroExchApp = CreateObj
Hi my question is how to write java script for conting days from start and end date?I found and I use this script: // Custom calculate script(function () {var sStart = getField("fill_9").valueAsString;var sEnd = getField("fill_10").valueAsString;var dStart, dEnd, diff;if(sStart && sEnd) {dStart = util.scand("dd/mm/yyyy", sStart);dEnd = util.scand("dd/mm/yyyy", sEnd);diff = dEnd.getTime() - dStart.getTime();event.value = Math.floor(diff / 864e5)+1;} else {event.value = "";}})();It's work but not correctly, if I put in fill_10 date less than fill_9 the result in fill_8 where is my counter is 0 or negative value for example -1 or -2 and so...How can I restrict the counter to show appalert when the counter is 0 or negative?And the user should enter the dates for fill_9 and fill_10 again?
Please help me
Hi All, This is regarding an IF statement in excel to "translate it" in JavaScript for PDF forms.I know this kind of question has been addressed so many times, however, all of the questions are with only 1 cell, whereas my case is a bit more complex.This is the excel function as is:=IF(B12="Ball",IF(C26=1,20,IF(C26=2,30,(C26-2)*5+40)),IF(B12="Rocket",IF(C26=1,10,IF(OR(C26=2,C26=3),15,20))))As you can see there are multiple dependent cells and I can't seem to make it work in Java. Note: every cell name is a corresponding field in PDF form. Your support will be highly appreciated.Thank you,Mihai
I am trying to integrate hardware security to a pdf file. I am using a USB dongle which I normally use as a software piracy protect scheme. It works by linking a DLL to an application's source code, and checking that the dongle is plugged in before loading the application. Then you call the functions from the DLL and it authenticates that the USB dongle is attached, and that it is programmed with the correct codes. I'd like to create code which can add this functionality to pdf documents, as relying on a password for distributing a pdf file seems only mildly secure. If I can get it working the dongle would be a great way to create 2 factor authentication for pdf documents. From some cursory research it is apparent that there is not a way to load DLL's using the standard Acrobat Javascript references. However, I see there is support for creating custom plugins. Before I sink a lot of time and research only to find out this wont work, I wanted to create a post to get some
Over the weekend I lost my adobe printer icon in my printers stopping me being able to print to PDF from MS Office. I uninstalled Adobe Acrobat and reinstalled, but the icon never returned. How can I get the feature back?
Hello, I need help. I am working on creating some error checks so I can reduce the need to return a form for revisions. I am trying to write JavaScript to compare two fields "*S2 HR Meal Count" and "*S2 LR Meal Count." Both fields cannot have information in them, if they do then I need to return a message of "Cannot have both High Rate and Low Rate." Below is what I have come up with... if (this.getfield("*S2 HR Meal Count").value >0 && EC5 = this.getfield("*S2 LR Meal Count").value >0) event.value ="Cannot have both High Rate and Low Rate."; else event.value =""; I am getting an error in the JavaScript editor. I don't know enough about this to know what I am doing wrong. I'm learning as I go. I've look at a lot of other posts and can't find something that matches what I'm trying to do. Yes, I know that my field names aren't the smartest, but it was before I started writing JavaScript. Thanks in Adva
I need a little help.with the code for open the pdf documen and make zoom in a specific position of the page all at once when this is open.thanks in advance, for the inconvenient.
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.