spanspec
spanspec — Formatting information for a spanned column in a table
Synopsis
Content Model
spanspec ::=
EMPTY
Attributes
Name | Type | Default | ||||||
rowsep | CDATA | None | ||||||
align |
| None | ||||||
spanname | CDATA | Required | ||||||
namest | CDATA | Required | ||||||
char | CDATA | None | ||||||
nameend | CDATA | Required | ||||||
colsep | CDATA | None | ||||||
charoff | CDATA | None |
Description
A SpanSpec
associates a name with a span between two columns in a table. In the body of the table, cells can refer to the span by name. Cells that refer to a span will span horizontally from the first column to the last column, inclusive.
Cells can also form spans directly, by naming the start and end columns themselves. The added benefit of a SpanSpec
is that it can associate formatting information (such as alignment and table rule specifications) with the span. This information does not need to be repeated then, on each spanning cell.
Processing expectations
Suppressed. This element is expected to obey the semantics of the CALS Table Model Document Type Definition, as specified by OASIS Technical Memorandum TM 9502:1995 .
The NameSt
and NameEnd
attributes of a SpanSpec
must refer to named ColSpec
s in the same table. In other words, if the SpanSpec
<spanspec spanname="fullyear" namest="jan" nameend="dec"/>
exists in a table, ColSpec
s named “jan” and “dec” must also exist in the same table.
Attributes
align
Align
specifies the horizontal alignment ofEntry
s (orEntryTbl
s) in the span. The default alignment is inherited from the enclosingTGroup
. IfChar
is specified, see alsoChar
andCharOff
. IndividualEntry
s andEntryTbl
s can specify an alternate alignment.char
Char
specifies the alignment character when theAlign
attribute is set toChar
.charoff
CharOff
specifies the percentage of the column's total width that should appear to the left of the first occurance of the character identified inChar
when theAlign
attribute is set toChar
. This attribute is inherited from theColSpec
of the column specified inNamest
or from the enclosingTGroup
.colsep
If
ColSep
has the value 1 (true), then a rule will be drawn to the right of the spanning column described by thisSpanSpec
. A value of 0 (false) suppresses the rule. The rule to the right of the last column in the table is controlled by theFrame
attribute of the enclosingTable
orInformalTable
and theColSep
of the last column in the table is ignored. If unspecified, this attribute is inherited from enclosing elements.nameend
NameEnd
is the name (defined in aColSpec
) of the rightmost column of the span.namest
NameSt
is the name (defined in aColSpec
) of the leftmost column of the span.rowsep
If
RowSep
has the value 1 (true), then a rule will be drawn below all the cells in thisSpan
. A value of 0 (false) suppresses the rule. The rule below the last row in the table is controlled by theFrame
attribute of the enclosingTable
orInformalTable
and theRowSep
of the last row is ignored. If unspecified, this attribute is inherited from enclosing elements.spanname
SpanName
specifies a name by which subsequentEntry
andEntryTbl
s can refer to the span defined in thisSpanSpec
.