Package | Description |
---|---|
com.itextpdf.forms.fields |
Modifier and Type | Method and Description |
---|---|
static PdfTextFormField |
PdfFormField.createMultilineText(PdfDocument doc, Rectangle rect, String name, String value)
Creates a named multiline text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createMultilineText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
Creates a named multilined text form field with an initial value, with a specified font and font size.
|
static PdfTextFormField |
PdfFormField.createMultilineText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, int fontSize)
Deprecated.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc)
Creates an empty text form field .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect)
Creates an empty text form field .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name)
Creates a named text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value)
Creates a named text form field with an initial value, and the form's default font specified in PdfAcroForm.getDefaultResources() .
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize)
Creates a named text form field with an initial value, with a specified font and font size.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, float fontSize, boolean multiline)
Creates a named text form field with an initial value, with a specified font and font size.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, int fontSize)
Deprecated.
Will be removed in 7.1. Use
PdfFormField.createText(PdfDocument, Rectangle, String, String, PdfFont, float) instead.
|
static PdfTextFormField |
PdfFormField.createText(PdfDocument doc, Rectangle rect, String name, String value, PdfFont font, int fontSize, boolean multiline)
Deprecated.
Will be removed in 7.1. Use
PdfFormField.createText(PdfDocument, Rectangle, String, String, PdfFont, float, boolean) instead.
|
PdfTextFormField |
PdfTextFormField.setComb(boolean comb)
Meaningful only if the MaxLen entry is present in the text field dictionary and if the Multiline, Password, and FileSelect flags are clear.
|
PdfTextFormField |
PdfTextFormField.setFileSelect(boolean fileSelect)
If true, the text entered in the field represents the pathname of a file whose contents are to be submitted as the value of the field.
|
PdfTextFormField |
PdfTextFormField.setMaxLen(int maxLen)
Sets the maximum length of the field?s text, in characters.
|
PdfTextFormField |
PdfTextFormField.setMultiline(boolean multiline)
If true, the field can contain multiple lines of text; if false, the field?s text is restricted to a single line.
|
PdfTextFormField |
PdfTextFormField.setPassword(boolean password)
If true, the field is intended for entering a secure password that should not be echoed visibly to the screen.
|
PdfTextFormField |
PdfTextFormField.setRichText(boolean richText)
If true, the value of this field should be represented as a rich text string.
|
PdfTextFormField |
PdfTextFormField.setScroll(boolean scroll)
If true, the field scrolls (horizontally for single-line fields, vertically for multiple-line fields) to accommodate more text than fits within its annotation rectangle.
|
PdfTextFormField |
PdfTextFormField.setSpellCheck(boolean spellCheck)
If true, text entered in the field is spell-checked.
|
Copyright © 1998–2017 iText Group NV. All rights reserved.