A preferences object.
Go to Property Listing | Method Listing
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Class: Preference
Subclasses: PlaceGun | ScriptArg | ContentPlacerObject | IndexOptions | TimingSetting | PDFAttribute | FrameFittingOption | TextWrapPreference | ContourOption | TransformAttributeOption | LinkMetadata | StoryPreference | TextFramePreference | TextPreference | TextDefault | DocumentPreference | GridPreference | GuidePreference | MarginPreference | PasteboardPreference | ViewPreference | PrintPreference | PrintBookletOption | PrintBookletPrintPreference | EPSExportPreference | ToolBox | ImagePreference | ImageIOPreference | ClippingPathSettings | GraphicLayerOption | IMEPreference | PDFExportPreference | PDFPlacePreference | InteractivePDFExportPreference | TaggedPDFPreference | TextFrameFootnoteOptionsObject | EndnoteOption | PageItemDefault | ObjectExportOption | TextEditingPreference | MojikumiUiPreference | FontLockingPreference | DictionaryPreference | PolygonPreference | SpellPreference | AutoCorrectPreference | SmartGuidePreference | EPSImportPreference | ImportedPageAttribute | StrokeFillProxySetting | LayoutAdjustmentPreference | ScriptPreference | ColorSetting | FindChangeTextOption | FindChangeGrepOption | FindChangeGlyphOption | FindChangeObjectOption | FindChangeTransliterateOption | FindTextPreference | FindGrepPreference | FindGlyphPreference | FindObjectPreference | FindTransliteratePreference | ChangeTextPreference | ChangeGrepPreference | ChangeGlyphPreference | ChangeObjectPreference | ChangeTransliteratePreference | LinkingPreference | InCopyExportOption | XMLImportPreference | XMLExportPreference | XMLPreference | ExportForWebPreference | AnchoredObjectDefault | AnchoredObjectSetting | BaselineFrameGridOption | FootnoteOption | PageNumberVariablePreference | ChapterNumberVariablePreference | DateVariablePreference | FileNameVariablePreference | MatchCharacterStylePreference | MatchParagraphStylePreference | CustomTextVariablePreference | CaptionMetadataVariablePreference | GridDataInformation | LayoutGridDataInformation | StoryGridDataInformation | CjkGridPreference | GridPrintingPreference | GalleyPreference | FlattenerPreference | TransparencyPreference | TransparencySetting | StrokeTransparencySetting | FillTransparencySetting | BlendingSetting | DropShadowSetting | FeatherSetting | InnerShadowSetting | OuterGlowSetting | InnerGlowSetting | BevelAndEmbossSetting | SatinSetting | ContentTransparencySetting | DirectionalFeatherSetting | GradientFeatherSetting | FindChangeTransparencySetting | FindChangeStrokeTransparencySetting | FindChangeFillTransparencySetting | FindChangeContentTransparencySetting | TextImportPreference | TextExportPreference | WordRTFImportPreference | TaggedTextExportPreference | TaggedTextImportPreference | ExcelImportPreference | MetadataPreference | DisplayPerformancePreference | GpuPerformancePreference | XMLViewPreference | PreflightOption | PreflightBookOption | PNGExportPreference | ButtonPreference | WatermarkPreference | GeneralPreference | ClipboardPreference | TransformPreference | NotePreference | TrackChangesPreference | JPEGExportPreference | DataMergePreference | DataMergeOption | DataMerge | ChapterNumberPreference | ObjectStyleObjectEffectsCategorySettings | ObjectStyleStrokeEffectsCategorySettings | ObjectStyleFillEffectsCategorySettings | ObjectStyleContentEffectsCategorySettings | GrabberPreference | TypeContextualUiPreference | AlignDistributePreference | SWFExportPreference | XFLExportPreference | AnimationSetting | ConditionalTextPreference | EPubExportPreference | HTMLExportPreference | EPubFixedLayoutExportPreference | EPubExportPreviewAppPreference | HTMLFXLExportPreference | PublishExportPreference | LinkedStoryOption | LinkedPageItemOption | AutofitApplicationSettings | AutofitDocumentSettings | AutofitPageItemSettings | AutofitAppearancePreferences | AutofitLimits | AutofitAutoResize | AutofitPageItemRelations | AutofitTargetRelations | AutofitSourceRelations | AutofitLineAppearance | AutofitMarkerAppearance | AutofitDocumentRelations | TypefiApplicationSettings | TypefiDocumentSettings | TypefiPageItemSettings | TypefiSectionSettings | TypefiPageSettings | TypefiTableSettings | TypefiStyleSettings | TypefiMasterSpreadSettings | TypefiElementPageItem | TypefiFrameItem | TypefiHyperlinkPreferences | TypefiAnchorPreferences | TypefiFramePreferences | TypefiMarkerPreferences | TypefiCounterFormatLanguagePreferences | TypefiPaginationPreferences | TypefiPreflight | TypefiFilemanager | Bullet | NumberingRestartPolicy
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
FindChangeContentTransparencySetting FindChangeFillTransparencySetting |
readonly |
The parent of the Preference (a Application, Document, HtmlItem, SignatureField, TextBox, RadioButton, ListBox, ComboBox, CheckBox, MultiStateObject, Button, FormField, Sound, Movie, MediaItem, EPSText, Polygon, GraphicLine, Rectangle, Oval, SplineItem, ImportedPage, PICT, WMF, PDF, EPS, Image, Graphic, Group, EndnoteTextFrame, TextFrame, PageItem, TextPath, Table, MasterSpread, Page, Section, ParagraphStyleGroup, ParagraphStyle, CharacterStyleGroup, CharacterStyle, TypefiPageItemSettings, TypefiApplicationSettings, TypefiDocumentSettings, AutofitApplicationSettings, AutofitDocumentSettings, AutofitAppearancePreferences, AutofitPageItemSettings, XmlStory, Spread, FindChangeTransparencySetting, FindChangeStrokeTransparencySetting, FindChangeFillTransparencySetting, FindChangeContentTransparencySetting, PageItemDefault, TransparencySetting, StrokeTransparencySetting, FillTransparencySetting, ContentTransparencySetting, FindObjectPreference, ChangeObjectPreference, Story, TextVariable, TextWrapPreference, Book, Link, ObjectStyle, NamedGrid, TextDefault, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, Text, FindTextPreference, ChangeTextPreference, FindGrepPreference, ChangeGrepPreference, FindTransliteratePreference, ChangeTransliteratePreference or DataMerge). |
|
read/write |
A property that allows setting of several properties at the same time. |
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
Preference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the Preference.
String toSpecifier ()
Retrieves the object specifier.