<HyperlinkTextSource> / Element reference
HyperlinkTextSource
The HyperlinkTextSource element in IDML: where it appears (Stories), its 5 attributes, their values, and how real documents use them.
Definition
The clickable text of a hyperlink, wrapped around the content it covers.
- Lives in
Stories2- Frequency
- In 2 of the 305 documents of the census (0.7%), 2026-10-12
- Attributes
- 5 observed, 4 of them vary between documents
- Discussed in
- Hyperlinks & bookmarks, Cross-references & hyperlinks, How the parts reference each other and Story structure
Structure
Relationships
Contains
CharacterStyleRange2Content1Properties1
HyperlinkTextSource 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 |
|---|---|---|---|
| AppliedCharacterStyle# The character style applied, by its Self, such as CharacterStyle/$ID/[No character style]. | reference | any | 100% varies in 1 |
| Hidden# | boolean | any | 100% varies in 1 |
| Name# The name InDesign shows for the object in its panels. References between objects use Self, never the name. | real or reference | any | 100% varies in 2 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | id or reference | any | 100% varies in 2 |
| AlternativeDestination a child of Properties # | untyped | any | 50% |
HyperlinkTextSource (census of 2026-10-12, 305 documents). Seen in is the share of the 2 documents with a HyperlinkTextSource 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

HyperlinkTextSource in the example “A document with a hyperlink”, page 1, as InDesign 20.0.1.32 exports it (checked 2026-10-11). The example, with its source, is in Hyperlinks & bookmarks.Behavior
A Hyperlink joins a text source in the story to a URL destination in the design map; the destination is named by a typed Properties child, and the block follows the last story.
Shown, with its source and a live render, in Hyperlinks & bookmarks.
Evidence
- Observed
- In 2 of 305 documents (0.7%):
Stories2. - 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 document with a hyperlink: 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 HyperlinkTextSource. 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 1 of the 5 attributes
- 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 3 of the 5 attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| AppliedCharacterStyle | not read | — | not written |
| Hidden | not read | — | writesemit.rs:1567 |
| Name | not read | — | writesemit.rs:1564 |
| Self | readsstory.rs:758 | — | writesemit.rs:1562 |
| AlternativeDestination | not read | — | not written |
Rendered against InDesign
- A document with a hyperlink: mean colour difference 0.005 ΔE, structural similarity 1, 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 HyperlinkTextSource.