<DocumentPreference> / Element reference
DocumentPreference
The DocumentPreference element in IDML: where it appears (Resources/Preferences), its 27 attributes, their values, and how real documents use them.
Definition
The document setup: page size, page count, facing pages, binding, and the bleed and slug sizes.
- Lives in
Resources/Preferences271- Frequency
- In 271 of the 305 documents of the census (88.9%), 2026-10-12
- Attributes
- 27 observed, 19 of them vary between documents
- Discussed in
- Resource parts
Structure
Relationships
DocumentPreference 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 | Default | Seen in |
|---|---|---|---|---|
| AllowPageShuffle# Whether pages may move to other spreads when pages are added or removed. | boolean | false191true80 | — | 100% varies in 80 |
| ColumnDirection# | keyword | Horizontal271 | — | 100% |
| ColumnGuideColor a child of Properties #The colour of column guides on screen. | enumeration | any | — | 100% varies in 1 |
| ColumnGuideLocked# When true, column guides can't be dragged. | boolean | true270 | — | 100% varies in 1 |
| DocumentBleedBottomOffset# The bleed below the page, in points: how far past the trim edge objects print, to be trimmed off. | integer or real (pt) | 0 or more | 0 | 100% varies in 87 |
| DocumentBleedInsideOrLeftOffset# The bleed at the inside edge of facing pages, or the left edge of single pages, in points. | integer or real (pt) | 0 or more | 0 | 100% varies in 87 |
| DocumentBleedOutsideOrRightOffset# The bleed at the outside edge of facing pages, or the right edge of single pages, in points. | integer or real (pt) | 0 or more | 0 | 100% varies in 87 |
| DocumentBleedTopOffset# The bleed above the page, in points: how far past the trim edge objects print, to be trimmed off. | integer or real (pt) | 0 or more | 0 | 100% varies in 87 |
| DocumentBleedUniformSize# When true, the four bleed values are linked and change together. | boolean | true261false10 | — | 100% varies in 10 |
| DocumentSlugUniformSize# When true, the four slug values are linked and change together. | boolean | false269 | — | 100% varies in 2 |
| FacingPages# When true, pages pair up as left and right pages around a spine, with inside and outside margins. | boolean | true260false11 | — | 100% varies in 11 |
| MarginGuideColor a child of Properties #The colour of margin guides on screen. | enumeration | any | — | 100% varies in 1 |
| MasterTextFrame# | boolean | false271 | — | 100% |
| OverprintBlack# When true, the [Black] swatch at 100 % overprints on output, whatever an object's own overprint setting. | boolean | true271 | — | 100% |
| PageBinding# Which edge the document binds on: LeftToRight (left-edge binding, every surveyed file) or RightToLeft. | keyword | LeftToRight271 | — | 100% |
| PageHeight# The document's page height, in points. Each Page also carries its own size in its bounds, which can differ. | integer or real | any | — | 100% varies in 206 |
| PagesPerDocument# The number of pages in the document. | integer | any | — | 100% |
| PageWidth# The document's page width, in points. Each Page also carries its own size in its bounds, which can differ. | integer or real | any | — | 100% varies in 212 |
| PreserveLayoutWhenShuffling# | boolean | true271 | — | 100% |
| SlugBottomOffset# The slug area below the page, in points: room beyond the bleed for printer's notes, trimmed off with it. | integer or real (pt) | 0 or more | 0 | 100% varies in 1 |
| SlugInsideOrLeftOffset# The slug area at the inside edge of facing pages, or the left edge of single pages, in points. | integer or real (pt) | 0 or more | 0 | 100% varies in 3 |
| SlugRightOrOutsideOffset# The slug area at the outside edge of facing pages, or the right edge of single pages, in points. Note the word order differs from the bleed's. | integer or real (pt) | 0 or more | 0 | 100% varies in 3 |
| SlugTopOffset# The slug area above the page, in points: room beyond the bleed for printer's notes, trimmed off with it. | integer or real (pt) | 0 or more | 0 | 100% varies in 3 |
| SnippetImportUsesOriginalLocation# When true, a placed snippet lands where it was exported from rather than where the user clicks. | boolean | false271 | — | 100% |
| CreatePrimaryTextFrame# | boolean | false270 | — | 99.6% |
| Intent# The purpose the document was set up for, such as PrintIntent for print rather than web or digital use. It does not change the page. | keyword | PrintIntent268 | — | 99.6% varies in 2 |
| SpreadHiddenVisibility# | boolean | false31 | — | 12.2% varies in 2 |
DocumentPreference (census of 2026-10-12, 305 documents). Seen in is the share of the 271 documents with a DocumentPreference 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 DocumentPreference. 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 12 of the 27 attributes
- Render
- No feature of the capability record names this element
- Edit
- 8 attributes map to a scriptable path for
paged.set - Write
- Writes 14 of the 27 attributes on IDML export
By attribute
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 DocumentPreference.
DirectionalFeatherSetting
The DirectionalFeatherSetting element in IDML: where it appears (Resources/Preferences), its 9 attributes, their values, and how real documents use them.
DropShadowSetting
The DropShadowSetting element in IDML: where it appears (Resources/Preferences), its 12 attributes, their values, and how real documents use them.