2.4.1.17 Rich Text Box Control
The rich text box control allows the user to enter rich text, such as formatted text, tables, hyperlinks, and images, in the form.
Symbol |
Description |
---|---|
RICH_TEXT_BOX_PLAIN |
The rich text box. |
RICH_TEXT_BOX_WITH_PLACEHOLDER_TEXT |
The rich text box shows place holder text as long as the field it is bound to contains no data. Important: Place holder text is not supported on the form server. |
RICH_TEXT_BOX_PLAIN:
-
<span class="xdRichTextBox(RTL)?" hideFocus="1" title="ANY_STRING" xd:binding="LEAF_XPATH" (tabIndex="TAB_INDEX")? xd:xctname="RichText" xd:CtrlId="CONTROL_ID" (style="RICH_TEXT_BOX_STYLE")? (accessKey="SINGLE_CHARACTER")? (xd:postbackModel="POSTBACKMODEL")? (INPUT_SCOPE)? (contentEditable="true" | xd:disableEditing="(yes|no)")> CHECK_FOR_GETDOM_BEGIN1 RICH_TEXT_BOX_CONDITIONAL_FORMATTING? <xsl:copy-of select="LEAF_XPATH/node()"/> CHECK_FOR_GETDOM_END1 </span>
RICH_TEXT_BOX_WITH_PLACEHOLDER_TEXT:
-
<span class="xdRichTextBox(RTL)? xdBehavior_GhostedText" hideFocus="1" title="ANY_STRING" xd:binding="LEAF_XPATH" (tabIndex="TAB_INDEX")? xd:xctname="RichText" xd:CtrlId="CONTROL_ID" (style="RICH_TEXT_BOX_STYLE")? (accessKey="SINGLE_CHARACTER")? (xd:postbackModel="POSTBACKMODEL")? (INPUT_SCOPE)? (contentEditable="true" | xd:disableEditing=("yes"|"no"))> CHECK_FOR_GETDOM_BEGIN1 RICH_TEXT_BOX_CONDITIONAL_FORMATTING? (<xsl:choose> <xsl:when test="not(string(LEAF_XPATH) or LEAF_XPATH/node())"> <xsl:attribute name="xd:ghosted">true</xsl:attribute>ANY_STRING</xsl:when> <xsl:otherwise> <xsl:copy-of select="LEAF_XPATH/node()"/> </xsl:otherwise> </xsl:choose>) | (<xsl:copy-of select="LEAF_XPATH/node()"/>) CHECK_FOR_GETDOM_END1 </span>
RICH_TEXT_BOX_SCROLLING_STYLE: OVERFLOW-X: visible or OVERFLOW-Y: scroll; OVERFLOW-X: scroll or OVERFLOW-Y: auto; OVERFLOW-X: auto or OVERFLOW-Y: auto or OVERFLOW-Y: hidden.
RICH_TEXT_BOX_STYLE: Semicolon-delimited list of (RICH_TEXT_BOX_SCROLLING_STYLE?, STYLE_WRAP?, STYLE_SIZE?, STYLE_MARGIN?, STYLE_PADDING?, STYLE_TEXT_DECORATION?, STYLE_BACKGROUND_COLOR?, STYLE_BORDER?, STYLE_FONT?, STYLE_COLOR?, STYLE_TEXT_ALIGN?, STYLE_DIRECTION?).
RICH_TEXT_BOX_CONDITIONAL_FORMATTING_STYLE: Semicolon-delimited list of (STYLE_BACKGROUND_COLOR?, STYLE_COLOR?, STYLE_CAPTION).
RICH_TEXT_BOX_CONDITIONAL_FORMATTING:
-
(<xsl:attribute name="style">RICH_TEXT_BOX_STYLE<xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSION">STYLE_DISPLAY_NONE; STYLE_CAPTION</xsl:when>| <xsl:when test="BOOLEAN_XPATH_EXPRESSION">STYLE_CAPTION</xsl:when>| <xsl:when test="BOOLEAN_XPATH_EXPRESSION">RICH_TEXT_BOX_CONDITIONAL_FORMATTING_STYLE </xsl:when>)+ </xsl:choose> </xsl:attribute>)? (<xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSION"/>| <xsl:when test="BOOLEAN_XPATH_EXPRESSION"> <xsl:attribute name="contentEditable">false</xsl:attribute> </xsl:when>)+ </xsl:choose>)?
The following table lists control-specific attributes used by the rich text box control.
Attribute |
Section |
---|---|
xd:allowNonMatching |
|
xd:binding |
|
xd:CtrlId |
|
xd:disableEditing |
|
xd:ghosted |
|
xd:inputScopeId |
|
xd:postbackModel |
|
xd:xctname |