Adobe InCopy CS6 (8.0) Object Model JS: GalleyPrintPreference

InCopy CS6

Class

GalleyPrintPreference

 Galley print preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application
Preference
GalleyPrintPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
appliedFontstring r/wThe name of the font.
collatingbool r/wIf true, collate printed copies.
copiesnumber r/wThe number of copies to print. Note: Not valid when printer is PostScript File.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
fontStylestring r/wThe name of the font style.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
leadingnumber (range: 100 - 300) r/wThe default amount of space as a percentage to include between two lines of text. (Range: 100 to 300)
lineRangeLineRangeString r/wThe range of lines to print. Can return: LineRange enumerator or String.
paperHeightPaperSize
Unit
r/wThe paper height. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit.
paperSizePaperSizes
String
r/wThe paper size, specified as either a string or an enumeration. For information on paper size names, see paper size list. Can return: PaperSizes enumerator or String.
paperSizeList Array of string readonlyA list of the available paper sizes.
paperWidthPaperSize
Unit
r/wThe paper width. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit.
parentApplication readonlyThe parent of the GalleyPrintPreference (a Application).
pointSizeMeasurement Unit (Number or String) (range: 4 - 72) r/wThe default text size (in points). (Range: 4 to 72).
printAccurateLineEndingsbool r/wIf true, prints line endings as they appear in the story. Note: Valid only when use galley settings is false.
printAllStoriesbool r/wIf true, prints all stories. If false, prints only the current story.
printInlineNotesVisibilityModes:
VisibilityModes.NONE
VisibilityModes.ALL
VisibilityModes.ONLY_VISIBLE
r/wThe inline notes to print. Note: Valid only when use galley settings is false.
printLineNumbersbool r/wIf true, prints the line numbers column. Note: Valid only when print accurate line endings is true.
printNotesBackgroundbool r/wIf true, prints inline notes in the colors assigned to the individuals who authored the notes. Note: Valid only when print inline notes is true.
printPageInfobool r/wIf true, prints the filename, page number, current date and time, and color separation name.
printPageOrientationPrintPageOrientation:
PrintPageOrientation.PORTRAIT
PrintPageOrientation.LANDSCAPE
PrintPageOrientation.REVERSE_PORTRAIT
PrintPageOrientation.REVERSE_LANDSCAPE
r/wThe orientation of the printed page.
printParagraphStylesbool r/wIf true, prints the paragraph style column. Note: Valid only when use galley settings is false.
printStoryInfobool r/wIf true, prints the story name(s). Note: Valid only when use galley settings is false.
printTrackedChangesVisibilityModes:
VisibilityModes.NONE
VisibilityModes.ALL
VisibilityModes.ONLY_VISIBLE
r/wThe tracked changes to print. Note: Valid only when use galley settings is false.
printTrackedChangesBackgroundbool r/wIf true, prints tracked changes in the colors assigned to each person who made changes. Note: Valid only when print tracked changes is true.
printerPrinter
String
r/wThe current printer. Can return: Printer enumerator or String.
printerList Array of string readonlyAvailable printers.
propertiesObject r/wA property that allows setting of several properties at the same time.
reverseOrderbool r/wIf true, prints pages in reverse order.
textColumnWidthnumber r/wThe columns width in inches. Note: Valid only when use multiple columns is true.
useGalleySettingsbool r/wIf true, uses the current galley settings. If false, allows overrides of current galley settings.
useMultipleColumnsbool r/wIf true, uses multiple columns to fill the page. Note: Valid only when print accurate line endings is true.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

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

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.galleyPrintPreferences

Return

Array of GalleyPrintPreference GalleyPrintPreference.getElements ()

Jongware, 29-Apr-2012 v3.0.3iContents :: Index