A paragraph style.
Go to Property Listing | Method Listing
Bnautocolor, Bnautofont, Bnautofontstyle, Bnautosize, Boolean, Bullet, Capitalization, CharacterStyle, Font, Justification, Language, Leading, ParagraphStyle, NestedStyles, Number, NumberingStyle, OTFFigureStyle, Object, ParagraphStyle, Position, RuleWidth, SingleWordJustification, StartParagraph, String, StrokeStyle, Swatch, TabStops,
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
read/write |
If true, aligns the baseline of the text to the baseline grid. |
||
|
read/write |
The font applied to the ParagraphStyle, specified as either a font object or the name of font family. Can return: Font or String. |
||
|
read/write |
The language of the text. Can also accept: String. |
||
|
Number (range 0 - 500) |
read/write |
The percent of the type size to use for auto leading. (Range: 0 to 500). |
|
|
read/write |
If true, balance ragged lines. |
||
|
read/write |
The style that this style is based on. Can return: ParagraphStyle or String. |
||
|
read/write |
The vertical distance by which to offset the ParagraphStyle from the baseline. |
||
|
readonly |
Bullet character. |
||
|
SwatchCanalsoaccept:String |
read/write |
Determines color of bullet or number character. Can return: Bnautocolor enumerator or Swatch. Can also accept: String. |
|
|
read/write |
Bullets and numbering font. Can return: Font, String or Bnautofont enumerator. |
||
|
read/write |
Determines bullets and numbering font style. Can return: Bnautofontstyle enumerator or String. |
||
|
read/write |
List type for bullets and numbering. |
||
|
Real |
read/write |
Determines point size of bullet or number character. Can return: Bnautosize enumerator or Real. |
|
|
read/write |
The capitalization scheme. |
||
|
read/write |
The text composer to use to compose the text. |
||
|
Number (range 50 - 200) |
read/write |
The desired width (as a percentage) of individual characters. (Range: 50 to 200) |
|
|
read/write |
The desired letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500) |
||
|
Number (range 0 - 1000) |
read/write |
The desired word spacing, specified as a percentage of the font word space value. (Range: 0 to 1000) |
|
|
read/write |
Number of characters for drop cap. |
||
|
read/write |
Number of lines for drop cap. |
||
|
read/write |
The character style to apply to the drop cap. Can also accept: String. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the fill of the ParagraphStyle. . Can also accept: String. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the fill color of the ParagraphStyle. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
|
read/write |
The amount to indent the first line. |
||
|
read/write |
The name of the font style. |
||
|
read/write |
If true, aligns only the first line to the frame grid or baseline grid. If false, aligns all lines to the grid. |
||
|
read/write |
The horizontal scaling applied to the ParagraphStyle. |
||
|
read/write |
Hyphen weight. |
||
|
read/write |
Hyphenate after this many letters. |
||
|
read/write |
Hyphenate before this many letters. |
||
|
read/write |
If true, allows hyphenation of capitalized words. |
||
|
read/write |
Number of consecutive hyphens to allow. |
||
|
read/write |
Hyphenate words that have more than this number of letters. |
||
|
read/write |
If true, allows hyphenation. |
||
|
read/write |
The amount of white space allowed at the end of a line of non-justified text before hypenation begins. Note: Valid when composer is single-line composer. |
||
|
readonly |
The unique ID of the ParagraphStyle. |
||
|
readonly |
If true, the style was imported from another document. |
||
|
readonly |
The index of the ParagraphStyle within its containing object. |
||
|
read/write |
The paragraph alignment. |
||
|
read/write |
If true, keeps all lines of the paragraph together. If false, allows paragraphs to break across pages or columns. |
||
|
read/write |
Keep at least this many lines together at the end of a column. |
||
|
read/write |
Keep at least this many lines together at the start of a column. |
||
|
read/write |
If true, keeps a specified number of lines together when the paragraph breaks across columns or text frames. |
||
|
read/write |
Keep at least this many lines together with the following paragraph. |
||
|
read/write |
The type of pair kerning. |
||
|
read/write |
A property that can be set to any string. |
||
|
Real |
read/write |
The leading amount. Can return: Real or Leading enumerator. |
|
|
read/write |
The width of the left indent. |
||
|
read/write |
If true, replaces specific character combinations (e.g., fl, fi) with ligature characters. |
||
|
Number (range 50 - 200) |
read/write |
The maximum width (as a percentage) of individual characters. (Range: 50 to 200) |
|
|
read/write |
The maximum letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500) Note: Valid only when text is justified. |
||
|
Number (range 0 - 1000) |
read/write |
The maximum word spacing, specified as a percentage of the font word space value. Note: Valid only when text is justified. (Range: 0 to 1000) |
|
|
Number (range 50 - 200) |
read/write |
The minimum width (as a percentage) of individual characters. (Range: 50 to 200) |
|
|
read/write |
The minimum letter spacing, specified as a percentge of the built-in space between letters in the font. (Range: -100 to 500) Note: Valid only when text is justified. |
||
|
Number (range 0 - 1000) |
read/write |
The minimum word spacing, specified as a percentage of the font word space value. Note: Valid only when text is justified. (Range: 0 to 1000) |
|
|
read/write |
The name of the ParagraphStyle. |
||
|
readonly |
A collection of nested styles. |
||
|
read/write |
The style to apply to new paragraphs that follow paragraphs tagged with this style. |
||
|
read/write |
If true, keeps the text on the same line. |
||
|
read/write |
The numbering separator as a unicode ID. |
||
|
read/write |
Starting number in a numbered list. |
||
|
read/write |
Numbering style. Can return: NumberingStyle enumerator or String. |
||
|
read/write |
If true, uses contextual alternate forms in OpenType fonts. |
||
|
read/write |
If true, uses discretionary ligatures in OpenType fonts. |
||
|
read/write |
The figure style in OpenType fonts. |
||
|
read/write |
If true, uses fractions in OpenType fonts. |
||
|
read/write |
If true, uses ordinals in OpenType fonts. |
||
|
read/write |
If true, uses swash forms in OpenType fonts. |
||
|
read/write |
If true, uses titling forms in OpenType fonts. |
||
|
read/write |
If true, the fill color of the characters will overprint. |
||
|
read/write |
If true, the stroke of the characters will overprint. |
||
|
readonly |
The parent of the ParagraphStyle (a Document or Application). |
||
|
read/write |
The size of the ParagraphStyle in points |
||
|
read/write |
The text position relative to the baseline. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The width of the right indent. |
||
|
read/write |
If true, places a rule above the paragraph. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the paragraph rule above. Can return: Swatch or String. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the paragraph rule above. Note: Valid only when the paragraph rule above type is not solid. Can return: Swatch or String. |
||
|
read/write |
If true, the stroke gap of the paragraph rule above will overprint. Note: Valid only the rule above type is not solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the stroke gap color of the paragraph rule. (Range: 0 to 100) Note: Valid only when the rule above type is not solid. |
|
|
read/write |
The distance to indent the left edge of the paragraph rule above (based on either the text width or the column width of the first line in the paragraph. |
||
|
read/write |
The stoke weight of the paragraph rule above. |
||
|
read/write |
The amount to offset the paragraph rule above from the baseline of the first line the paragraph. |
||
|
read/write |
If true, the paragraph rule above will overprint. |
||
|
read/write |
The distance to indent the right edge of the paragraph rule above (based on either the text width or the column width of the first line in the paragraph. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the paragraph rule above. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the paragraph rule above. |
||
|
read/write |
The basis (text width or column width) used to calculate the width of the paragraph rule above. |
||
|
read/write |
If true, applies a paragraph rule below. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the paragraph rule below. Can return: Swatch or String. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the stroke gap of the paragraph rule below. Note: Valid only when the paragraph rule below type is not solid. Can return: Swatch or String. |
||
|
read/write |
If true, overprint the paragraph rule below stroke gap color. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the stroke gap color of the paragraph rule below. (Range: 0 to 100) Note: Valid only when the paragraph rule below type is not solid. |
|
|
read/write |
The distance to indent the left edge of the paragraph rule below (based on either the text width or the column width of the last line in the paragraph. |
||
|
read/write |
The stroke weight of the paragraph rule below. |
||
|
read/write |
The amount to offset the the paragraph rule below from the baseline of the last line of the paragraph. |
||
|
read/write |
If true, overprint the paragraph rule below. |
||
|
read/write |
The distance to indent the right edge of the paragraph rule below (based on either the text width or the column width of the last line in the paragraph. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the paragraph rule below. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the paragraph rule below. |
||
|
read/write |
The basis (text width or column width) used to calculate the width of the paragraph rule below. |
||
|
read/write |
The alignment to use for lines that contain a single word. |
||
|
read/write |
The skew angle of the ParagraphStyle. |
||
|
read/write |
The height of the paragraph space below. |
||
|
read/write |
The height of the paragraph space above. |
||
|
read/write |
The location at which to start the paragraph. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the strikethrough stroke. Can return: Swatch or String. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the gap of the strikethrough stroke. Can return: Swatch or String. |
||
|
read/write |
If true, the gap color of the strikethrough stroke will overprint. Note: Valid when strike through type is not solid. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the strikethrough stroke gap color. (Range: 0 to 100) Note: Valid when strike through type is not solid. |
|
|
read/write |
The amount by which to offset the strikethrough stroke from the text baseline. |
||
|
read/write |
If true, the strikethrough stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the strikethrough stroke. (Range: 0 to 100) |
|
|
read/write |
The stroke type of the strike through |
||
|
read/write |
The stroke weight of the strikethrough. |
||
|
read/write |
If true, draws a strikethrough line through the text. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the ParagraphStyle. Can also accept: String. |
||
|
Number (range 0 - 100) |
read/write |
The tint (as a percentage) of the stroke color of the ParagraphStyle. (To specify a tint percentage, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) |
|
|
read/write |
The stroke weight (in points) to apply to the stroke of the text |
||
|
Array of Arrays of Property Name/Value Pairs. |
read/write |
A list of the tab stops in the paragraph. Can return: Array of Arrays of Property Name/Value Pairs. |
|
|
readonly |
A collection of tab stops. |
||
|
read/write |
The amount by which to loosen or tighten a block of text, specified in thousands of an em. |
||
|
read/write |
If true, underlines the text. |
||
|
read/write |
The swatch (color, gradient, tint, or mixed ink) applied to the underline stroke. . Can return: Swatch or String. |
||
|
read/write |
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 or String. |
||
|
read/write |
If true, the gap color of the underline stroke will overprint. |
||
|
Number (range 0 - 100) |
read/write |
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. |
|
|
read/write |
The amount by which to offset the underline from the text baseline. |
||
|
read/write |
If true, the underline stroke color will overprint. |
||
|
Number (range 0 - 100) |
read/write |
The underline stroke tint (as a percentage). (Range: 0 to 100) |
|
|
read/write |
The stroke type of the underline |
||
|
read/write |
The underline stroke weight. |
||
|
read/write |
The vertical scaling applied to the ParagraphStyle. |
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined remove ()
Deletes the ParagraphStyle.
IndexOptions.sectionHeadingStyle
IndexOptions.level1Style
IndexOptions.level2Style
IndexOptions.level3Style
IndexOptions.level4Style
TOCStyleEntry.formatStyle
TOCStyle.titleStyle
TextDefault.appliedParagraphStyle
Text.appliedParagraphStyle
Character.appliedParagraphStyle
Word.appliedParagraphStyle
Line.appliedParagraphStyle
TextColumn.appliedParagraphStyle
Paragraph.appliedParagraphStyle
TextStyleRange.appliedParagraphStyle
InsertionPoint.appliedParagraphStyle
Story.appliedParagraphStyle
IndexOptions.titleStyle
PageReference.pageReferenceLimit
Bullet.parent
NestedStyle.parent
TabStop.parent
ParagraphStyle.basedOn
ParagraphStyle.nextStyle
XMLImportMap.mappedStyle
XMLExportMap.mappedStyle