public final class RichTextBoxField extends TextBoxField
Class describes rich text editor component.
_FileSelect, _Password
_disableUpdateAppearance
Constructor and Description |
---|
RichTextBoxField(Page page,
Rectangle rect)
Constructor for Rich Text Box field.
|
RichTextBoxField(Page page,
Rectangle rect)
Constructor for Rich Text Box field.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormattedValue()
Gets formatted rich text value with markup.
|
int |
getJustify()
Gets justification of the rich text box.
|
String |
getRichTextValue()
Gets rich text value.
|
String |
getStyle()
Gets default style string of the rich text field.
|
String |
getValue()
Get Value of RichTextField.
|
void |
setFormattedValue(String value)
Sets formatted rich text value with markup.
|
void |
setJustify(int value)
Sets justification of the rich text box.
|
void |
setRichTextValue(String value)
Sets rich text value.
|
void |
setStyle(String value)
Sets default style string of the rich text field.
|
void |
setValue(String value)
Set Value of RichTextField.
|
addBarcode, addImage, getForceCombs, getMaxLen, getMultiline, getScrollable, getSpellCheck, getTextVerticalAlignment, setForceCombs, setJustification, setMaxLen, setMultiline, setScrollable, setSpellCheck, setTextVerticalAlignment
add, clear, contains, copyTo, copyTo, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, isFitIntoRectangle, isGroup, isReadOnly, isSharedField, isSynchronized, iterator, recalculate, remove, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, size, updateAppearances
accept, getAnnotationActions, getAnnotationType, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequired
createAnnotation, getActiveState, getAlignment, getAppearance, getBorder, getCharacteristics, getColor, getContents, getEngineDict, getEngineObj, getFlags, getFullName, getHeight, getHorizontalAlignment_Annotation_New, getModified, getModifiedInternal, getName, getNormalAppearance, getPage, getPageIndex, getPdfActions, getRectangle, getStates, getTextHorizontalAlignment, getWidth, initialize, isUpdateAppearanceOnConvert, isUseFontSubset, setActiveState, setAlignment, setBorder, setColor, setContents, setFlags, setHeight, setHorizontalAlignment_Annotation_New, setModified, setModifiedInternal, setName, setStructParent, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidth
deepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndex
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RichTextBoxField(Page page, Rectangle rect)
Constructor for Rich Text Box field.
page
- Page where field will be placed.rect
- java.awt.Rectangle Position of the field on the page.public String getStyle()
Gets default style string of the rich text field.
public void setStyle(String value)
Sets default style string of the rich text field.
value
- String valuepublic String getRichTextValue()
Gets rich text value.
public void setRichTextValue(String value)
Sets rich text value.
value
- String valuepublic String getFormattedValue()
Gets formatted rich text value with markup.
public void setFormattedValue(String value)
Sets formatted rich text value with markup.
value
- String valuepublic String getValue()
Get Value of RichTextField.
getValue
in class TextBoxField
public void setValue(String value)
Set Value of RichTextField.
setValue
in class TextBoxField
value
- String valuepublic int getJustify()
Gets justification of the rich text box.
Justification
public void setJustify(int value)
Sets justification of the rich text box.
value
- Justification valueJustification