The formatted-text type represents a text element with text-formatting attributes. |

| QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
|---|---|---|---|---|---|---|---|
| color | color | optional | |||||
| default-x | tenths | optional | |||||
| default-y | tenths | optional | |||||
| dir | text-direction | optional | |||||
| enclosure | enclosure | optional | |||||
| font-family | comma-separated-text | optional | |||||
| font-size | font-size | optional | |||||
| font-style | font-style | optional | |||||
| font-weight | font-weight | optional | |||||
| halign | left-center-right | optional | |||||
| justify | left-center-right | optional | |||||
| letter-spacing | number-or-normal | optional | |||||
| line-height | number-or-normal | optional | |||||
| line-through | number-of-lines | optional | |||||
| overline | number-of-lines | optional | |||||
| relative-x | tenths | optional | |||||
| relative-y | tenths | optional | |||||
| rotation | rotation-degrees | optional | |||||
| underline | number-of-lines | optional | |||||
| valign | valign | optional | |||||
| xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
<xs:complexType name="formatted-text"> <xs:annotation> <xs:documentation>The formatted-text type represents a text element with text-formatting attributes.</xs:documentation> </xs:annotation> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attributeGroup ref="text-formatting"/> </xs:extension> </xs:simpleContent> </xs:complexType> |