XFA Specification
Chapter 15, Template Specification
Template Reference
654
The textEdit element
A user interface element that encloses a widget intended to aid in the manipulation of textual content.
<textEdit
Properties:
allowRichText="0
|
1"
id="xml-id"
multiLine="1
|
0"
use="cdata"
usehref="cdata"
>
<border>
[0..1]
<extras>
[0..1]
<margin>
[0..1]
</textEdit>
The textEdit element is used within the following other elements:
proto ui
The allowRichText property
Specifies whether the text may include styling (also known as rich text). The supported types of styling are
described in the narrative section
RichText.
Note:
the allowRichText attribute informs the XFA application whether or not to present styling controls in
the UI; it does not limit the user's ability to type plain text which might be interpreted by some
down-stream application as styling. For instance, the user could type
<b>hello</b>
regardless of the
setting of the property.
The value of this property must be one of the following:
0
Text styling is not allowed. This is the default when the
textEdit
element does not contain an
exData
element.
1
Text styling is allowed. This is the default when the
textEdit
element does contain an
exData
element.
The border property
A
box model
element that describes the border surrounding an object.
For more information see "The
border element".
The extras property
An enclosure around one or more sets of custom properties. The content of this element may be used by
custom applications.
For more information see "The
extras element".
Home Index Bookmark Pages
Pages: Home Index All Pages