<Document> / Element reference
Document
The Document element in IDML: where it appears (designmap), its 21 attributes, their values, and how real documents use them.
Definition
The root of the design map: document-wide settings such as colour profiles, the document-level definitions, and a reference to every part.
- Lives in
designmap305- Frequency
- In 305 of the 305 documents of the census (100%), 2026-10-12
- Attributes
- 21 observed, 8 of them vary between documents
- Discussed in
- The design map, Conditions and condition sets, Read which InDesign version wrote a file, Colour management, Glossary and Hyperlinks & bookmarks
Structure
Relationships
Inside
#root305
Contains
idPkg:BackingStory305idPkg:Fonts305idPkg:Graphic305idPkg:MasterSpread305idPkg:Preferences305idPkg:Spread305idPkg:Styles305idPkg:Tags305TextVariable273Layer272Section272ABullet271- and 32 more
Document 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 |
|---|---|---|---|
| AfterBlendingIntent# The rendering intent for colours that result from transparency blending; UseColorSettings defers to the application. | keyword | UseColorSettings305 | 100% |
CMYKProfile#CMYKProfile, RGBProfile name the document's colour profiles, and SolidColorIntent, AfterBlendingIntent, DefaultImageIntent the rendering intents for solid colours, transparency blending and images. | builtin or text | any | 100% varies in 98 |
| DefaultImageIntent# The rendering intent for placed images; UseColorSettings defers to the application. An image can set its own. | keyword | UseColorSettings305 | 100% |
| DOMVersion# Names the scripting-DOM revision the package was written for, such as 20.0. | real | any | 100% varies in 125 |
| RGBProfile# The name of the document's RGB colour profile, such as sRGB IEC61966-2.1; the profile itself is not in the file. | builtin or text | any | 100% varies in 10 |
| Self# The object's ID, unique within the document. An attribute that refers to this object holds this value. | text | any | 100% |
| SolidColorIntent# The rendering intent for flat colours (swatches, fills, strokes, text); UseColorSettings defers to the application. | keyword | UseColorSettings305 | 100% |
| StoryList# Lists the ids of the document's stories, one per idPkg:Story. | id | any | 100% varies in 155 |
| AccurateLABSpots# | boolean | false271 | 88.9% |
| ActiveLayer# The layer that was active when the document was saved, by Self; new items go on it. | id | any | 88.9% varies in 194 |
| CMYKPolicy# What InDesign does with placed or pasted content that carries another CMYK profile; it does not change the file's own colours. | keyword | CombinationOfPreserveAndSafeCmyk262ColorPolicyOff6 | 88.9% varies in 9 |
| RGBPolicy# What InDesign does with placed or pasted content that carries another RGB profile; it does not change the file's own colours. | keyword | PreserveEmbeddedProfiles266ColorPolicyOff4 | 88.9% varies in 5 |
| ZeroPoint# The position of the rulers' zero point, as x y in points. | list of numbers | any | 88.9% |
| Label a child of Properties #Key–value data that scripts and plugins attach to the object, as <KeyValuePair Key Value> entries in a <Properties><Label> child. It does not change the layout. | untyped | any | 86.9% |
| Name# The file name of the document it was exported from; descriptive only. | text | any | 38.7% varies in 84 |
| AppliedMathMLFontSize# | integer | any | 10.8% |
| AppliedMathMLRgbColor# | list of numbers | any | 10.8% |
| AppliedMathMLSwatch a child of Properties # | enumeration | any | 10.8% |
| TintValue# | integer | any | 10.8% |
| PreferMathMLInEpubExport# | boolean | false9 | 3% |
| UntitledDocumentCount# | integer | any | 0.3% |
Document (census of 2026-10-12, 305 documents). Seen in is the share of the 305 documents with a Document 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 305 of 305 documents (100%):
designmap305. - 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 Document. 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 7 of the 21 attributes
- Render
- One feature of the capability record names this element (below)
- Edit
- 1 attribute map to a scriptable path for
paged.set - Write
- Writes none of its attributes on IDML export
By attribute
| Attribute | Parse | Edit | Write |
|---|---|---|---|
| AfterBlendingIntent | readsdesignmap.rs:169 | — | not written |
| CMYKProfile | readsdesignmap.rs:166 | — | not written |
| DefaultImageIntent | readsdesignmap.rs:170 | — | not written |
| DOMVersion | readsdesignmap.rs:163 | — | not written |
| RGBProfile | readsdesignmap.rs:167 | — | not written |
| Self | not read | — | not written |
| SolidColorIntent | readsdesignmap.rs:168 | — | not written |
| StoryList | not read | — | not written |
| AccurateLABSpots | not read | — | not written |
| ActiveLayer | not read | — | not written |
| CMYKPolicy | not read | — | not written |
| RGBPolicy | not read | — | not written |
| ZeroPoint | not read | — | not written |
| Label | not read | labels[key] | not written |
| Name | readsdesignmap.rs:164 | — | not written |
| AppliedMathMLFontSize | not read | — | not written |
| AppliedMathMLRgbColor | not read | — | not written |
| AppliedMathMLSwatch | not read | — | not written |
| TintValue | not read | — | not written |
| PreferMathMLInEpubExport | not read | — | not written |
| UntitledDocumentCount | not read | — | not written |
In the capability record
| Feature | Parse | Render | Edit | Evidence |
|---|---|---|---|---|
| Document defaults for new objects (fill/stroke/weight) shipped | — | — | yes | All linked evidence is passing (11 tests current) |
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 Document.
DateVariablePreference
The DateVariablePreference element in IDML: where it appears (designmap), its 3 attributes, their values, and how real documents use them.
DocumentUser
The DocumentUser element in IDML: where it appears (designmap), its 3 attributes, their values, and how real documents use them.