summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-04-19 17:24:24 +0000
committerStef Walter <stef@memberwebs.com>2005-04-19 17:24:24 +0000
commit6fab96c700f8a15b486c292e70c8fdb5d31121b2 (patch)
tree0262fbfd99f0954bed556599a6daaf983c566b6c /doc
parentc91a548602ca74b5989eb046bc9c906b81e0ae20 (diff)
Added support for character styles.
Diffstat (limited to 'doc')
-rw-r--r--doc/rtfx.xsd18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/rtfx.xsd b/doc/rtfx.xsd
index 922b0a6..a0a209d 100644
--- a/doc/rtfx.xsd
+++ b/doc/rtfx.xsd
@@ -365,6 +365,7 @@
<xs:element ref="sub"/>
<xs:element ref="ref"/>
<xs:element ref="font"/>
+ <xs:element ref="span"/>
</xs:choice>
</xs:group>
@@ -482,5 +483,22 @@
</xs:complexType>
</xs:element>
+ <xs:element name="span">
+ <xs:annotation>
+ <xs:documentation>A portion of content with a given style, or attributes.</xs:documentation>
+ </xs:annotation>
+
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="inline"/>
+ </xs:choice>
+ <xs:attribute name="style" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>Style name for the content.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ </xs:complexType>
+ </xs:element>
</xs:schema>