IParagraphFormat
Overview
IParagraphFormat is a interface in Aspose.Slides FOSS for Java.
Represents paragraph formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
bullet | IBulletFormat | Read | Returns the bullet formatting. |
depth | int | Read | Returns the depth of the paragraph. |
alignment | TextAlignment | Read | Returns the text alignment. |
spaceWithin | double | Read | Returns the amount of space between lines within a paragraph. |
spaceBefore | double | Read | Returns the amount of space before the first line of a paragraph. |
spaceAfter | double | Read | Returns the amount of space after the last line of a paragraph. |
eastAsianLineBreak | NullableBool | Read | Returns the East Asian line break setting. |
rightToLeft | NullableBool | Read | Returns the right-to-left setting. |
latinLineBreak | NullableBool | Read | Returns the Latin line break setting. |
hangingPunctuation | NullableBool | Read | Returns the hanging punctuation setting. |
marginLeft | double | Read | Returns the left margin of the paragraph. |
marginRight | double | Read | Returns the right margin of the paragraph. |
indent | double | Read | Returns the indent of the paragraph. |
defaultTabSize | double | Read | Returns the default tab size. |
fontAlignment | FontAlignment | Read | Returns the font alignment. |
defaultPortionFormat | IBasePortionFormat | Read | Returns the default portion format. |
Methods
| Signature | Description |
|---|---|
getBullet() → IBulletFormat | Returns the bullet formatting. |
getDepth() → int | Returns the depth of the paragraph. |
setDepth(value: int) | Sets the depth of the paragraph. |
getAlignment() → TextAlignment | Returns the text alignment. |
setAlignment(value: TextAlignment) | Sets the text alignment. |
getSpaceWithin() → double | Returns the amount of space between lines within a paragraph. |
setSpaceWithin(value: double) | Sets the amount of space between lines within a paragraph. |
getSpaceBefore() → double | Returns the amount of space before the first line of a paragraph. |
setSpaceBefore(value: double) | Sets the amount of space before the first line of a paragraph. |
getSpaceAfter() → double | Returns the amount of space after the last line of a paragraph. |
setSpaceAfter(value: double) | Sets the amount of space after the last line of a paragraph. |
getEastAsianLineBreak() → NullableBool | Returns the East Asian line break setting. |
setEastAsianLineBreak(value: NullableBool) | Sets the East Asian line break setting. |
getRightToLeft() → NullableBool | Returns the right-to-left setting. |
setRightToLeft(value: NullableBool) | Sets the right-to-left setting. |
getLatinLineBreak() → NullableBool | Returns the Latin line break setting. |
setLatinLineBreak(value: NullableBool) | Sets the Latin line break setting. |
getHangingPunctuation() → NullableBool | Returns the hanging punctuation setting. |
setHangingPunctuation(value: NullableBool) | Sets the hanging punctuation setting. |
getMarginLeft() → double | Returns the left margin of the paragraph. |
setMarginLeft(value: double) | Sets the left margin of the paragraph. |
getMarginRight() → double | Returns the right margin of the paragraph. |
setMarginRight(value: double) | Sets the right margin of the paragraph. |
getIndent() → double | Returns the indent of the paragraph. |
setIndent(value: double) | Sets the indent of the paragraph. |
getDefaultTabSize() → double | Returns the default tab size. |
setDefaultTabSize(value: double) | Sets the default tab size. |
getFontAlignment() → FontAlignment | Returns the font alignment. |
setFontAlignment(value: FontAlignment) | Sets the font alignment. |
getDefaultPortionFormat() → IBasePortionFormat | Returns the default portion format. |