2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 111
<ID NAME=”MainStoryGroup” UID=”300”
OPERATION=”CREATE”
/>
<
BOXREF NAME=”MainStoryText” UID=”217”/>
<BOXREF NAME=”MainStoryPhoto” UID=”218”/>
</GROUP>
T
o add a box to an existing group, use XML like the following:
<GROUP>
<ID NAME=”MainStoryGroup” UID=”300”/>
<BOXREF NAME=”MainStoryText” UID=”217”/>
<BOXREF NAME=”MainStoryPhoto” UID=”218”
OPERATION=”CREATE”
/>
</GROUP>
To remove a box from an existing group, use XML like the following:
<GROUP>
<ID NAME=”MainStoryGroup” UID=”300”/>
<BOXREF NAME=”MainStoryHead” UID=”216”/>
<BOXREF NAME=”MainStoryText” UID=”217”/>
<BOXREF NAME=”MainStoryPhoto” UID=”218” OPERATION=”DELETE” />
</GROUP>
To ungroup an existing group, use XML like the following:
<GROUP>
<ID NAME=”MainStoryGroup” UID=”300” OPERATION=”DELETE” />
</GROUP>
To proportionally scale all of the items in a group, add a <GEOMETRY> element that
indicates the new size of the group, like so:
<GROUP>
<ID NAME=”MainStoryGroup” UID=”300”/>
<GEOMETRY> <POSITION> <TOP>10.0</TOP>
<LEFT>10.0</LEFT> < BOTTOM>50. 0</BOTTOM>
<RIGHT>70.0</RIGHT> </POSITION> </GEOMETRY>
</GROUP>
The order of the <BOXREF> elements in a <GROUP> indicates the order in which the
boxes were selected prior to grouping. The z-order of boxes in the layout is
determined by the order of the
<BOX> elements in the XML, from rearmost to
frontmost.
XML representations of groups created by versions of QuarkXPress Server prior to
8.1 are ignored during construct and modify calls, as they were in earlier versions of
QuarkXPress Server.
Modifying text attributes
You can use the modify parameter to change the attributes of text in a QuarkXPress
project. All modifications are done on a text box basis. To modify text properties,
use the following parameters in the Modifier DTD:
BOX
ID
TEXT
STORY