spanspec — Formatting information for a spanned column in a table
spanspec ::= empty
Common attributes and common linking attributes.
Additional attributes:
align
(enumeration) = “center” | “char” | “justify” | “left” |
“right”
char
charoff
(decimal)
colsep
(enumeration) = “0” | “1”
nameend
namest
rowsep
(enumeration) = “0” | “1”
spanname
Required attributes are shown in bold.
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.
Suppressed. This element is expected to obey the semantics of the CALS Table Model Document Type Definition [calsdtd].
The namest
and nameend
attributes of a
spanspec
must refer to named
colspec
s in the same table. In other words, if the
spanspec
:
t<spanspec spanname="fullyear" namest="jan" nameend="dec"/>
exists in a table, colspec
s named
“jan” and “dec” must also exist in the same
table.
Common attributes and common linking attributes.
Specifies the horizontal alignment of text in an entry
Enumerated values: | |
---|---|
“center” | Centered |
“char” | Aligned on a particular character |
“justify” | Left and right justified |
“left” | Left justified |
“right” | Right justified |
Specifies the alignment character when align
is set to
“char”
Specifies the percentage of the column’s total width that
should appear to the left of the first occurrence of the
character identified in char
when align
is set to
“char”
Specifies the presence or absence of the column separator
Enumerated values: | |
---|---|
“0” | No column separator rule. |
“1” | Provide a column separator rule on the right. |
Specifies an ending column by name
Specifies a starting column by name
Specifies the presence or absence of the row separator
Enumerated values: | |
---|---|
“0” | No row separator rule. |
“1” | Provide a row separator rule below. |
Provides a name for a span specification