PreflightProfile
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
description | string | r/w | The description of the PreflightProfile. |
id | number | readonly | The unique ID of the PreflightProfile. |
index | number | readonly | The index of the PreflightProfile within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
label | string | r/w | A property that can be set to any string. |
name | string | r/w | The name of the PreflightProfile. |
parent | ApplicationDocument | readonly | The parent of the PreflightProfile (a Application or Document). |
preflightProfileRules | PreflightProfileRules | readonly | A collection of preflight profile rules. |
preflightRuleInstances | PreflightRuleInstances | readonly | A collection of preflight rule instances. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
Methods
Instances
PreflightProfile duplicate ()
Duplicates the PreflightProfile.
string extractLabel (key:
string)
Gets the label value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Array of PreflightProfile getElements ()
Resolves the object specifier, creating an array of object references.
void insertLabel (key:
string, value:
string)
Sets the label to the value associated with the specified key.
Parameter | Type | Description |
---|---|---|
key | string | The key. |
value | string | The value. |
void remove ()
Deletes the PreflightProfile.
void save (to:
File)
Saves this preflight profile to a InDesign preflight profile file.
Parameter | Type | Description |
---|---|---|
to | File | The preflight profile file to save to. |
string toSource ()
Generates a string which, if executed, will return the PreflightProfile.
string toSpecifier ()
Retrieves the object specifier.
void unembed ()
Unembed this profile.
void update ([using:
any])
Update the preflight profile by copying from another profile.
Parameter | Type | Description |
---|---|---|
using | PreflightProfile String | The preflight profile to copy. Can accept: String or PreflightProfile. (Optional) |
Element of
PreflightBookOption.preflightWorkingProfile
PreflightOption.preflightWorkingProfile
PreflightProcess.appliedProfile
PreflightProfileRule.parent
PreflightRuleInstance.parent
Used in:
PreflightProfile Document.embed (using: any)
PreflightProcess PreflightProcesses.add (targetObject: Document, appliedProfile: PreflightProfile[, preflightOptions: PreflightOption][, withProperties: Object])
void PreflightProfile.update ([using: any])
array of PreflightProfile PreflightProfiles.itemByRange (from: any, to: any)
PreflightProfile PreflightProfiles.nextItem (obj: PreflightProfile)
PreflightProfile PreflightProfiles.previousItem (obj: PreflightProfile)
Return
PreflightProfile Application.loadPreflightProfile (from: File)
PreflightProfile Document.embed (using: any)
PreflightProfile PreflightProfile.duplicate ()
Array of PreflightProfile PreflightProfile.getElements ()
PreflightProfile PreflightProfiles.[] (index: number)
PreflightProfile PreflightProfiles.add ([withProperties: Object])
PreflightProfile PreflightProfiles.anyItem ()
Array of PreflightProfile PreflightProfiles.everyItem ()
PreflightProfile PreflightProfiles.firstItem ()
PreflightProfile PreflightProfiles.item (index: any)
PreflightProfile PreflightProfiles.itemByID (id: number)
PreflightProfile PreflightProfiles.itemByName (name: string)
Array of PreflightProfile PreflightProfiles.itemByRange (from: any, to: any)
PreflightProfile PreflightProfiles.lastItem ()
PreflightProfile PreflightProfiles.middleItem ()
PreflightProfile PreflightProfiles.nextItem (obj: PreflightProfile)
PreflightProfile PreflightProfiles.previousItem (obj: PreflightProfile)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |