IParagraphFormat

Overview

IParagraphFormat is an interface in Aspose.Slides FOSS for Java.

Represents paragraph formatting properties.

This interface declares 30 methods for IParagraphFormat objects in Java programs. Available methods include: getAlignment, getBullet, getDefaultPortionFormat, getDefaultTabSize, getDepth, getEastAsianLineBreak, getFontAlignment, getHangingPunctuation, getIndent, getLatinLineBreak, getMarginLeft, getMarginRight, and 18 additional methods. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: alignment, bullet, defaultPortionFormat, defaultTabSize, depth, eastAsianLineBreak, and 10 more.

Properties

NameTypeAccessDescription
bulletIBulletFormatReadReturns the bullet formatting.
depthintRead/WriteReturns the depth of the paragraph.
alignmentTextAlignmentRead/WriteReturns the text alignment.
spaceWithindoubleRead/WriteReturns the amount of space between lines within a paragraph.
spaceBeforedoubleRead/WriteReturns the amount of space before the first line of a paragraph.
spaceAfterdoubleRead/WriteReturns the amount of space after the last line of a paragraph.
eastAsianLineBreakNullableBoolRead/WriteReturns the East Asian line break setting.
rightToLeftNullableBoolRead/WriteReturns the right-to-left setting.
latinLineBreakNullableBoolRead/WriteReturns the Latin line break setting.
hangingPunctuationNullableBoolRead/WriteReturns the hanging punctuation setting.
marginLeftdoubleRead/WriteReturns the left margin of the paragraph.
marginRightdoubleRead/WriteReturns the right margin of the paragraph.
indentdoubleRead/WriteReturns the indent of the paragraph.
defaultTabSizedoubleRead/WriteReturns the default tab size.
fontAlignmentFontAlignmentRead/WriteReturns the font alignment.
defaultPortionFormatIBasePortionFormatReadReturns the default portion format.

Methods

SignatureDescription
getBullet() → IBulletFormatReturns the bullet formatting.
getDepth() → intReturns the depth of the paragraph.
setDepth(value: int)Sets the depth of the paragraph.
getAlignment() → TextAlignmentReturns the text alignment.
setAlignment(value: TextAlignment)Sets the text alignment.
getSpaceWithin() → doubleReturns the amount of space between lines within a paragraph.
setSpaceWithin(value: double)Sets the amount of space between lines within a paragraph.
getSpaceBefore() → doubleReturns 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() → doubleReturns 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() → NullableBoolReturns the East Asian line break setting.
setEastAsianLineBreak(value: NullableBool)Sets the East Asian line break setting.
getRightToLeft() → NullableBoolReturns the right-to-left setting.
setRightToLeft(value: NullableBool)Sets the right-to-left setting.
getLatinLineBreak() → NullableBoolReturns the Latin line break setting.
setLatinLineBreak(value: NullableBool)Sets the Latin line break setting.
getHangingPunctuation() → NullableBoolReturns the hanging punctuation setting.
setHangingPunctuation(value: NullableBool)Sets the hanging punctuation setting.
getMarginLeft() → doubleReturns the left margin of the paragraph.
setMarginLeft(value: double)Sets the left margin of the paragraph.
getMarginRight() → doubleReturns the right margin of the paragraph.
setMarginRight(value: double)Sets the right margin of the paragraph.
getIndent() → doubleReturns the indent of the paragraph.
setIndent(value: double)Sets the indent of the paragraph.
getDefaultTabSize() → doubleReturns the default tab size.
setDefaultTabSize(value: double)Sets the default tab size.
getFontAlignment() → FontAlignmentReturns the font alignment.
setFontAlignment(value: FontAlignment)Sets the font alignment.
getDefaultPortionFormat() → IBasePortionFormatReturns the default portion format.

See Also

 English