class HexaPDF:: Type:: AcroForm:: JavaScriptActions:: SimplifiedFieldNotationParser
Parent | Object |
---|
Implements a parser for the simplified field notation used for calculating field values.
This notation is used if the predefined functions are too simple but the calculation can still be done by simple arithmetic.
Constants
Public Class Methods
Public Instance Methods
Parses the string holding the simplified field notation.
If operations
is :calculate, the calculation is performed and the result returned. If operations
is :generate, a JavaScript representation is generated and returned.
+nil+ is returned regardless of the +operations+ value if there was any problem.