Paged.The open publishing system
The format atlas
Element referencedesignmap

<ConditionalTextPreference> / Element reference

ConditionalTextPreference

The ConditionalTextPreference element in IDML: where it appears (designmap), its 2 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

Document settings for conditional text: how condition indicators show and which condition set was applied last.

Lives in
designmap 271
Frequency
In 271 of the 305 documents of the census (88.9%), 2026-10-12
Attributes
2 observed
Discussed in
Conditions and condition sets, Visibility, The design map and What InDesign needs to open a file

Structure

Relationships

Inside

ConditionalTextPreference

Contains

no elements

Where ConditionalTextPreference 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

AttributeTypeValuesSeen in
ActiveConditionSet#
The condition set applied last, by its Self, or n for none. It only records the choice; each Condition keeps its own visibility.
—any100%
ShowConditionIndicators#
How conditional text is marked while editing; with ShowIndicators (every surveyed file) the marks show on screen and do not print.
keywordShowIndicators271100%
The attributes documents set on ConditionalTextPreference (census of 2026-10-12, 305 documents). Seen in is the share of the 271 documents with a ConditionalTextPreference 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 run hidden by a condition”, as InDesign exports it.
ConditionalTextPreference in the example “A run hidden by a condition”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Conditions and condition sets.

Behavior

  • A Condition is defined in designmap.xml as a direct child of Document; a run names it in AppliedConditions, and while the condition is hidden the run is not printed.

    Shown, with its source and a live render, in Conditions and condition sets.

Evidence

Observed
In 271 of 305 documents (88.9%): designmap 271.
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 run hidden by a condition: 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.

Paged support

What Paged, one implementation of the format, does with ConditionalTextPreference. 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 6347aa9, read 2026-11-24; render from the capability record exported 2026-11-24.

Parse
Does not read this element yet
Render
No feature of the capability record names this element; examples compared with InDesign below
Edit
No attribute maps to a scriptable path
Write
Writes 2 of the 2 attributes on IDML export

By attribute

AttributeParseEditWrite
ActiveConditionSetnot read—writesnavigation.rs:613
ShowConditionIndicatorsnot read—writesnavigation.rs:612

Rendered against InDesign

  • A run hidden by a condition: mean colour difference 0.035 ΔE, structural similarity 0.997, 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 ConditionalTextPreference.

On this page