2016

Table Of Contents
Using inline tables
The Inline Tables feature makes it easy to create an anchored table. Rather than having
to specify every attribute of a table, you can simply specify the content for a table as
a series of <TROW> and <ENTRY> elements in an <INLINETABLE> element, like so:
<STORY>
<INLINETABLE>
<THEAD>
<TROW>
<ENTRY>Year</ENTRY>
<ENTRY>2012</ENTRY>
<ENTRY>2013</ENTRY>
<ENTRY>2014</ENTRY>
<ENTRY>2015</ENTRY>
</TROW>
</THEAD>
<TBODY>
<TROW>
<ENTRY>Revenue</ENTRY>
<ENTRY>000</ENTRY>
<ENTRY>100</ENTRY>
<ENTRY>200</ENTRY>
<ENTRY>300</ENTRY>
</TROW>
<TROW>
<ENTRY>Liabilities</ENTRY>
<ENTRY>000</ENTRY>
<ENTRY>100</ENTRY>
<ENTRY>200</ENTRY>
<ENTRY>300</ENTRY>
</TROW>
</TBODY>
</INLINETABLE>
...
</STORY>
The number of rows in such a table is determined by the number of <TROW> elements.
The number of columns is determined by the maximum number of <ENTRY> elements
in a <TROW>.
In the <TBODY> element, each <TROW> contains one or more <ENTRY> elements. If
you don't style the text in an <ENTRY> element, it uses the default styling, which can
be defined in a <TROWSTYLE> or <TCOLSTYLE> element (see below).
The <THEAD> element lets you create a repeating header for the table. The
<TCONTINUED> element lets you create a "continued" row for the table. If you don't
supply either of these elements, you must create the header row manually as a <TROW>
in the <TBODY>.
For each row and column, you can specify the following things:
COLOR: Cell background color.
SHADE: Cell background shade.
STORYDIRECTION: Story direction.
You can automatically adjust and position pictures in table cells. The VALIGN@ENTRY
and ALIGNMENT@ENTRY attributes lets you specify the alignment of a cell, including
picture cells.
The child attribute ORIENTATION lets you specify the orientation of the table, like so:
<INLINETABLE> ORIENTATION="LANDSCAPE">
...
On a portrait page, this would effectively rotate the table in a clock wise direction,
while the page itself is not rotated.
A GUIDE TO QUARKXPRESS SERVER 2016 | 127
USING QUARKXPRESS SERVER