we MUST ensure that the change will affect just this one;
so, if such flags are implicit (inherited), they MUST be cloned
and explicitly assigned to this field in order to apply changes.
*/
PdfDictionary baseDataObject = getBaseDataObject();
PdfInteger entry = (PdfInteger)baseDataObject.get(PdfName.Ff);
if(entry == null) // Implicit flags.
{
// Clone the inherited attribute in order to restrict its change to this field's scope only!
entry = (PdfInteger)getInheritableAttribute(PdfName.Ff).clone(getFile());
// Associate the cloned attribute to this field's dictionary!
baseDataObject.put(PdfName.Ff,entry);
}
entry.setRawValue(FlagsEnum.toInt(value));
}