FindGrepPreference

Find grep preferences.

Properties

Property Type Access Description
appliedCharacterStyle any r/w The character style to search for or change to. Can return: String or NothingEnum enumerator. Can also accept: CharacterStyle.
appliedFont any r/w The font applied to the text, specified as either a font object or the name of font family. Can return: Font, String or NothingEnum enumerator.
appliedLanguage any r/w The language to search for or change to. Can return: String or NothingEnum enumerator. Can also accept: Language or LanguageWithVendors.
appliedNumberingList any r/w The list to be part of. Can return: NumberingList, String or NothingEnum enumerator.
appliedParagraphStyle any r/w The paragraph style to search for or change to. Can return: String or NothingEnum enumerator. Can also accept: ParagraphStyle.
autoLeading any r/w The percent of the type size to use for auto leading. (Range: 0 to 500). Can return: Real or NothingEnum enumerator.
balanceRaggedLines any r/w If true or set to an enumeration value, balances ragged lines in the paragraph(s) of the FindGrepPreference. Note: Not valid with a single-line text composer. For information, see composer. Can return: Boolean, BalanceLinesStyle enumerator or NothingEnum enumerator.
baselineShift any r/w The baseline shift applied to the text. Can return: Unit or NothingEnum enumerator.
bulletChar any r/w Bullet character. Can return: Bullet or NothingEnum enumerator.
bulletsAndNumberingListType any r/w List type for bullets and numbering. Can return: ListType enumerator or NothingEnum enumerator.
bulletsCharacterStyle any r/w The character style to be used for the text after string. Can return: CharacterStyle, String or NothingEnum enumerator.
bulletsTextAfter any r/w The text after string expression for bullets. Can return: String or NothingEnum enumerator.
capitalization any r/w The capitalization scheme. Can return: Capitalization enumerator or NothingEnum enumerator.
composer any r/w The text composer to use to compose the text. Can return: String or NothingEnum enumerator.
dropCapCharacters any r/w The number of characters to drop cap. Can return: Short Integer (0 – 150) or NothingEnum enumerator (0 – 150).
dropcapDetail any r/w The detailed size and positioning of the drop cap. Can return: Long Integer or NothingEnum enumerator.
dropCapLines any r/w The number of lines to drop cap. Can return: Short Integer (0 – 25) or NothingEnum enumerator (0 – 25).
fillColor any r/w The swatch (color, gradient, tint, or mixed ink), applied as a fill color, to search for or change to. Can return: String or NothingEnum enumerator. Can also accept: Swatch.
fillTint any r/w The tint (as a percentage) of the fill color of the FindGrepPreference. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.). Can return: Real or NothingEnum enumerator.
findWhat any r/w The FindGrepPreference to find. Can return: String or NothingEnum enumerator.
firstLineIndent any r/w The amount to indent the first line. Can return: Unit or NothingEnum enumerator.
fontStyle any r/w The name of the font style. Can return: String or NothingEnum enumerator.
gradientFillAngle any r/w The angle of a linear gradient applied to the fill of the FindGrepPreference. (Range: -180 to 180). Can return: Real or NothingEnum enumerator.
gradientFillLength any r/w The length (for a linear gradient) or radius (for a radial gradient) applied to the fill of the FindGrepPreference. Can return: Real or NothingEnum enumerator.
gradientFillStart any r/w The starting point (in page coordinates) of a gradient applied to the fill of the FindGrepPreference, in the format [x, y]. Can return: Array of 2 Units or NothingEnum enumerator.
gradientStrokeAngle any r/w The angle of a linear gradient applied to the stroke of the FindGrepPreference. (Range: -180 to 180). Can return: Real or NothingEnum enumerator.
gradientStrokeLength any r/w The length (for a linear gradient) or radius (for a radial gradient) applied to the stroke of the FindGrepPreference. Can return: Real or NothingEnum enumerator.
gradientStrokeStart any r/w The starting point (in page coordinates) of a gradient applied to the stroke of the FindGrepPreference, in the format [x, y]. Can return: Array of 2 Units or NothingEnum enumerator.
horizontalScale any r/w The horizontal scaling applied to the text as a percentage of its current size. (Range: 1 to 1000). Can return: Real or NothingEnum enumerator.
hyphenateAcrossColumns any r/w If true, allows the last word in a text column to be hyphenated. Can return: Boolean or NothingEnum enumerator.
hyphenateLastWord any r/w If true, allows hyphenation in the last word in a paragraph. Note: Valid only when hyphenation is true. Can return: Boolean or NothingEnum enumerator.
ignoreEdgeAlignment any r/w If true, ignores optical edge alignment for the paragraph. Can return: Boolean or NothingEnum enumerator.
justification any r/w The paragraph alignment. Can return: Justification enumerator or NothingEnum enumerator.
keepAllLinesTogether any r/w If true, keeps all lines of the paragraph together. If false, allows paragraphs to break across pages or columns. Can return: Boolean or NothingEnum enumerator.
keepFirstLines any r/w The minimum number of lines to keep together in a paragraph before allowing a page break. Can return: Short Integer (1 – 50) or NothingEnum enumerator (1 – 50).
keepLastLines any r/w The minimum number of lines to keep together in a paragraph after a page break. Can return: Short Integer (1 – 50) or NothingEnum enumerator (1 – 50).
keepLinesTogether any r/w If true, keeps a specified number of lines together when the paragraph breaks across columns or text frames. Can return: Boolean or NothingEnum enumerator.
keepRuleAboveInFrame any r/w If true, forces the rule above the paragraph to remain in the frame bounds. Note: Valid only when rule above is true. Can return: Boolean or NothingEnum enumerator.
keepWithNext any r/w The minimum number of lines to keep with the next paragraph. Can return: Short Integer (0 – 5) or NothingEnum enumerator (0 – 5).
kerningMethod any r/w The type of pair kerning. Can return: String or NothingEnum enumerator.
kerningValue any r/w The amount of space to add or remove between characters, specified in thousands of an em. . Can return: Real or NothingEnum enumerator.
lastLineIndent any r/w The amount to indent the last line in the FindGrepPreference. Can return: Unit or NothingEnum enumerator.
leading any r/w The leading applied to the text. Can return: Unit, Leading enumerator or NothingEnum enumerator.
leftIndent any r/w The width of the left indent. Can return: Unit or NothingEnum enumerator.
ligatures any r/w If true, replaces specific character combinations (e.g., fl, fi) with ligature characters. Can return: Boolean or NothingEnum enumerator.
noBreak any r/w If true, keeps the text on the same line. . Can return: Boolean or NothingEnum enumerator.
numberingApplyRestartPolicy any r/w If true, apply the numbering restart policy. Can return: Boolean or NothingEnum enumerator.
numberingCharacterStyle any r/w The character style to be used for the number string. Can return: CharacterStyle, String or NothingEnum enumerator.
numberingContinue any r/w Continue the numbering at this level. Can return: Boolean or NothingEnum enumerator.
numberingExpression any r/w The number string expression for numbering. Can return: String or NothingEnum enumerator.
numberingFormat any r/w Numbering format options. Can return: NumberingStyle enumerator, String or NothingEnum enumerator.
numberingLevel any r/w The level of the paragraph. Can return: Long Integer or NothingEnum enumerator.
numberingRestartPolicies any readonly Numbering restart policies. Can return: NumberingRestartPolicy or NothingEnum enumerator.
numberingStartAt any r/w Determines starting number in a numbered list. Can return: Long Integer or NothingEnum enumerator.
otfContextualAlternate any r/w If true, uses contextual alternate forms in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfDiscretionaryLigature any r/w If true, uses discretionary ligatures in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfFigureStyle any r/w The figure style in OpenType fonts. Can return: OTFFigureStyle enumerator or NothingEnum enumerator.
otfFraction any r/w If true, uses fractions in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfHistorical any r/w If true, use historical forms in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfLocale any r/w If true, uses localized forms in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfMark any r/w If true, uses mark positioning in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfOrdinal any r/w If true, uses ordinals in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfSlashedZero any r/w If true, use a slashed zeroes in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfStylisticSets any r/w The stylistic sets to use in OpenType fonts. Can return: Long Integer or NothingEnum enumerator.
otfSwash any r/w If true, uses swash forms in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
otfTitling any r/w If true, uses titling forms in OpenType fonts. Can return: Boolean or NothingEnum enumerator.
overprintFill any r/w If true, the fill color of the characters will overprint. Can return: Boolean or NothingEnum enumerator.
overprintStroke any r/w If true, the stroke of the characters will overprint. Can return: Boolean or NothingEnum enumerator.
parent any readonly The parent of the FindGrepPreference (a Application).
pointSize any r/w The text size. Can return: Unit or NothingEnum enumerator.
position any r/w The text position relative to the baseline. Can return: Position enumerator or NothingEnum enumerator.
positionalForm any r/w The OpenType positional form. Can return: PositionalForms enumerator or NothingEnum enumerator.
properties Object r/w A property that allows setting of several properties at the same time.
rightIndent any r/w The width of the right indent. Can return: Unit or NothingEnum enumerator.
singleWordJustification any r/w The alignment to use for lines that contain a single word. Can return: SingleWordJustification enumerator or NothingEnum enumerator.
skew any r/w The skew angle of the text. (Range: -85 to 85). Can return: Real or NothingEnum enumerator.
spaceAfter any r/w The height of the paragraph space below. Can return: Unit or NothingEnum enumerator.
spaceBefore any r/w The height of the paragraph space above. Can return: Unit or NothingEnum enumerator.
startParagraph any r/w The location at which to start the paragraph. Can return: StartParagraph enumerator or NothingEnum enumerator.
strikeThroughColor any r/w The swatch (color, gradient, tint, or mixed ink) applied to the strikethrough stroke. Can return: Swatch, String or NothingEnum enumerator.
strikeThroughGapColor any r/w The swatch (color, gradient, tint, or mixed ink) applied to the gap of the strikethrough stroke. Can return: Swatch, String or NothingEnum enumerator.
strikeThroughGapOverprint any r/w If true, the gap color of the strikethrough stroke will overprint. Note: Valid when strike through type is not solid. Can return: Boolean or NothingEnum enumerator.
strikeThroughGapTint any r/w The tint (as a percentage) of the strikethrough stroke gap color. (Range: 0 to 100) Note: Valid when strike through type is not solid. Can return: Real or NothingEnum enumerator.
strikeThroughOffset any r/w The amount by which to offset the strikethrough stroke from the text baseline. Can return: Unit or NothingEnum enumerator.
strikeThroughOverprint any r/w If true, the strikethrough stroke will overprint. Can return: Boolean or NothingEnum enumerator.
strikeThroughTint any r/w The tint (as a percentage) of the strikethrough stroke. (Range: 0 to 100). Can return: Real or NothingEnum enumerator.
strikeThroughType any r/w The stroke type of the strikethrough stroke. Can return: StrokeStyle, String or NothingEnum enumerator.
strikeThroughWeight any r/w The stroke weight of the strikethrough stroke. Can return: Unit or NothingEnum enumerator.
strikeThru any r/w If true, draws a strikethrough line through the text. Can return: Boolean or NothingEnum enumerator.
strokeColor any r/w The swatch (color, gradient, tint, or mixed ink), applied as a stroke color, to search for or change to. Can return: String or NothingEnum enumerator. Can also accept: Swatch.
strokeTint any r/w The tint (as a percentage) of the stroke color of the FindGrepPreference. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.). Can return: Real or NothingEnum enumerator.
strokeWeight any r/w The stroke weight applied to the characters of the text. Can return: Unit or NothingEnum enumerator.
tracking any r/w The amount by which to loosen or tighten a block of text, specified in thousands of an em. Can return: Real or NothingEnum enumerator.
underline any r/w If true, underlines the text. Can return: Boolean or NothingEnum enumerator.
underlineColor any r/w The swatch (color, gradient, tint, or mixed ink) applied to the underline stroke. . Can return: Swatch, String or NothingEnum enumerator.
underlineGapColor any r/w The swatch (color, gradient, tint, or mixed ink) applied to the gap of the underline stroke. Note: Valid when underline type is not solid. Can return: Swatch, String or NothingEnum enumerator.
underlineGapOverprint any r/w If true, the gap color of the underline stroke will overprint. Can return: Boolean or NothingEnum enumerator.
underlineGapTint any r/w The tint (as a percentage) of the gap color of the underline stroke. (Range: 0 to 100) Note: Valid when underline type is not solid. Can return: Real or NothingEnum enumerator.
underlineOffset any r/w The amount by which to offset the underline from the text baseline. Can return: Unit or NothingEnum enumerator.
underlineOverprint any r/w If true, the underline stroke color will overprint. Can return: Boolean or NothingEnum enumerator.
underlineTint any r/w The underline stroke tint (as a percentage). (Range: 0 to 100). Can return: Real or NothingEnum enumerator.
underlineType any r/w The stroke type of the underline stroke. Can return: StrokeStyle, String or NothingEnum enumerator.
underlineWeight any r/w The stroke weight of the underline stroke. Can return: Unit or NothingEnum enumerator.
verticalScale any r/w The vertical scaling applied to the text as a percentage of its current size. (Range: 1 to 1000). Can return: Real or NothingEnum enumerator.

Methods

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

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

string toSpecifier ()
Retrieves the object specifier.

Element of:

Application.findGrepPreferences

Returned by:

Array of FindGrepPreference FindGrepPreference .getElements (

)

Leave a Comment

Previous post:

Next post: