Ask Your Question
0

Math calculations in PDF forms?

asked 2015-03-16 22:11:50 +0100

Statler Waldorf gravatar image

From LibreOffice, is it possible to create a PDF form which performs mathematical calculations?

If so, how?

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted
0

answered 2015-03-16 23:32:51 +0100

updated 2015-03-16 23:33:58 +0100

It seems PDF has JavaScript scripting support. Just google for

pdf scripting

edit flag offensive delete link more

Comments

Thanks rautamiekka. A quick search turned up this sample document: http://www.pdfscripting.com/public/Fr...

Is it possible to accomplish this in LO?

Statler Waldorf gravatar imageStatler Waldorf ( 2015-03-17 15:57:14 +0100 )edit
0

answered 2015-04-08 17:28:49 +0100

vsiegel gravatar image

Answering what I expected from the title - in case someone else reads the question expecting the same :

To calculate expressions in the input fields of the from itself (which is different from what the question body asks for):

It could be done using an utility software that helps evaluating expressions inside the input fields:

An example would be Typinator (Mac OS) which advertises the feature "Inline Calculation".

Another approach would be a calculator utility that mirrors its output to a form field (or manual copy and paste to a calculator, of course) (I do not know whether that exists; Should be possible to do it with something like AutoKey)

edit flag offensive delete link more
0

answered 2015-03-16 23:28:49 +0100

ROSt52 gravatar image

A pdf-file is merely a printed document in a universal format. I cannot imagine that a pdf-file can make mathematical calculations.

edit flag offensive delete link more
0

answered 2015-03-20 16:32:36 +0100

Statler Waldorf gravatar image

I still do not know if this is possible with LO. However, my research lead me to an open-source tool call Scribus ( http://www.scribus.net ) which allowed me to build my PDF Form with calculated fields.

Thank you all for your input.

Statler Waldorf.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-03-16 22:11:50 +0100

Seen: 2,456 times

Last updated: Apr 08 '15