IParagraphFormat

IParagraphFormat

Overview

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

Represents paragraph formatting properties.

Properties

NameTypeAccessDescription
bulletIBulletFormatReadReturns the bullet formatting.
depthintReadReturns the depth of the paragraph.
alignmentTextAlignmentReadReturns the text alignment.
spaceWithindoubleReadReturns the amount of space between lines within a paragraph.
spaceBeforedoubleReadReturns the amount of space before the first line of a paragraph.
spaceAfterdoubleReadReturns the amount of space after the last line of a paragraph.
eastAsianLineBreakNullableBoolReadReturns the East Asian line break setting.
rightToLeftNullableBoolReadReturns the right-to-left setting.
latinLineBreakNullableBoolReadReturns the Latin line break setting.
hangingPunctuationNullableBoolReadReturns the hanging punctuation setting.
marginLeftdoubleReadReturns the left margin of the paragraph.
marginRightdoubleReadReturns the right margin of the paragraph.
indentdoubleReadReturns the indent of the paragraph.
defaultTabSizedoubleReadReturns the default tab size.
fontAlignmentFontAlignmentReadReturns 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