Color
Auf eine andere Textfarbe wechseln
Kindelemente
A
,
Action
,
B
,
Br
,
Color
,
Fontface
,
ForAll
,
Frame
,
HSpace
,
I
,
Image
,
Loop
,
NoBreak
,
Span
,
Sub
,
Sup
,
Switch
,
U
,
URL
,
Value
Elternelemente
B
,
Color
,
Fontface
,
I
,
Li
,
NoBreak
,
Paragraph
,
Span
,
U
,
URL
Attribute
name
(Text)
-
Der Name der Farbe. Muss mit DefineColor vorher definiert werden.
Beispiel
<Layout xmlns:sd="urn:speedata:2009/publisher/functions/en" xmlns="urn:speedata.de:2009/publisher/en">
<DefineColor name="rot" wert="#f00"/>
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Hallo </Value><Color name="rot"><Value>Welt</Value></Color>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout>
Siehe auch
Das Kapitel
Textformatierung, das Kapitel
über Farben und den Befehl
<DefineColor>
.