コード例 #1
0
ファイル: PDField.java プロジェクト: lumpchen/pdfbox_ua
 /**
  * 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);
 }
コード例 #2
0
ファイル: PDField.java プロジェクト: lumpchen/pdfbox_ua
 /**
  * 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);
 }
コード例 #3
0
ファイル: PDField.java プロジェクト: lumpchen/pdfbox_ua
 /**
  * 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);
 }