I have PDF with acroForm that was created using Adobe Acrobat Standard DC.
There is Chekcbox field that I populate using Java iText 5. And I do not understand why, IMHO, form.getAppearanceStates(key) method return inconsistent values for this field.
String[] states = form.getAppearanceStates(key);
Why I find them inconsistent because values are: ["Off", "Yes"]
Are these default values? Does each form creation software has different default values? Why I ask about it, because my software can be used with documents created in many different ways. I am trying to work out all cases in my code.
I know I can change Export Value in Options of this field, but is default one will always be "Yes"? And is default unchecked value will always be "Off"?
Consistent values in IMHO will be like: ["On", "Off"] or ["Yes", "No"]