tablecell (Domino DTD)

Represents a cell in a table.

Containment Hierarchy

Contained by: <tablerow>

Contains: <cellbackground>, %richtext.block;

Syntax

<!ELEMENT tablecell ( cellbackground?, (%richtext.block;)* )>

Content

cellbackground?, (%richtext.block;)*

Contains an optional <cellbackground> element, followed by any number of the contents of the %richtext.block; entity.

Attributes

<!ATTLIST tablecell

bgcolor

%color;

#IMPLIED

rowspan

%integer;

"1"

columnspan

%integer;

"1"

colorstyle

(%tablecell.color.styles;)

#IMPLIED

altbgcolor

%color;

#IMPLIED

valign

(%vertical.aligns;)

#IMPLIED

borderwidth

%pixels.1to4;

"1px"

transition

(%tablecell.transitions;)

"none"

%html.core.attrs;

>

altbgcolor

Other color to use when customizing a gradient colorstyle.

bgcolor

Background color of the cell.

borderwidth

Width of the cell border.

columnspan

Number of columns you select and merge.

colorstyle

Style of color in a cell as defined in the %tablecell.color.styles; entity.

rowspan

Number of rows you select and merge.

transition

Special effects for the cell when advancing rows, as defined in the %tablecell.transitions; entity.

valign

Vertical alignment of the cell as defined in the %vertical.aligns; entity.

Defined entities for <tablecell> element

The %tablecell.color.styles; entity defines the choices for color styles in a table cell.

Syntax:

<!ENTITY % tablecell.color.styles "solid | vgradient | hgradient">

hgradient

Left to right gradient.

solid

One solid color.

vgradient

Top to bottom gradient.

The %tablecell.transitions; entity defines the special effects you can set for table cells when you create a table that displays only one row at a time. These options specify the display styles used to transition from row to row based on either user selection or a preset timer.

Syntax:

<!ENTITY % tablecell.transitions "none | rolling | lefttoright | toptobottom | wipe | boxes | explode | dissolve">

boxes

Displays the cell from beginning to end, incrementing the content in small blocks of pixels.

dissolve

The row emerges gradually, pixel by pixel, until it is fully displayed.

explode

Displays the center of the cell and expands out to display its full content.

lefttoright

The cell rolls out from left to right.

none

No special effect for the cell.

rolling

The cell appears in blocks that fill out from left to right.

toptobottom

The cell scrolls from beginning to end.

wipe

Displays the entire cell at once.

The %vertical.aligns; entity defines the choices of vertical alignments.

Syntax:

<!ENTITY % vertical.aligns "top | center | bottom">

Example