Text preferences.
text preference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| abut text to text wrap | boolean | r/w | If true, moves wrapped text to the next available leading increment below the text wrap objects (skip by leading). |
| add pages | end of story, end of section, end of document, |
r/w | Specifies where to insert new pages in response to overset text. |
| baseline shift key increment | number | 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). Can return: number or string (0.001 – 200 poi… |
| class | type | read | The class descriptor type. |
| delete empty pages | boolean | r/w | Enable auto-deletion of pages containing empty threaded text frames. |
| enable style preview mode | boolean | r/w | If true, highlights character and paragraph styles with colored backgrounds. |
| highlight custom spacing | boolean | r/w | If true, highlights custom kerned or tracked characters. |
| highlight hj violations | boolean | r/w | If true, highlights hyphenation and justification rule violations in the text. |
| highlight keeps | boolean | r/w | If true, highlights paragraphs that violate keep options. |
| highlight substituted fonts | boolean | r/w | If true, highlights missing fonts. |
| highlight substituted glyphs | boolean | r/w | If true, highlights substituted glyphs. |
| justify text wraps | boolean | r/w | If true, justifies text around text wrap objects. |
| kerning key increment | real | 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). Can return: fixed (1 – 100). |
| leading key increment | number | 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). Can return: number or string (0.001 – 200 points). |
| limit to master text frames | boolean | r/w | Restrict the adding of pages during smart text reflow to overridden master text frames. |
| link text files when importing | boolean | r/w | If true, links placed text files and spreadsheet files. If false, embeds the files. |
| object reference | text preference | read | An object reference for the object. |
| parent | specifier | read | The parent of the text preference (a application or document). Can return: application or document. |
| preserve facing page spreads | boolean | r/w | Preserve left-hand and right-and pages when facing pages are enabled during smart text reflow. |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| show invisibles | boolean | r/w | If true, shows hidden characters. |
| small cap | real | r/w | The size of text formatted as small caps, specified as a percentage of the font size. (Range: 1 to 200). Can return: fixed (1 – 200). |
| smart text reflow | boolean | r/w | If true, enable automatic adding and deleting of pages in response to text reflow. |
| subscript position | real | r/w | The position of subscript characters, specified as a percentage of the regular leading. (Range: -500 to 500). Can return: fixed (-500 – 500). |
| subscript size | real | r/w | The size of subscript characters, specified as a percentage of the font size. (Range: 0 to 200). Can return: fixed (1 – 200). |
| superscript position | real | r/w | The position of superscript characters, specified as a percentage of the regular leading. (Range: -500 to 500). Can return: fixed (-500 – 500). |
| superscript size | real | r/w | The size of superscript characters, specified as a percentage of the font size. (Range: 0 to 200). Can return: fixed (1 – 200). |
| typographers quotes | boolean | r/w | If true, converts straight quotes to typographic quotes. |
| use optical size | boolean | r/w | If true, automatically selects the correct optical size. |
| use paragraph leading | boolean | 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. |
| z order text wrap | boolean | 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. |