Paged.The open publishing system
The format atlas
Element referenceResources/Preferences

<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.

Tier: ProProIIIreference

Definition

The document setup: page size, page count, facing pages, binding, and the bleed and slug sizes.

Lives in
Resources/Preferences 271
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

Contains

  • Properties271
Where 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

AttributeTypeValuesDefaultSeen in
AllowPageShuffle#
Whether pages may move to other spreads when pages are added or removed.
booleanfalse191true80—100%
varies in 80
ColumnDirection#keywordHorizontal271—100%
ColumnGuideColor
a child of Properties
#
The colour of column guides on screen.
enumerationany—100%
varies in 1
ColumnGuideLocked#
When true, column guides can't be dragged.
booleantrue270—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 more0100%
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 more0100%
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 more0100%
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 more0100%
varies in 87
DocumentBleedUniformSize#
When true, the four bleed values are linked and change together.
booleantrue261false10—100%
varies in 10
DocumentSlugUniformSize#
When true, the four slug values are linked and change together.
booleanfalse269—100%
varies in 2
FacingPages#
When true, pages pair up as left and right pages around a spine, with inside and outside margins.
booleantrue260false11—100%
varies in 11
MarginGuideColor
a child of Properties
#
The colour of margin guides on screen.
enumerationany—100%
varies in 1
MasterTextFrame#booleanfalse271—100%
OverprintBlack#
When true, the [Black] swatch at 100 % overprints on output, whatever an object's own overprint setting.
booleantrue271—100%
PageBinding#
Which edge the document binds on: LeftToRight (left-edge binding, every surveyed file) or RightToLeft.
keywordLeftToRight271—100%
PageHeight#
The document's page height, in points. Each Page also carries its own size in its bounds, which can differ.
integer or realany—100%
varies in 206
PagesPerDocument#
The number of pages in the document.
integerany—100%
PageWidth#
The document's page width, in points. Each Page also carries its own size in its bounds, which can differ.
integer or realany—100%
varies in 212
PreserveLayoutWhenShuffling#booleantrue271—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 more0100%
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 more0100%
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 more0100%
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 more0100%
varies in 3
SnippetImportUsesOriginalLocation#
When true, a placed snippet lands where it was exported from rather than where the user clicks.
booleanfalse271—100%
CreatePrimaryTextFrame#booleanfalse270—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.
keywordPrintIntent268—99.6%
varies in 2
SpreadHiddenVisibility#booleanfalse31—12.2%
varies in 2
The attributes documents set on 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/Preferences 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.

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

AttributeParseEditWrite
AllowPageShufflenot read—not written
ColumnDirectionnot read—not written
ColumnGuideColornot read—not written
ColumnGuideLockednot read—not written
DocumentBleedBottomOffsetreadsdesignmap.rs:693documentBleedBottomwritespreferences.rs:267
DocumentBleedInsideOrLeftOffsetreadsdesignmap.rs:694documentBleedInsideOrLeftwritespreferences.rs:268
DocumentBleedOutsideOrRightOffsetreadsdesignmap.rs:695documentBleedOutsideOrRightwritespreferences.rs:270
DocumentBleedTopOffsetreadsdesignmap.rs:692documentBleedTopwritespreferences.rs:266
DocumentBleedUniformSizenot read—writespreferences.rs:222
DocumentSlugUniformSizenot read—writespreferences.rs:231
FacingPagesreadsdesignmap.rs:702—writespreferences.rs:291
MarginGuideColornot read—not written
MasterTextFramenot read—not written
OverprintBlacknot read—not written
PageBindingreadsdesignmap.rs:703—writespreferences.rs:299
PageHeightreadsdesignmap.rs:701—writespreferences.rs:289
PagesPerDocumentnot read—not written
PageWidthreadsdesignmap.rs:700—writespreferences.rs:290
PreserveLayoutWhenShufflingnot read—not written
SlugBottomOffsetreadsdesignmap.rs:697documentSlugBottomwritespreferences.rs:274
SlugInsideOrLeftOffsetreadsdesignmap.rs:698documentSlugInsideOrLeftwritespreferences.rs:275
SlugRightOrOutsideOffsetreadsdesignmap.rs:699documentSlugRightOrOutsidewritespreferences.rs:276
SlugTopOffsetreadsdesignmap.rs:696documentSlugTopwritespreferences.rs:273
SnippetImportUsesOriginalLocationnot read—not written
CreatePrimaryTextFramenot read—not written
Intentnot read—not written
SpreadHiddenVisibilitynot 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 DocumentPreference.

On this page