ParagraphFormat

ParagraphFormat

Overview

ParagraphFormat is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, IParagraphFormat.

Represents paragraph formatting properties.

Properties

NameTypeAccessDescription
pElementElementReadReturns the underlying {@code <a:p>} XML element.
bulletIBulletFormatRead
depthintRead
alignmentTextAlignmentRead
spaceWithindoubleRead
spaceBeforedoubleRead
spaceAfterdoubleRead
eastAsianLineBreakNullableBoolRead
rightToLeftNullableBoolRead
latinLineBreakNullableBoolRead
hangingPunctuationNullableBoolRead
marginLeftdoubleRead
marginRightdoubleRead
indentdoubleRead
defaultTabSizedoubleRead
fontAlignmentFontAlignmentRead
defaultPortionFormatIBasePortionFormatRead

Methods

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

See Also