Paged.The open publishing system
The format atlas
Element referenceSpreads

<TextFrame> / Element reference

TextFrame

The TextFrame element in IDML: where it appears (Spreads), its 51 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

A frame that pours a story. Geometry + fill/stroke like any page item, plus text-frame preferences (columns, inset, vertical justification).

Lives in
Spreads 120, MasterSpreads 44 and Stories 3
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

Where 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

AttributeTypeValuesDefaultSeen 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 ObjectStyleany—100%
varies in 87
ContentType#
What the frame is meant to hold: TextType, GraphicType or Unassigned.
keywordTextType120—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 numbersany—100%
varies in 111
NextTextFrame#
The next frame in the story's thread, by Self; n for the last frame.
idany—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.
idany—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.
untypedany—100%
varies in 114
PreviousTextFrame#
The previous frame in the story's thread, by Self; n for the first frame.
idany—100%
varies in 21
Self#
The object's ID, unique within the document. An attribute that refers to this object holds this value.
idany—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 textany—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).
booleantrue119true99.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 realany—75.8%
varies in 1
GradientFillHiliteLength#integer or realany—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#integerany—75.8%
GradientStrokeHiliteLength#integerany—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 numbersany—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.
keywordDefault91—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.
textany—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 numbersany—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.
textany—75%
ItemLayer#
The layer it is on.
idany—73.3%
varies in 74
Locked#
When true, InDesign won't let the object be selected or edited. It still displays and prints.
booleanfalse88false73.3%
varies in 1
StrokeWeight#
The stroke's thickness, in points.
integer or real (pt)0 or more170.8%
varies in 47
StrokeColor#
The swatch the stroke is painted with, by its Self. Swatch/None means no stroke.
reference to Color and Swatchany—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 Swatchany—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.
booleantrue43—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 more125%
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 more125%
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 realany—5%
varies in 6
FlexItemHeightMode#keywordFlexFixed6—5%
FlexItemWidthMode#keywordFlexFixed6—5%
MiterLimit#
For pointed corners, how far the point may reach, as a multiple of the stroke weight, before the corner is bevelled instead.
integerany—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 more125%
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 more125%
varies in 5
StrokeType#
The stroke style, by its Self, such as StrokeStyle/$ID/Solid or StrokeStyle/$ID/Dashed.
reference to StrokeStyleStrokeStyle/$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.
keywordNoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named valueNone2.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.
keywordNoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named valueNone2.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.
keywordany—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 1001002.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.
keywordNoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named valueNone2.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.
keywordNoneRoundedCornerInverseRoundedCornerInsetCornerBeveledCornerFancyCorner or a named valueNone2.5%
varies in 1
ECPageItemData#—any—0.8%
ECPaginationPageItemData#list of numbers or textany—0.8%
varies in 1
EndJoin#
How the stroke turns at corners: MiterEndJoin (pointed, the default), RoundEndJoin or BevelEndJoin.
keywordany—0.8%
The attributes documents set on 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

Page 1 of the example “A two-column text frame with balanced columns”, as InDesign exports it.
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%): Spreads 120, MasterSpreads 44 and Stories 3.
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

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

AttributeParseEditWrite
AppliedObjectStylereadsspread.rs:440appliedObjectStylewritesrewrite.rs:1202
ContentTypenot read—writesrewrite.rs:1469
ItemTransformreadsspread.rs:410frameTransformwritesrewrite.rs:1209
NextTextFramereadsspread.rs:1291nextTextFramewritesrewrite.rs:1466
ParentStoryreadsspread.rs:1277—writesrewrite.rs:1458
PathGeometrynot read—not written
PreviousTextFramenot read—writesrewrite.rs:1464
Selfreadsspread.rs:409—writesrewrite.rs:1451
Namereadsutil.rs:148itemNamewritesrewrite.rs:1407
Visiblereadsspread.rs:453elementVisiblewritesrewrite.rs:1278
GradientFillAnglereadsspread.rs:413frameGradientFillAnglewritesrewrite.rs:1015
GradientFillHiliteAnglenot read—not written
GradientFillHiliteLengthnot read—not written
GradientFillLengthreadsspread.rs:414frameGradientFillLengthwritesrewrite.rs:1016
GradientFillStartreadsspread.rs:415frameGradientFillStartwritesrewrite.rs:1030
GradientStrokeAnglereadsspread.rs:422frameGradientStrokeAnglewritesrewrite.rs:1017
GradientStrokeHiliteAnglenot read—not written
GradientStrokeHiliteLengthnot read—not written
GradientStrokeLengthreadsspread.rs:423frameGradientStrokeLengthwritesrewrite.rs:1018
GradientStrokeStartnot read—not written
LocalDisplaySettingnot read—not written
HorizontalLayoutConstraintsnot read—not written
LastUpdatedInterfaceChangeCountnot read—not written
OverriddenPageItemPropsnot read—not written
ParentInterfaceChangeCountnot read—not written
TargetInterfaceChangeCountnot read—not written
VerticalLayoutConstraintsnot read—not written
ItemLayerreadsspread.rs:441itemLayerwritesrewrite.rs:1284
Lockedreadsspread.rs:456elementLockedwritesrewrite.rs:1281
StrokeWeightreadsspread.rs:425frameStrokeWeightwritesrewrite.rs:1235
StrokeColorreadsspread.rs:424frameStrokeColorwritesrewrite.rs:1226
FillColorreadsspread.rs:411frameFillColorwritesrewrite.rs:1213
AllowOverridesnot read—not written
BottomLeftCornerRadiusreadsspread.rs:551frameCornerRadiusBottomLeftwritesrewrite.rs:4975
BottomRightCornerRadiusreadsspread.rs:547frameCornerRadiusBottomRightwritesrewrite.rs:4974
CornerRadiusreadsspread.rs:560—writesrewrite.rs:4986
FlexItemHeightModenot read—not written
FlexItemWidthModenot read—not written
MiterLimitnot read—writesrewrite.rs:1246
TopLeftCornerRadiusreadsspread.rs:539frameCornerRadiusTopLeftwritesrewrite.rs:4972
TopRightCornerRadiusreadsspread.rs:543frameCornerRadiusTopRightwritesrewrite.rs:4973
StrokeTypereadsspread.rs:426frameStrokeTypewritesrewrite.rs:1255
BottomLeftCornerOptionreadsspread.rs:550frameCornerOptionBottomLeftwritesrewrite.rs:4975
BottomRightCornerOptionreadsspread.rs:546frameCornerOptionBottomRightwritesrewrite.rs:4974
CornerOptionreadsspread.rs:561—writesrewrite.rs:4989
FillTintreadsspread.rs:412frameFillTintwritesrewrite.rs:1223
TopLeftCornerOptionreadsspread.rs:538frameCornerOptionTopLeftwritesrewrite.rs:4972
TopRightCornerOptionreadsspread.rs:542frameCornerOptionTopRightwritesrewrite.rs:4973
ECPageItemDatanot read—not written
ECPaginationPageItemDatanot read—not written
EndJoinnot read—writesrewrite.rs:1243

In the capability record

FeatureParseRenderEditEvidence
Page-item kinds (TextFrame, Rectangle, Oval, Polygon, GraphicLine, Group)
shipped
yesyes—All linked evidence is passing (3 tests current)
TextFrame AutoSizing (width/height growth)
shipped
yesyesyesAll linked evidence is passing (1 test current)

Rendered against InDesign

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.

On this page