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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -