2020

Table Of Contents
USING QUARKXPRESS SERVER
Grouping and ungrouping items
To group boxes using XML modify, use XML like the following:
<BOX BOXTYPE="CT_TEXT" COLOR="White">
<ID NAME="MainStoryText" UID="217"/>
</BOX>
<BOX BOXTYPE="CT_PICT">
<ID NAME="MainStoryPhoto" UID="218"/>
</BOX>
<GROUP>
<ID NAME="MainStoryGroup" UID="300"
OPERATION="CREATE"
/>
<BOXREF NAME="MainStoryText" UID="217"/>
<BOXREF NAME="MainStoryPhoto" UID="218"/>
</GROUP>
To 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.
OPERATION=”DELETE”> <ID NAME=”HISTORY”/></BOX></SPREAD>
</LAYOUT></PROJECT>
Notes
You can use the xml namespace or Telegraph XTensions software to
determine the ID or name of the box you want to delete.
108 | A GUIDE TO QUARKXPRESS SERVER 2020