2017

Table Of Contents
USING QUARKXPRESS SERVER
136 | A Guide to QuarkXPress Server 2017
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.
Working with pictures
The <PICTURE> element supports a variety of features, including the ability to
specify runaround, opacity, and drop shadow characteristics. For more information,
see the Modifier schema.
<
PROJECT>
<LAYOUT>
<ID NAME=”Layout 1”/>
<SPREAD>
<ID UID=”1”/>
<BOX COLOR=”Magenta” SHADE=”50%” OPACITY=”100%”>
<ID NAME=”pict1”/>
<PICTURE MASK=”Test Alpha1”/>
<FRAME STYLE=”Triple” WIDTH =”5” COLOR=”Cyan”
SHADE=”100%”
OPACITY=”100%” GAPCOLOR=”Yellow”
GAPSHADE=”80%” GAPOPACITY=”100%”/>
<CONTENT UID=”0”>image.jpg</CONTENT>
</BOX>
<BOX>
<ID NAME=”pict2”/>
<PICTURE SUPRESSPICT=”true” FULLRES=”true”
PICCOLOR=”Cyan”
SHADE=”90” OPACITY=”90”/>
<SHADOW COLOR=”Cyan” SHADE=”90” ANGLE=”130” OPACITY=”100”
DISTANCE=”5” SKEW=”10”
SCALE=”90” BLUR=”3”/>
<CONTENT UID=”0”>image.jpg</CONTENT>
</BOX>
<BOX>
<ID NAME=”pict3”/>
<GEOMETRY>
<RUNAROUND TYPE=”NONWHITEAREAS” OUTSET=”10” NOISE=”5”
SMOOTHNESS=”5”
THRESHOLD=”10” INVERT=”true” OUTSIDEONLY=”true”
RESTRICTTOBOX=”true”/>
</GEOMETRY>
</BOX>
<BOX>
<ID NAME=”pict4”/>
<PICTURE FIT=”FITPICTURETOBOX” SCALEACROSS=”40”
SCALEDOWN=”50” FLIPVERTICAL=”true”
FLIPHORIZONTAL=”false” ANGLE=”40” SKEW=”20”/>
<CONTENT UID=”0”>image.jpg</CONTENT>
</BOX>
</SPREAD>
</LAYOUT>
</PROJECT>
If you know the UID attribute of a box, you can insert a picture into that box
without having to specify where the <BOX> element is. For example:
<PROJECT>
<CONTENT UID=”0”>ChangedPict.jpg</CONTE NT>
</PROJECT>
Content IDs are unique across layouts.