9.2

Table Of Contents
maximum or minimum scale percentage for the box. Note that you can use different types
of <MAX> and <MIN> elements in a <FIT> element, but you can use only one <MAX> element
and one <MIN> element per <FIT> element.
The FIT@POINT attribute lets you indicate the direction in which the box should grow or
shrink. The available options are TOPLEFT, BOTTOMLEFT, TOPRIGHT, and BOTTOMRIGHT.
The FIT@AVOIDBOXESBY attribute lets you specify the distance between the POINT side
or corner of a resized box and any other items around it. A box will expand only until it
is this distance from an adjacent item.
The FIT@PROPORTIONAL attribute lets you specify whether the resized box should have
the same aspect ratio as the original box.
For example:
<BOX>
<ID UID="5"/>
<GEOMETRY>
<POSITION>
<TOP>224.001</TOP>
<LEFT>110.003</LEFT>
<BOTTOM>381</BOTTOM>
<RIGHT>253.253</RIGHT>
</POSITION>
<FIT POINT="BOTTOMLEFT" PROPORTIONAL="true">
<MAX>
<LOCATION X="320" Y="560"/>
</MAX>
<MIN>
<SIZE HEIGHT="100" WIDTH="10"/>
</MIN>
</FIT>
</GEOMETRY>
<BOX/>
To use this feature, you must have FitBoxToContent XTensions software loaded.
For pictures, <FIT> is equivalent to PICTURE@FIT="FITBOXTOPICTURE". <MAX> and
<MIN> have no effect.
Working with groups
To add boxes to a group, create a <GROUP> element and then insert <BOXREF> elements
that refer to the boxes you want in the group. For example, the group described below
includes the two boxes described above it:
<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"/>
<BOXREF NAME="MainStoryText" UID="217"/>
<BOXREF NAME="MainStoryPhoto" UID="218"/>
</GROUP>
98 | QXP SERVER 9.2 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE