align

Horizontal Alignment (OASIS Table Model)

Definition

Sets the horizontal (line) alignment for the text inside the associated element, controlling how the text is placed horizontally in the cell for display.

Remarks

Character alignment is set using three attributes:

  1. align is set to “char”;
  2. char contains the character to use for the aligning, for example, a decimal point “.” or equal sign “=”; and
  3. charoff contains the percent of the current column width to the left of the (left edge of the) alignment character, for example, “30”.

The official OASIS Exchange CALS Table Model documentation can be found at http://www.oasis-open.org/specs/a502.htm

Attribute Values

In Elements

<oasis:colspec> Column Specification (OASIS Table Model)
<oasis:entry> Table Entry (OASIS Table Model)
<oasis:tgroup> Table Group (OASIS Table Model)
Value Meaning
center The text will be centered within the Table Entry.
char The text will be aligned relative to a specified character; the character to be used is the value of the char attribute.
justify The text will be aligned quad left and right.
left The text will be aligned flush left.
right The text will be aligned flush right.
Restriction: This attribute may be specified if the element is used.