<CharacterStyle> / Element reference
CharacterStyle
The CharacterStyle element in IDML: where it appears (Resources/Styles), its 36 attributes, their values, and how real documents use them.
Definition
A named set of character attributes that a run applies through AppliedCharacterStyle; it usually sets only what differs from its paragraph.
- Lives in
Resources/Styles305- Frequency
- In 305 of the 305 documents of the census (100%), 2026-10-12
- Attributes
- 36 observed, 19 of them vary between documents
- Discussed in
- Character styles, Styles, Conflict resolution, Fonts and faces, Glossary and How the parts reference each other
Structure
Relationships
CharacterStyle 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 reference or text | any | — | 100% varies in 56 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | reference to CharacterStyle | any | — | 100% varies in 56 |
| Imported# | boolean | false271 | — | 88.9% |
| EmitCss# When true, EPUB and HTML export writes CSS for the class this style is exported with. It does not change the page. | boolean | true265 | — | 86.9% |
| SplitDocument# | boolean | false265 | — | 86.9% |
| StyleUniqueId# | builtin or text | any | — | 86.9% varies in 55 |
| IncludeClass# | boolean | true84 | — | 27.5% |
| ExtendedKeyboardShortcut# | list of numbers | any | — | 24.3% |
| BasedOn a child of Properties #The style this one inherits from, by its Self. Any setting it leaves out comes from there. | object, string | any | — | 18.4% varies in 20 |
| 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 | — | 18.4% |
| PreviewColor a child of Properties # | enumeration | any | — | 18.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 | any | — | 17% varies in 45 |
| FontStyle# The face within the font family, such as Regular or Bold Italic. | keyword or text | any | — | 14.4% varies in 42 |
| AppliedFont a child of Properties #The font family, such as Minion Pro; FontStyle picks the face within it. | string | any | — | 7.9% varies in 24 |
| Tracking# Even spacing added between all characters, in thousandths of an em. | integer | -1000 to 10000 | 0 | 6.2% varies in 17 |
| PointSize# The type size, in points. | integer (pt) | 0.1 to 1296 | 12 | 5.9% varies in 16 |
Capitalization#Normal, AllCaps, SmallCaps or CapToSmallCap. | keyword | Normal11AllCaps14SmallCapsCapToSmallCap or a named value | Normal | 4.9% varies in 11 |
| Leading a child of Properties #A character attribute in InDesign: each line takes the largest leading among its runs. | enumeration, unit | 0 or more | — | 4.9% varies in 13 |
| StrokeColor# The swatch the stroke is painted with, by its Self. Swatch/None means no stroke. | reference to Swatch | any | — | 4.3% varies in 1 |
| StrokeWeight# The stroke's thickness, in points. | integer or real | any | — | 2.6% varies in 6 |
| EpubAriaRole# | — | any | — | 2% |
| MiterLimit# For pointed corners, how far the point may reach, as a multiple of the stroke weight, before the corner is bevelled instead. | real | any | — | 2% varies in 4 |
| 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 | any | — | 1.6% varies in 1 |
| KerningMethod# InDesign writes $ID/Metrics, $ID/Optical or $ID/None, with the $ID/ prefix. | keyword | MetricsOpticalNone or a named value | Metrics | 1% varies in 2 |
| KerningValue# Manual kerning at this position, in thousandths of an em, added to the automatic kerning. | real | any | — | 1% |
| Label a child of Properties #Key–value data that scripts and plugins attach to the object, as <KeyValuePair Key Value> entries in a <Properties><Label> child. It does not change the layout. | untyped | any | — | 1% varies in 2 |
| OverprintFill# When true, the fill prints over the inks beneath it instead of knocking them out. | boolean | false3 | — | 1% |
Position#Normal, Superscript, Subscript, and the OpenType variants OTSuperscript, OTSubscript, OTNumerator, OTDenominator. | keyword | NormalSuperscriptSubscriptOTSuperscriptOTSubscriptOTNumeratorOTDenominator or a named value | Normal | 1% varies in 1 |
| OTFContextualAlternate# Whether the font's contextual alternates are used (the OpenType calt feature). | boolean | any | — | 0.7% |
| OverprintStroke# When true, the stroke prints over the inks beneath it instead of knocking them out. | boolean | any | — | 0.7% |
| BaselineShift# Moves the glyphs up (positive) or down (negative) from the baseline, in points. | integer (pt) | any | 0 | 0.3% varies in 1 |
| EndJoin# How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin. | keyword | any | — | 0.3% |
| Ligatures# Whether the font's standard ligatures, such as fi and fl, are used. | boolean | any | true | 0.3% |
| StrokeAlignment# Where the stroke sits on the path: centred on it ( CenterAlignment, the default), inside it or outside it. | keyword | any | — | 0.3% |
| StrokeTint# The stroke colour's strength as a percentage, 0–100. -1 means no tint is set, the same as leaving the attribute out. | integer | any | — | 0.3% |
| Underline# Whether the text is underlined. | boolean | any | false | 0.3% |
CharacterStyle (census of 2026-10-12, 305 documents). Seen in is the share of the 305 documents with a CharacterStyle 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 305 of 305 documents (100%):
Resources/Styles305. - 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 CharacterStyle. 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 21 of the 36 attributes
- Render
- No feature of the capability record names this element
- Edit
- 13 attributes map to a scriptable path for
paged.set - Write
- Writes 21 of the 36 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 CharacterStyle.
CellStyle
The CellStyle element in IDML: where it appears (Resources/Styles), its 53 attributes, their values, and how real documents use them.
CharacterStyleGroup
The CharacterStyleGroup element in IDML: where it appears (Resources/Styles), its 2 attributes, their values, and how real documents use them.