I learned that adobe acrobat js api has method Field->setAction. http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/AcrobatDC_js_api_reference.pdf
Is there way to get Field Calculation in concole in Acrobat pro?
My goal is - to print in console all calculations performed on given PDF page. Then i can copy and save it as json/text file.
function getCalculations(pageN){
for ( var i = 0; i < this.numFields; i++) {
var fname = this.getNthFieldName(i);
var field = getField(fname);
if(pageN == field.page){
//todo console.println(field->getAction somehow)
}
}
}
Thanks