Class
Text preferences.
getElements, toSource, toSpecifier
TextPreference
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| abutTextToTextWrap | bool | r/w | If true, moves wrapped text to the next available leading increment below the text wrap objects (skip by leading). |
| baselineShiftKeyIncrement | Measurement Unit (Number or String) (range: 0.001 - 200) | r/w | The amount that the baseline shift increases each time the user presses the option/alt-shift-up arrow keys or decreases each time the user presses the option/alt-shift-down arrow keys. (Range: .001 to 100) |
| highlightCustomSpacing | bool | r/w | If true, highlights custom kerned or tracked characters. |
| highlightHjViolations | bool | r/w | If true, highlights hyphenation and justification rule violations in the text. |
| highlightKeeps | bool | r/w | If true, highlights paragraphs that violate keep options. |
| highlightSubstitutedFonts | bool | r/w | If true, highlights missing fonts. |
| highlightSubstitutedGlyphs | bool | r/w | If true, highlights substituted glyphs. |
| justifyTextWraps | bool | r/w | If true, justifies text around text wrap objects. |
| kerningKeyIncrement | number (range: 1 - 100) | r/w | The amount the kerning value per 1000 ems increases each time the user presses of the option/alt-right arrow keys or decreases each time the user presses the option/alt-left arrow keys. (Range: 1 to 100) |
| leadingKeyIncrement | Measurement Unit (Number or String) (range: 0.001 - 200) | r/w | The amount that leading increases each time the user presses the option/alt-up arrow keys or decreases each time the user presses the option/alt-down arrow keys. (Range: .001 to 100) |
| linkTextFilesWhenImporting | bool | r/w | If true, links placed text files and spreadsheet files. If false, embeds the files. |
| parent | ApplicationDocument | readonly | The parent of the TextPreference (a Application or Document). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| showInvisibles | bool | r/w | If true, shows hidden characters. |
| smallCap | number (range: 1 - 200) | r/w | The size of text formatted as small caps, specified as a percentage of the font size. (Range: 1 to 200) |
| subscriptPosition | number (range: -500 - 500) | r/w | The position of subscript characters, specified as a percentage of the regular leading. (Range: -500 to 500) |
| subscriptSize | number (range: 1 - 200) | r/w | The size of subscript characters, specified as a percentage of the font size. (Range: 0 to 200) |
| superscriptPosition | number (range: -500 - 500) | r/w | The position of superscript characters, specified as a percentage of the regular leading. (Range: -500 to 500) |
| superscriptSize | number (range: 1 - 200) | r/w | The size of superscript characters, specified as a percentage of the font size. (Range: 0 to 200) |
| typographersQuotes | bool | r/w | If true, converts straight quotes to typographic quotes. |
| useOpticalSize | bool | r/w | If true, automatically selects the correct optical size. |
| useParagraphLeading | bool | r/w | If true, applies the leading changes made to a text range to the entire paragraph. If false, applies leading changes only to the text range. |
| zOrderTextWrap | bool | r/w | If true, text wrap does not affect text on layers above the layer that contains the text wrap object. If false, text wrap affects text on all visible layers. |
Methods
Instances
Array
of TextPreference getElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the TextPreference.
Element of
Application.textPreferences
Document.textPreferences
Return
Array of TextPreference TextPreference.getElements ()
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |