15 Replies Latest reply on Oct 14, 2015 11:24 AM by gkaiseril

    Can I summarize comment statistics with JavaScript?




      I'm looking for a way to get at the comments in a PDF document. I would like to be able to count how many arre approved, etc, and spit it out to some kind of file. I'm stuck at the very beginning though. In the document object model, is there a way to get at the comment collection?


      I have tried searching the API documentation, but I cannot find it, but that is not enough for me to say it's not there. Can anyone help?


      Here's pseudocode:


      var d = this.comments;

                for (var i = 0; i < d.length; i++) {

                          // do something with each comment