Adobe InDesign CS5 Server (7.0) Object Model JS: FlattenerPreference

InDesign Server CS5

Class

FlattenerPreference

 Transparency flattener preferences. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Spread
Preference
FlattenerPreference
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
clipComplexRegionsbool r/wIf true, ensures that the boundaries between vector and rasterized artwork fall along object paths.
convertAllStrokesToOutlinesbool r/wIf true, converts all strokes to outlines and ensures that stroke widths remain constant during flattening. Note: Can cause thin strokes to appear slightly thicker than their original width. Affects all strokes, not only strokes involved in the transparency.
convertAllTextToOutlinesbool r/wIf true, converts all text to outlines and discards all type glyph information on spreads with transparency; ensures that the width of text strokes remains constant during flattening. Note: Can cause small fonts to appear slightly thicker when viewed in Acrobat or printed on low-quality desktop printers, but does not affect type quality when printed on high-resolution printers or imagesetters.
eventListenersEventListeners readonlyA collection of event listeners.
eventsEvents readonlyA collection of events.
gradientAndMeshResolutionnumber r/wThe resolution for gradients rasterized as a result of flattening and for drop shadow and feathers when printed or exported. (Range: 0 to 1200) Note: Resolutions higher than 300 ppi increase file size and printing time but generally do not improve the image quality.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
lineArtAndTextResolutionnumber r/wThe resolution for vector objects rasterized as a result of flattening. (Range: 1 to 9600) For information, see raster vector balance.
parentSpread readonlyThe parent of the FlattenerPreference (a Spread).
propertiesObject r/wA property that allows setting of several properties at the same time.
rasterVectorBalanceFlattenerLevelReal (0 - 100) r/wThe amount of vector artwork to rasterize during flattening, specified as an enumerator or as a percentage in the range 0 to 100. Can return: FlattenerLevel enumerator or Real (0 - 100).

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 FlattenerPreference 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 FlattenerPreference.

string toSpecifier ()
Retrieves the object specifier.

Element of

Spread.flattenerPreferences

Return

Array of FlattenerPreference FlattenerPreference.getElements ()

Jongware, 23-Mar-2011 v3.0.3dContents :: Index