CISFO:TEXT2

The CISFO:TEXT2 control outputs plain text. It is placed into a text block container (ROWTEXTBLOCK2 or CELLTEXT2). You either define the text in a fixed way (using the text property) or language-dependent (using the textid property). The language is passed at runtime as property of the data object.


Properties

Basis
text

The text that is output.

Optional  
textid

Textid for the multi language management.

Optional  
stylename

Name of a CISFO style. The style must exist within the form definition.

Optional  
color

Color in which the element is output.

Optional

#000000

#808080

#FFFFFF

#FF0000

textalign

The alignment of the text. Valid values are 'center', 'left' or 'right'.

Optional

left

center

right

textdecoration

Different values for printing the text, so as underline, overline or line-through.

Optional

overline

line-through

underline

Font
fontfamily

This attribute specifies a priorized list of font family names and/or generic family names. To deal with the problem that a single font may not contain glyphs to display all the characters in a document, or that not all fonts are available on all systems, this property allows authors to specify a list of fonts, all of the same style and size, that are tried in sequence to see if they contain a glyph for a certain character. This list is called a "font set".

Optional

Helvetica

Times

Courier

Symbol

ZapfDingbats

fontsize

This attribute describes the size of the font when set as "solid". The font size corresponds to the em square, a concept used in typography. Note that certain glyphs may bleed outside their em squares. Some valid values are "xxsmall", "medium", "smaller" or a concrete size, e.g. "110%".

Optional

8pt

10pt

16pt

fontstyle

This attribute requests normal (sometimes referred to as "roman" or "upright"), italic, and oblique faces within a font family. Valid values are "normal", "italic" and "oblique".

Optional

normal

italic

oblique

fontvariant

In a small-caps font, the glyphs for lowercase letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions. The "font-variant" property requests such a font for bicameral (having two cases, as with Roman script). This property has no visible effect for scripts that are unicameral (having only one case, as with most of the world's writing systems). Valid values are "normal" and "small-caps".

Optional

normal

small-caps

fontweight

This attribute specifies the weight of the font. Some valid values are 'normal', 'bold', 'bolder', 'lighter', '100' or '900', where 'normal' is the same as '400', 'bold' is the same as '700'.

Optional

normal

bold

100

200

300

400

500

600

700

800

900

Margin
margin

Sets the margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits.

Optional

1pt

5pt

1mm

5mm

margintop

Sets the top margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits.

Optional

1pt

5pt

1mm

5mm

marginleft

Sets the left margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits.

Optional

1pt

5pt

1mm

5mm

marginbottom

Sets the bottom margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits.

Optional

1pt

5pt

1mm

5mm

marginright

Sets the right margin of a box. Negative values for margin properties are allowed, but there may be implementation-specific limits.

Optional

1pt

5pt

1mm

5mm

Padding
padding

Specifies the width of the padding of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative.

Optional

1pt

5pt

1mm

5mm

paddingtop

Specifies the width of the padding on the top of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative.

Optional

1pt

5pt

1mm

5mm

paddingleft

Specifies the width of the padding on the left of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative.

Optional

1pt

5pt

1mm

5mm

paddingbottom

Specifies the width of the padding on the bottom of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative.

Optional

1pt

5pt

1mm

5mm

paddingright

Specifies the width of the padding on the right of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative.

Optional

1pt

5pt

1mm

5mm