public PBoxPDAcroForm( org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm acroForm, PDDocument document, PDFAFlavour flavour) { super(acroForm, ACRO_FORM_TYPE); this.needAppearance = acroForm.getNeedAppearances(); this.document = document; this.flavour = flavour; }
if (acroForm != null && acroForm.getNeedAppearances())
if (acroForm != null && acroForm.getNeedAppearances())
/** * Applies a value change to the field. Generates appearances if required and raises events. * * @throws IOException if the appearance couldn't be generated */ protected final void applyChange() throws IOException { if (!getAcroForm().getNeedAppearances()) { constructAppearances(); } // if we supported JavaScript we would raise a field changed event here }
if (acroForm != null && acroForm.getNeedAppearances())
if (acroForm != null && acroForm.getNeedAppearances())