/** * sets the field to be required. * * @param required The new flag for required. */ public void setRequired(boolean required) { dictionary.setFlag(COSName.FF, FLAG_REQUIRED, required); }
/** * sets the field to be not exported. * * @param noExport The new flag for noExport. */ public void setNoExport(boolean noExport) { dictionary.setFlag(COSName.FF, FLAG_NO_EXPORT, noExport); }
/** * sets the field to be read-only. * * @param readonly The new flag for readonly. */ public void setReadOnly(boolean readonly) { dictionary.setFlag(COSName.FF, FLAG_READ_ONLY, readonly); }