Extract PDF labels to a CSV file using JavaScript -
i extract page labels of pdf csv file, @ moment have loop shows labels in adobe acrobat javascript console.
the code is:
var labels = this.getpagelabel(0); (var i=1; i<this.numpages; i++) labels += ", " + this.getpagelabel(i); console.println(labels);
is there way export results console csv file or method create csv file expected results? thanks!
sure, possible.
you create data object, , export it. contents of data object labels string. syntax , additional information, see acrobat javascript documentation.
Comments
Post a Comment