Solved

How do I add formula to attached Adobe Acrobat document?

Posted on 2011-09-14
4
386 Views
Last Modified: 2012-05-12
I would like to know if it is possible to add a formula to the attached file.
I want to be able to type in the actual load measured in the actual load column and the load variation % would be calculated. Please help.

Thanks in advance.
KM
1360---1361-JAR-TESTER-CALIBRATI.pdf
0
Comment
Question by:mcginniskj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:captain
ID: 36535045
Hi

I am not a java script developer, but as this is a division you need JS to avoid dividing by zero. Have a look at this:
http://forums.adobe.com/thread/825757?decorator=print&displayFullThread=true

I assume that you want to divide the actual load by the console pressure or the difference of the actual load and console pressure by the console pressure. Either way you need to tell Acrobat about the console pressure so it can be used for calculation. For that you should put all console pressure variables into fields and make these 'Read only'. That way they cannot be edited but you can reference these for your calculation. At the moment Acrobat has these only as background text which you cannot use in a calculation.

Once you have got your formula right you then need to change the format to 'Percentage' and you should be done.

I would also recommend simplifying your field names as they are complex and you may end up with errors because of typos when you change your script. If you need to calculate the difference between console pressure  and actual load and then use the result as a dividend then you may find it easier using a field to calculate that difference first (fieldname1-fieldname2, for examle console1-actual1) and set the attribute to 'Hidden' so it is not visible but can be used for calculation.

The difference calculation formula goes into the simple annotation option.

hth
capt.
0
 

Author Comment

by:mcginniskj
ID: 36535354
I need the difference of the console pressure and actual load divided by the actual load and this would give the load variance %. Do I need to add another column to show the load variance?
0
 
LVL 30

Accepted Solution

by:
captain earned 500 total points
ID: 36536102
That's what I meant with adding a filed for each variance and making this hidden.

The field should contain the formula for calculating the difference (console1-actual1) and be named for instance variance1.

You will then reference the fields variance1 & actual1 in the script provided in the link.

hth
capt.
0
 

Author Closing Comment

by:mcginniskj
ID: 36591310
Thank you
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
When the confidentiality and security of your data is a must, trust the highly encrypted cloud fax portfolio used by 12 million businesses worldwide, including nearly half of the Fortune 500.
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question