ParagraphFormat — Aspose.Slides FOSS Java API Reference
ParagraphFormat — Represents paragraph formatting properties. Inherits from: PVIObject, IParagraphFormat.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
pElement | Element | Read/Write | |
bullet | IBulletFormat | Read/Write | |
depth | int | Read/Write | |
alignment | TextAlignment | Read/Write | |
spaceWithin | double | Read/Write | |
spaceBefore | double | Read/Write | |
spaceAfter | double | Read/Write | |
eastAsianLineBreak | NullableBool | Read/Write | |
rightToLeft | NullableBool | Read/Write | |
latinLineBreak | NullableBool | Read/Write | |
hangingPunctuation | NullableBool | Read/Write | |
marginLeft | double | Read/Write | |
marginRight | double | Read/Write | |
indent | double | Read/Write | |
defaultTabSize | double | Read/Write | |
fontAlignment | FontAlignment | Read/Write | |
defaultPortionFormat | IBasePortionFormat | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
initInternal(Element pprElement, Runnable saveCallback, IBaseSlide parentSlide) | ParagraphFormat | Initializes this format with a direct <a:pPr> element, save callback, and parent slide reference. |
getPElement() | Element | Returns the underlying <a:p> XML element. |
pprInsertChild(Element ppr, String localName, Map<String, String> attributes) | Element | Creates and inserts a child element into <a:pPr> at the correct OOXML schema position. |
pprInsertChild(Element ppr, String localName) | Element | Overload 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 |