MatchCharacterStylePreference

The preferences for a running header/footer (match character style) variable.

Properties

Property Type Access Description
appliedCharacterStyle CharacterStyle r/w The character style applied to the MatchCharacterStylePreference. Can also accept: String.
changeCase ChangeCaseOptions
:
NONE
UPPERCASE
LOWERCASE
TITLECASE
SENTENCECASE
r/w The case of the matched text.
deleteEndPunctuation bool r/w If true, deletes end punctuation from the matched text.
parent TextVariable readonly The parent of the MatchCharacterStylePreference (a TextVariable).
properties Object r/w A property that allows setting of several properties at the same time.
searchStrategy SearchStrategies
:
FIRST_ON_PAGE
LAST_ON_PAGE
r/w The starting point and direction in which the search will be conducted.
textAfter string r/w The text that follows the value of the MatchCharacterStylePreference. (Limit: 128 characters)
textBefore string r/w The text that precedes the value of the MatchCharacterStylePreference. (Limit: 128 characters)

Methods

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

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

string toSpecifier ()
Retrieves the object specifier.

Returned by:

Array of MatchCharacterStylePreference MatchCharacterStylePreference .getElements (

)

Leave a Comment

Previous post:

Next post: