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

<StoryPreference> / Element reference

StoryPreference

The StoryPreference element in IDML: where it appears (Resources/Preferences), its 5 attributes, their values, and how real documents use them.

Tier: ProProIIIreference

Definition

A story's settings: optical margin alignment, text direction and frame type.

Lives in
Resources/Preferences 271, Resources/Styles 271, Stories 91 and XML 1
Frequency
In 271 of the 305 documents of the census (88.9%), 2026-10-12
Attributes
5 observed, 5 of them vary between documents
Discussed in
Content parts and Story structure

Structure

Relationships

StoryPreference

Contains

no elements

Where StoryPreference 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
FrameType#keywordFrameGridType271TextFrameType271Unknown269100%
varies in 271
OpticalMarginAlignment#
When true, punctuation and the edges of some letters hang slightly outside the column, so the text edge looks straight.
booleanfalse271true3100%
varies in 3
OpticalMarginSize#
The type size, in points, the optical-margin hang is set for; usually the size of the body text.
integerany100%
varies in 1
StoryDirection#keywordLeftToRightDirection271UnknownDirection269100%
varies in 269
StoryOrientation#
The story's text direction: Horizontal, or Vertical for vertical CJK text — the horizontal layout turned a quarter clockwise: lines become columns from the right, kanji, kana and CJK punctuation stand upright in their vertical forms, Latin and digits turn with the column, ruby and kenten stand to the right.
keywordHorizontal271Unknown271100%
varies in 271
The attributes documents set on StoryPreference (census of 2026-10-12, 305 documents). Seen in is the share of the 271 documents with a StoryPreference 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, Resources/Styles 271, Stories 91 and XML 1.
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 StoryPreference. 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 3 of the 5 attributes
Render
No feature of the capability record names this element
Edit
No attribute maps to a scriptable path
Write
Writes none of its attributes on IDML export

By attribute

AttributeParseEditWrite
FrameTypenot read—not written
OpticalMarginAlignmentreadsstory.rs:819—not written
OpticalMarginSizereadsstory.rs:824—not written
StoryDirectionnot read—not written
StoryOrientationreadsstory.rs:833—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 StoryPreference.

On this page