10.1

Table Of Contents
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.
An <INLINETABLE> can also include optional <COLGROUP> elements, which allow
you to specify column attrbutes in the form of <TCOL> elements, like so:
<INLINETABLE>
<COLGROUP>
<TCOL INDEX="1" WIDTH="250">
</TCOL>
</COLGROUP>
...
The INDEX value indicates the column number. You can specify the WIDTH of a column
in points by omitting a unit indicator, or as a percentage of the table width by including
a % after the number.
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.
The childPICTUREATTRIBUTES element lets you specify several picture attributes,
including flip horizontal, flip vertical, angle, background and color, on picture cells
of the table.
This does not create a breakable table. The table will be confined to a single page.
If the number of rows is greater than the available rectangular size of the parent box,
an error is returned stating the table cannot be fit into the available size.
If you deconstruct a table that was created with an <INLINETABLE> element, the
resulting XML describes the table as a <TABLE> element, not an <INLINETABLE>
element.
Using table styles
Table styles make it easy to style inline tables. Rather than applying formatting directly,
you can define a table style, then apply the table style to inline tables like so:
<INLINETABLE TABLESTYLEREF="TableStyle1">
For example, assume you want to create a table where alternating rows are shaded,
the grid is a particular color, the insets are a particular amount, and so forth. Instead
of specifying the formatting for such a table manually for every row, you can define
the table's qualities in a table style, like so:
<PROJECT>
<TABLESTYLE WIDTH="95">
<ID NAME="tableStyle10"/>
<TROWSTYLE INSET="2">
<TOPGRID COLOR="none"/>
<BOTTOMGRID COLOR="none"/>
</TROWSTYLE>
A GUIDE TO QUARKXPRESS SERVER 10.1 | 127
USING QUARKXPRESS SERVER