These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Collab object and plugins

ulrike73
Registered: Jul 23 2007
Posts: 22
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

My Product Information:
Acrobat 3D 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is really a developer question. You should try asking it on the Adobe User to User forums.

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

ulrike73
Registered: Jul 23 2007
Posts: 22
Thanks.

I did not find a direct hint to the required callback in the sdk documentation. But I hope for a positive reply by the sdk user forum.

Ulrike