public final class RichTextBoxField extends TextBoxField
Class describes rich text editor component.
_FileSelect, _Password| 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.
|
Justification |
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(Justification 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, setTextVerticalAlignmentadd, clear, contains, copyTo_Rename_Namesake, copyTo, copyTo, executeFieldJavaScript, flatten, get_Item, get_Item, getAlternateName, getAnnotationIndex, getMappingName, getMaxFontSize, getMinFontSize, getPageIndex, getPartialName, getRect, getSyncRoot, getTabOrder, isFitIntoRectangle, isGroup, isReadOnly, isSharedField, isSynchronized, iterator, recalculate, remove, setAlternateName, setAnnotationIndex, setFitIntoRectangle, setMappingName, setMaxFontSize, setMinFontSize, setPartialName, setPosition, setRect, setSharedField, setTabOrder, size, updateAppearancesaccept, getAnnotationActions, getAnnotationType, getCheckedStateName, getDefaultAppearance, getExportable, getHighlighting, getOnActivated, getParent, getReadOnly, getRequired, setDefaultAppearance, setExportable, setHighlighting, setOnActivated, setReadOnly, setRequiredchangeAfterResize, 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, setTextHorizontalAlignment, setUpdateAppearanceOnConvert, setUseFontSubset, setWidthdeepClone, getHorizontalAlignment, getHyperlink, getMargin, getVerticalAlignment, getZIndex, isFirstParagraphInColumn, isInLineParagraph, isInNewPage, isKeptWithNext, setFirstParagraphInColumn, setHorizontalAlignment, setHyperlink, setInLineParagraph, setInNewPage, setKeptWithNext, setMargin, setVerticalAlignment, setZIndexequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 TextBoxFieldpublic void setValue(String value)
Set Value of RichTextField.
setValue in class TextBoxFieldvalue - String valuepublic Justification getJustify()
Gets justification of the rich text box.
Justificationpublic void setJustify(Justification value)
Sets justification of the rich text box.
value - Justification valueJustificationCopyright © 2025 Aspose. All Rights Reserved.