Adobe InDesign CS4 (6.0) Object Model JS: Preference

InDesign CS4

Class

Preference

 

A preferences object.

Superclass of AlignDistributePreference, AnchoredObjectDefault, AnchoredObjectSetting, AutoCorrectPreference, BaselineFrameGridOption, BevelAndEmbossSetting, BlendingSetting, Bullet, ButtonPreference, ChangeGlyphPreference, ChangeGrepPreference, ChangeObjectPreference, ChangeTextPreference, ChapterNumberPreference, ChapterNumberVariablePreference, ClipboardPreference, ClippingPathSettings, ColorSetting, ConditionalTextPreference, ContentTransparencySetting, ContourOption, CustomTextVariablePreference, DataMerge, DataMergeOption, DataMergePreference, DateVariablePreference, DictionaryPreference, DirectionalFeatherSetting, DisplayPerformancePreference, DocumentPreference, DropShadowSetting, EPSExportPreference, EPSImportPreference, ExcelImportPreference, ExportForWebPreference, FeatherSetting, FileNameVariablePreference, FillTransparencySetting, FindChangeContentTransparencySetting, FindChangeFillTransparencySetting, FindChangeGlyphOption, FindChangeGrepOption, FindChangeObjectOption, FindChangeStrokeTransparencySetting, FindChangeTextOption, FindChangeTransparencySetting, FindGlyphPreference, FindGrepPreference, FindObjectPreference, FindTextPreference, FlattenerPreference, FootnoteOption, FrameFittingOption, GalleyPreference, GeneralPreference, GrabberPreference, GradientFeatherSetting, GraphicLayerOption, GridPreference, GuidePreference, IMEPreference, ImageIOPreference, ImagePreference, ImportedPageAttribute, InCopyExportOption, IndexOptions, InnerGlowSetting, InnerShadowSetting, JPEGExportPreference, LayoutAdjustmentPreference, LinkMetadata, LinkingPreference, MarginPreference, MatchCharacterStylePreference, MatchParagraphStylePreference, MetadataPreference, NotePreference, NumberingRestartPolicy, ObjectStyleContentEffectsCategorySettings, ObjectStyleFillEffectsCategorySettings, ObjectStyleObjectEffectsCategorySettings, ObjectStyleStrokeEffectsCategorySettings, OuterGlowSetting, PDFAttribute, PDFExportPreference, PDFPlacePreference, PageItemDefault, PageNumberVariablePreference, PasteboardPreference, PolygonPreference, PreflightBookOption, PreflightOption, PrintBookletOption, PrintBookletPrintPreference, PrintPreference, SWFExportPreference, SatinSetting, ScriptArg, ScriptPreference, SmartGuidePreference, SpellPreference, StoryPreference, StrokeFillProxySetting, StrokeTransparencySetting, TaggedTextExportPreference, TaggedTextImportPreference, TextDefault, TextEditingPreference, TextExportPreference, TextFramePreference, TextImportPreference, TextPreference, TextWrapPreference, TransformPreference, TransparencyPreference, TransparencySetting, ViewPreference, WordRTFImportPreference, XFLExportPreference, XMLExportPreference, XMLImportPreference, XMLPreference, and XMLViewPreference

QuickLinks

getElements, toSource, toSpecifier

Hierarchy

Application | Document
Preference
AlignDistributePreference | AnchoredObjectDefault | AnchoredObjectSetting | AutoCorrectPreference | BaselineFrameGridOption | BevelAndEmbossSetting | BlendingSetting | Bullet | ButtonPreference | ChangeGlyphPreference | ChangeGrepPreference | ChangeObjectPreference | ChangeTextPreference | ChapterNumberPreference | ChapterNumberVariablePreference | ClipboardPreference | ClippingPathSettings | ColorSetting | ConditionalTextPreference | ContentTransparencySetting | ContourOption | CustomTextVariablePreference | DataMerge | DataMergeOption | DataMergePreference | DateVariablePreference | DictionaryPreference | DirectionalFeatherSetting | DisplayPerformancePreference | DocumentPreference | DropShadowSetting | EPSExportPreference | EPSImportPreference | ExcelImportPreference | ExportForWebPreference | FeatherSetting | FileNameVariablePreference | FillTransparencySetting | FindChangeContentTransparencySetting | FindChangeFillTransparencySetting | FindChangeGlyphOption | FindChangeGrepOption | FindChangeObjectOption | FindChangeStrokeTransparencySetting | FindChangeTextOption | FindChangeTransparencySetting | FindGlyphPreference | FindGrepPreference | FindObjectPreference | FindTextPreference | FlattenerPreference | FootnoteOption | FrameFittingOption | GalleyPreference | GeneralPreference | GrabberPreference | GradientFeatherSetting | GraphicLayerOption | GridPreference | GuidePreference | IMEPreference | ImageIOPreference | ImagePreference | ImportedPageAttribute | InCopyExportOption | IndexOptions | InnerGlowSetting | InnerShadowSetting | JPEGExportPreference | LayoutAdjustmentPreference | LinkMetadata | LinkingPreference | MarginPreference | MatchCharacterStylePreference | MatchParagraphStylePreference | MetadataPreference | NotePreference | NumberingRestartPolicy | ObjectStyleContentEffectsCategorySettings | ObjectStyleFillEffectsCategorySettings | ObjectStyleObjectEffectsCategorySettings | ObjectStyleStrokeEffectsCategorySettings | OuterGlowSetting | PDFAttribute | PDFExportPreference | PDFPlacePreference | PageItemDefault | PageNumberVariablePreference | PasteboardPreference | PolygonPreference | PreflightBookOption | PreflightOption | PrintBookletOption | PrintBookletPrintPreference | PrintPreference | SWFExportPreference | SatinSetting | ScriptArg | ScriptPreference | SmartGuidePreference | SpellPreference | StoryPreference | StrokeFillProxySetting | StrokeTransparencySetting | TaggedTextExportPreference | TaggedTextImportPreference | TextDefault | TextEditingPreference | TextExportPreference | TextFramePreference | TextImportPreference | TextPreference | TextWrapPreference | TransformPreference | TransparencyPreference | TransparencySetting | ViewPreference | WordRTFImportPreference | XFLExportPreference | XMLExportPreference | XMLImportPreference | XMLPreference | XMLViewPreference

Properties

PropertyTypeAccessDescription
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
parentApplicationDocument readonlyThe parent of the Preference (a Application or Document).
propertiesObject r/wA property that allows setting of several properties at the same time.

Methods

Instances

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

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

string toSpecifier ()
Retrieves the object specifier.

Used in:

array of Preference Preferences.itemByRange (from: any, to: any)

Preference Preferences.nextItem (obj: Preference)

Preference Preferences.previousItem (obj: Preference)

Return

Array of Preference Preference.getElements ()

Preference Preferences.[] (index: number)

Preference Preferences.anyItem ()

Array of Preference Preferences.everyItem ()

Preference Preferences.firstItem ()

Preference Preferences.item (index: any)

Preference Preferences.itemByName (name: string)

Array of Preference Preferences.itemByRange (from: any, to: any)

Preference Preferences.lastItem ()

Preference Preferences.middleItem ()

Preference Preferences.nextItem (obj: Preference)

Preference Preferences.previousItem (obj: Preference)

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