textStyle

This is used to style text with a bunch of standard options + some site-specific.

Note: This property is deprecated since TYPO3 7.1! Use CSS instead.

Property

align.field

Data type

align

Description

Set to field name from the $cObj->data-array

Property

face.field

Data type

string

Description

Set to field name from the $cObj->data-array

[1] = “Times New Roman”;

[2] = “Verdana,Arial,Helvetica,Sans serif”;

[3] = “Arial,Helvetica,Sans serif”;

Property

face.default

Data type

string /stdWrap

Description

[default] = User defined

Property

size.field

Data type

string

Description

Set to field name from the $cObj->data-array

[1] = 1;

[2] = 2;

[3] = 3;

[10] = “+1”;

[11] = “-1”;

Property

size.default

Data type

string /stdWrap

Description

[default] = User defined

Property

color.field

Data type

string

Description

Set to field name from the $cObj->data-array

See “content.php” for the colors available

Property

color.default

Data type

string /stdWrap

Description

[default] = User defined

Property

color.1

color.2

Data type

string

Description

[1],[2] = User defined

Property

properties.field

Data type

integer

Description

Set to field name from the $cObj->data-array

The property values goes like this:

bit 0: <B>

bit 1: <I>

bit 2: <U>

bit 3: (uppercase)

Thus a value of 5 would result in bold and underlined text

Property

properties.default

Data type

integer /stdWrap

Description

[default] = User defined (This value will be used whenever “.field” is false!)

Property

altWrap

Data type

wrap

Description

If this value is set, the wrapping with a font-tag based on font, size and color is not done. Rather the element is wrapped with this value.

Use it to assign a stylesheet by setting this value to e.g.

<div class=”text”> | </div>

[tsref:->textStyle]