ParagraphFormat
Overview
ParagraphFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, IParagraphFormat.
Represents paragraph formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pElement | Element | Read | Returns the underlying {@code <a:p>} XML element. |
bullet | IBulletFormat | Read | |
depth | int | Read | |
alignment | TextAlignment | Read | |
spaceWithin | double | Read | |
spaceBefore | double | Read | |
spaceAfter | double | Read | |
eastAsianLineBreak | NullableBool | Read | |
rightToLeft | NullableBool | Read | |
latinLineBreak | NullableBool | Read | |
hangingPunctuation | NullableBool | Read | |
marginLeft | double | Read | |
marginRight | double | Read | |
indent | double | Read | |
defaultTabSize | double | Read | |
fontAlignment | FontAlignment | Read | |
defaultPortionFormat | IBasePortionFormat | Read |
Methods
| Signature | Description |
|---|---|
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) → ParagraphFormat | Initializes this format with a direct {@code <a:pPr>} element, save callback, |
| and parent slide reference. | |
getPElement() → Element | Returns the underlying {@code <a:p>} XML element. |
pprInsertChild(ppr: Element, localName: String, attributes: Map<String, String>) → Element | Creates and inserts a child element into {@code <a:pPr>} at the correct |
| OOXML schema position. | |
pprInsertChild(ppr: Element, localName: String) → Element | Overload 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 |