2020

Table Of Contents
USING QUARKXPRESS SERVER
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.
Column Attributes
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 COLINDEX="1" WIDTH="250"/>
<TCOL COLINDEX="2" MINWIDTH ="30pt" MAXWIDTH = "90pt"/>
<TCOL COLINDEX="3" MINWIDTH ="20%" MAXWIDTH = "50%"/>
</COLGROUP>
...
The COLINDEX 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.
You can specify the MINWIDTH and MAXWIDTH 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).
Table Span
An <INLINETABLE> can include an optional SPAN attribute. Values for SPAN can be:
PAGEWIDTH - the table will span the width of the page.
ALLCOLUMNS - the table will span all columns on the page.
the number of columns to span.
<INLINETABLE SPAN="PAGEWIDTH">
....
....
</INLINETABLE>
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"/>
142 | A GUIDE TO QUARKXPRESS SERVER 2020