Answered
Hi,
I am using "Collab.addStateModel" to create my own state model to categorize my comments within a pdf.
It is working nicely for all annotation objects created by Acrobat's native comment tools.
But for my own comment tool plugins (C/C++ API) the "show/hide by status" function does not work properly. But the status is displayed correctly within the comment navigation pane.
Is this behavior a restriction in the JS API or a bug of my plugins?
Ulrike
http://www.adobeforums.com/webx/.eed56a0/
However, in cases like this, Acrobat JavaScript doesn't so much restrict functionality, it simply doesn't implement it.
I don't know if the custom state model functionality in JavaScript is availible to custom annotation handlers in a plug-in. If it is, there should be a callback or property so you handler can handle it. If it's not in the SDK reference then it probably doesn't exist.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script