publicstatic class StyleConstants.ParagraphConstants
This is a typesafe enumeration of the well-known
attributes that contribute to a paragraph style.
This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style. These are aliased by the outer class for general presentation.
publicfinalstatic
int ALIGN_CENTER
= "1"
[Inherited From StyleConstants]
A possible value for paragraph alignment.
A possible value for paragraph alignment. This specifies that the text is aligned to the center and extra whitespace should be placed equally on the left and right.
publicfinalstatic
int ALIGN_JUSTIFIED
= "3"
[Inherited From StyleConstants]
A possible value for paragraph alignment.
A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left.
publicfinalstatic
int ALIGN_LEFT
= "0"
[Inherited From StyleConstants]
A possible value for paragraph alignment.
A possible value for paragraph alignment. This specifies that the text is aligned to the left indent and extra whitespace should be placed on the right.
publicfinalstatic
int ALIGN_RIGHT
= "2"
[Inherited From StyleConstants]
A possible value for paragraph alignment.
A possible value for paragraph alignment. This specifies that the text is aligned to the right indent and extra whitespace should be placed on the left.
The amount of space to indent the first
line of the paragraph.
The amount of space to indent the first line of the paragraph. This value may be negative to offset in the reverse direction. The type is Float and specifies the size of the space in points.