<TextFrame> / Element reference
TextFrame
The TextFrame element in IDML: where it appears (Spreads), its 51 attributes, their values, and how real documents use them.
Definition
A frame that pours a story. Geometry + fill/stroke like any page item, plus text-frame preferences (columns, inset, vertical justification).
- Lives in
Spreads120,MasterSpreads44 andStories3- Frequency
- In 120 of the 305 documents of the census (39.3%), 2026-10-12
- Attributes
- 51 observed, 34 of them vary between documents
- Discussed in
- Frames & paths, Anchored objects, Glossary, Content parts, How the parts reference each other and Text frames
Structure
Relationships
Inside
TextFrame 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 |
|---|---|---|---|---|
| AppliedObjectStyle# The object style applied, by its Self, such as ObjectStyle/$ID/[None]. Attributes set on the object itself override the style's. | reference to ObjectStyle | any | — | 100% varies in 87 |
| ContentType# What the frame is meant to hold: TextType, GraphicType or Unassigned. | keyword | TextType120 | — | 100% |
| ItemTransform# Places the object: six numbers a b c d tx ty, an affine matrix from the object's own coordinates to its parent's. | list of numbers | any | — | 100% varies in 111 |
| NextTextFrame# The next frame in the story's thread, by Self; n for the last frame. | id | any | — | 100% varies in 21 |
| ParentStory# The story whose text the frame or path holds, by the story's Self; frames naming the same story are threaded. | id | any | — | 100% varies in 120 |
| PathGeometry a child of Properties #The object's outline, in a <Properties> child: one path per contour, each a list of anchor points in the object's own coordinates. | untyped | any | — | 100% varies in 114 |
| PreviousTextFrame# The previous frame in the story's thread, by Self; n for the first frame. | id | any | — | 100% varies in 21 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | id | any | — | 100% varies in 120 |
| 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 | — | 99.2% varies in 4 |
Visible#Visible, Locked and Name: an item can be hidden on its own, independently of its layer; locked against editing; and given a name ($ID/ means none). | boolean | true119 | true | 99.2% |
| GradientFillAngle# The direction of a linear gradient fill, in degrees. Used when the fill is a gradient. | integer (degrees) | -360 to 360 | — | 75.8% varies in 3 |
| GradientFillHiliteAngle# | integer or real | any | — | 75.8% varies in 1 |
| GradientFillHiliteLength# | integer or real | any | — | 75.8% varies in 1 |
| GradientFillLength# How far a gradient fill runs from its first stop to its last, in points; for a radial gradient, its radius. | integer or real (pt) | 0 or more | — | 75.8% varies in 6 |
| GradientFillStart# Where a gradient fill starts, as x y in the object's own coordinates. | list of numbers (pt) | any | — | 75.8% varies in 6 |
| GradientStrokeAngle# The direction of a linear gradient stroke, in degrees. Used when the stroke is a gradient. | integer (degrees) | -360 to 360 | — | 75.8% |
| GradientStrokeHiliteAngle# | integer | any | — | 75.8% |
| GradientStrokeHiliteLength# | integer | any | — | 75.8% |
| GradientStrokeLength# How far a gradient stroke runs from its first stop to its last, in points; for a radial gradient, its radius. | integer or real (pt) | 0 or more | — | 75.8% varies in 2 |
| GradientStrokeStart# Where a gradient stroke starts, as x y in the object's own coordinates. | list of numbers | any | — | 75.8% varies in 2 |
| LocalDisplaySetting# How InDesign draws this object on screen, overriding the view's display setting. It has no effect on output. | keyword | Default91 | — | 75.8% |
| HorizontalLayoutConstraints# For liquid page rules: three tokens for the space to the left, the width and the space to the right, each FixedDimension or FlexibleDimension. | text | any | — | 75% |
| LastUpdatedInterfaceChangeCount# | — | any | — | 75% |
| OverriddenPageItemProps# InDesign's bookkeeping of which properties were edited after a master item was overridden; nothing drawn depends on it. | — | any | — | 75% |
| ParentInterfaceChangeCount# | list of numbers | any | — | 75% varies in 15 |
| TargetInterfaceChangeCount# | — | any | — | 75% |
| VerticalLayoutConstraints# For liquid page rules: three tokens for the space above, the height and the space below, each FixedDimension or FlexibleDimension. | text | any | — | 75% |
| ItemLayer# The layer it is on. | id | any | — | 73.3% varies in 74 |
| Locked# When true, InDesign won't let the object be selected or edited. It still displays and prints. | boolean | false88 | false | 73.3% varies in 1 |
| StrokeWeight# The stroke's thickness, in points. | integer or real (pt) | 0 or more | 1 | 70.8% varies in 47 |
| StrokeColor# The swatch the stroke is painted with, by its Self. Swatch/None means no stroke. | reference to Color and Swatch | any | — | 50.8% varies in 11 |
| 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, Gradient and Swatch | any | — | 49.2% varies in 34 |
| AllowOverrides# On a master page item: whether a page that uses the master may override it and edit it locally. | boolean | true43 | — | 35.8% |
| BottomLeftCornerRadius# The size of the bottom-left corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 5% varies in 5 |
| BottomRightCornerRadius# The size of the bottom-right corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 5% varies in 5 |
| CornerRadius# The all-corner size, in points, InDesign writes beside the per-corner radii. It is not read, not even for a per-corner option that has no radius of its own (that corner is 12 pt). | integer or real | any | — | 5% varies in 6 |
| FlexItemHeightMode# | keyword | FlexFixed6 | — | 5% |
| FlexItemWidthMode# | keyword | FlexFixed6 | — | 5% |
| MiterLimit# For pointed corners, how far the point may reach, as a multiple of the stroke weight, before the corner is bevelled instead. | integer | any | — | 5% |
| TopLeftCornerRadius# The size of the top-left corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 5% varies in 6 |
| TopRightCornerRadius# The size of the top-right corner's effect, in points; 12 when the corner has an effect and no radius. | integer or real (pt) | 0 or more | 12 | 5% varies in 5 |
| StrokeType# The stroke style, by its Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/Dashed. | reference to StrokeStyle | StrokeStyle/$ID/SolidStrokeStyle/$ID/DashedStrokeStyle/$ID/DottedStrokeStyle/$ID/Japanese DotsStrokeStyle/$ID/WavyStrokeStyle/$ID/Thick - ThickStrokeStyle/$ID/Thick - ThinStrokeStyle/$ID/Thin - ThickStrokeStyle/$ID/Thin - Thin or a named value | — | 3.3% varies in 1 |
| BottomLeftCornerOption# The effect on the bottom-left corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 2.5% varies in 1 |
| BottomRightCornerOption# The effect on the bottom-right corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 2.5% varies in 1 |
| CornerOption# The all-corner effect InDesign writes beside the four per-corner attributes ( None, RoundedCorner, InverseRoundedCorner, InsetCorner, BevelCorner or FancyCorner). InDesign draws corners from the per-corner attributes alone, on page items and object styles: an element that spells its corners only here has square corners. | keyword | any | — | 2.5% 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 | 2.5% varies in 1 |
| TopLeftCornerOption# The effect on the top-left corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 2.5% varies in 1 |
| TopRightCornerOption# The effect on the top-right corner, in CornerOption's tokens; a bare Rounded or Inset is no effect. With the other three per-corner attributes, this is what InDesign draws. | keyword | NoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named value | None | 2.5% varies in 1 |
| ECPageItemData# | — | any | — | 0.8% |
| ECPaginationPageItemData# | list of numbers or text | any | — | 0.8% varies in 1 |
| EndJoin# How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin. | keyword | any | — | 0.8% |
TextFrame (census of 2026-10-12, 305 documents). Seen in is the share of the 120 documents with a TextFrame 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

