Attention
TYPO3 v6 has reached its end-of-life April 18th, 2017 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is strongly recommended updating your project.
textStyle¶
This is used to style text with a bunch of standard options + some site-specific.
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
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
color.field
Data type
string
Description
Set to field name from the $cObj->data-array
See "content.php" for the colors available
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]