XML FOR DOMINO
Example
Represents a font in rich text.
Containment Hierarchy
Contained by: <actionbar>, <actionbarstyle>, <block>, <bordercaption>, <button>, <column>, <columnheader>, <embeddedcontrol>, <embeddedfolderpane>, <embeddeddatepicker>, <parstyle>, <run>, <sectiontitle>, <sparefont>, <sublevel>, <tablerowstyle>, <title>, <toplevel>
Syntax
<!ELEMENT font EMPTY>
Attributes
<!ATTLIST font
color
The %font.names; entity lists the names that can be used in the font name attribute in addition to the specific font names, such as Courier New.
Syntax:
<!ENTITY % font.names "monospace | multilingual | sans-serif | serif | user-interface">
The %font.pitches; entity defines the types of font pitches you can specify in DXL.
<!ENTITY % font.pitches "fixed | variable">
fixed
<!ENTITY % font.styles "normal | bold | italic | underline | strikethrough | superscript | subscript | shadow | emboss | extrude">
bold
In DXL, the <font> element is not a container like it is in HTML. It is associated with other content by being a child of a container. For example, to make a run of text red:
<run> <font color='red' />
This is red text.
</run>
Example Example See Also