<Cell> / Element reference
Cell
The Cell element in IDML: where it appears (Stories), its 63 attributes, their values, and how real documents use them.
Definition
One cell of a table, addressed column:row, holding paragraphs and its own insets, fill, edge strokes and spans.
- Lives in
Stories21- Frequency
- In 21 of the 305 documents of the census (6.9%), 2026-10-12
- Attributes
- 63 observed, 36 of them vary between documents
- Discussed in
- Tables, Rows, columns, and cells, Build a table in a story, Table and cell styles, Extract all text and Styles
Structure
Relationships
Cell sits: the elements that hold it, and the elements it holds. Each number is the documents that show the pairing (census of 2026-10-12, 305 documents).Attributes
| Attribute | Type | Values | Default | Seen in |
|---|---|---|---|---|
| ColumnSpan# How many columns the cell covers, counting its own; the positions it covers have no <Cell>. | integer (count) | 1 or more | — | 100% varies in 4 |
| Name# The cell's address, column:row, both counted from 0: 0:0 is the top-left cell. | text | any | — | 100% varies in 21 |
| RowSpan# How many rows the cell covers, counting its own; the positions it covers have no <Cell>. | integer (count) | 1 or more | — | 100% varies in 3 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | text | any | — | 100% varies in 21 |
| AppliedCellStyle# The cell style applied, by Self; attributes on the cell itself win over it. | reference to CellStyle | any | — | 90.5% varies in 1 |
| AppliedCellStylePriority# | integer | any | — | 90.5% varies in 8 |
| CellType# What the cell holds: TextTypeCell for text or GraphicTypeCell for a graphic. | keyword | TextTypeCell19 | — | 90.5% |
| ClipContentToTextCell# | boolean | false19 | — | 90.5% |
| TextBottomInset# The space between the cell's bottom edge and its text, in points. | integer or real (pt) | 0 or more | — | 90.5% varies in 16 |
| TextLeftInset# The space between the cell's left edge and its text, in points. | integer or real (pt) | 0 or more | — | 90.5% varies in 16 |
| TextRightInset# The space between the cell's right edge and its text, in points. | integer or real (pt) | 0 or more | — | 90.5% varies in 14 |
| TextTopInset# The space between the cell's top edge and its text, in points. | integer or real (pt) | 0 or more | — | 90.5% varies in 19 |
| BottomEdgeStrokePriority# | integer | any | — | 85.7% varies in 14 |
| LeftEdgeStrokePriority# | integer | any | — | 85.7% varies in 14 |
| RightEdgeStrokePriority# | integer | any | — | 85.7% varies in 14 |
| TopEdgeStrokePriority# | integer | any | — | 85.7% varies in 14 |
| BottomEdgeStrokeColor# The swatch for the cell's bottom edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 81% varies in 13 |
| LeftEdgeStrokeColor# The swatch for the cell's left edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 81% varies in 11 |
| RightEdgeStrokeColor# The swatch for the cell's right edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 81% varies in 11 |
| TopEdgeStrokeColor# The swatch for the cell's top edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 81% varies in 16 |
| BottomEdgeStrokeWeight# The thickness of the cell's bottom edge stroke, in points. | integer or real (pt) | 0 or more | — | 76.2% varies in 13 |
| TopEdgeStrokeWeight# The thickness of the cell's top edge stroke, in points. | integer or real (pt) | 0 or more | — | 76.2% varies in 13 |
| LeftEdgeStrokeWeight# The thickness of the cell's left edge stroke, in points. | integer or real (pt) | 0 or more | — | 71.4% varies in 4 |
| RightEdgeStrokeWeight# The thickness of the cell's right edge stroke, in points. | integer or real (pt) | 0 or more | — | 71.4% varies in 4 |
| FillColor# The swatch that fills the object (for text, its glyphs), by its Self, such as Color/Black. Swatch/None means no fill. | reference to Color and Swatch | any | — | 57.1% varies in 11 |
| LeftInset# | integer or real | any | — | 57.1% varies in 9 |
| TopEdgeStrokeTint# The strength of the top edge stroke's colour, as a percentage. | integer (percent) | 0 to 100 | 100 | 57.1% varies in 1 |
| BottomEdgeStrokeTint# The strength of the bottom edge stroke's colour, as a percentage. | integer (percent) | 0 to 100 | 100 | 52.4% |
| BottomInset# | integer or real | any | — | 52.4% varies in 8 |
| RightInset# | integer or real | any | — | 52.4% varies in 6 |
| TopInset# | integer or real | any | — | 52.4% varies in 11 |
| VerticalJustification# Where the text sits vertically in the frame or cell: TopAlign, CenterAlign, BottomAlign, or JustifyAlign to spread lines over the height. | keyword | TopAlignCenterAlign9BottomAlign3JustifyAlign | TopAlign | 52.4% varies in 4 |
| LeftEdgeStrokeTint# The strength of the left edge stroke's colour, as a percentage. | integer (percent) | 0 to 100 | 100 | 42.9% |
| RightEdgeStrokeTint# The strength of the right edge stroke's colour, as a percentage. | integer (percent) | 0 to 100 | 100 | 42.9% |
| BottomEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped bottom edge stroke. | reference to Color | any | — | 38.1% |
| BottomEdgeStrokeGapTint# The strength of the bottom edge stroke's gap colour, as a percentage. | integer | any | — | 38.1% |
| BottomEdgeStrokeOverprint# When true, the bottom edge stroke prints over the inks beneath it instead of knocking them out. | boolean | false8 | — | 38.1% |
| BottomEdgeStrokeType# The stroke style of the cell's bottom edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference to StrokeStyle | any | — | 38.1% varies in 2 |
| LeftEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped left edge stroke. | reference to Color | any | — | 38.1% |
| LeftEdgeStrokeGapTint# The strength of the left edge stroke's gap colour, as a percentage. | integer | any | — | 38.1% |
| LeftEdgeStrokeOverprint# When true, the left edge stroke prints over the inks beneath it instead of knocking them out. | boolean | false8 | — | 38.1% |
| LeftEdgeStrokeType# The stroke style of the cell's left edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference to StrokeStyle | any | — | 38.1% varies in 2 |
| RightEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped right edge stroke. | reference to Color | any | — | 38.1% |
| RightEdgeStrokeGapTint# The strength of the right edge stroke's gap colour, as a percentage. | integer | any | — | 38.1% |
| RightEdgeStrokeOverprint# When true, the right edge stroke prints over the inks beneath it instead of knocking them out. | boolean | false8 | — | 38.1% |
| RightEdgeStrokeType# The stroke style of the cell's right edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference to StrokeStyle | any | — | 38.1% varies in 2 |
| TopEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped top edge stroke. | reference to Color | any | — | 38.1% |
| TopEdgeStrokeGapTint# The strength of the top edge stroke's gap colour, as a percentage. | integer | any | — | 38.1% |
| TopEdgeStrokeOverprint# When true, the top edge stroke prints over the inks beneath it instead of knocking them out. | boolean | false8 | — | 38.1% |
| TopEdgeStrokeType# The stroke style of the cell's top edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference to StrokeStyle | any | — | 38.1% varies in 2 |
| FillTint# The fill colour's strength as a percentage, 0–100. -1 means no tint is set, the same as leaving the attribute out. | integer (percent) | 0 to 100 | 100 | 23.8% varies in 3 |
| ClipContentToCell# When true, content that does not fit the cell is clipped at its edges. | boolean | false4 | — | 19% |
| DiagonalLineInFront# When true, the cell's diagonal lines are drawn over its content instead of behind it. | boolean | any | — | 4.8% |
| DiagonalLineStrokeColor# | reference | any | — | 4.8% |
| LeftLineDrawn# Whether the diagonal from the top-left to the bottom-right corner is drawn. | boolean | any | — | 4.8% |
| LeftLineStrokeColor# The swatch the top-left to bottom-right diagonal is drawn in, by Self. | reference | any | — | 4.8% |
| LeftLineStrokeWeight# The thickness of the top-left to bottom-right diagonal, in points. | integer or real | any | — | 4.8% varies in 1 |
| MinimumFirstBaselineOffset# The least distance, in points, from the top inset to the first baseline; with FirstBaselineOffset="FixedHeight", the exact distance. | integer | any | — | 4.8% |
| RightLineDrawn# Whether the diagonal from the top-right to the bottom-left corner is drawn. | boolean | any | — | 4.8% |
| RightLineStrokeColor# The swatch the top-right to bottom-left diagonal is drawn in, by Self. | reference | any | — | 4.8% |
| RightLineStrokeWeight# The thickness of the top-right to bottom-left diagonal, in points. | integer or real | any | — | 4.8% varies in 1 |
| RotationAngle# Turns the cell's content by 0, 90, 180 or 270 degrees; its fill and edges do not turn. | integer | any | — | 4.8% |
| TableTextRotation# | keyword | any | — | 4.8% |
Cell (census of 2026-10-12, 305 documents). Seen in is the share of the 21 documents with a Cell that set the attribute; varies in counts those that hold a value other than the most common one. Values are listed, with the documents using each, only where documents use a small closed set. A name with a dotted underline links to the chapter that explains it. How the census counts.Visualization

Cell in the example “A table between two paragraphs”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Tables in the text flow.Behavior
A table is the content of its own paragraph: the <Br/> before it ends the text paragraph above, and the <Br/> right after </Table> ends the table's paragraph, so the text after it starts a new one.
Shown, with its source and a live render, in Tables in the text flow.
Evidence
- Observed
- In 21 of 305 documents (6.9%):
Stories21. - Census
- Taken 2026-10-12 over 305 documents (34 written by test generators, 267 from template packs, 4 samples). It observed 281 elements; this reference gives 195 of them an entry. How the census counts
- Counts are
- Documents, not occurrences. Values are published only for small closed sets; numbers only by kind.
- InDesign checks
- A table between two paragraphs: Opened by InDesign 20.0.1.32 with no missing font or link, saved back as IDML and exported to PDF (1 page), 2026-10-11.
Paged support
What Paged, one implementation of the format, does with Cell. Nothing in this panel is part of the format; the reference above holds for any reader.
As of: scriptable paths from engine release v0.77.0; parse and write from the importer and exporter at paged 6347aa9, read 2026-11-24; render from the capability record exported 2026-11-24.
- Parse
- Reads 37 of the 63 attributes
- Render
- 4 features of the capability record name this element (below); examples compared with InDesign below
- Edit
- 22 attributes map to a scriptable path for
paged.set - Write
- Writes 30 of the 63 attributes on IDML export
By attribute
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Cell styles (create/rename/delete + apply) shipped | yes | yes | yes | All linked evidence is passing (5 tests current) |
| Cell diagonal lines shipped | yes | yes | — | All linked evidence is passing (2 tests current) |
| Cell rotation shipped | yes | yes | — | All linked evidence is passing (1 test current) |
| Cell vertical justification shipped | yes | yes | — | All linked evidence is passing (5 tests current) |
Rendered against InDesign
- A table between two paragraphs: mean colour difference 0.178 ΔE, structural similarity 0.991, same fonts on both sides (checked 2026-10-11).
Parse and write come from the idml-coverage record, which reads the importer and exporter source; each mark links to the line. Render is recorded per feature, not per attribute. A feature is listed when its title in the record names Cell.