Adobe InDesign CS4 (6.0) Object Model JS: GalleyPreference

InDesign CS4

Class

GalleyPreference

 Galley preferences. Base Class: Preference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
Preference
GalleyPreference

Properties

PropertyTypeAccessDescription
antiAliasTypeAntiAliasType:
AntiAliasType.GRAY_ANTIALIASING
AntiAliasType.COLOR_ANTIALIASING
AntiAliasType.THICKER_ANTIALIASING
r/wThe type of text anti-aliasing to use in story and galley views.
backgroundColor3 Reals (0 - 255)
InCopyUIColors
r/wThe background color, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InCopy UI color. . Can return: Array of 3 Reals (0 - 255) or InCopyUIColors enumerator.
blinkCursorbool r/wIf true, the cursor blinks.
cursorTypeCursorTypes:
CursorTypes.STANDARD_CURSOR
CursorTypes.THICK_CURSOR
CursorTypes.BARBELL_CURSOR
CursorTypes.BLOCK_CURSOR
r/wThe cursor type for galley and story views.
displayFontstring r/wFont family name to use for text display.
displayFontSizeMeasurement Unit (Number or String) r/wSize to use for text display.
infoColumnWidthMeasurement Unit (Number or String) r/wInfo column width.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
lineSpacingValueLineSpacingType:
LineSpacingType.SINGLE_SPACE
LineSpacingType.ONE_AND_HALF_SPACE
LineSpacingType.DOUBLE_SPACE
LineSpacingType.TRIPLE_SPACE
r/wAmount of spacing between lines.
parentApplication
Document
readonlyThe parent of the GalleyPreference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.
showDepthRulerbool r/wIf true, displays the depth ruler.
showInfoColumnbool r/wIf true, display the Info column.
showParagraphBreakMarksbool r/wIf true, show paragraph break marks.
showParagraphStyleNamesbool r/wIf true, show paragraph style names.
smoothTextbool r/wIf true, galley text is anti-aliased.
textColor3 Reals (0 - 255)
InCopyUIColors
r/wThe text color, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as an InCopy UI color. Can return: Array of 3 Reals (0 - 255) or InCopyUIColors enumerator.

Methods

Instances

Array of GalleyPreference getElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the GalleyPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.galleyPreferences

Document.galleyPreferences

Return

Array of GalleyPreference GalleyPreference.getElements ()

Jongware, 20-Jun-2010 v3.0.3dContents :: Index