Paged.The open publishing system
The format atlas
Element referenceResources/Styles

<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.

Tier: ProProIIIreference

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/Styles 305
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

Contains

  • Properties56
Where 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

AttributeTypeValuesDefaultSeen 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 textany—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 CharacterStyleany—100%
varies in 56
Imported#booleanfalse271—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.
booleantrue265—86.9%
SplitDocument#booleanfalse265—86.9%
StyleUniqueId#builtin or textany—86.9%
varies in 55
IncludeClass#booleantrue84—27.5%
ExtendedKeyboardShortcut#list of numbersany—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, stringany—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 numbersany—18.4%
PreviewColor
a child of Properties
#
enumerationany—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 Colorany—17%
varies in 45
FontStyle#
The face within the font family, such as Regular or Bold Italic.
keyword or textany—14.4%
varies in 42
AppliedFont
a child of Properties
#
The font family, such as Minion Pro; FontStyle picks the face within it.
stringany—7.9%
varies in 24
Tracking#
Even spacing added between all characters, in thousandths of an em.
integer-1000 to 1000006.2%
varies in 17
PointSize#
The type size, in points.
integer (pt)0.1 to 1296125.9%
varies in 16
Capitalization#
Normal, AllCaps, SmallCaps or CapToSmallCap.
keywordNormal11AllCaps14SmallCapsCapToSmallCap or a named valueNormal4.9%
varies in 11
Leading
a child of Properties
#
A character attribute in InDesign: each line takes the largest leading among its runs.
enumeration, unit0 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 Swatchany—4.3%
varies in 1
StrokeWeight#
The stroke's thickness, in points.
integer or realany—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.
realany—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.
integerany—1.6%
varies in 1
KerningMethod#
InDesign writes $ID/Metrics, $ID/Optical or $ID/None, with the $ID/ prefix.
keywordMetricsOpticalNone or a named valueMetrics1%
varies in 2
KerningValue#
Manual kerning at this position, in thousandths of an em, added to the automatic kerning.
realany—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.
untypedany—1%
varies in 2
OverprintFill#
When true, the fill prints over the inks beneath it instead of knocking them out.
booleanfalse3—1%
Position#
Normal, Superscript, Subscript, and the OpenType variants OTSuperscript, OTSubscript, OTNumerator, OTDenominator.
keywordNormalSuperscriptSubscriptOTSuperscriptOTSubscriptOTNumeratorOTDenominator or a named valueNormal1%
varies in 1
OTFContextualAlternate#
Whether the font's contextual alternates are used (the OpenType calt feature).
booleanany—0.7%
OverprintStroke#
When true, the stroke prints over the inks beneath it instead of knocking them out.
booleanany—0.7%
BaselineShift#
Moves the glyphs up (positive) or down (negative) from the baseline, in points.
integer (pt)any00.3%
varies in 1
EndJoin#
How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin.
keywordany—0.3%
Ligatures#
Whether the font's standard ligatures, such as fi and fl, are used.
booleananytrue0.3%
StrokeAlignment#
Where the stroke sits on the path: centred on it (CenterAlignment, the default), inside it or outside it.
keywordany—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.
integerany—0.3%
Underline#
Whether the text is underlined.
booleananyfalse0.3%
The attributes documents set on 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/Styles 305.
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

AttributeParseEditWrite
Namereadsstyles.rs:1137namewritesstyle_attrs.rs:233
Selfreadsstyles.rs:1136—writesstyle_attrs.rs:229
Importednot read—not written
EmitCssnot read—not written
SplitDocumentnot read—not written
StyleUniqueIdnot read—not written
IncludeClassnot read—not written
ExtendedKeyboardShortcutnot read—not written
BasedOnreadsstyles.rs:1138—writesresources.rs:707
KeyboardShortcutnot read—not written
PreviewColornot read—not written
FillColorreadsstyles.rs:1144characterFillColorwritesstyle_attrs.rs:235
FontStylereadsstyles.rs:1140characterFontStylewritesstyle_attrs.rs:234
AppliedFontreadsstyles.rs:1139characterFontFamilywritesresources.rs:656
Trackingreadsstyles.rs:1154characterTrackingwritesstyle_attrs.rs:251
PointSizereadsstyles.rs:1142characterFontSizewritesstyle_attrs.rs:244
Capitalizationreadsstyles.rs:1148characterCasewritesstyle_attrs.rs:237
Leadingreadsstyles.rs:1143characterLeadingwritesresources.rs:671
StrokeColorreadsstyles.rs:1146—writesstyle_attrs.rs:236
StrokeWeightreadsstyles.rs:1147—writesstyle_attrs.rs:246
EpubAriaRolenot read—not written
MiterLimitnot read—not written
FillTintreadsstyles.rs:1145—writesstyle_attrs.rs:245
KerningMethodreadsstyles.rs:1172characterKerningMethodwritesstyle_attrs.rs:284
KerningValuenot read—not written
Labelnot read—not written
OverprintFillreadsstyles.rs:1160—writesstyle_attrs.rs:259
Positionreadsstyles.rs:1153characterPositionwritesstyle_attrs.rs:238
OTFContextualAlternatereadsstory.rs:83—writesstyle_attrs.rs:63
OverprintStrokereadsstyles.rs:1161—writesstyle_attrs.rs:260
BaselineShiftreadsstyles.rs:1149characterBaselineShiftwritesstyle_attrs.rs:247
EndJoinnot read—not written
Ligaturesreadsstyles.rs:1171characterLigatureswritesstyle_attrs.rs:261
StrokeAlignmentnot read—not written
StrokeTintnot read—not written
Underlinereadsstyles.rs:1155characterUnderlinewritesemit.rs:835

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.

On this page