Unlock the power of Acrobat SDK through our community.
Recently active
I have created the following code and the result is NaN. I would expect it to be the sum of all values in total1 multiplied by 1 or 1.5 based on the results of IF statements above it. What am I missing? //Get all the values neededvar Pole1p = +getField("SP_Pole_Quantity").value;var Secondary1p = +getField("SP_SecondaryUG_Quantity").value;var Primary1p = +getField("SP_PrimaryUG_Quantity").value;var Pole3p = +getField("3P_Pole_Quantity").value;var Secondary3p = +getField("3P_SecondaryUG_Quantity").value;var Primary3p = +getField("3P_PrimaryUG_Quantity").value;var term = +getField("ContractLength").value;var PoleCost1p = +getField("SP_Pole_Ext_Cost").value;var MeterCost1p = +getField("SP_MeterLoop_Ext_Cost").value;var ServiceCost1p = +getField("SP_ServiceDrop_Ext_Cost").value;var XfmerCost1p = +getField("SP_OH_Xfmer_Ext_Cost").value;var SecondaryCost1p = +getField("SP_Secondary_UG_Ext_Cost").value;var PrimaryCost1p = +getField("SP_PrimaryUG_Ext_Cost").value;var PadCost1p = +getField(
I was trying to compare two PDFs in Acrobat DC which just didn't work (said it could not be completed, which googling confirmed just doesn't work in DC) so I found an old PC which luckily we had not upgraded and still had Acrobat X. That compared the documents. What I really want is a Word-style strikethrough/insert view, but Acrobat only gives me pop-up comments or a comment summary.Right, I'l work with that, but the actual changes to the text are buried within a whole lot of useless formatting comments, stating "text size changed" etc which are irrelevant. Don't care. Is there a way in Acrobat X to ignore formatting changes when comparing? More Googling brought up an Amazon book search result referencing Acrobat 8 which refers to a dialog where you can set all sorts of options like this, which seems to have disappeared from X.So can I do it in X, or is the Compare Documents feature just slowly being destroyed version by version, as it appears to be getting worse?
HiI have a calculated field "Calc_Example". I want another field "Calc_Example_Override", where the default value is the same as the value of "Calc_Example" but where the user can override the value (and bring the suffix with it). I've got the default bit working but not the override functionality. On searching this forum it looks like I may need to adjust the script to check the source of the event but to be completely honest, I don't even understand what that means. Can anyone give me an idea of what code I need to add & where? I've attached a basic example. TIA
I need to inject an XML file into a PDF using MS Access VBA.I don't want to do it through web but directly on my PC.What I have to use, PDF Libraries?I tryied to use them but VBA gives me an error using object. Do I need a licence?Do I need an Acrobat product installed? What kind of Acrobat: PRO, XI ?Thanks
Hello, I would like to transform the data return by PDEPathGetData to the page co-ordinates. The documentation said ...."Note that it returns raw path data. If you want the points in page coordinates, concatenate the path data points with the PDEElement matrix obtained from PDEElementGetMatrix()." I am not sure how to do this. Thanks you. P.
I am building a form for a small medical office. The provider wants a dialog box where he can check one or more of a few very common items. The form is being built on top of an existing document that has space limitations and cannot be modified. I have found tutorials for dialog boxes that ask for some user input, but nothing with multiple check boxes that allow me to pass the data back to my main form. I know this will involve some scripting, and I'm not afraid of that, but I am still learning javascript. I also have a budget of....nothing additional except my time, so joining a website isn't an option. I'm not asking for anyone to do this for me, just nudge me in the right direction that I can figure it out.Thank you,CalisMoonelf
Hi all!I have unburied a script from old days of Acrobat 8. It have a custom GUI, with elements that shows in rows forming groups, and all the groups in a column.But now, in Acrobat XI, all of them are showed in a single row of 3 screens wide.Here's the GUI's code (I have deleted a big portion, the elements are repetitive): // descricion de los elementos del GUI description: { name: 'REPrinter', //width: 180, //height: 200, type: 'cluster', align_children: 'align_offscreen', elements: [{ type: 'view', align_children: 'align_row', elements: [ { type: 'static_text', name: 'Combinaciones:', bold: true, font: 'dialog' }, { type: 'edit_text', item_id: 'ncom', SpinEdit: true, font: 'dialog', char_width: 3, height: 20 }, { type
Hello, Is it possible to itterate over all the containers using a script. Also, once I have a container, can I get its name / lable? See pic for my contianers. Thank you. P,
Using the format of the attached form. I would like to make it to where the unused fields are not visible unless needed. Is there a way to create a row of fields that the user could unhide or copy and insert under the previous section if additinoal info is needed? As you see, currently there are 10 Dependent fields, that most will not use. Can I create a button that will insert a new "row" when needed? I tried the hide option, but then it just left a big open space. I would prefer it to not look like that. I hope this makes sense. Thank you for any assistance.I am currently using Adobe DC.
We are Using the ActiveX Interface in LabVIEW (IAcroAXDocShim) in Order the View PDFs. The Software operates on Testbench and shows Test Reports at the End of the Test Procedure. The Acces of a user on the Device is Restricted to our Test Software only unfortionatly in the PDF View there is alwas the Adobe Menue Bar (either on top or the hovering one if you direct the mouse to the lower end of the PDF). This allows a user to open the Save Dialogue and therby get acces to the Windows Explorer and the Rest of the Computer. Ist there a Possibility to Show a PDF with no Acces to the Toolbar at all (also not by Pressing F8). Or at least without a save option gaining acces to the Explorer.
i found a problem when convert from pdf to excel in Arabic or Hebrew it gives me the right to left sentences flipped left to right . . . do you have a solution for this issue?
I have a javascript to search text on PDF and then highlight it.When it works over, an alert message box will be shown that it is over.My script works well on Acrobat XI, but on Acrobat DC, when clicking the OK button on the alert message box,Acrobat DC will be falled into a state of not responding,and this state lasts for about 10 minutes and then the alert message box is closed.In my script code, no code is executed after the app.alert(). The 10 minutes is too long, what should I check about this?My PDF file is created from some html files using "Get entire site" setting,and there are some kangxi radicals in it.Could these character be affecting the problem? Thanks.
We are developing a web-based application where we allow the user to download a custom pdf; this document will contain personalized information of a product (e.g. a mechanical part) and also a 3D interactive view of a model.Currently we are able to convert our models from .glb to .u3d to a single page .pdf document. What we want to do is to embed a .u3d into an existing pdf template to obtain a interactive 3D view inside the page. By my personal research my understanding is that this should be doable with PDFL SDK and javascript scripting. Is this correct?
I'm trying to copy all the links from an older edition of a document to a new document using javascript. How can I get the action of an existing link? In the Acrobat DC SDK Documentation, I see the link.setAction method but not link.getAction. The idea is to align the pages of the older edition to the newer edition as much as possible and then copy the links from the older edition to the newer. (As such, replacing pages is not a viable solution.) Thanks in advance.Tak
This is probably a trivial question, but I have no idea how to access the dataafter executing this.importTextData.The contents of myData.txt arebookmark0 bookmark1 bookmark2 Introduction Chapter 1 Chapter 2How do I retrieve the value of "bookmark0" for example?Thank you in advance.Tak
Submitting a PDF form designed using Adobe DC pro is working fine in Desktop version but its not working in the Adobe reader mobile. So is this feature is not supported by the mobile app.
I need to have an adobe acrobat form calculate a percentage. I have a field named, value_a that I need to multiply by a user entered value. For example is value_a is 100 and the user enters 20 in the percent field, I would like the form to calculate that 20% of 100 is 20. I don't know java script but this seems like it would be easy but I can't figure it out.
Hi, I would like to create a 3D-PDF from a CAD-System via C++. My plan is to create it with data I get from the CAD-System (coordinates of triangles etc.). I would like to know if the Acrobat SDK can do the following:Creating a scene:-Create a mesh using tessellated surfaces (as triangles) from CAD-Model (coordinates of the verticies and how they align)-Assign appearance attributes to that surface-Add different views-Add 3D-AnnotationsConvert the scene- Convert the scene to a U3D modelExport the model as 3D PDF- Export the U3D model into a PDF as a 3D- Manipulate the document -> size of the displayed area of the 3D-Model etc.- Add buttons- Add Java-script In a nutshell: I would like to know if I can create a scene, convert this scene to U3D and export it into a 3D PDF with Acrobat SDK or any SKD from adobe. I welcome every response to this post. sorry if I have expressed myself unclearly. Thanks in advance!
Hello I have a c# application that stores documents in Sql Server FileStream.One of my clients would like to be able to edit the document once it's been uploaded and save changes. With Microsoft Word I do this by lanching a Word instance, opening a temporary copy of the file then capturing the close/save of the document and pushing the changes back to FileStream. Can something similar be done with PDF files and Ado Pro 2020? If so can you please point me in the right direction where I can get more details on the interface? Thanks in advanceAllan
Hello I look for a simple standard deviation forumula between 2 numbers (called "ResultOldLot1" and "ResultNewLot1"). The equivalent of STDEV in Excel. I know nothing of java and everytime i try one of the formulas i find online it doesnt work.
I need to parse the meta-data of a given PDF file to get counters of different types of objects contained in a pdf and extract the various object. Say object of type "/JavaScript" or "/ObjStm".
I have an active Web API that I want to refernce in my script within Adobe Acrobat so that I can pull data from and populate the form fields in my document. I have read around and saw similar questions on these forums but nothing that matched my need or even worked for me. Any help in this area? Thanks in advance.
I am creating a form with mutli pay options available. I would like the first payment amount ("Amount To Be Paid on First Card") to autofill with the total amount but be editable if the total amount ("Amount To Be Paid") is to be split. In that event, I would also like other fields ("Amount To Be Paid on Second Card") to become required if the first amount is lesser than the total amount. I am entering the following code into the Amount To Be Paid on First Card custom calculation script field.It pulls the auto fill, it makes the secondary payment field required, but it does not allow the amount to be changed from the autofill of the total amount.I am still learning (mostly from this community) and would appreciate any help that can be offered. My attempt is below. Thank you for any assistance. event.value = this.getField("Amount To Be Paid").value; var n = this.getField("Amount To Be Paid On First Card").value; if (n < "Amount To Be Paid On Fi
Hi,I am hoping someone maybe able to help. I have been looking through but nothing is specifically working for what I need.I basically have a pdf with some document level javascript but would like to add some more.Basically there are 5 checkbox each saying a deptartment like 'Finance'I was wondering if I could get the checkbox to check when the document is automatically opened and it looks for specific string that contains (so it might have other text around it) "Finance" So for example Filename: 'Document Invoice - Finance - 1234.pdf'Ideally because the document title includes finance it would automatically check the textbox called 'Finance' on the PDF form? If finance wasn't there it wouldn't check the box at allAny help would be much appreciated. Many thanks,
Hi, I'm trying to do something very specific that seems to have been asked many times, but much information appears to be out of date in today's world of security precautions. I am trying to create a button on the last page of a PDF document that will allow a user, using Adobe Reader, to save the last page of the document to a separate PDF file preferably under the same folder as the current PDF that it was "extracted" from. In running the this.extractPages() function, I do not believe that a user has the ability to actually execute this function without going through some major configuration hoops to their Adobe Reader. It would be ideal to have the single page PDF open in a new tab and bring up the dialogue box for the Adobe Reader user to save to a location where they want it to be, and that may sound like it’s a bit more "security-minded" in that the script therefore is not saving the document itself. Using:this.extractPages({nStart:5, nEnd:5, CPath:'profil
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.