FLAG_COMB
public static final int FLAG_COMB
A Ff flag.
FLAG_DO_NOT_SCROLL
public static final int FLAG_DO_NOT_SCROLL
A Ff flag.
FLAG_DO_NOT_SPELL_CHECK
public static final int FLAG_DO_NOT_SPELL_CHECK
A Ff flag.
FLAG_FILE_SELECT
public static final int FLAG_FILE_SELECT
A Ff flag.
FLAG_MULTILINE
public static final int FLAG_MULTILINE
A Ff flag.
FLAG_PASSWORD
public static final int FLAG_PASSWORD
A Ff flag.
FLAG_RICH_TEXT
public static final int FLAG_RICH_TEXT
A Ff flag.
QUADDING_CENTERED
public static final int QUADDING_CENTERED
A Q value.
QUADDING_LEFT
public static final int QUADDING_LEFT
A Q value.
QUADDING_RIGHT
public static final int QUADDING_RIGHT
A Q value.
doNotScroll
public boolean doNotScroll()
- true if the field is not suppose to scroll.
doNotSpellCheck
public boolean doNotSpellCheck()
- true if the field is not suppose to spell check.
getDefaultAppearance
protected COSString getDefaultAppearance()
- the DA element of the dictionary object
getQ
public int getQ()
This will get the 'quadding' or justification of the text to be displayed.
0 - Left(default)
1 - Centered
2 - Right
Please see the QUADDING_CONSTANTS.
- The justification of the text strings.
getValue
public String getValue()
throws IOException
getValue gets the fields value to as a string.
- getValue in interface PDField
- The string value of this field.
isFileSelect
public boolean isFileSelect()
- true if the field is a file select field.
isMultiline
public boolean isMultiline()
- true if the field is multiline
isPassword
public boolean isPassword()
- true if the field is a password field.
isRichText
public boolean isRichText()
- true if the field is a rich text field.
setComb
public void setComb(boolean comb)
Set the comb bit.
comb
- The value for the comb.
setDoNotScroll
public void setDoNotScroll(boolean doNotScroll)
Set the doNotScroll bit.
doNotScroll
- The value for the doNotScroll.
setDoNotSpellCheck
public void setDoNotSpellCheck(boolean doNotSpellCheck)
Set the doNotSpellCheck bit.
doNotSpellCheck
- The value for the doNotSpellCheck.
setFileSelect
public void setFileSelect(boolean fileSelect)
Set the file select bit.
fileSelect
- The value for the fileSelect.
setMultiline
public void setMultiline(boolean multiline)
Set the multiline bit.
multiline
- The value for the multiline.
setPassword
public void setPassword(boolean password)
Set the password bit.
password
- The value for the password.
setQ
public void setQ(int q)
This will set the quadding/justification of the text. See QUADDING constants.
q
- The new text justification.
setRichText
public void setRichText(boolean richText)
Set the richText bit.
richText
- The value for the richText.
setValue
public void setValue(String value)
throws IOException
- setValue in interface PDField
value
- The new value for this text field.
org.pdfbox.pdmodel.interactive.form.PDField.setValue(java.lang.String)
shouldComb
public boolean shouldComb()
- true if the field is not suppose to comb the text display.