2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 147
<HEADTROWSTYLE>: A row style to be applied only to the header row.
<
ODDTROWSTYLE>
a
nd
<
EVENTROWSTYLE>
:
Row styles that let you format odd
and even rows differently.
<TCOLSTYLE>: A column style. One of the two mandatory elements of
<TABLESTYLE>
. Note that when the table is created, column styles override row
styles.
<FIRSTTCOLSTYLE> and <LASTTCOLSTYLE>: Column styles that let you style
the first and last column of a table differently.
<TOPGRID> and <BOTTOMGRID>: A grid line at the top or bottom of a row’s cells.
<LEFTGRID>
and <RIGHTGRID>: A grid line at the left or right edge of a
column’s cells.
To apply a table style to an inline table, add a
TABLESTYLEREF attribute to the
<INLINETABLE> element, like so:
<INLINETABLE TABLESTYLEREF=”tableStyle1 0”>
You can also override <TABLESTYLE> attributes by specifying them as part of the
table, like so:
<TROW>
<TOPGRID COLOR=”black” WIDTH=”1”/>
<BOTTOMGRID COLOR=”red” WIDTH=”1”/>
<ENTRY COLSPAN=”5”>Statements</ENTRY>
</TROW>
Here, we’ve created a cell that spans five columns by supplying only one <ENTRY>,
and we’ve specified a black, one-point top line and a red, one-point bottom line for
that row only.
Working with sections
The Section feature lets you change the numbering system for a layout or a range of
pages in a layout. To use this feature, you create a section start on a particular page.
In that section start, you can specify a number format, a starting page number, and
an optional prefix. For example:
<PAGE FORMATTEDNAME=”A1” MASTER=”A-Master A”
POSITION=”RIGHTOFSPINE”>
<ID UID=”1”/>
<SECTION FORMAT=”ROMAN” NUMBER=”1” PREFIX=”A”
OPERATION=”CREATE”/>
</PAGE>
Once you have inserted a <SECTION> element, QuarkXPress Server will apply
section-specific numbering and formatting to automatic page numbers. To insert
automatic page numbers, use the
RICHTEXT@PAGENUMBERCHAR attribute:
<TEXT>
<STORY STORYDIRECTION=”HORIZONTAL”>
<PARAGRAPH MERGE=”false” PARASTYLE=”Normal”>
<RICHTEXT MERGE=”false”>This is page </RICHTEXT>
<RICHTEXT MERGE=”false” PAGENUMBERCHAR=”CURRENTPAGE”/>
<RICHTEXT MERGE=”false”>. The story continues on page
</RICHTEXT>