ParagraphFormat

ParagraphFormat — Aspose.Slides FOSS Java API Reference

ParagraphFormat — Represents paragraph formatting properties. Inherits from: PVIObject, IParagraphFormat.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
pElementElementRead/Write
bulletIBulletFormatRead/Write
depthintRead/Write
alignmentTextAlignmentRead/Write
spaceWithindoubleRead/Write
spaceBeforedoubleRead/Write
spaceAfterdoubleRead/Write
eastAsianLineBreakNullableBoolRead/Write
rightToLeftNullableBoolRead/Write
latinLineBreakNullableBoolRead/Write
hangingPunctuationNullableBoolRead/Write
marginLeftdoubleRead/Write
marginRightdoubleRead/Write
indentdoubleRead/Write
defaultTabSizedoubleRead/Write
fontAlignmentFontAlignmentRead/Write
defaultPortionFormatIBasePortionFormatRead/Write

Methods

MethodReturnsDescription
initInternal(Element pprElement, Runnable saveCallback, IBaseSlide parentSlide)ParagraphFormatInitializes this format with a direct <a:pPr> element, save callback, and parent slide reference.
getPElement()ElementReturns the underlying <a:p> XML element.
pprInsertChild(Element ppr, String localName, Map<String, String> attributes)ElementCreates and inserts a child element into <a:pPr> at the correct OOXML schema position.
pprInsertChild(Element ppr, String localName)ElementOverload of #pprInsertChild(Element, String, Map) with no attributes.
getBullet()IBulletFormat
getDepth()int
setDepth(int value)void
getAlignment()TextAlignment
setAlignment(TextAlignment value)void
getSpaceWithin()double
setSpaceWithin(double value)void
getSpaceBefore()double
setSpaceBefore(double value)void
getSpaceAfter()double
setSpaceAfter(double value)void
getEastAsianLineBreak()NullableBool
setEastAsianLineBreak(NullableBool value)void
getRightToLeft()NullableBool
setRightToLeft(NullableBool value)void
getLatinLineBreak()NullableBool
setLatinLineBreak(NullableBool value)void
getHangingPunctuation()NullableBool
setHangingPunctuation(NullableBool value)void
getMarginLeft()double
setMarginLeft(double value)void
getMarginRight()double
setMarginRight(double value)void
getIndent()double
setIndent(double value)void
getDefaultTabSize()double
setDefaultTabSize(double value)void
getFontAlignment()FontAlignment
setFontAlignment(FontAlignment value)void
getDefaultPortionFormat()IBasePortionFormat

See Also