2020

Table Of Contents
USING QUARKXPRESS SERVER
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.
Using inline boxes
The Inline Boxes feature makes it easy to create an anchored box. Rather than
having to describe every aspect of a box and then reference that box from an
<ANCHOREDBOXREF> or <CALLOUTANCHOR> element, you can simply specify the
content for a box inline, like so:
<PROJECT>
<LAYOUT>
<ID UID="123"/>
<BOX COLOR="Cyan" OPACITY="50">
<ID UID="456"/>
<TEXT>
<STORY>
<RICHTEXT>Test before an anchored text box.</RICHTEXT>
<INLINEBOX>
<TEXTATTRIBUTE COLUMNS="2" GUTTERWIDTH="10">
<INSET ALLEDGES="5"/>
</TEXTATTRIBUTE>
<CONTENT>file:example.docx</CONTENT>
</INLINEBOX>
<RICHTEXT>Test between anchored text boxes.</RICHTEXT>
<INLINEBOX>
<CONTENT>
128 | A GUIDE TO QUARKXPRESS SERVER 2020