2015

Table Of Contents
<RICHTEXT COLOR="Yellow" CHARSTYLE="Emphasis">sun</RICHTEXT>
<RICHTEXT COLOR="Red"> has risen.</RICHTEXT>
</PARAGRAPH>
Formatting across paragraph boundaries
You can use two methods to describe a run of formatting that crosses a paragraph
boundary. The first is to simply close the first <PARAGRAPH> element and then open
a new one. For example:
<PARAGRAPH>
<RICHTEXT SIZE="10">The sun has risen.</RICHTEXT>
</PARAGRAPH>
<PARAGRAPH>
<RICHTEXT SIZE="10">The sun has set.</RICHTEXT>
</PARAGRAPH>
The second is to use a &hardReturn; entity to create the paragraph break. For example:
<PARAGRAPH>
<RICHTEXT SIZE="10"
>The sun has risen.&hardReturn;The sun has set.</RICHTEXT>
</PARAGRAPH>
Retrieving copyfitting information
In deconstructed projects, a <BOX> element can contain a <LINKEDBOX> element. The
<LINKEDBOX> element indicates the point where text has overflowed the current box
and identifies the box where the text continues. The <LINKEDBOX> element also
contains attributes that indicate where in the text the break occurs.
In a <STORY> element, the <OVERMATTER> element indicates where the current box
overflows when there is no subsequent box for text to flow into. A <STORY> element
also contains a <COPYFIT> element indicating how many words, characters, and lines
should be allowed to fit in that box and whether the text currently fits in the box, is
too short, or is too long. This information can be useful for on-the-fly copyfitting.
The elements described in this section occur only in deconstructed project XML
generated by the xml namespace. Do not use these elements when using the
construct namespace.
QuarkXPress Server returns copyfitting information for QuarkCopyDesk articles by
default. To retrieve copyfitting information when deconstructing a QuarkXPress project,
include copyfitinfo=true in the xml request.
Working with tables
To construct tables in XML, use a structure like the following:
<TABLE COLUMNS="2" ROWS="2">
<ID NAME="MyTable"/>
<GEOMETRY PAGE="1">
<POSITION>
<TOP>100</TOP>
<LEFT>100</LEFT>
<BOTTOM>600</BOTTOM>
<RIGHT>400</RIGHT>
</POSITION>
</GEOMETRY>
<COLSPEC>
<COLUMN AUTOFIT="false" COLUMNCOUNT="1" COLUMNWIDTH="134.667">
<GRIDLINE COLOR="Black" GAPCOLOR="none" OPACITY="100%"
SHADE="100%" STYLE="Solid" TYPE="LEFT" WIDTH="1"/>
<GRIDLINE COLOR="Black" GAPCOLOR="none" OPACITY="100%"
SHADE="100%" STYLE="Solid" TYPE="RIGHT" WIDTH="1"/>
</COLUMN>
<COLUMN AUTOFIT="false" COLUMNCOUNT="2" COLUMNWIDTH="134.667">
124 | A GUIDE TO QUARKXPRESS SERVER 2015
USING QUARKXPRESS SERVER