<TextPreference> / Element reference
TextPreference
The TextPreference element in IDML: where it appears (Resources/Preferences), its 34 attributes, their values, and how real documents use them.
Definition
The document's text preferences: superscript, subscript and small-cap sizes, text-wrap rules, smart text reflow and on-screen highlighting.
- Lives in
Resources/Preferences271- Frequency
- In 271 of the 305 documents of the census (88.9%), 2026-10-12
- Attributes
- 34 observed, 13 of them vary between documents
- Discussed in
- Resource parts and What InDesign needs to open a file
Structure
Relationships
TextPreference 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 | Seen in |
|---|---|---|---|
| AbutTextToTextWrap# | boolean | true271 | 100% |
| AddPages# Where smart text reflow adds pages: at the end of the story ( EndOfStory), the section or the document. | keyword | EndOfStory271 | 100% |
| BaselineShiftKeyIncrement# How far one keyboard step shifts the baseline, in points. | integer | any | 100% |
| DeleteEmptyPages# Whether smart text reflow removes pages its text no longer reaches. | boolean | false269 | 100% varies in 2 |
| EnableStylePreviewMode# | boolean | false262true9 | 100% varies in 9 |
| HighlightCustomSpacing# Whether text with custom kerning or tracking is highlighted on screen. | boolean | false271 | 100% |
| HighlightHjViolations# Whether lines that break the hyphenation and justification settings are highlighted on screen. | boolean | false271 | 100% |
| HighlightKeeps# Whether lines that break keep options are highlighted on screen. | boolean | false271 | 100% |
| HighlightKinsoku# | boolean | false271 | 100% |
| HighlightSubstitutedFonts# Whether text set in a missing, substituted font is highlighted on screen. | boolean | true271 | 100% |
| HighlightSubstitutedGlyphs# Whether glyphs InDesign has substituted are highlighted on screen. | boolean | false271 | 100% |
| JustifyTextWraps# When true, text next to a wrapping object is justified up to the wrap's edge. | boolean | false271 | 100% |
| KerningKeyIncrement# How much one keyboard step changes kerning or tracking, in thousandths of an em. | integer | any | 100% |
| LeadingKeyIncrement# How much one keyboard step changes leading, in points. | integer | any | 100% |
| LimitToMasterTextFrames# Whether smart text reflow works only on text frames based on the master's primary text frame. | boolean | true271 | 100% |
| LinkTextFilesWhenImporting# Whether placed text files stay linked to their source files. | boolean | false271 | 100% |
| PreserveFacingPageSpreads# | boolean | false271 | 100% |
| ShowInvisibles# Whether hidden characters such as spaces, tabs and returns are shown on screen. | boolean | false269 | 100% varies in 2 |
| SmallCap# The size of synthesised small capitals, as a percentage of the type size, for fonts without real small caps. | integer | any | 100% |
| SmartTextReflow# Whether InDesign adds or removes pages as threaded text overflows or shrinks (smart text reflow). | boolean | true270 | 100% varies in 1 |
| SubscriptPosition# How far subscript text is lowered, as a percentage of the type size ( 33.3 by default). | integer or real | any | 100% varies in 2 |
| SubscriptSize# The size of subscript text, as a percentage of the type size. | integer or real | any | 100% varies in 2 |
| SuperscriptPosition# How far superscript text is raised, as a percentage of the type size ( 33.3 by default). | integer or real | any | 100% varies in 2 |
| SuperscriptSize# The size of superscript text, as a percentage of the type size. | integer or real | any | 100% varies in 2 |
| TypographersQuotes# Whether straight quotation marks typed in InDesign become typographer's (curly) quotes. | boolean | true257false14 | 100% varies in 14 |
| UseCidMojikumi# | boolean | false271 | 100% |
| UseNewVerticalScaling# | boolean | false271 | 100% |
| UseOpticalSize# When true, text in a variable font with an optical-size axis is set in the instance for its point size; when false, the font's default instance. | boolean | true271 | 100% |
| UseParagraphLeading# | boolean | false270 | 100% varies in 1 |
| ZOrderTextWrap# When true, an object's text wrap affects only text beneath it in the stacking order. | boolean | false271 | 100% |
| QuoteCharactersRotatedInVertical# | boolean | true265false5 | 99.6% varies in 5 |
| ShapeIndicAndLatinWithHarbuzz# | boolean | true42false32 | 27.3% varies in 32 |
| SmartTextReflowSync# | boolean | false74 | 27.3% |
| HonourTextIndentsWithTextWrap# | boolean | true23false22 | 16.6% varies in 22 |
TextPreference (census of 2026-10-12, 305 documents). Seen in is the share of the 271 documents with a TextPreference 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 271 of 305 documents (88.9%):
Resources/Preferences271. - 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 TextPreference. 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
- Does not read this element yet
- Render
- No feature of the capability record names this element
- Edit
- No attribute maps to a scriptable path
- Write
- Writes 1 of the 34 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| AbutTextToTextWrap | not read | — | not written |
| AddPages | not read | — | not written |
| BaselineShiftKeyIncrement | not read | — | not written |
| DeleteEmptyPages | not read | — | not written |
| EnableStylePreviewMode | not read | — | not written |
| HighlightCustomSpacing | not read | — | not written |
| HighlightHjViolations | not read | — | not written |
| HighlightKeeps | not read | — | not written |
| HighlightKinsoku | not read | — | not written |
| HighlightSubstitutedFonts | not read | — | not written |
| HighlightSubstitutedGlyphs | not read | — | not written |
| JustifyTextWraps | not read | — | not written |
| KerningKeyIncrement | not read | — | not written |
| LeadingKeyIncrement | not read | — | not written |
| LimitToMasterTextFrames | not read | — | not written |
| LinkTextFilesWhenImporting | not read | — | not written |
| PreserveFacingPageSpreads | not read | — | not written |
| ShowInvisibles | not read | — | not written |
| SmallCap | not read | — | not written |
| SmartTextReflow | not read | — | not written |
| SubscriptPosition | not read | — | not written |
| SubscriptSize | not read | — | not written |
| SuperscriptPosition | not read | — | not written |
| SuperscriptSize | not read | — | not written |
| TypographersQuotes | not read | — | not written |
| UseCidMojikumi | not read | — | not written |
| UseNewVerticalScaling | not read | — | not written |
| UseOpticalSize | not read | — | writespreferences.rs:110 |
| UseParagraphLeading | not read | — | not written |
| ZOrderTextWrap | not read | — | not written |
| QuoteCharactersRotatedInVertical | not read | — | not written |
| ShapeIndicAndLatinWithHarbuzz | not read | — | not written |
| SmartTextReflowSync | not read | — | not written |
| HonourTextIndentsWithTextWrap | not read | — | not written |
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 TextPreference.
TextFramePreference
The TextFramePreference element in IDML: where it appears (Resources/Preferences), its 34 attributes, their values, and how real documents use them.
TextWrapPreference
The TextWrapPreference element in IDML: where it appears (Resources/Preferences), its 6 attributes, their values, and how real documents use them.