Class
Galley print preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
GalleyPrintPreference
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
appliedFont | string | r/w | The name of the font. |
collating | bool | r/w | If true, collate printed copies. |
copies | number | r/w | The number of copies to print. Note: Not valid when printer is PostScript File. |
eventListeners | EventListeners | readonly | A collection of event listeners. |
events | Events | readonly | A collection of events. |
fontStyle | string | r/w | The name of the font style. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
leading | number (range: 100 - 300) | r/w | The default amount of space as a percentage to include between two lines of text. (Range: 100 to 300) |
lineRange | LineRangeString | r/w | The range of lines to print. Can return: LineRange enumerator or String. |
paperHeight | PaperSize Unit |
r/w | The paper height. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit. |
paperSize | PaperSizes String |
r/w | The 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 | readonly | A list of the available paper sizes. |
paperWidth | PaperSize Unit |
r/w | The paper width. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit. |
parent | Application | readonly | The parent of the GalleyPrintPreference (a Application). |
pointSize | Measurement Unit (Number or String) (range: 4 - 72) | r/w | The default text size (in points). (Range: 4 to 72). |
printAccurateLineEndings | bool | r/w | If true, prints line endings as they appear in the story. Note: Valid only when use galley settings is false. |
printAllStories | bool | r/w | If true, prints all stories. If false, prints only the current story. |
printInlineNotes | VisibilityModes: VisibilityModes.NONE VisibilityModes.ALL VisibilityModes.ONLY_VISIBLE |
r/w | The inline notes to print. Note: Valid only when use galley settings is false. |
printLineNumbers | bool | r/w | If true, prints the line numbers column. Note: Valid only when print accurate line endings is true. |
printNotesBackground | bool | r/w | If true, prints inline notes in the colors assigned to the individuals who authored the notes. Note: Valid only when print inline notes is true. |
printPageInfo | bool | r/w | If true, prints the filename, page number, current date and time, and color separation name. |
printPageOrientation | PrintPageOrientation: PrintPageOrientation.PORTRAIT PrintPageOrientation.LANDSCAPE PrintPageOrientation.REVERSE_PORTRAIT PrintPageOrientation.REVERSE_LANDSCAPE |
r/w | The orientation of the printed page. |
printParagraphStyles | bool | r/w | If true, prints the paragraph style column. Note: Valid only when use galley settings is false. |
printStoryInfo | bool | r/w | If true, prints the story name(s). Note: Valid only when use galley settings is false. |
printTrackedChanges | VisibilityModes: VisibilityModes.NONE VisibilityModes.ALL VisibilityModes.ONLY_VISIBLE |
r/w | The tracked changes to print. Note: Valid only when use galley settings is false. |
printTrackedChangesBackground | bool | r/w | If true, prints tracked changes in the colors assigned to each person who made changes. Note: Valid only when print tracked changes is true. |
printer | Printer String |
r/w | The current printer. Can return: Printer enumerator or String. |
printerList | Array of string | readonly | Available printers. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
reverseOrder | bool | r/w | If true, prints pages in reverse order. |
textColumnWidth | number | r/w | The columns width in inches. Note: Valid only when use multiple columns is true. |
useGalleySettings | bool | r/w | If true, uses the current galley settings. If false, allows overrides of current galley settings. |
useMultipleColumns | bool | r/w | If 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This 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.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the GalleyPrintPreference.
Element of
Application.galleyPrintPreferences
Return
Array of GalleyPrintPreference GalleyPrintPreference.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |