<TEXT> : Text field

Java class : leon.info.LyTextFieldInfo

ROLE

This element describes a textual field. The text may be composed of a single line or several lines. Information about that kind of field could be completed by a format, the number of lines, the number of rows, the number of columns, the maximum number of characters and a default value.

ATTRIBUTES

<!ATTLIST TEXT
	  id ID #REQUIRED
	  type ( STANDARD | RICH) "STANDARD">
Attribute Mand. Description Default
id yes Identifier of the field.  
type no Type of the text : standard or rich text. STANDARD

ELEMENTS

<!ELEMENT TEXT 
	  (%FIELD_BEGIN;,
	   UNITS?,
	   NROWS?,
	   NCOLS?,
	   %FIELD_END;)>
Element Mand. Mult. Description
FIELD_BEGIN
yes no Begin of a field description.
UNITS no no Dictionary of units of the field.
NROWS no no Number of rows
NCOLS no no Number of columns
FIELD_END
yes no End of a field description.

SAMPLE 1

<TEXT id="br_desc" multiple='true'>
	<F_BIND value="DESCRIPTION"/>
	<NAME value="BR_DESCRIPTION"/>
	<TAB value="TAB_EMISSION"/>
	<F_MARKS create='true' set='true'>
		<MARK name='EMISSION'/>
	</F_MARKS>
	<NROWS value="10"/>
	<NCOLS value="60"/>
</TEXT>

SAMPLE 2

<TEXT id="br_title">
	<F_BIND value="TITLE"/>
	<NAME value="BR_TITLE"/>
	<TAB value="TAB_EMISSION"/>
	<F_MARKS create='true'>
		<MARK name='EMISSION'/>
	</F_MARKS>
	<NCOLS value="60"/>
	<NCHARS value="30"/>
</TEXT>