TextFrame in the example “A two-column text frame with balanced columns”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Text frames.Behavior
A TextFramePreference sets two columns with a 24 pt gutter, balances them by line count, and spells its insets as InDesign does: a typed InsetSpacing list inside Properties.
Shown, with its source and a live render, in Text frames.
A one-page template whose frames carry a Name: a text frame 'headline' pointing at its story, and an empty graphic frame 'photo' (ContentType=GraphicType) waiting for an <Image>.
Shown, with its source and a live render, in Swap text and images in a template.
Page items are placed in spread coordinates: the spine is x = 0 and, as InDesign writes its own files, the pages' vertical centre is y = 0. Each Page is placed in that space by its own ItemTransform.
Shown, with its source and a live render, in Units & origin.
Evidence
- Observed
- In 120 of 305 documents (39.3%):
Spreads120,MasterSpreads44 andStories3. - 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 two-column text frame with balanced columns: 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.
- A template with a named text slot and a named image slot: 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.
- Spread coordinates on a two-page spread: Opened by InDesign 20.0.1.32 with no missing font or link, saved back as IDML and exported to PDF (2 pages), 2026-10-11.
Paged support
What Paged, one implementation of the format, does with TextFrame. 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 29 of the 51 attributes
- Render
- 2 features of the capability record name this element (below); examples compared with InDesign below
- Edit
- 25 attributes map to a scriptable path for
paged.set - Write
- Writes 33 of the 51 attributes on IDML export
By attribute
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Page-item kinds (TextFrame, Rectangle, Oval, Polygon, GraphicLine, Group) shipped | yes | yes | — | All linked evidence is passing (3 tests current) |
| TextFrame AutoSizing (width/height growth) shipped | yes | yes | yes | All linked evidence is passing (1 test current) |
Rendered against InDesign
- A two-column text frame with balanced columns: mean colour difference 0.156 ΔE, structural similarity 0.993, same fonts on both sides (checked 2026-10-11).
- A template with a named text slot and a named image slot: mean colour difference 0.923 ΔE, structural similarity 0.997, same fonts on both sides (checked 2026-10-11).
- Spread coordinates on a two-page spread: mean colour difference 0.036 ΔE, structural similarity 0.999, 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 TextFrame.