Color
Switch to another text color
Child elements
A
,
Action
,
B
,
Br
,
Color
,
Fontface
,
ForAll
,
Frame
,
HSpace
,
I
,
Image
,
Loop
,
NoBreak
,
Span
,
Sub
,
Sup
,
Switch
,
U
,
URL
,
Value
Parent elements
B
,
Color
,
Fontface
,
I
,
Li
,
NoBreak
,
Paragraph
,
Span
,
U
,
URL
Attributes
name
(text)
-
The name of the color. Must be pre-defined with DefineColor.
Example
<?xml version="1.0" encoding="UTF-8"?>
<Layout
xmlns="urn:speedata.de:2009/publisher/en">
<DefineColor name="red" value="#f00"/>
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value>Hello </Value><Color name="red"><Value>bar</Value></Color>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
</Layout>
See also
The section
text formatting, the section
about colors and the command
<DefineColor>
.