7.0

Table Of Contents
PARAMETER DESCRIPTION
STRIKETHRU Use this parameter to strike through text. For example,
<STRIKETHRU>TRUE</STRIKETHRU> strikes through all text
in the specified text box.
TYPE Use this parameter to enter new text in a text box. You
can use the attributes of
text to specify attributes for the
text (such as bold, italic, and underline; see the DTD for
the full list). For example,
<TYPE BOLD="true" SIZE="25"
COLOR="Blue" FONT="Times New Roman">Hello
World!</TYPE>
inserts the text “Hello World!” in the target
box in bold, blue, 25-point text in the Times New Roman
font. (You can also omit the attributes and use the default
formatting attributes for the box.)
UNDERLINE Use this parameter to underline text. For example,
<UNDERLINE>TRUE</UNDERLINE> underlines all text in
the specified text box.
WORDUNDERLINE Use this parameter to underline words in text. For example,
<WORDUNDERLINE>TRUE</WORDUNDERLINE> underlines all
individual words in the specified text box.
An alert displays if you specify a font that is unavailable in the project or on
the computer where QuarkXPress Server is running or a font size falls outside
the font size range as specified in QuarkXPress Server preferences
(QuarkXPress Server Þ Preferences Þ Modifier).
SAMPLE XML CODE
This section provides sample XML code that modifies text in the text boxes
with box IDs 7 and 8.
<PROJECT>
<LAYOUT LAYOUTNAME="Layout 1">
<BOX>
<ID>7</ID>
<TEXT>
<TYPE BOLD="true" WORDUNDERLINE="true"
STRIKETHRU="true" SIZE="40">Hello World!</TYPE>
<COLOR>Red</COLOR>
<ALIGNMENT>center</ALIGNMENT>
<FITTEXTTOBOX>yes</FITTEXTTOBOX>
<TEXT>
</BOX>
MODIFIER XTENSIONS SOFTWARE
160
|
CHAPTER 4: XTENSIONS SOFTW
ARE