
3.CUSTOMIZATION B-63924EN/01
- 238 -
3.4.5 textstyles Definition
The textstyles tag is intended to hold more than one textstyle tag,
which is a definition of the display style of text. Given below is an
example of the textstyle tag.
textstyle: Defining the font of text displays
This textstyle tag is called sample_text. Specify this name if the
button tag actually uses the text display style.
The textalign tag allows you to define the location of the
corresponding text in the key control. Its values are listed below.
Value Type Summary
“TopLeft” string Top left section of the display area
“TopCenter” string Top middle section of the display area
“TopRight” string Top right section of the display area
“MiddleLeft” string Middle left section of the display area
“MiddleCenter” string Center of the display area
“MiddleRight” string Middle right section of the display area
“BottomLeft” string Bottom left section of the display area
“BottomCenter” string
Bottom middle section of the display
area.
“BottomRight” string Bottom right section of the display area
The font tag allows you to define the font and text color to be used.
The name tag allows you to specify what font to use. The specified
font must previously be installed in the PC to be used. The style tag
allows you to specify a font style. See the following table for
explanations about the values of the tag.
Value Type Summary
“regular” string Regular style
“bold” string Bold
“italic” string Italic
“bold_italic” string Bold italic
<textstyles>
:
<textstyle bop2:name="sample_text">
<textalign>TopLeft</textalign>
<font>
<name>MS Ming-style type</name>
<style>bold_italic</style>
<size>10</size>
<colorref>samplecolor</colorref>
</font>
</textstyle>
:
</textstyles>