Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hello,I am developing a plugin for Adobe Reader which has to interact with an external web service.To interact with this web service, I'd like to use the C++ REST SDK, hence I have to include its library in my plugin.As soon as I add a source file using any C++ REST SDK object in my plugin, it will compile, load in Adobe Reader and unload as soon as it starts.If I just include the library in the source file, it runs normally. I tested my source file in another project and it works well.The only clue I get about this unloading is the following lines in the output of Adobe Reader (debugged in Visual Studio):'AcroRd32.exe' (Win32): Loaded 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins\MyPlugin.api'. Symbols loaded.'AcroRd32.exe' (Win32): Unloaded 'C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins\MyPlugin.api'Exception thrown at 0x7795A9F2 in AcroRd32.exe: Microsoft C++ exception: _ASExceptionInfo at memory location 0x005FD664.My plugin is successfully signe
I found this photo album in the forums and have been playing around with it. This question arises from trying to view it using the Reader DC. The album works fine up to a point. And that point is, not being able to delete the page if I need to delete it. Viewing it in Acrobat Pro X, I'm able to delete the pages I choose. Is it possible to delete page(s) in Reader DC or undo the spawned page? I've been searching through the forums and only found some info telling me that Reader can undo a page which has been spawned, but not how to do it with javascript. Can someone throw the dog a bone and tell me how to do it? A little example would be a big help. Thanks guys.
I want to apply redaction through coding with overlay red color text. My code has shown below PDRedactParams RParams; RParams = (struct _t_PDRedactParams *)malloc(sizeof(PDRedactParamsRec)); RParams->size = sizeof(PDRedactParamsRec);
So I already have some code that I found in these forums that works. Just trying to make it a bit better if possible.I just want to extract a certain number of pages (in my script below I am extracting the first three) from a batch of PDF's, and have them saved as "Extracted OriginalFileName.pdf". So far so good. So here is that code:var oldDoc = this; var newDoc = oldDoc.extractPages(0,2); newDoc.saveAs(oldDoc.path.replace(oldDoc.documentFileName, "Extracted " + oldDoc.documentFileName));What I would really like it to do is go through the entire batch without any user interaction. Right now the Javascript editor window pops up and you have to click "Ok" for each document in the batch.I did some searching, trying to find other simple scripts that behaved the same way, or other extraction scripts that might give me a clue as to what I might need to fix this relatively small issue and I have come up empty.If someone could point me in the right direction I would appreciate it.
Why does Adobe tool SignPlugIn frequently throw "can't update resource in plugin" error? It occurs once every 3 tries and seems less often if runs on the machine with fast hard drive.Procmon,i.e. process monitor, log shows that Adobe tool failed to access .api file because of a file named "RCXEBnn.tmp".
Rich text formatting is selected.this is a javascript question.This is a calculated field for a form field.I just want 1 variable, no array needed. I would like my variable to be bold, centered, and larger font. What I currently have... which do nothing...var val = getField("Products").value;val.alignment = "center";val.fontStyle = font.TimesB
I want to have a Save button on a form that saves the pdf based on what is in some fields. I would like the button removed from the saved pdf. I'm a Javascript newbie and I need to know where is the appropriate place to put the script to generate the file path (field, folder, document, etc.).I'm also not sure the file path will be created properly as it doesn't pass the field values with the debugger.var d = new Date();var text1 = this.getField("NCMN");var text2 = this.getField("CLASSLOT");var text3 = this.getField("PO");event.value = "/septaad1.org/shares/OPS_VehEng_Quality/NCMN/" + d.getFullYear() + "/NCMN_" + text1 + "_" + text2 + "_" + text3 + "_" + (d.getMonth() + 1) + "-" + d.getUTCDate() + "-" + (d.getFullYear().toString().substr(-2)) + ".pdf";
I'm using VS 2017 and Adobe Acrobat Reader DC. I would like to create WPF VB window form to display PDF file. Can some body explain or share sample code in VB to display PDF file?Thanks.
I need to be able to write to an existing PDF document using Microsoft Access. Which SDK do I need to purchase?
Hi,We have java web application.We have one functionality where users enter any string and result is pdf documents containing that string.Our requirement is that when user opens pdf document that entered string will get highlighted but highlighting should not be saved permanently in pdf.Please guide me how can I achieve this?Thanks
Is it possible to create / modify with JavaScript the "Submit form" button in order to send the PDF Form to SharePoint Foundation and not only the data (XFDF)?
I have a form with about 8 text fields that are used to mark how many of a certain thing they want to order. If they change any of the values to more than zero, it sets the budget field as required. Currently I'm using the following javascript on the onblur action on the 8 text fields:// test if field A is greater than 0;if(event.value > 0) {this.getField("txtGlCode").required = true;}This works and it sets the other field as required. But, I'm having an issue with it going back to non-required if they change their mind. Any ideas? Can I have a hidden field that does a tally and sets it or not? But then how do I subtract values? Any help would be appreciated.ThanksLacy
I do not want my form user to move to a subsequent field without filling the previous mandatory field. How do I do this?
Dear allis it possible we can extract all text from a page of PDF with text location or coordinates by writing a script. Thanks
Title is mostly explanatory, but I have a calculated field with headers... I want these to be centered, and larger font if I can... with the rest of the text being left alone
How to fill XFA-based form fields using interop.acrobat.dll c#?I have 3 pages it is replacing only first field in page only, could you please help on this
This one completely baffles me. When run inside the console, it works. When called from a framing script, it does not.I have a pdf document that contains a stamp. I wish to "get" that stamp so I can clone it into a different document. But here's where I run into a problem: Getting the annotations from the Javascript Console inside Acrobat DC...:var refDoc = app.openDoc("/ArtDept/ArtDept/JOBS/462000-462999/462000/CS/493130_T-N10-WHITE_CartoonNetwork_SPEC.pdf");console.println("refDoc is: " + refDoc);console.println("refDoc's name is: " + refDoc.documentFileName);var refAnnots = refDoc.getAnnots();console.println("refAnnots: " + refAnnots);works fine. `refAnnots` shows me a list of all the annotations (stamps included) in the document.If I run the *exact same code* inside of a much larger script, `refAnnots` is null. Meaning that the script couldn't find any annotations in the document.I've already made sure that the code sits inside of `app.beginPriv();` and `app.endPriv();` lines as we
Hello everyone,I created a form with some JavaScript functionality. It works in Adobe Acrobat DC, but it doesn't work in Reader on our company website.Is there a reason for this?Thanks,Jake
I've managed to find some javascript to put on a button in a PDF form that duplicates the page (after converting it into a template), but it is unlimited.How do I set a page limit to that button.This is the javascript I am using:var a = this.getTemplate("PDFTemplate");a.spawn();I know if I add a number inside the spawn() it will duplicate and add that number of pages.But I want it to stop adding pages after a certain amount say 3 pages and then the button stops duplicating the form.Any ideas?
I'm trying to use an action by Rick Borstein called "Filename Stamper" (File_Name_Stamper.sequ) which is totally awesome (thanks Rick!), but requires that I click OK every time for each document when I have selected multiple files with the file open dialog box. This got a little tedious after the first few hundred - is there a way around this?@
10493.3333333 need to round to nearest dollar amount if at $0.50 needs to round up anything less round down
I'm revising some old code used by our company for dynamic stamps that pop up a dialog box for input before the stamp is placed. In the code, "item_id" is used to uniquely identify the various text fields. I noticed that each one is using a four-letter abbreviation, such as "etcn" for "Edit Text field - Customer Name". I have also noticed this in my searches online, in my Acrobat Scripting Guide PDF, as well as in my "All About PDF Stamps..." Kindle book.Is this 4-character limit for the "item_id" property just a common convention used by programmers, or is it absolutely required and specified somewhere in an Acrobat scripting doc that I have somehow missed? Also, what other restrictions are there to "item_id"?
Hello allMy Adobe X1 Pro form has 16 dropdowns for food choices, It's grown to 20Mb.All works well but is inefficient when the list changes, also each dropdown has to be setup again.I would like to imbed the food list behind the form [java] and have to dropdowns fed from a single list.Has anyone a working example I can deconstruct pleaseAny support, re-directions appreciatedThanksPaul
Is there any method through which I can read the contents of PDF into Excel sheet without using Sendkeys? (Code preferred in Python, VBA, Javascript only)
I'm clearly not understanding something in this process.I converted a regular PDF form into a fillable form using "Prepare Form". My ideal being that people can eventually sign and send the form back to client directly from their browser/e-mail.I've made all the changes, saved the form, but when I open it from the web server location it just reverts back to being a bog-standard PDF that the user can't fill in!?What am I missing?Here's the form. When I open this locally it's fillable, when I open it from the web server, it's not. http://www.nathonjoneswebdesign.co.uk/caninerescue/PDFs/MEMBERS-APPLICATION-FORM-FILLABLE.pdf Hoping someone can point out the obvious!Thank you.NJ
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.