Unlock the power of Acrobat SDK through our community.
Askettäinen
Hi.I've designed a very simple form in Acrobat Pro DC, with a bit of JavaScript, which is intended to handle risk evaluation in program management.The functionality works in the following applications installed at my organization: Acrobat Pro DC; Acrobat Standard 11; Adobe Reader 11.My client is using Adobe Reader DC, with JavaScript enabled, but none of the script functions at all - neither the Calculate scripts nor the Mouse Up actions.There is a grid composed of 25 squares (for which I'm using a radio button, "Current_Risk", with 25 choice elements); there are two associated dropdown fields, "Current_Likelihood" and "Current_Consequence". The choices are labeled by likelihood and consequence - for instance, L5C1, or L2C3.Setting both Current_Likelihood and Current_Consequence sets the value of Current_Risk, selecting one of the radio button choices.Clicking on one of the radio button choices sets the appropriate likelihood and consequence ratings in the drop downs.There's also a but
I setup a dynamic stamp which I need to use quite often as a favorite in Adobe Acrobat XI. When I closed the program and opened it up again, it wasn't there and I needed to set it up as a favorite again. I've noticed that this is a recurring pattern. Is there a way to avoid this?
i know I can open up each PDF file manually and view the File / Properties / Desc info like Title, Author, Keywords, Number of Pages, etc.I want to do this programmatically and pull this data into a database which can be used as a simple document management system.Please note I said SIMPLE, I don't know why it is so difficult to explain this concept to support that over complicates the issue. You would think Adobe would provide a simple interface to do this with Reader or the full Acrobat.Here is the scenario. I have thousands of Acrobat PDF documents on my hard drive. Each PDF file I know in the files Header maintains this metadata information of Document Properties. I want to retrieve this information so as to create a document database catalog or management system. Initially I have some 15,000 pdf documents I need to track.Here is a picture of the information I want to obtain programmatically via an automatic scripted process. Or if their is a utility that wi
Similar to how we would use var quads = this.getPageNthWordQuads(pg,word); is there a way to get screen coordinates for other objects in the pdf document? (pictures, etc)Thanks in advance!
Hi,I have a question regarding the Acrobat Software Developer Kit and Adobe Acrobat user licenses. We developed a text analysis software prototype for the internal use of one of our client. For one specific step of the process, we need to extract text from pdf to html : Our solution uses Acrobat SDK IAC to automate this exportation process. We now want to deploy the software on the company’s information system: * The software will be hosted on the company’s internal servers. * The frequency of Acrobat IAC API calls is estimated to be 20 calls per day. I would like to know what license is needed for this kind of use: * Is it possible to use a regular user license for this purpose or do we need a specific one for professional uses ? * Is the number of calls to the API limited with the regular license ? Thank you in advance for your answer. Best regards
I want to apply a spot color to an image object(PDEImage). - Case gray scale, apply a spot color to the whole image. - Case binary image, apply a spot color to only a black part(value == 0).I programed as follows, but a spot color isn't applied to an image object.But, when I check it by the Output Preview, the name of a spot color is applied.It could be applied by processing similar to PDEPath.Is processing needed additionally to apply it to PDEImage? Or is it necessary to use other API?Would you let me know, please?-------------------------------------------------------------------// create PDEColorSpaceColorSpaceSettingInfo colorSpaceSettingInfo = comEnvironment.getObjectObjColorInfo();PDEColorSpace colorSpace = createRGBSpotColor(pdDoc, colorSpaceSettingInfo);// create PDEColorValuePDEColorValue pdeColorvalue;memset(&pdeColorvalue, 0, sizeof(PDEColorValue));pdeColorvalue.color[0] = FloatToASFixed(Tint / 100.0f);// apply PDEColorSpace and PDEColorValue to PDEImagePDEGraphic
I have an Action Wizard custom action (used previously in Acrobat Pro XI), which uses some JavaScript to add previous/next page, print and home buttons on every page of a document. This worked well before upgrading to DC, but now fails to complete if the document size goes beyond a handful of pages. I really do need a quick solution to this issue, any idea why this is not working in DC? I have tried to run this same custom action on Mac and PC versions of Acrobat Pro DC with the same result.
I can extract all image by menu of Acrobat:Tools >> Document Processing >> Export All Images.But i want call this function from my app.Can call action from javascript or extract all image by Javascipt?
My code process save PDDoc to Image:PDDoc NewDoc = PDDocCreate ();ASPathName imagepath ="E:\\Acrobat 10 SDK\\TestData\\Image.png"imagepath = ASFileSysCreatePathName(NULL, ASAtomFromString("Cstring"), str, 0);AVDocOpenFromPDDoc(NewDoc, NULL);PDDocSave(NewDoc, PDSaveFull | PDSaveLinearized, imagepath, NULL, NULL, NULL);But result Image.png error can't open.How can saveAs a PDDoc to image file? Thanks all.
I have an issue in Windows 10 with Acrobat PRO DC version 15.006 and Acrobat Reader DC version 2015.017 and the Brother HL-2270DW printer. No option for duplex or double sided printing available. Any other application (Word, Excel, Edge etc.) allows to print double-sided. The latest version of Brother printer driver is installed.
need a custom calculation script to calculate standard deviation from 8 Rows , this will be a .pdf form the input variable data points will be from users using this template as a form.I can get the average from the simple calculation but struggling with the script for the standard deviation. Any help would be appreciated.Header 1Header 2Header 3Header 4Header 5Header 6Header 7Header 8Header 9Header 11sample1Row1sample2Row1sample3Row1sample4Row1sample5Row1sample6Row1sample7Row1sample8Row1Averagestddeviation
My PDF form is displaying into Frame. I need to submit PDF form from outside of PDF and post data into particular action in PHP. I know one function Doc.submitForm() but currently I am not able to access Doc object outside of PDF.Can you please help me?[Moved from the Forum Comments forum (which is for issues regarding these forums themselves) and into a PDF-specific forum - moderator]
I have the following codeBMR.createChild currentCollege & " " & pageNum, "this.pageNum =1"It successfully creates a bookmark within my PDF, but the action doesn't work. It will not jump to the correct page. Any help would be much appreciated.Thanks
Hello! I am creating a form that has essentially an unlimited number of pages. I am creating equipment checklists and would like do one of 2 things:Create a button on page 1 that shows/hides page 2. Then, create a button on page 2 that shows/hides page 3.... and so on.
This is my code add a Rectangle to PDEElement:AVRect rect;PDEElementGetBBox (pdeElement, &bbox);AVPageViewRectToDevice (pageView, &bbox, &rect);sprintf(jsScript, "var a = this.addAnnot({page:%d,type:'Square'}); a.name='%s';a.rect=[%d,%d,%d,%d]; ",i,"P"+j, rect.left ,rect.top , rect.right, rect.bottom); AFExecuteThisScript (myPDDoc , jsScript, NULL);Position of Rectangle in Result not correct.How can get coordinates of PDEElement?Thanks all.
HI,I'm not sure what the proper etiquette is when asking questions. but here is what I want to do. When a number (this time a measurement) is entered in a text field (field_01) I would like a predetermined number to show up in another text field (field_02). The problem is the number in text field 1 would have to be between, for example greater that 50 and less than 100. Meaning when all numbers between 50 and 99 are entered in field 1 number is generated in field 2. And if a number is put in field 1 lets say, between 100 and 150, a different number is generated in field 2.I hope this is making sense. I added a graphic. thanks so much.
I had get a Object on PDF,PDEContent pdeContent = PDPageAcquirePDEContent(pdPage, gExtensionID);PDEElement pdeElement = PDEContentGetElem(pdeContent, 0);Now, i want save this object to a image.How can save a PDEElement to a image?Thanks all!.
I have PDF form in frame and I need to submit PDF form data into particular post. Below is code.<html> <head> <title>PDF Form Filling Session Demo</title> </head><frameset cols="*,200" > <frame id="pdfid" src=<?php echo $form_frame_url ?> name="form" scrolling="no" marginwidth=0 marginheight=0 frameborder=1> <frame src="sidebar_single.html" name="sidebar" scrolling="auto" marginwidth=5 marginheight=5 frameborder=1> </frameset> </html>Now Can I access frame property and submit PDF form?[Here is the list of all Adobe forums... https://forums.adobe.com/welcome][Moved from Comments forum to specific Program forum... Mod]
Hi Good day Everyone,I would like to seek support to answer my acrobat problem. Im doing a project specifically a multiple check box that has a specific value.Example: Check box 1, 2, 3, 4 & 5 have their values 1A, 1B, 1C, 1D 1E. I wanted to get the result in the check box like this: 1A, 1B, 1C, 1D 1E.Would it be possible? I'm working with this code I got from one of the questions here:event.value = this.getField("1B").value;// if value is "Off" then clear the fieldif (event.value == "Off") event.value = "";It's working, only when you select one check box. What I wanted to do is to select multiple boxes and the result will be in a displayed in a comma.On the side, I want also to calculate the number of check box selected on text field that will support the result on the other text field.Example:Text Field (No of Check box Selected) 6Text Field (selected Check Boxes) 1A, 1B, 1C, 122B, 121B, 120BThank you in advance for your support!
If i add this code to BasicPlugin, can't build ok. char jsScript[1025]; sprintf(jsScript, "var a = this.addAnnot({page:%d,type:'FreeText'}); a.name='%s';a.contents='%s';a.textFont=font.Helv;a.textSize=12;a.rect=[%d,%d,%d,%d]; a.fillColor=color.white; a.textColor=color.%s; a.width=0; a.alignment=0;",i,"txt",""+j, bbox.left,bbox.top, bbox.right, bbox.bottom,"red"); AFExecuteThisScript (myPDDoc , jsScript, NULL);log:e:\acrobat 10 sdk\version 1\pluginsupport\samples\basicplugin\sources\basicplugin.cpp(98) : warning C4101: 'ptr' : unreferenced local variablee:\acrobat 10 sdk\version 1\pluginsupport\samples\basicplugin\sources\basicplugin.cpp(97) : warning C4101: 'annot' : unreferenced local variablee:\acrobat 10 sdk\version 1\pluginsupport\samples\basicplugin\sources\basicplugin.cpp(99) : warning C4101: 'buf' : unreferenced local variablee:\acrobat 10 sdk\version 1\pluginsupport\samples\basicplugin\sources\basicplugin.cpp(100) : warning C4101: 'ato
Help!! I am not able to see any shading or highlights in my documents. I am using Adobe Acrobat Pro XI on a PC.NOTE: These are editable text documents, not scanned images. I have used this program for years with no issues until a couple weeks ago.There are tables in my documents in which the headings have a light green background; these are not visible. If I make editing remarks, the highlight tool will create an outline but nothing visible. Similarly, if I had a comment, it is simply a white box with the comment icon - it used to be yellow.I have searched the internet high and low with no answers. I have repaired the program with the install disc (and checked for updates) and still do not have a fix!! If I open the documents on another computer, even with Reader, then everything is visible on the page. I am the editor of a nationwide journal and this is making my job VERY difficult.Please help!!!dhaase
Does anyone know of a JavaScript that would allow you to have 2 text fields, one that displays a number in Inches, and other that displays the equivalent value in Millimeters, yet both can have a value entered into it with the result being the other field re-calculating to the equivalent value in Inches or Millimeters?In other words, both fields would be acting as an input field AND an output display field at the same time.
HelloI have tried googling with no luck and really need some help.I need to add 'Date printed dd/mm/yy' to my PDF docs. I have tried to enter a script I have found on line within the calculation of a 'form' but all this does is create the current date and not the actual date the doc was printed. Should I be adding something in to the actions/javascript instead? I need to text to show on the document too and not just hidden until printed.Thanks in advance
I wrote the following code to get the text from a PDEtext element, however, the AVAlertNote is appearing blank. How would I go about fixing the problem. int blen;blen=PDETextGetText(pdeText,kPDETextRun,k,NULL);char* stringBuffer = (char*)calloc( blen + 1, sizeof(char) );PDETextGetText(pdeText,kPDETextRun,k, (ASUns8*)stringBuffer); AVAlertNote(stringBuffer);
We are trying to setup a dynamic stamp in Adobe Acrobat Standard DC 2015. We have created the file and the stamp is working as a static stamp. We would like to automatically insert the current date and open a user input window to enter a line of characters. I don't have any javascript experience and we have been trying to piece together how to do this from articles on the web. What we have so far is var cDate = util.printd("dd/mm/yyyy", new Date());var cAsk = "Payment Method" ;var cTitle = "Payment Method: ";if(event.source.forReal && (event.source.stampName == "#paid_stamp")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.exhibit = cMsg;}We have gone into Prepare Form and put this into the Text Field Properties / Calculate tab of the first text filed (the date field). Does anyone have a step-by-step guide on how to make this work. It seems very complicated for such a simple requirement.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.