2015

Table Of Contents
</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.
If no width is indicated, the column widths will be automatically computed depending
on the length of the text in a cell or image in a cell. The sum total width of all columns
would remain within the bounds of the parent box column width (typically the
Automatic text box into which the table is laid out).
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>
<HEADTROWSTYLE COLOR="red" SHADE="30">
<TOPGRID COLOR="red" WIDTH="1"/>
<BOTTOMGRID COLOR="black" WIDTH="1"/>
</HEADTROWSTYLE>
<ODDTROWSTYLE COLOR="black" SHADE="20">
<TOPGRID COLOR="none"/>
<BOTTOMGRID COLOR="none"/>
</ODDTROWSTYLE>
<EVENTROWSTYLE COLOR="magenta" SHADE="60">
<TOPGRID COLOR="none"/>
<BOTTOMGRID COLOR="none"/>
</EVENTROWSTYLE>
<TCOLSTYLE>
<LEFTGRID COLOR="none"/>
A GUIDE TO QUARKXPRESS SERVER 2015 | 129
USING QUARKXPRESS SERVER