『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
I try to convert Html to Pdf using Adobe.PDFServicesSDK, the Pdf is got generated but, when I try to delete the html file its showing like it's opened in another process.FileRef source = FileRef.CreateFromLocalFile(filePath);the above method is not disposing. and how to delete the filePath.below I added the code I got from the Adob github page.please help me to resolve this issue. Credentials credentials = Credentials.ServicePrincipalCredentialsBuilder().WithClientId("#").WithClientSecret("#).Build();//Create an ExecutionContext using credentials and create a new operation instance.Adobe.PDFServicesSDK.ExecutionContext executionContext = Adobe.PDFServicesSDK.ExecutionContext.Create(credentials);CreatePDFOperation htmlToPDFOperation = CreatePDFOperation.CreateNew();// Set operation input from a source file.FileRef source = FileRef.CreateFromLocalFile(filePath);htmlToPDFOperation.SetInput(source);// Provide any custom configuration options for the operation.SetCusto
I put together a concept app for data mining that searches for phrases in a PDF.It was written in c#, sources are in GitHub (jstateson) and demo is hereThe app does not work unless Adobe pro is installed which is unfortunate. In addition, for some reason, I cannot build it for x64 platform. Not sure why and the Micro$oft explanation given in Visual Studio 2022 is obtuse. I can build it for x86 and "Any CPU" but not x64. I assume the problem is related to the SDK but I could be mistaken. The app is not too useful since Pro is required. I was looking around for any 3rd party PDF library, module or jar to where a beetter app could be used with on a windows or mac system and not be stuck with licensing. Thank you for any advice or recommendations.
There are many developer SDKs that can extract the tag tree of a tagged PDF (a PDF with accessibility markup), and there are many that can extract the PDF content as one big text string. However I need to find the specific content which each tag points to in the PDF. I know Acrobat has this data because you can clearly see it in the tag tree in Acrobat (picture attached), but is this programmatically possible through an API? thank you
I am new to this and built a test app to search through a PDF usinv dotnet (C#) the app builds correctly but when I run it I get the folloowing errorSystem.Runtime.InteropServices.COMException: 'Retrieving the COM class factory for component with CLSID {7CD069A1-50AA-11D1-B8F0-00A0C9259304} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)).'The class in in the registery (I looked, windows 11) and the project references are all found in Visual Studio 2022 but the DLLs come from my licensed 2015 Acrobat Prousing Acrobat; using AFORMAUTLib; --- IAFormApp formApp = new AFormAppClass(); Thanks for looking!
Hello! I'm having a problem with the highlight tool. When I select a text to highlight, the tool highlight it but only around the text (example on the image), not over the text as it used to in my old notebook. I have visual problems so it is difficult for me to differentiate between a highlighted or not highlighted text 😞I've tried changing prefferences, different documents where I knew I was able to highlight before and closing and restarting Adobe Acrobat Reader but my problem remains.
Using PDF XFA forms created with Adobe LiveCycle Designer ES4. Data stored in a Microsoft Access database is converted to an XML file and then imported into a blank PDF XFA form using importXFAData. My workgroup has been using this feature for over three years with huge success/satisfaction. VB code clip:Dim AcroApp As ObjectDim theForm As ObjectDim jso As ObjectSet AcroApp = CreateObject("AcroExch.App")Set theForm = CreateObject("AcroExch.PDDoc")theForm.Open myBlank 'open the blank PDF form with path=myBlankset jso = theForm.GetJSObjectjso.importXFAData myFile 'import the xml file located at path=myFile
I keep getting these errors. I've gone back and copied/pasted field names exactly, but can't correct. Any guidance greatly appreciated!TypeError: this.getField(...) is null11:Field:Mouse UpTypeError: this.getField(...) is null31:AcroForm:CkBxOR82040:Annot1:MouseUp:Action1TypeError: this.getField(...) is null11:AcroForm:CkBxOR82040:Annot1:MouseUp:Action1TypeError: this.getField(...) is null26:Field:Mouse UpTypeError: this.getField(...) is null55:AcroForm:CkBxOR82040:Annot1:MouseUp:Action1 Here's the checkbox field 'mouse-op javascript' I'm using. if (event.target.value == "or") {// box is checkedthis.getField("RBCoOwnerResident82040").display = display.visible;this.getField("RBCoOwnerCitizen82040").display = display.visible;this.getField("RBCoOwnerHear82040").display = display.visible;this.getField("RBCoOwnerType82040").display = display.visible;this.getField("CoOwnerName82040").display = display.visible;this.getField("CoOwnerPhone82040").display = display.visible;this.getFiel
Just like the title suggests, I want to create a custom button. Once the user clicks on the button, they'll have the choice to enter their own password (or I can set one in the code.) Then, when someone tries to open the document, they'll be asked to enter the password they either picked or that I set in the code. If the password is wrong, no access to the PDF will be granted. Do you think this can be done?
We have tried a variety of methods and javascript and absolutely nothing will work. Ideas and help are greatly appreciated!Here are two codes we tried with no luck:var A = this.getfield("Group16").value;var Y = this.getfield("Text21").value;var Z = this.getfield("Text22").value;if (A=="Choice1")document.getElementById("Text27").value = Y;else document.getElementById("Text27").value = Z;document.getElementById("Text27").value=this.getElementById("Group16").value;#2:var S = this.getfield("Text21").value;var T = this.getfield("Text26").value;{if(Group16.value=="Choice1"){var S=this.getfield("Text21")}else{var S=this.getfield("Text26")}}
Hey there, I have a given date which is a form field "Case.DATE(Date dd.MM.yyyy)", and need to check, if it's before or after the 14.09.2022.Based on that, another form field should just be filled in with an "x".Is that possible with a util function?Also, is there a way to automatically subtract 3 days from that given date?Thousand thanks in Advance!
Can Acrobat/Reader be minimized from within a plugin?
Hello everybody. Is there any way to align a line of a text field horizontally, and then, when you press enter, the two lines of text are both horizontally aligned as well? please check this image, to make it more clear. Maybe some javascript code to solve it? thanks!
I have a radial section with 4 options. They're connected so that only 1 option is allowed. I'm looking to have each option tie to fields in the form so that certain fields are hidden or showing if a specific radial option is selected. In this picture, in the Reason area, there are 4 radials. If we select "New Drawing", I am trying to have the lower half of the screen to hide the 2 drop downs listed as well as the fields undert location, quantity, and tag #. If we select "New Revision", I want those hidden fields to show. How can I achieve this?
Hello,I need to create a link to the selected text so that when I click on it a certain page opens in the browser.I created a PDAnnot objectPDAnnot annot = PDPageCreateAnnot (page, ASAtomFromString ("Link"), & fr);Now, as I understand it, I need to add an action to this object - PDAction. But I don’t know how to do this. There is no such example in the Acrobat DC SDK in Documentation and in projects.Help me, please.
I know I have seen one, and now that I am at a point where I need to do this, I can't find it.
I've got a script to set a date field (LastDayWorked) as one day before another date field (TermDate) but when I clear out the original TermDate the LastDayWorked auto defaults to the day before the current date. I'm not sure how to adjust the script so that if the TermDate field is blank then so is the LastDayWorked as I only want a date populating there if there is a TermDate entered. Any suggestions on how to clear this field? I've currently got: var numDaysToAdd = -1 ;var fromDate = util.scand("yyyy-mm-dd", this.getField("TermDate").value) ;var toDate = fromDate ;toDate.setDate(fromDate.getDate() + numDaysToAdd) ;event.value = util.printd("yyyy-mm-dd", toDate) ; Greatly appreciate any/all insight! Thank you!
Hi Forum Whizzes,This is such a trivial little thing, but it is really bothering me that I can't make it work.I have a form which contains many input fields for Name, Address, Website, Email, Phone Number, etc. One of the pieces of data I would like the user to supply is the name of their Instagram account ie: @AcrobatJavascriptDunce (Which should probably be mine...)Rather than have external titles for the fields, the style on the form is that the text box contains default text, which tells the user what they need to put in the box. So the default text for the Website field is "Website", obviously, and the default text is displayed in red. I have it set up so that when the user clicks on that field, the default text disappears, and the cursor is in the box ready to type, and when they DO type, the text is now displayed in black. It all works very nicely for my other fields, but for the Instagram field, I would like the action to be subtly different.When the user clicks on the default
StartProcess doesn't run in protected mode, but what if clients are reluctant to turn protected mode off? Are there any settings where I can specify that my plugin should be allowed to call StartProcess, even if protected mode is on? CheersPete
I am encountering an issue with character encoding and equations created in MS word. I have googled this to death and wanted to see if someone has a solution for us. The issue seems to be the font Cambia Math, but I can't figure out how to resolve it. In the past we converted equations to images and used alt text for the reader, but it is inefficient. I am running Windows 10 and the continuous release version of Acrobat Pro.ei
Hi all, I am creating a PDF-Form as a Service Sheet. But now iam stuck in a Middel of thing.i have following Fields: A, B , CField A (Start Time) is a Time Field in Format HH:MMField B (End Time) is a Time Field in Format HH:MMField C is a Variabel Integer Field (Text Field) I would like to Program this in Javascript to do the Follwing:When i enter a Time in Field A in Format HH:MM and a Number in Field C. The Output in Field B will be the Sum of Time in Field A und The Number from Field C in HH:MM format. Exampel:Field A have the Value 14:00.Field C have the Value 2Field B should give the Value 16:00 I tried some Javascripting but without successIam using Adobe Acrobat Pro 17.I would be very Thankfull for your help.
I keep getting this error everytime I try to type in a newly opened PDF. I have tried several times to follow the instructions in the "correct answer" post, and it does not correct the issue. Any other suggestions? Using Windows 10.
After Adobe "help" chat basically told me they won't help and to go elsewhere AND exhausting all community suggestions that I tried. I had a weird idea that worked. After removing Adobe and removing every Adobe related file I could find...I reinstalled....AGAIN...but this time I told it to load as the TRIAL version which installed and asked if I had a code, I put it in and....NO ERROR! Everything worked as it did before the code first showed up. Of course I lost preferences but the programs work again.
encountering a problem while automating PDF form filling and attempting to open the print dialog in Adobe Acrobat using Python. Despite ensuring the correct installation of Adobe Acrobat and validating the code, we encountered difficulties accessing the PrintWithDialog method. However, unable to resolve the issue with the PrintWithDialog method and encountered an AttributeError when attempting to access it.
Is there anything special that needs to be done to post to the Windows Applicationevent log? Using some boilerplate code that doesn't get any error, but not seeing anything in the log.I had to set up the policy.txt file to allow file access and to run an external application, but didn't see anything in the docs about event log access.
Hi all. I have created a digital form for use in the iPad where myself and users can put a signed signature in the document. I have created a reset button for the form, it adds the signatures option to reset but will not reset the signatures and they remain. I have tried JS from another post and added JS to another button to test but still does not delete the signatures. Is this possible by Java Scripts ?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.