StoryPreference

Story preferences.

Methods:

getElements, toSource, toSpecifier

Objects:

Boolean, Number, Object, StoryDirectionOptions, String,

Hierarchy:

Superclass: Preference

Class: StoryPreference

Property Listing

Property

Type

Access

Description

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

opticalMarginAlignment

Boolean

read/write

If true, adjust the position of characters at the edges of the frame to provide a better appearance.

opticalMarginSize

Number

String

read/write

The point size used as the basis for calculating optical margin alignment. (Range: 0.1 to 1296)

parent

Application

Document

Story

ObjectStyle

XmlStory

readonly

The parent of the StoryPreference (a ObjectStyle, Application, Document, Story or XmlStory).

properties

Object

read/write

A property that allows setting of several properties at the same time.

storyDirection

StoryDirectionOptions

StoryDirectionOptions.LEFT_TO_RIGHT_DIRECTION

StoryDirectionOptions.RIGHT_TO_LEFT_DIRECTION

StoryDirectionOptions.UNKNOWN_DIRECTION

read/write

The direction of the story.

Method Listing

StoryPreference getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the StoryPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.storyPreferences

Document.storyPreferences

ObjectStyle.storyPreferences

Story.storyPreferences

XmlStory.storyPreferences

Return

StoryPreference.getElements()