Custom StateModel not honoured in Acrobat

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Custom StateModel not honoured in Acrobat

Post by lidds »

MyCustomStatus_1080.zip
(2.2 MiB) Downloaded 40 times
Within my application I have given the user to create custom annot statuses and for these to be added as a StateModel, which I believe is the correct way according to Adobe PDF format. Below is an example JS code for this:

Code: Select all

// Create the state model 
Collab.addStateModel({
cName: "MyApp",
cUIName: "MyApp", 
oStates: 
{
"Accepted": {cUIName: "Accepted"},
"Back Drafted": {cUIName: "Back Drafted"},
"Cancelled": {cUIName: "Cancelled"},
"Completed": {cUIName: "Completed"},
"Incorporated": {cUIName: "Incorporated"},
"None": {cUIName: "None"},
"Rejected": {cUIName: "Rejected"}
}, 
});
The issue I have is that this all works OK within my tool, however when I save / export the PDF that has used these custom statuses they are not recognised in Adobe Acrobat?

I have attached a video to show the situation. Am I doing something wrong? As my understanding according to Adobe PDF standard is that these statuses should be retained.

Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Custom StateModel not honoured in Acrobat

Post by Sasha - Tracker Dev Team »

Hello lidds,

Does it also reoccur in the End-User Editor?

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply