<CellStyle> / Element reference
CellStyle
The CellStyle element in IDML: where it appears (Resources/Styles), its 53 attributes, their values, and how real documents use them.
Definition
A named set of cell formatting, such as fill, edge strokes, insets and alignment, that cells and table-style regions apply.
- Lives in
Resources/Styles272- Frequency
- In 272 of the 305 documents of the census (89.2%), 2026-10-12
- Attributes
- 53 observed, 28 of them vary between documents
- Discussed in
- Glossary, Table and cell styles, Resource parts and Styles
Structure
Relationships
CellStyle 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 |
|---|---|---|---|---|
| Name# The name InDesign shows for the object in its panels. References between objects use Self, never the name. | builtin or keyword or text | any | — | 100% varies in 6 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | reference to CellStyle | any | — | 100% varies in 6 |
| AppliedParagraphStyle# The paragraph style applied, by its Self, such as ParagraphStyle/$ID/NormalParagraphStyle. | reference to ParagraphStyle | any | — | 99.6% |
| BasedOn# The style this one inherits from, by its Self. Any setting it leaves out comes from there. | object, string | any | — | 2.2% varies in 2 |
| ExtendedKeyboardShortcut# | list of numbers | any | — | 1.8% |
| 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 Swatch | any | — | 1.8% varies in 2 |
| KeyboardShortcut# The keyboard shortcut that applies the style in InDesign, encoded as a list of numbers. An interface setting; it does not change the text. | list of numbers | any | — | 1.8% |
| VerticalJustification# Where the text sits vertically in the frame or cell: TopAlign, CenterAlign, BottomAlign, or JustifyAlign to spread lines over the height. | keyword | TopAlignCenterAlign5BottomAlignJustifyAlign | TopAlign | 1.8% varies in 1 |
| BottomEdgeStrokeColor# The swatch for the cell's bottom edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 1.5% varies in 3 |
| BottomEdgeStrokeWeight# The thickness of the cell's bottom edge stroke, in points. | integer or real (pt) | 0 or more | — | 1.5% varies in 4 |
| BottomInset# | integer or real | any | — | 1.5% varies in 2 |
| LeftEdgeStrokeColor# The swatch for the cell's left edge stroke, by Self; Swatch/None for no stroke. | reference to Swatch | any | — | 1.5% varies in 1 |
| LeftEdgeStrokeWeight# The thickness of the cell's left edge stroke, in points. | integer or real (pt) | 0 or more | — | 1.5% varies in 2 |
| LeftInset# | integer or real | any | — | 1.5% varies in 4 |
| RightEdgeStrokeColor# The swatch for the cell's right edge stroke, by Self; Swatch/None for no stroke. | reference to Swatch | any | — | 1.5% varies in 1 |
| RightEdgeStrokeWeight# The thickness of the cell's right edge stroke, in points. | integer or real (pt) | 0 or more | — | 1.5% varies in 2 |
| RightInset# | integer or real | any | — | 1.5% varies in 2 |
| TextBottomInset# The space between the cell's bottom edge and its text, in points. | integer or real | any | — | 1.5% varies in 2 |
| TextLeftInset# The space between the cell's left edge and its text, in points. | integer or real | any | — | 1.5% varies in 4 |
| TextRightInset# The space between the cell's right edge and its text, in points. | integer or real | any | — | 1.5% varies in 2 |
| TextTopInset# The space between the cell's top edge and its text, in points. | integer or real | any | — | 1.5% varies in 2 |
| TopEdgeStrokeColor# The swatch for the cell's top edge stroke, by Self; Swatch/None for no stroke. | reference to Color and Swatch | any | — | 1.5% varies in 3 |
| TopEdgeStrokeWeight# The thickness of the cell's top edge stroke, in points. | integer or real (pt) | 0 or more | — | 1.5% varies in 4 |
| TopInset# | integer or real | any | — | 1.5% varies in 2 |
| BottomEdgeStrokeOverprint# When true, the bottom edge stroke prints over the inks beneath it instead of knocking them out. | boolean | any | — | 1.1% varies in 1 |
| BottomEdgeStrokeTint# The strength of the bottom edge stroke's colour, as a percentage. | integer | any | — | 1.1% varies in 2 |
| 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 | — | 1.1% |
| LeftEdgeStrokeType# The stroke style of the cell's left edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference | any | — | 1.1% varies in 1 |
| RightEdgeStrokeType# The stroke style of the cell's right edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference | any | — | 1.1% varies in 1 |
| TopEdgeStrokeTint# The strength of the top edge stroke's colour, as a percentage. | integer | any | — | 1.1% varies in 2 |
| TopEdgeStrokeType# The stroke style of the cell's top edge, by Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/ThickThick. | reference | any | — | 1.1% varies in 1 |
| 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 | 0.7% varies in 2 |
| BottomEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped bottom edge stroke. | reference | any | — | 0.4% |
| BottomEdgeStrokeGapTint# The strength of the bottom edge stroke's gap colour, as a percentage. | integer | any | — | 0.4% |
| DiagonalLineInFront# When true, the cell's diagonal lines are drawn over its content instead of behind it. | boolean | any | — | 0.4% |
| DiagonalLineStrokeColor# | reference | any | — | 0.4% |
| DiagonalLineStrokeType# | reference | any | — | 0.4% |
| DiagonalLineStrokeWeight# | integer | any | — | 0.4% |
| GraphicBottomInset# | integer | any | — | 0.4% |
| GraphicLeftInset# | integer | any | — | 0.4% |
| GraphicRightInset# | integer | any | — | 0.4% |
| GraphicTopInset# | integer | any | — | 0.4% |
| LeftEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped left edge stroke. | reference | any | — | 0.4% |
| LeftEdgeStrokeGapTint# The strength of the left edge stroke's gap colour, as a percentage. | integer | any | — | 0.4% |
| LeftEdgeStrokeOverprint# When true, the left edge stroke prints over the inks beneath it instead of knocking them out. | boolean | any | — | 0.4% |
| LeftEdgeStrokeTint# The strength of the left edge stroke's colour, as a percentage. | integer | any | — | 0.4% |
| RightEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped right edge stroke. | reference | any | — | 0.4% |
| RightEdgeStrokeGapTint# The strength of the right edge stroke's gap colour, as a percentage. | integer | any | — | 0.4% |
| RightEdgeStrokeOverprint# When true, the right edge stroke prints over the inks beneath it instead of knocking them out. | boolean | any | — | 0.4% |
| RightEdgeStrokeTint# The strength of the right edge stroke's colour, as a percentage. | integer | any | — | 0.4% |
| TopEdgeStrokeGapColor# The swatch painted in the gaps of a dashed, dotted or striped top edge stroke. | reference | any | — | 0.4% |
| TopEdgeStrokeGapTint# The strength of the top edge stroke's gap colour, as a percentage. | integer | any | — | 0.4% |
| TopEdgeStrokeOverprint# When true, the top edge stroke prints over the inks beneath it instead of knocking them out. | boolean | any | — | 0.4% |
CellStyle (census of 2026-10-12, 305 documents). Seen in is the share of the 272 documents with a CellStyle 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.Evidence
- Observed
- In 272 of 305 documents (89.2%):
Resources/Styles272. - 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.
Paged support
What Paged, one implementation of the format, does with CellStyle. 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 b6f499b, read 2026-11-30; render from the capability record exported 2026-11-29.
- Parse
- Reads 22 of the 53 attributes
- Render
- No feature of the capability record names this element
- Edit
- 12 attributes map to a scriptable path for
paged.set - Write
- Writes 21 of the 53 attributes on IDML export
By attribute
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 CellStyle.
WatermarkPreference
The WatermarkPreference element in IDML: where it appears (designmap), its 14 attributes, their values, and how real documents use them.
CharacterStyle
The CharacterStyle element in IDML: where it appears (Resources/Styles), its 36 attributes, their values, and how real documents use them.