Package com.evopdf
Class PdfForm
java.lang.Object
com.evopdf.PdfForm
This class represents the PDF form of a PDF document
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addButton
(PdfPage pdfPage, PdfFormButton button) Creates a button in PDF formvoid
addCheckBox
(PdfPage pdfPage, PdfFormCheckBox checkBox) Creates a check box form field in PDF form of the PDF documentvoid
addComboBox
(PdfPage pdfPage, PdfFormComboBox comboBox) Creates a combo box field in PDF formvoid
addListBox
(PdfPage pdfPage, PdfFormListBox listBox) Creates a list box field in PDF formvoid
addRadioButtonsGroup
(PdfPage pdfPage, PdfFormRadioButtonsGroup radioButtonsGroup) Creates a group of radio buttons in PDF formvoid
addTextBox
(PdfPage pdfPage, PdfFormTextBox textBox) Creates a text box form field in PDF form of the PDF documentvoid
Gets the form parent document
-
Method Details
-
parentDocument
Gets the form parent document- Returns:
- the form parent document
-
addCheckBox
Creates a check box form field in PDF form of the PDF document- Parameters:
pdfPage
- the PDF page in which to place the check box controlcheckBox
- the check box field to add
-
addListBox
Creates a list box field in PDF form- Parameters:
pdfPage
- the PDF page in which to place the list box controllistBox
- the list box field to add
-
addButton
Creates a button in PDF form- Parameters:
pdfPage
- the PDF page in which to place the buttonbutton
- the button field to add
-
addTextBox
Creates a text box form field in PDF form of the PDF document- Parameters:
pdfPage
- the PDF page in which to place the text box controltextBox
- the text box field to add
-
addComboBox
Creates a combo box field in PDF form- Parameters:
pdfPage
- the PDF page in which to place the combo box controlcomboBox
- the combo box field to add
-
addRadioButtonsGroup
Creates a group of radio buttons in PDF form- Parameters:
pdfPage
- the PDF page in which to place the group of radio buttonsradioButtonsGroup
- the radio buttons group field to add
-
flattenFields
public void flattenFields()
-