9.5

Table Of Contents
<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>
<PARAGRAPH PARASTYLE="Normal">
<RICHTEXT>Text in the second anchored box.</RICHTEXT>
</PARAGRAPH>
<RICHTEXT>More text in the second anchored box.</RICHTEXT>
</CONTENT>
</INLINEBOX>
<RICHTEXT>Test between anchored boxes.</RICHTEXT>
<INLINEBOX WIDTH="50" SCALEUP="false">
<SHADOW ANGLE="166" BLUR="6" COLOR="Yellow" DISTANCE="6"
INHERITOPACITY="true" MULTIPLYSHADOW="true" OPACITY="40%"
SCALE="100% "SHADE="62%" SKEW="0"/>
<CONTENT>file:example.jpg</CONTENT>
</INLINEBOX>
<RICHTEXT>Text after an anchored picture box.</RICHTEXT>
</STORY>
</TEXT>
</BOX>
</LAYOUT>
</PROJECT>
Because an <INLINEBOX> element's content comes in the form of a <CONTENT> element,
you can fill such an anchored box with Modifier-formatted text, with text from a text file,
or with a picture from a picture file.
The INLINEBOX@WIDTH attribute lets you specify the width of the anchored box as a
percentage of its parent column or box. If you fill an anchored box with so much text that
it expands to the height of its parent box, the text is adjusted to fit in the box. The
INLINEBOX@SCALEUP attribute lets you control sizing for picture boxes.
A child BOXATTRIBUTE element lets you control the formatting of the boxes. If you're
creating an inline text box, a child TEXTATTRIBUTE element lets you control the formatting
of the boxes.
For more information, see "INLINEBOX (Modifier schema)," BOXATTRIBUTE (Modifier
schema)," and "TEXTATTRIBUTE (Modifier schema)."
If you deconstruct an anchored box that was created with an <INLINEBOX> element, the
resulting XML describes the box as a <BOX> element, not an <INLINEBOX> element.
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>
124 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER